how can I compare an input image with another image in the database?

1 Ansicht (letzte 30 Tage)
jimy george
jimy george am 2 Jan. 2014
Kommentiert: Walter Roberson am 12 Apr. 2017
I am doing character recognition.

Antworten (1)

Walter Roberson
Walter Roberson am 2 Jan. 2014
Do feature extraction. Extract several features. Create a vector from the results of all the extracted features, concatenated together.
Do the same thing for each image to be compared.
To find the closest match, calculate the "distance" between the feature vectors. You can experiment with different "metrics", including Euclidean distance. When the distance is shortest, the match is the best (provided that you extracted useful features.)
  6 Kommentare
Sidra Aleem
Sidra Aleem am 11 Apr. 2017
Bearbeitet: Sidra Aleem am 11 Apr. 2017
@Walter Roberson No. There is no ordering of feature points. I just thought of these 2 ways. Can you suggest me some way to solve this? Please help me with this i am stuck
Walter Roberson
Walter Roberson am 12 Apr. 2017
For any given image, instead of having one entry for all N sets of 8 values together, use N entries of length 8 so that you can match on any of the entries. Use the same class number for each of the N.
This then leaves you with the question of how to aggregate the scores. For example, having 3 high-quality matches to the same image gives you more confidence than having only one high-quality match. However, suppose you had one 98% confidence match to one image and the matches to the other features for the same image were not all that good: how would you rate that compared to having three 90% matches to a different target?

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by