Remove SURF points according to scales
Afficher commentaires plus anciens
Hai,
I would like to remove any SURF points that having scales less than 2. how can i do that?
please help.
2 commentaires
John D'Errico
le 30 Déc 2016
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
le 30 Déc 2016
Réponses (2)
KSSV
le 30 Déc 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 commentaires
muhammad faiz
le 30 Déc 2016
Image Analyst
le 30 Déc 2016
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
le 2 Nov 2020
It's really helpful for me! Thanks for sharing!
Anand
le 30 Déc 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);
Catégories
En savoir plus sur Color and Styling dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!