dicom2analyze {oro.dicom} | R Documentation |
Convert DICOM Header to Analyze
Description
A subset of header information from DICOM is placed into Analyze 7.5 format.
Usage
dicom2analyze(dcm, datatype = 4, reslice = TRUE, DIM = 3,
descrip = "SeriesDescription", ...)
Arguments
dcm |
DICOM object containing both header and image information. |
datatype |
is an integer that denotes the type of data contained in
each voxel. See |
reslice |
Logical variable (default = |
DIM |
The dimension of the array to be used (default = 3D). |
descrip |
DICOM header field(s) to be included in the |
... |
Arguments to be passed to |
Details
See the references.
Value
An object of class anlz
.
Author(s)
Brandon Whitcher bwhitcher@gmail.com
References
Analyze 7.5
http://rportal.mayo.edu/bir/ANALYZE75.pdf
Digital Imaging and Communications in Medicine (DICOM)
http://medical.nema.org
See Also
convert.datatype.anlz
,
dicom2nifti
, anlz
Examples
## Not run:
dcmList <- dicomSeparate(system.file("hk-40", package="oro.dicom"))
require("oro.nifti")
dcmAnlz <- dicom2analyze(dcmList, datatype=4, mode="integer")
image(dcmAnlz)
orthographic(dcmAnlz)
## End(Not run)