Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xfuren opened this issue Jan 13, 2022 · 1 comment

Comments

@xfuren
Copy link

xfuren commented Jan 13, 2022

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)
@asim-shrestha
Copy link
Contributor

asim-shrestha commented Jan 13, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants