I am using chi-square distance to compare the histograms of two images and I am getting zero as minimum distance for both the cases: i) Match found ii) No match found. So how should I choose the threshold to differentiate between these two cases?

2 次查看(过去 30 天)
Code is here:
load('HD.mat'); for i=1:11 distance = pdist2( H(i),HiS,'chisq'); md=min(min(distance(i))); if md==0 val=1; else val=0; end
end
if val==1
msgbox('Person present in database');
else
msgbox('Person not present in database');
end
Please also tell me if match is found then how to retrieve the image from database?? Thanks in Advance.
  1 个评论
radha
radha 2014-1-28
I am doing project on this and I am stuck up at this point of comparing the histograms using chi-square distance. Please give answer to my question so that I can proceed ahead. thanks a lotttt!!!

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by