フィルターのクリア

Detect FAST feature from whole Training dataset. getting Error Struct contents reference from a non-struct array object.

1 回表示 (過去 30 日間)
if true
numImages = numel(trainingSet1.Files);
for i = 1:numImages
img = readimage(trainingSet1, i);
img = rgb2gray(img);
% Apply pre-processing steps
img = imbinarize(img);
trainingFeatures(i) = detectFASTFeatures(img);
end
end
Error in this line
if true
trainingFeatures(i) = detectFASTFeatures(img);
end
error is this
if true
Error using fast (line 18)
Struct contents reference from a non-struct array object.
end

回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by