detectSURFFeatures gives empty object back

3 ビュー (過去 30 日間)
Yassine Zaafouri
Yassine Zaafouri 2016 年 11 月 3 日
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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by