Remove SURF points according to scales
13 views (last 30 days)
Show older comments
Hai,
I would like to remove any SURF points that having scales less than 2. how can i do that?
please help.
Answers (2)
KSSV
on 30 Dec 2016
[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 Comments
Anand
on 30 Dec 2016
% 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 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!