how can I compare an input image with another image in the database?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am doing character recognition.
댓글 수: 0
답변 (1개)
Walter Roberson
2014년 1월 2일
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
Sidra Aleem
2017년 4월 11일
편집: Sidra Aleem
2017년 4월 11일
@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
2017년 4월 12일
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?
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!