how to access cell elements in for loop

1 view (last 30 days)
neha viswanath
neha viswanath on 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...

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!