image normalization (same mean and same std)
3 views (last 30 days)
Show older comments
Henrique Tinti de Andrade
on 25 Aug 2015
Commented: Image Analyst
on 25 Aug 2015
Hello, How can i normalize two images (put then with the same mean and the same standart deviation) Thank you.
0 Comments
Accepted Answer
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;
2 Comments
Image Analyst
on 25 Aug 2015
Code samples are in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!