Correlation value is very good but imshow command shows corrupted image
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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);
2 Commenti
Walter Roberson
il 14 Dic 2015
You will need to correct your code for the fact that your rose32.bmp file is a pseudocolor image. Your lena.gif might be pseudocolor as well.
Risposte (0)
Vedere anche
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!