Asked by Sivakrishna
on 23 Sep 2012

hi

i need help for calculating PSNR value for two different size images

original image = 256 * 256

output image = 511 * 511

can anyone suggest how to calculate PSNR value for above images

Answer by Image Analyst
on 23 Sep 2012

What if you just used imresize() on one of them? And then did the usual PSRN formula. Would that work for your purposes?

Sivakrishna
on 23 Sep 2012

hi image analyst,

if i resize the image i will lost reconstructed image information?

suggest better way to find PSNR values for above images

Image Analyst
on 23 Sep 2012

Make your reference image bigger to match the size of your super resolution image.

Opportunities for recent engineering grads.

## 2 Comments

## Wayne King (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/48845#comment_100878

Can you say if you're using a lifting transform, why the reconstructed image approximation is not 512x512?

## Sivakrishna (view profile)

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/48845#comment_100941

if the source image is m*n

then the super resolution reconstructed image is 2m-1*2n-1