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

1 visualización (últimos 30 días)
Zara Khan
Zara Khan el 5 de Mayo de 2018
Comentada: Zara Khan el 6 de Mayo de 2018
My folder consisting of multiple binary images. I want to store their names in an excel sheet along with all their extracted features.

Respuestas (1)

Image Analyst
Image Analyst el 5 de Mayo de 2018
Try this:
fileInfo = dir('*.PNG');
ca = struct2cell(fileInfo)
baseFileNames = ca(1,:)'
xlswrite(excelFullFileName, baseFileNames);
  8 comentarios
Zara Khan
Zara Khan el 5 de Mayo de 2018
data_set is my folder. It also showing error when am passing fileInfo(k).data_set
Zara Khan
Zara Khan el 6 de Mayo de 2018
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by