PSNR of two unequal matrices

1 view (last 30 days)
tina jain
tina jain on 28 Apr 2015
Commented: tina jain on 28 Apr 2015
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
Guillaume
Guillaume on 28 Apr 2015
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!