how to create image data store? I do not have clarity regarding the arguments in ImageDataStore as studied from the website

1 visualización (últimos 30 días)
imds = imageDatastore('C:\Users\MEBIN\Desktop\fundusmathworks\Database',...
'IncludeSubfolders',true,...
'LabelSource','test1.tif');
Error using imageDatastore
Expected input to match one of these values:

'none', 'foldernames'

The input, 'test1.tif', did not match any of the valid values.
getting error in using imageDatastore.
Can anyone help?
Also need dataset for retinal images of Alzhiemers disease.

Respuestas (1)

Matt J
Matt J el 8 de Mzo. de 2024
Editada: Matt J el 8 de Mzo. de 2024
Matlab does not understand (and neither do we) how a single "test1.tif" is supposed to specify labels for all of your images. The probable solution is to just omit it:
imds = imageDatastore('C:\Users\MEBIN\Desktop\fundusmathworks\Database',...
'IncludeSubfolders',true);

Categorías

Más información sobre Agriculture en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by