Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Ananth
Posts:
11
Registered:
12/9/11


How to calculate Normalized cross correlation  RGB image
Posted:
Nov 19, 2012 11:06 PM


To Calculate Normalized cross correlation  RGB image?
c=imread('originalwatermark.bmp'); d=imread('extracted watermark.bmp');
z=c.*d; z1=sum(sum(sum(z)));
zz=c.*c; zz1=sum(sum(sum(zz)));
NC=z1/zz1; disp('Normalized Coralation for First Watermark'); disp(NC);
* Please clarify my doubt, the coding is correct or not?



