Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Converting threshold image to binary data

I have a 19x19 image which have already been thresholded. now i need to read every pixel and determine if its black than output it as 1, if its white than output it as 0. please help ASAP. any help would be much appreciate.

Converting threshold image to binary data

I have a 19x19 image which have already been thresholded. now i need to read every pixel and determine if its black than output it as 1, if its white than output it as 0. please help ASAP. any help would be much appreciate.

Edited:

I need to output the binary to a text file