フィルターのクリア

Error Unknown text on line number 1 of ASCII file.

30 ビュー (過去 30 日間)
Hla Hla
Hla Hla 2022 年 7 月 17 日
回答済み: Hla Hla 2022 年 7 月 18 日
I am test the image segmentation on 3dnii data. But following error,
Error using matlab.io.datastore.ImageDatastore/read (line 77)
Error using ReadFcn @(x)centerCropMatReader(x,windowSize) function handle for file
C:\Users\admin\AppData\Local\Temp\BraTs\preprocessDataset\labelTr\BRATS_011.nii.
Error using load
Unknown text on line number 1 of ASCII file
C:\Users\admin\AppData\Local\Temp\BraTs\preprocessDataset\labelTr\BRATS_011.nii

回答 (2 件)

Walter Roberson
Walter Roberson 2022 年 7 月 17 日
centerCropMatReader is only for reading mat files. It calls load() to read the files, but load() cannot be used for nii files. You need to use a different reading function.

Hla Hla
Hla Hla 2022 年 7 月 18 日
Thanks

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by