How to set threshold?

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

0 个投票

I don't understand why you think you need a threshold. I would think you would just need the sort() function.

类别

帮助中心File Exchange 中查找有关 Discrete Data Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by