image normalization (same mean and same std)

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

Risposta accettata

Image Analyst
Image Analyst il 25 Ago 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;

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by