I use a well-known tool called dcm2niix to convert DICOMs to nifti. the nifti files can be read by any nifti viewer softwares and also with SPM , But, when I try to load the files into the Matlab using built-in niftiread function, it returns an empty array. Any comment why 'niftiread' doesn't work properly?
'niftiinfo' function works fine and can read header data.
Matlab version: R2018a

댓글 수: 2

Ali Aghaeifar
Ali Aghaeifar 2018년 7월 26일
Seems this function is not implemented properly in MATLAB. I found a solution for this problem. more information here:
Guillaume
Guillaume 2018년 7월 26일
Ali, I suggest you put that as an answer then mark the question answered, so people know it is resolved (sort of).
I suggest you also raise a bug report with Mathworks. Even if they are already aware of the bug, you raising a bug report means you'll be informed whenever it is fixed.

댓글을 달려면 로그인하십시오.

 채택된 답변

Ali Aghaeifar
Ali Aghaeifar 2018년 7월 26일

2 개 추천

Seems this function is not implemented properly in MATLAB. I found a solution for this problem. more information here:

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 DICOM Format에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 7월 24일

답변:

2018년 7월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by