Azzera filtri
Azzera filtri

how to access cell elements in for loop

1 visualizzazione (ultimi 30 giorni)
neha viswanath
neha viswanath il 17 Feb 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...

Risposte (0)

Categorie

Scopri di più su Convert Image Type 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