Usage
dicom2nifti(dcm, datatype=4, units=c("mm","sec"), rescale=FALSE,
reslice=TRUE, DIM=3, descrip="SeriesDescription",
aux.file=NULL, ...)Arguments
dcm
DICOM object containing both header and image information.
units
Spatial and temporal units for xyzt
rescale
Should slope and intercept parameters be extracted from
the DICOM headers and saved?
reslice
Logical variable (default = TRUE) indicating if
the data volume should be resliced.
DIM
The dimension of the array to be used (default = 3D).
descrip
DICOM header field(s) to be included in the
descrip slot for the nifti class object.
aux.file
Character string to be included in the aux_file
slot for the nifti class object.
...
Arguments to be passed to nifti