Remove SURF points according to scales

조회 수: 1 (최근 30일)
muhammad faiz
muhammad faiz 2016년 12월 30일
댓글: Priodyuti Pradhan 2020년 11월 2일
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
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?
muhammad faiz
muhammad faiz 2016년 12월 30일
i'm sorry...its a SURF points from the computer vision toolbox. (SURF detector). Basically, i have lot of SURF points generated by the SURF detector from the image that i have. However, i only needs points that have Scales highers than 0.5. therefore, i want remove any points lower than that scale.

댓글을 달려면 로그인하십시오.

답변 (2개)

KSSV
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
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.
Priodyuti Pradhan
Priodyuti Pradhan 2020년 11월 2일
It's really helpful for me! Thanks for sharing!

댓글을 달려면 로그인하십시오.


Anand
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);

카테고리

Help CenterFile Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by