detectSURFFeatures gives empty object back

5 次查看(过去 30 天)
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 ?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by