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

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
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개)

이 질문은 마감되었습니다.

질문:

2015년 5월 26일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by