powered by
Creates a basic list that can be used to write a .hdr file or the header part of a .nii file
f.basic.hdr.nifti.list.create(dim.mat, file)
dim.mat vector of the dimensions of the image array associated with the header file to be written
dim.mat
file Name of the .hdr file that will be contained in the file field of the header
file
Returns a list of all the fields needed to create a .hdr file (see the function code for details).
f.write.list.to.hdr.nifti, f.nifti.file.summary
f.write.list.to.hdr.nifti
f.nifti.file.summary
# NOT RUN { dim.mat <- c(20,30,40,3) file<-"temp.hdr" f.basic.hdr.nifti.list.create(dim.mat, file) # }
Run the code above in your browser using DataLab