How can i normalize a greyscale image?

8 views (last 30 days)
Hello ,
I've seen many similar questions but i am still confused . I have a grayscale image and i want to normalize it.How can i do that ? I have seen that grey2mat() does the job but i am not sure .
Thank you.

Accepted Answer

Image Analyst
Image Analyst on 20 Nov 2020
What's your definition of normalize? You can use mat2gray(), rescale(), or simply divide by the actual max and multiply by the desired max. It just depends on how you define it. What's your definition? How do you plan on using it?
  4 Comments
Saud Alfalasi
Saud Alfalasi on 21 Nov 2020
Hi Image Analyst
May you please look at my questions
https://uk.mathworks.com/matlabcentral/answers/656073-split-rgb-image-into-blocks-24-bit?s_tid=srchtitle

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!