How to measure % intensity difference between 2 image?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
May i know how to calculate the percentage intensity difference between 2 image of the same size. Then i need to apply this % of intensity different to another image of different size.
0 Commenti
Risposta accettata
David Young
il 6 Lug 2011
imDiff = image1 - image2;
imSum = image1 + image2;
percentDiff = 200 * mean(imDiff(:)) / mean(imSum(:));
imAdjusted = (1 + percentDiff/100) * image3;
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox 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!