Skip to content

[pixeldata] Correct photometric interpretation in transcoding process#673

Merged
Enet4 merged 4 commits intomasterfrom
bug/pixeldata/transcode-correct-pmi
Sep 18, 2025
Merged

[pixeldata] Correct photometric interpretation in transcoding process#673
Enet4 merged 4 commits intomasterfrom
bug/pixeldata/transcode-correct-pmi

Conversation

@Enet4
Copy link
Copy Markdown
Owner

@Enet4 Enet4 commented Aug 16, 2025

After decoding, the photometric interpretation often needs to be updated accordingly, as the pixel data reader trait requires so in its contract. This step was missing in the transcoder module of dicom_pixeldata.

- After decoding, the photometric interpretation often needs to be updated
  accordingly.
@Enet4 Enet4 added bug This is a bug A-lib Area: library C-pixeldata Crate: dicom-pixeldata labels Aug 16, 2025
- only include test content if either jpeg or gdcm features are enabled
- ignore test if GDCM backend is enabled, due to #674
@Enet4 Enet4 force-pushed the bug/pixeldata/transcode-correct-pmi branch from 79dbe0a to 46e6401 Compare August 18, 2025 09:23
@Enet4 Enet4 merged commit d61cc75 into master Sep 18, 2025
5 checks passed
@Enet4 Enet4 deleted the bug/pixeldata/transcode-correct-pmi branch September 18, 2025 09:42
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.

1 participant