How to put a good threshold in comparing images

조회 수: 6 (최근 30일)
Jessica
Jessica 2012년 4월 8일
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