Correlation between two images ..

6 views (last 30 days)
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 .

Accepted Answer

Image Analyst
Image Analyst on 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.

More Answers (1)

Youssef  Khmou
Youssef Khmou on 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!