Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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

Réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by