how to access cell elements in for loop
1 次查看(过去 30 天)
显示 更早的评论
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...
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!