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.

Réponses (1)

Image Analyst
Image Analyst le 6 Mar 2013

0 votes

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

Catégories

En savoir plus sur Discrete Data Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by