dicomSeparate: Read All DICOM Files in a Directory
Description
All DICOM files are imported and a text file summarizing their content
recorded.Usage
dicomSeparate(path, verbose = FALSE, counter = 100, recursive = TRUE,
exclude = NULL, ...)
Arguments
path
Path name to the DICOM directory.
verbose
Flag to provide limited progress information.
counter
Frequency of updating the diaplay about the progress of
file processing.
recursive
Search recursively down from the given path name.
exclude
Exclude file names containing this character string.
...
Arguments to be passed to dicomInfo
.
Value
- A list structure with two major components:
- imgAll images associated with the DICOM directory(ies).
- hdrAll header files associated with the DICOM directory(ies).
Details
A for
loop is used to process each DICOM file contained in the
directory(ies).References
Digital Imaging and Communications in Medicine (DICOM)
http://medical.nema.org