rt-utils icon indicating copy to clipboard operation
rt-utils copied to clipboard

Use force=True to force reading in rt_utils/image_helper.py (load_dcm_images_from_path )

Open xfuren opened this issue 4 years ago • 5 comments

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)

xfuren avatar Jan 13 '22 05:01 xfuren

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

asim-shrestha avatar Jan 13 '22 06:01 asim-shrestha