I have a 112*112 matrix in matlab which I am plotting as a grayscale image. I am using imacesc for this purpose and the resulting image is on a normal grayscale image, 0-255. However, the results are not quite pronounced in this scale and I want to rescale my image on a scale of 30 – 170 since most of my pixel values are in this range. I am using rescale for this purpose but it is not working. Can anyone help me with this issue?
MATLAB: How to convert 0-255 scale to 30-170 scale in a grayscale Image
contrast stretchimage processingImage Processing Toolboxrescale
Related Question
- How to convert a gray scale absorption image of interference patterns to RGB.
- Scale RGB values for a matrix and plot it as image according to the scaled values
- How to uniformly quantize an intensity image into K levels (where K=4, 16, etc)? and how to display these quantized images? i am able to generate the gray scale image, but please let me know how to quantize it uniformly.
- Scale points on scaled image
Best Answer