Remove SURF points according to scales
2 ビュー (過去 30 日間)
古いコメントを表示
Hai,
I would like to remove any SURF points that having scales less than 2. how can i do that?
please help.
2 件のコメント
John D'Errico
2016 年 12 月 30 日
HUH? Slow down. Ask your question clearly.
Apparently you have a surface, generated by surf. I think?
You don't want to plot some part of the surface?
What is a scale? Maybe something that you weigh yourself with?
回答 (2 件)
KSSV
2016 年 12 月 30 日
[x,y,z] = peaks(100) ;
figure(1)
surf(x,y,z)
% remove less then 2
z(z<2) = NaN ;
figure(2)
surf(x,y,z)
3 件のコメント
Image Analyst
2016 年 12 月 30 日
That's why it helps to list toolboxes in the Products section. I did that for you but you should do it yourself from now on.
Anand
2016 年 12 月 30 日
% Read an image
I = imread('cameraman.tif');
% Compute SURF features
points = detectSURFFeatures(I);
% Filter out points with scale less than 2
newPoints = points( points.Scale<2 );
% Plot points
imshow(I);
hold on;
plot(newPoints);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!