Effacer les filtres
Effacer les filtres

Percentage variation between two different dimension images?

2 vues (au cours des 30 derniers jours)
mangal deep
mangal deep le 3 Sep 2015
Commenté : mangal deep le 3 Sep 2015
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.

Réponse acceptée

Image Analyst
Image Analyst le 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 commentaires
Image Analyst
Image Analyst le 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.
mangal deep
mangal deep le 3 Sep 2015
Wroks Great... Thanks a lot :)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by