i want to use sift for image retrieval?

2 ビュー (過去 30 日間)
AJITH CV
AJITH CV 2014 年 5 月 21 日
回答済み: Gautam 2025 年 1 月 8 日
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.

回答 (1 件)

Gautam
Gautam 2025 年 1 月 8 日
Hello AJITH,
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:
  1. detectSIFTFeatures : https://www.mathworks.com/help/vision/ref/detectsiftfeatures.html
  2. extractFeatures: https://www.mathworks.com/help/vision/ref/extractfeatures.html
  3. pdist2: https://www.mathworks.com/help/stats/pdist2.html

Community Treasure Hunt

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

Start Hunting!

Translated by