Cannot open NIfTI file: headerSize is not 348 or 540.
12 views (last 30 days)
Show older comments
I am testing 4 D nii images. But Cannot open NIfTI file: headerSize is not 348 or 540, and Error using ReadFcn @(x)(niftiread(x)>0) function handle for file.
1 Comment
Rishita
on 15 Jul 2022
Edited: KSSV
on 15 Jul 2022
V = niftiread( filename )
Reads the NIfTI image file specified by filename in the current folder or on the path, and returns volumetric data in V .
The niftiread function supports both the NIfTI1 and NIfTI2 file formats.
V = niftiread( headerfile , imgfile )
reads a NIfTI header file .
Answers (0)
See Also
Categories
Find more on 3-D Volumetric Image Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!