Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
jimy george
jimy george el 2 de En. de 2014
Comentada: Walter Roberson el 12 de Abr. de 2017
I am doing character recognition.

Respuestas (1)

Walter Roberson
Walter Roberson el 2 de En. de 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 comentarios
Sidra Aleem
Sidra Aleem el 11 de Abr. de 2017
Editada: Sidra Aleem el 11 de Abr. de 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 el 12 de Abr. de 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?

Iniciar sesión para comentar.

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by