dicom2analyze: Convert DICOM Header to Analyze

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/dicom2nifti.R

Description

A subset of header information from DICOM is placed into Analyze 7.5 format.

Usage

1
2
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 convert.datatype.anlz or the ANALYZE documentation for more details.

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

...

Arguments to be passed to anlz

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

1
2
3
4
5
6
7
8
## 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)

oro.dicom documentation built on Oct. 30, 2019, 9:59 a.m.