Correlation value is very good but imshow command shows corrupted image

1 次查看(过去 30 天)
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);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by