Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dicom2analyze

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 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

Digital Imaging and Communications in Medicine (DICOM)
http://medical.nema.org

See Also

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)

oro.dicom

Rigorous - DICOM Input / Output

v0.5.3
BSD_3_clause + file LICENSE
Authors
Brandon Whitcher [aut, cre]
Initial release
2019-10-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.