MATLAB: How to convert False color Images to Black & White

im2bwImage Processing Toolbox

Hi, I have an Image and I wanted that to convert into BW. But when I use im2bw(), it is not showing the black & white image. I here by attach the image.
Thank you…

Best Answer

I can't see the image. If you use rgb2gray() you probably won't get anything that makes sense. You really need to have the color map that was used to pseudocolor the image. If you have that you can recover the original gray scale image using
grayImage = rgb2ind(rgbImage, colorMap);
Then you can threshold that grayscale image to get a binary image. By the way, your image link is broken.