PSNR
This function displays the PSNR (peak signal-to-noise ratio) between two images. The answer is in decibels (dB).
PSNR is very common in image processing. A sample use is in the comparison between an original image and a coded/decoded image. Typical quoted PSNR figures are in the range +25 to +35dB.
The syntax for this file is PSNR(A,B), where A and B are MATLAB Intensity Images, with matrix-elements in the interval [0,1]
The function can be adapted for images with 256 gray levels.
Zitieren als
John T. McCarthy (2024). PSNR (https://www.mathworks.com/matlabcentral/fileexchange/135-psnr), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Quality >
Tags
Quellenangaben
Inspiriert: mmvn_toolkit, PSNR for RGB images
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Made provision for images with 256 gray levels. |