cannot find anywhere "gray scale in 128 brightness level" for plotting an image. how do you change brightness level? I tried to use "brighten (beta)", but it is only -1 to 1. thank you!
Kay
Best Answer
I don't know what you're after exactly but you might try imadjust(), or intlut(), or colormap(). One of those should probably do what you want.
I'd just use colormap and not mess with contours unless you know what you're doing and what you want. To pseudocolor a grayscale image an leave it as grayscale but display it as colored:
imshow(grayImage);
colormap(jet(256));
colorbar;
To convert a grayscale image into a true color RGB image and display the RGB image instead of the pseudocolored image:
Best Answer