View source: R/reading-writing-functions.R
header2list | R Documentation |
Convert the DICOM header file or the header plain data frame obtained from the oro.dicom::readDICOMfile() to a nested list of data. The nested list is analogous to the structure obtained in MatLab using the function dicominfo() and it is easier to navigate and parse than the plain data frame.
header2list(file = NULL, header = NULL, index = 1, lev = 0, ...)
file |
the DICOM header file (alternative to the header data frame). |
header |
the header data frame (alternative to DICOM header file). |
index |
the starting row of the header data.frame to be parsed. |
lev |
starting nesting level. |
... |
parameters passed to readDICOMFile(). |
Note: info about the element types can be found at http://dicom.nema.org/dicom/2013/output/chtml/part05/sect_6.2.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.