sprljan.com

Matlab image&video compression depot

Quality Assessment Toolbox (v1.10)
Download

For computing of different reconstructed image quality metrics. Used in most of the other toolboxes.

Functions

This toolbox consists of the following functions:

Examples

iq_measures:

>> A = imread('Lena256.png');
>> B = double(A) + rem(magic(256),5) - 2;
>> [MSE,PSNR,AD,SC,NK,MD,LMSE,NAE] = iq_measures(A,B,'disp');
 MSE (Mean Squared Error) = 1.999985
 PSNR (Peak Signal / Noise Ratio) = 45.120537 dB
 AD (Average Difference) = 0.000015
 SC (Structural Content) = 0.999893
 NK (Normalised Cross-Correlation) = 0.999997
 MD (Maximum Difference) = 2.000000
 LMSE (Laplacian Mean Squared Error) = 0.035148
 NAE (Normalised Absolute Error) = 0.009669