Error Unknown text on line number 1 of ASCII file.
Mostrar comentarios más antiguos
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
Respuestas (2)
Walter Roberson
el 17 de Jul. de 2022
0 votos
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
el 18 de Jul. de 2022
0 votos
Categorías
Más información sobre Convert Image Type en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!