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

1 回表示 (過去 30 日間)
Zara Khan
Zara Khan 2018 年 5 月 5 日
コメント済み: Zara Khan 2018 年 5 月 6 日
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 Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by