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 Kommentare

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 am 27 Mai 2015
Hi Massimo,
Which version of MATLAB are you using? Also, could you post a link to the actual image that you've used?

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 26 Mai 2015

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by