What is PSNR in Matlab?
peaksnr = psnr( A , ref ) calculates the peak signal-to-noise ratio (PSNR) for the image A , with the image ref as the reference. A greater PSNR value indicates better image quality. peaksnr = psnr( A , ref , peakval ) calculates the PSNR of image A using the peak signal value peakval .
What is PSNR used for?
The PSNR block computes the peak signal-to-noise ratio, in decibels, between two images. This ratio is used as a quality measurement between the original and a compressed image. The higher the PSNR, the better the quality of the compressed, or reconstructed image.
How is PSNR calculated?
Peak signal-to-noise ratio (PSNR) is the ratio between the maximum possible power of an image and the power of corrupting noise that affects the quality of its representation. To estimate the PSNR of an image, it is necessary to compare that image to an ideal clean image with the maximum possible power.
What is a good PSNR value?
Typical values for the PSNR in lossy image and video compression are between 30 and 50 dB, provided the bit depth is 8 bits, where higher is better. The processing quality of 12-bit images is considered high when the PSNR value is 60 dB or higher. For 16-bit data typical values for the PSNR are between 60 and 80 dB.