Correlation value is very good but imshow command shows corrupted image

1 visualizzazione (ultimi 30 giorni)
I measure similarities between the two images with Correlation(corr2(I,IW)). Although the correlation value is 0.998, I and IW images do not appear very similar. Two image must the same but it is understood difference at figure by the human eye (imshow(IW)).
According to the results of the mathematical correlation value, Should not see the difference by the human eye? (I,IW = uint8 images.)
I=double(imread('lena.gif')); W=double(imread('rose32.bmp'));
% Embedding % IW = watermarked image%
....
...
.... %
% Extracting % W1 = extracted image %
....
...
.... %
I = uint8(I); IW = uint8(IW); W = uint8(I); W1 = uint8(W1);
x= corr2(I,IW); figure(1); imshow(IW);

Risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by