Filter löschen
Filter löschen

how to access cell elements in for loop

1 Ansicht (letzte 30 Tage)
neha viswanath
neha viswanath am 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...

Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by