Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by