Correlation between two images ..

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 .

 采纳的回答

Image Analyst
Image Analyst 2014-11-29

2 个投票

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.

更多回答(1 个)

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