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

Fix bioformats processing of MONOCHROME1 dicom data #1834

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

manthey
Copy link
Member

@manthey manthey commented Feb 20, 2025

Bioformats ignores the rescale=false option with MONOCHROME1 dicom data. Further, not only does it invert the pixel value direction, but it offsets 16 bit data incorrectly. This undoes these effects so that the raw pixel data is returned.

Fixes #1823.

Bioformats ignores the rescale=false option with MONOCHROME1 dicom data.
Further, not only does it invert the pixel value direction, but it
offsets 16 bit data incorrectly.  This undoes these effects so that the
raw pixel data is returned.

Fixes #1823.
@manthey manthey force-pushed the fix-bioformats-dicom-monochrome1 branch from a9a2548 to dec038e Compare February 21, 2025 15:38
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.

Difficulty Converting DICOM Image to Viewable JPEG (uint8) - Inconsistent Pixel Value Ranges
1 participant