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.
댓글 수: 0
채택된 답변
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
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!