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?

1 回表示 (過去 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