Description Usage Arguments Value See Also Examples
Creates a .img/.hdr pair of files or a .nii file from a given array
1 | f.write.nifti(mat,file,size,L,nii)
|
mat |
An array |
file |
The name of the file to be written, without .img or .hdr suffix |
size |
Specify the format of the .img file. Either "float" (for 4 byte floats) or "int" (2 byte integers) or "char" (1 byte integers). |
L |
if NULL, the list is created by the function, else it should be provided. This list contains the header part of a NIFTI image. |
nii |
should we write only one .nii file or a .hdr/.img pair of files |
Nothing is returned
f.write.array.to.img.8bit
,
f.write.array.to.img.2bytes
,
f.write.array.to.img.float
f.write.nii.array.to.img.8bit
,
f.write.nii.array.to.img.2bytes
,
f.write.nii.array.to.img.float
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.