How to set threshold?

1 次查看(过去 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