Correlation between two images ..

3 visualizzazioni (ultimi 30 giorni)
Farjana Yeasmin
Farjana Yeasmin il 29 Nov 2014
Risposto: Image Analyst il 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 .

Risposta accettata

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

Più risposte (1)

Youssef  Khmou
Youssef Khmou il 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