Skip to content

Fixes discrepancy between multi and single frame decode_pixel_data#562

Merged
Enet4 merged 1 commit intoEnet4:masterfrom
thomas-tribus:bug/pixeldata/561
Oct 5, 2024
Merged

Fixes discrepancy between multi and single frame decode_pixel_data#562
Enet4 merged 1 commit intoEnet4:masterfrom
thomas-tribus:bug/pixeldata/561

Conversation

@thomas-tribus
Copy link
Copy Markdown

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
Copy Markdown
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
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