Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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

Respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by