image normalization (same mean and same std)

3 views (last 30 days)
Hello, How can i normalize two images (put then with the same mean and the same standart deviation) Thank you.

Accepted Answer

Image Analyst
Image Analyst on 25 Aug 2015
For an approximate match, try imhistmatch() to match the histograms of the two images. Otherwise, just do simple math, something like
newImage1 = (image1-mean1)*std2/std1 + mean2;

More Answers (0)

Community Treasure Hunt

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

Start Hunting!