read.DICOM: I/O function

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

Description

Read DICOM file.

Usage

1
read.DICOM(filename,includedata = TRUE)

Arguments

filename

name of the file

includedata

logical. should data be read too? defaults to TRUE.

Details

The function reads a DICOM file.

Value

Object with the following list entries:

header

header information as raw data

ttt

image data if requested. raw vector (numeric size 4) containing the four dimensional data cube (the first three dimensions are voxel dimensions, the fourth dimension denotes the time).

format

data source. string "DICOM"

delta

voxel size in mm

series

series identifier

image

image number within series

dim

dimension of the data if available

Note

Since the DICOM standard is rather complicated, there may be cases where this function cannot read a DICOM file. Known issue: it cannot read header with implicit VR. Return value may change in future version!

Author(s)

Karsten Tabelow tabelow@wias-berlin.de

References

http://medical.nema.org

Polzehl, J. and Tabelow, K. (2007) fmri: A Package for Analyzing fmri Data, R News, 7:13-17 .

See Also

read.AFNI, read.ANALYZE

Examples

1
## Not run: dicom <- read.DICOM("dicomfile")


Search within the fmri package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.