Construct Data Frame from DICOM Headers

Description

A data frame is created given the valid DICOM fields provided by the user.

Usage

1
2
dicomTable(hdrs, stringsAsFactors = FALSE, collapse = "-", colSort = TRUE,
  verbose = FALSE, debug = FALSE)

Arguments

hdrs

List object of DICOM headers.

stringsAsFactors

Logical variable to be passed to data.frame.

collapse

Character string used to paste DICOM group, element and value fields.

colSort

Logical variable (default = TRUE) to sort column names in the table.

verbose

Flag to provide text-based progress bar (default = FALSE).

debug

Logical variable (default = FALSE) that regulates to display of intermediate processing steps.

Value

Data frame where the rows correspond to images and the columns correspond to the UNION of all DICOM fields across all files in the list.

Author(s)

Brandon Whitcher bwhitcher@gmail.com

References

Whitcher, B., V. J. Schmid and A. Thornton (2011). Working with the DICOM and NIfTI Data Standards in R, Journal of Statistical Software, 44 (6), 1–28. http://www.jstatsoft.org/v44/i06

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