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

 Akzeptierte Antwort

Image Analyst
Image Analyst am 25 Aug. 2015

0 Stimmen

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 Kommentare

thanks... and how I would do for more than 2 images? thanks again

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by