How I can store all images name in an excel sheet?

2 次查看(过去 30 天)
My folder consisting of multiple binary images. I want to store their names in an excel sheet along with all their extracted features.

回答(1 个)

Image Analyst
Image Analyst 2018-5-5
Try this:
fileInfo = dir('*.PNG');
ca = struct2cell(fileInfo)
baseFileNames = ca(1,:)'
xlswrite(excelFullFileName, baseFileNames);
  8 个评论
Zara Khan
Zara Khan 2018-5-5
data_set is my folder. It also showing error when am passing fileInfo(k).data_set
Zara Khan
Zara Khan 2018-5-6
Reference to non-existent field 'folder'.
Error in name_save (line 5) fullFileNames{k} = fullfile(fileInfo(k).folder, fileInfo(k).name);
>> This is the error I am getting.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by