niftiwrite
Write volume to file using NIfTI format
Description
niftiwrite(
writes the volumetric image data V,filename)V to a file by using the
Neuroimaging Informatics Technology Initiative (NIfTI) format. By default,
niftiwrite creates a combined NIfTI file that contains both
metadata and volumetric data, using the NIfTI1 format.
niftiwrite names the file filename,
adding the .nii file extension. niftiwrite
populates the metadata using appropriate default values and volume properties, such
as size and data type.
niftiwrite(
specifies additional options using one or more name-value arguments. For example,
specify V,filename,info,Name=Value)Version="NIfTI2" to write the data to a file in the
NIfTI2 file format.
Examples
Input Arguments
Name-Value Arguments
References
[1] Cox, R. W., J. Ashburner, H. Breman, K. Fissell, C. Haselgrove, C. J. Holmes, J. L. Lancaster, D. E. Rex, S. M. Smith, J. B. Woodward, and S. C. Strother. "A (sort of) new image data format standard: NiFTI-1." 10th Annual Meeting of Organisation of Human Brain Mapping, Budapest, Hungary, June 2004.