Core utilities for working with DICOM files. Utilizes the `pydicom` and `fastcore` packages. Some ideas borrowed from
fastai.medical.image.
get_dicoms
(path
)
Walk path
to get DICOM file names, then read one file from each series into a pandas.DataFrame
.
Path.dcmread
(fn
:Path
, no_pixels
=True
, force
=True
)
Reads a DICOM file and returns the corresponding pydicom.Dataset
Dataset.as_dict
(filt
=True
, split_multi
=False
)