Learn R Programming

fmri (version 1.0)

read.DICOM: I/O function

Description

Read DICOM file.

Usage

read.DICOM(filename,includedata = TRUE)

Arguments

filename
name of the file
includedata
logical. should data be read too? defaults to TRUE.

Value

  • Object with the following list entries:
  • headerheader information as raw data
  • tttimage data if requested
  • formatdata source. string "DICOM"
  • deltavoxel size in mm
  • seriesseries identifier
  • imageimage number within series
  • dimdimension of the data if available

Details

The function reads a DICOM file.

References

http://medical.nema.org

See Also

read.AFNI, read.ANALYZE

Examples

Run this code
dicom <- read.DICOM("dicomfile")

Run the code above in your browser using DataLab