Correlation between two images ..

5 vues (au cours des 30 derniers jours)
Farjana Yeasmin
Farjana Yeasmin le 29 Nov 2014
I am doing a project on steganography . I have been asked to calculate the correlation between stego image and real image . plz someone can help me with the code of correlation ,,, plz .

Réponse acceptée

Image Analyst
Image Analyst le 29 Nov 2014
Well I'm no stego expert but I thought usually they would use psnr or ssim to compare the concealing image and the original cover image, or the original message image and the recovered/retrieved hidden image. Both of those functions are built in to the Image Processing Toolbox.

Plus de réponses (1)

Youssef  Khmou
Youssef Khmou le 29 Nov 2014
if you mean correlation coefficient, you can program manually the function or use corr2 :
corr2(A,B); % returns a scalar

Community Treasure Hunt

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

Start Hunting!

Translated by