フィルターのクリア

imageDatastore function error reading image files

3 ビュー (過去 30 日間)
yasser
yasser 2020 年 8 月 31 日
回答済み: Walter Roberson 2020 年 8 月 31 日
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?

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 8 月 31 日
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.

カテゴリ

Help Center および File ExchangeBiomedical Imaging についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by