How to put a good threshold in comparing images
6 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Junaid
on 8 Apr 2012
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.
0 Comments
More Answers (1)
Image Analyst
on 8 Apr 2012
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:
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!