Percentage variation between two different dimension images?

1 view (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 3 Sep 2015
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 Comments
Image Analyst
Image Analyst on 3 Sep 2015
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!