Im trying to normalize an image from 0 to 1,after having used rgb2gray. However using mat2gray and im2double is only giving me 0 and 1 values, nothing in between. I also need to use the equation (I-min(I))/(max(I)-min(I)) and somehow I still can only get zeros and ones.
MATLAB: Normalize an image from 0 to 1
im2doubleimage processingImage Processing Toolboximagesmat2graynormalizenormalizing
Best Answer