Error in image processing, detectSURFFeatures
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
Hello
A = imread('pnt.jpg');
I = rgb2gray(A);
corners = detectFASTFeatures(I,'MinContrast',0.8);
J = insertMarker(I,corners,'circle');
point = detectSURFFeatures(I);
figure;
imshow(J);
figure;
imshow(I);
title('Strongest Feature Points');
hold on;
plot(selectStrongest(point, 5));
imshow(J);
I have this error
Operands to the || and && operators must be convertible to logical scalar values.
Error in vision.internal.FeaturePoints/plot (line 152)
if k==1 && ~wasHeld
Error in SURFPoints/plot (line 172)
h = plot@vision.internal.FeaturePoints(this, ...
2 个评论
Image Analyst
2015-5-27
The error message does not mention the line of your code that caused the error. Please copy the whole error message, including the part that mentions the line number and code of your code.
Dima Lisin
2015-5-27
Hi Massimo,
Which version of MATLAB are you using? Also, could you post a link to the actual image that you've used?
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!