Why does extractFeatures on SIFTPoints returns duplicate points?
古いコメントを表示
I'm using detectSIFTFeatures followed by extractFeatures to get features points with their descriptor vectors:
points = detectSIFTFeatures(image);
[features, validPoints] = extractFeatures(image, points);
but became suspicious when the validPoints object contained more points than points. Looking closer, I found that validPoints was containing duplictaed points that differed only in orientation, and for each unique point, one of them had an orientation of 2*pi.
採用された回答
その他の回答 (1 件)
yanqi liu
2021 年 11 月 10 日
0 投票
sir,may be set some parameter,such as
detectSIFTFeatures(image,'NumScaleLevels',2);
4 件のコメント
Rik
2021 年 11 月 10 日
'NumScaleLevels' is not even a valid parameter for detectSIFTFeataures.
yanqi liu
2021 年 11 月 11 日
sorry,sir,sift can ref:https://ww2.mathworks.cn/help/vision/ref/detectsiftfeatures.html
may be use
detectSIFTFeatures(image,'ContrastThreshold ',0.4)
Tae Lim Kook
2021 年 11 月 11 日
image = imread('cameraman.tif');
points = detectSIFTFeatures(image);
[features, validPoints] = extractFeatures(image, points);
points
validPoints
pts = validPoints.Location;
[~,ia,ic] = unique(pts,'rows');
validPoints2 = validPoints(ia)
カテゴリ
ヘルプ センター および File Exchange で Image Category Classification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!