Filter löschen
Filter löschen

imageDatastore function error reading image files

1 Ansicht (letzte 30 Tage)
yasser
yasser am 31 Aug. 2020
Beantwortet: Walter Roberson am 31 Aug. 2020
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?

Antworten (1)

Walter Roberson
Walter Roberson am 31 Aug. 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.

Kategorien

Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by