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

Also return the image info with decode_pixel_data #19

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

scaramallion
Copy link
Member

@scaramallion scaramallion commented Feb 10, 2024

Changes decode_pixel_data() to return (image data, image info) in order to support being able to properly shape images with ILV 0 since it's unlikely that we can rely on the Planar Configuration value being correct when the DICOM Standard recommends it be 0.

@scaramallion scaramallion merged commit b778ec1 into pydicom:main Feb 10, 2024
15 checks passed
@scaramallion scaramallion deleted the dev-decode-pixel-data branch February 10, 2024 23:12
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

Successfully merging this pull request may close these issues.

1 participant