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

Fixes discrepancy between multi and single frame decode_pixel_data #562

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

thomas-tribus
Copy link

When using decode_pixel_data a new photometric interpretation is computed based on the number of channels in the input image (see below). The single frame decode_pixel_data_frame doesn't have this (seemingly incorrect) transformation.

 When using decode_pixel_data a new photometric interpretation is computed based on the number of channels in the input image (see below). The single frame decode_pixel_data_frame doesn't have this (seemingly incorrect) transformation.
@Enet4 Enet4 linked an issue Sep 3, 2024 that may be closed by this pull request
@Enet4 Enet4 added bug This is a bug A-lib Area: library C-pixeldata Crate: dicom-pixeldata labels Sep 3, 2024
@Enet4 Enet4 self-requested a review September 3, 2024 13:30
Copy link
Owner

@Enet4 Enet4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK. Thanks!

@Enet4 Enet4 merged commit 27e43e5 into Enet4:master Oct 5, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lib Area: library bug This is a bug C-pixeldata Crate: dicom-pixeldata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect image when decoding multiframe pixeldata
2 participants