How to measure % intensity difference between 2 image?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
David Young
2011-7-6
imDiff = image1 - image2;
imSum = image1 + image2;
percentDiff = 200 * mean(imDiff(:)) / mean(imSum(:));
imAdjusted = (1 + percentDiff/100) * image3;
4 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!