Read a DICOM image or series of images

read_dicom(path, ...)

Arguments

path

Directory containing DICOM images, or single image file

...

Additional arguments to readDICOM

Value

List with elements hdr and img, each with an element for each slice. img is empty if the DICOM file contains no pixel data.

Examples

if (FALSE) read_dicom(dicom_directory)
if (FALSE) read_dicom(dicom_file.dcm)