How to set threshold?

5 visualizzazioni (ultimi 30 giorni)
maha lakshmi
maha lakshmi il 6 Mar 2013
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.

Risposte (1)

Image Analyst
Image Analyst il 6 Mar 2013
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