i was trying to use detectSURFFeatures function i got following error Function 'subsindex' is not defined for values of class 'SURFPoints'.

1 vue (au cours des 30 derniers jours)
this is the code i used
j=rgb2gray(imread('stone.tiff'));
points = detectSURFFeatures(j);
imshow(j); hold on;
plot(points.selectStrongest(10));
  1 commentaire
Matthew Eicholtz
Matthew Eicholtz le 19 Fév 2016
I'm having trouble reproducing your error. I do not have 'stone.tiff' on my machine, but when I run the code
I = imread('board.tif'); %board.tif is a built-in image
J = rgb2gray(I);
points = detectSURFFeatures(J);
figure; imshow(J);
hold on;
plot(points.selectStrongest(10));
it works fine for me.

Connectez-vous pour commenter.

Réponses (1)

Steven Lord
Steven Lord le 19 Fév 2016
Delete the variable named plot that you created earlier in your code and if necessary modify your code so it doesn't create such a variable in future runs.

Catégories

En savoir plus sur Labels and Styling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by