dicom.table {DICOM} | R Documentation |
A data frame is created given the valid DICOM fields provided by the user.
dicom.table(hdrs, fields, numeric=rep(TRUE,length(fields)))
hdrs |
List object of DICOM headers. |
fields |
Vector of character strings; i.e., valid DICOM field names. |
numeric |
Logical vector; each field is converted to numeric when
TRUE . |
The function extract.hdr
is called for each DICOM field and the
resulting vectors are rearranged into a convenient matrix.
Data frame where the rows correspond to images and the columns to DICOM fields.
B. Whitcher
Digital Imaging and Communications in Medicine (DICOM) http://medical.nema.org