How to put a good threshold in comparing images

6 次查看(过去 30 天)
Hi sir,
i already have a feature vector containing color and texture features , and i am measuring the similarity between the query image and the database images. i want to set a threshold that gives me an accurate precision and recall
Would you help me with this please?

采纳的回答

Junaid
Junaid 2012-4-8
It totally depends on type of images and applications. But you can keep various values of Threshold and on each value you calculate the F-score ( also knows as F-1 score), click here for detail. Best threshold value is that value which gives you maximum F-score ( near to one). Once you get values which gives you maximum F-score, then you can use this value on your application and see the performance of Threshold (sensitivity of Threshold).
I hope it may be helpful to you.

更多回答(1 个)

Image Analyst
Image Analyst 2012-4-8
What you want to do is called CBIR, Content-Based Image Retrieval. It's getting better and better all the time. It's way too complicated to give you any code here so all I can do is to refer you to some links where you can do some more research into several methods that are used:
Section 19.4 here:

Community Treasure Hunt

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

Start Hunting!

Translated by