Click here to Skip to main content
16,016,570 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a color image that I successfully converted to grayScale. I extracted an array of 2D int, then I'm trying to get a binary image out of that. my threshold value is the average of all the pixels in the image array. Can you please tell me how to covert the image array of o's and 1's to a binary image? I'm using Java
Posted
Comments
TorstenH. 14-May-12 3:12am    
what are you trying to do? convert a picture to gray scale?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900