How to find image retrieval using SIFT ?
Mostrar comentarios más antiguos
I'm doing research in image retrieval using SIFT features. how to compute SIFT features for images and compare with the SIFT feature of query image using euclidean distance and retrieve the top 10 best match images alone?
Please Send me a Code.....
Respuestas (1)
Gautam
el 8 de En. de 2025
Hello jenifer,
You can use the “detectSIFTFeatures” and “extractFeatures” functions from the Computer Vision Toolbox to extract SIFT features in MATLAB.
Then, to compare the SIFT features with those of the query image using Euclidean distance, and rank them based on similarity, use the “pdist2” function.
distances = pdist2(queryFeatures, databaseFeatures, 'euclidean');
Here are the links to these functions which you can refer for more information:
- detectSIFTFeatures : https://www.mathworks.com/help/vision/ref/detectsiftfeatures.html
- extractFeatures: https://www.mathworks.com/help/vision/ref/extractfeatures.html
- pdist2: https://www.mathworks.com/help/stats/pdist2.html
Categorías
Más información sobre SIFT - Scale Invariant Feature Transform en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!