How to set threshold?

조회 수: 5 (최근 30일)
maha lakshmi
maha lakshmi 2013년 3월 6일
Hi, I have calculated the euclidean distance between the query image and 1000 images in the database.I have to display the top 5 images.Can you please say how to set threshold.I can't give threshold as some values based on the euclidean distance (threshold<20)because I have to do the same process for all the images in the database as query image.

답변 (1개)

Image Analyst
Image Analyst 2013년 3월 6일
I don't understand why you think you need a threshold. I would think you would just need the sort() function.

Community Treasure Hunt

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

Start Hunting!

Translated by