Percentage variation between two different dimension images?

2 次查看(过去 30 天)
Hi,
May i know how to calculate the percentage intensity difference between 2 image of the * DIFFERENT DIMENSIONS*. Then i need to apply this % of intensity different to another image of different size.

采纳的回答

Image Analyst
Image Analyst 2015-9-3
Why not size them to the same size with imresize() and then just subtract them and divide the difference by one of them? Or use immse(), psnr(), or ssim()? Or do you have some other special definition of how to define the percent variation?
  3 个评论
Image Analyst
Image Analyst 2015-9-3
Did you look at imresize() documentation? How about
resizedImage2 = imresize(Image2, size(Image1));
That should work for gray scale images - not sure about color ones, try it.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by