how to convert a bitmap image in binary image?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The simplest and easiest way to convert a grey scale image to a binary image is to just apply a threshold, i.e.
The
thresholdvalue can be fixed, e.g. 128, variable, supplied by the user, or determined automatically by histogramming the image first.There are more sophisticated methods which will generate subjectively “better” binary images, but without knowing more about your requirements it’s hard to know whether you need something more advanced or whether simple thresholding will be good enough.