i was trying to use detectSURFFeatures function i got following error Function 'subsindex' is not defined for values of class 'SURFPoints'.
1 次查看(过去 30 天)
显示 更早的评论
this is the code i used
j=rgb2gray(imread('stone.tiff'));
points = detectSURFFeatures(j);
imshow(j); hold on;
plot(points.selectStrongest(10));
1 个评论
Matthew Eicholtz
2016-2-19
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.
回答(1 个)
Steven Lord
2016-2-19
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!