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!!!
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Hypothesis Tests에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!