Vende Posted August 20, 2009 Report Share Posted August 20, 2009 Hi, I have used a tresholding method to my original image and I get a black and white image. I need to transform it to a binary image. How to do it? It is still grayscale in output. Thanks. Quote Link to comment
Neville D Posted August 24, 2009 Report Share Posted August 24, 2009 Hi, I have used a tresholding method to my original image and I get a black and white image. I need to transform it to a binary image. How to do it? It is still grayscale in output. Thanks. Is the image greyscale or black and white? Why don't you post a couple of jpegs to show us whats going on? Black and white IS binary after all if the image only contains pixel values of 0 (black) and 255 (white). Neville. Quote Link to comment
ShaunR Posted August 25, 2009 Report Share Posted August 25, 2009 Hi, I have used a tresholding method to my original image and I get a black and white image. I need to transform it to a binary image. How to do it? It is still grayscale in output. Thanks. Instead of replacing threshold values with 255 (to get your black and white) replace with 1. Your picture control will look all black. If you want to see the results in the picture control, right click on it and select Palette>binary. You will then have a red and black image. Either your black and white or red and white images (binary) will work with mask functions as effectively they operate on zero and non zero for binary operations. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.