how can I compare an input image with another image in the database?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am doing character recognition.
0 commentaires
Réponses (1)
Walter Roberson
le 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 commentaires
Sidra Aleem
le 11 Avr 2017
Modifié(e) : Sidra Aleem
le 11 Avr 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
le 12 Avr 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?
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!