rt-utils
rt-utils copied to clipboard
Use force=True to force reading in rt_utils/image_helper.py (load_dcm_images_from_path )
Sometime we have not-so-standard DICOM files.... Suggestion...
ds = dcmread(os.path.join(root, file),force=True)
if hasattr(ds, 'ImageOrientationPatient'):
series_data.append(ds)
Hi xfuren, we haven't dealt with this since we dont like potentially going against the DICOM standard but we can add an optional parameter to set this