Error Unknown text on line number 1 of ASCII file.
조회 수: 19 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (2개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!