dicom.info {DICOM}R Documentation

Read Single DICOM File

Description

All information, both header and image, is read into a list structure from a DICOM file.

Usage

dicom.info(fname, endian="little", flipud=TRUE)

Arguments

fname File name
endian Binary encoding; default is "little".
flipud Flip image vertically; default is TRUE.

Author(s)

Brandon Whitcher

References

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

See Also

dicom.separate

Examples

x <- dicom.info(system.file("dcm/Abdo.dcm", package="DICOM")[1])
image(x$img, col=grey(0:127/128), axes=FALSE, xlab="", ylab="")

x <- dicom.info(system.file("dcm/Spine1.dcm", package="DICOM")[1])
image(x$img, col=grey(0:127/128), axes=FALSE, xlab="", ylab="")

[Package DICOM version 0.12 Index]