Error Unknown text on line number 1 of ASCII file.

29 vues (au cours des 30 derniers jours)
Hla Hla
Hla Hla le 17 Juil 2022
Réponse apportée : Hla Hla le 18 Juil 2022
I am test the image segmentation on 3dnii data. But following error,
Error using (line 77)
Error using ReadFcn @(x)centerCropMatReader(x,windowSize) function handle for file
Error using load
Unknown text on line number 1 of ASCII file

Réponses (2)

Walter Roberson
Walter Roberson le 17 Juil 2022
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 le 18 Juil 2022


En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by