imageDatastore function error reading image files
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have dataset with *.mhd data file format and want to read the dataset with imageDatastore the I face the next error
Error using imageDatastore (line 116)
Input folders or files contain non-standard file extensions.
Use FileExtensions Name-Value pair to include the non-standard file extensions.
Are there any help?
0 comentarios
Respuestas (1)
Walter Roberson
el 31 de Ag. de 2020
Add the option 'FileExtensions', '.mhd'
You will also need to add a ReadFcn property and supply a function handle to a function that reads the mhd file. imageDatastore normally uses imread() to read files, and imread() does not support .mhd files.
0 comentarios
Ver también
Categorías
Más información sobre Convert Image Type 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!