Borrar filtros
Borrar filtros

how to access cell elements in for loop

1 visualización (últimos 30 días)
neha viswanath
neha viswanath el 17 de Feb. de 2015
if true
myFolder = 'E:\\inverted\\i1';
for PicNum = 100:-1:1; fullFileName = fullfile(myFolder,sprintf('%d.bmp',PicNum)); fprintf(1, 'Now reading %s\n', fullFileName);
imageArray{PicNum}=imread(fullFileName);
logicalImage{PicNum}=imageArray{PicNum} ~=0;
feature_extractor(logicalImage{PicNum});//here im trying to access <1*100> size cell elements.
imshow(imageArray{PicNum}); % Display image.
end
end
each element has logical values of a image.I need to extract features for each image.with the above code i could not accomplish my task.help me out.thanks in advance...

Respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by