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

 採用された回答

Image Analyst
Image Analyst 2015 年 8 月 25 日

0 投票

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 件のコメント

Henrique Tinti de Andrade
Henrique Tinti de Andrade 2015 年 8 月 25 日
thanks... and how I would do for more than 2 images? thanks again
Image Analyst
Image Analyst 2015 年 8 月 25 日

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by