PSNR of two unequal matrices

If I am executing a code of run length encoding on an image matrix, giving me an another image matrix of not of that size(due to compression of image data). Is it possible to calculate the PSNR in this situation?

2 Comments

You would normally compute the PSNR between your original image and the decompressed image.
Isn't run length encoding non-lossy? In which case, the decompressed image is the same as the original and your PSNR is infinite.
OK, got it

Sign in to comment.

Answers (0)

Asked:

on 28 Apr 2015

Commented:

on 28 Apr 2015

Community Treasure Hunt

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

Start Hunting!