detectSURFFeatures gives empty object back

5 views (last 30 days)
if true
Points = detectSURFFeatures(test)
imshow(test);
hold on;
plot(selectStrongest(Points, 100))
end
I used the code bellow to extract Features of my 2-D grayscale image "test" ( double or uint16) but the function detectSURFFeatures gives me an empty object back so when i want to plot i become this error
if true
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, ...
end
Any help please ?

Answers (0)

Community Treasure Hunt

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

Start Hunting!