From: Rajesh Sarkar on
How can we compare two images?
I want to know the percentage of matching between the two images. Please Help.

Rajesh
Kolkata
From: Steven Lord on

"Rajesh Sarkar" <rajeshsarkar.it(a)gmail.com> wrote in message
news:hqlr2o$9r2$1(a)fred.mathworks.com...
> How can we compare two images? I want to know the percentage of matching
> between the two images. Please Help.

Define what _you_ mean by "the percentage of matching". For example, do you
consider the following two patches to match, to not match, or to match
partially?

patch([0 2; 1 3; 1 3; 0 2; 0 2], ...
[0 0; 0 0; 1 1; 1 1; 0 0], ...
cat(3, [1 0.999999], [0 0], [0 0]))

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


 | 
Pages: 1
Prev: Compare Two Images
Next: imagesc custom colors