Convert image to matrix [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I am trying to convert an image (lets say black and white) to a Matrix (where 0 = black and 1 = white) i tried with this code : procedure TForm1.Button1Click(Sender: TObject); type tab = array[1..1000,1..1000] of