| extractHeader | R Documentation | 
A particular DICOM field is extracted for a collection of DICOM headers.
extractHeader(hdrs, string, numeric = TRUE, names = FALSE, inSequence = TRUE)
| hdrs | List object of DICOM headers. | 
| string | DICOM field name. | 
| numeric | Logical; values are converted to numbers when  | 
| names | Logical; file names are kept with elements of the vector. | 
| inSequence | Logical; whether or not to look into SequenceItem elements. | 
The DICOM field is extracted from each DICOM header and placed into a vector.
Vector of values from the requested DICOM field.
Brandon Whitcher bwhitcher@gmail.com
Digital Imaging and Communications in Medicine (DICOM)
https://www.dicomstandard.org
readDICOM
x <- readDICOMFile(system.file("dcm/Abdo.dcm", package="oro.dicom"))
seriesDescription <- extractHeader(x$hdr, "SeriesDescription", numeric=FALSE)
IOP <- extractHeader(x$hdr, "ImageOrientationPatient", numeric=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.