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

[Bug] Monochrome1 Images are not inverted on Load #4116

Open
kushgadhvi16 opened this issue May 10, 2024 · 0 comments
Open

[Bug] Monochrome1 Images are not inverted on Load #4116

kushgadhvi16 opened this issue May 10, 2024 · 0 comments
Labels
Awaiting Reproduction Can we reproduce the reported bug?

Comments

@kushgadhvi16
Copy link

kushgadhvi16 commented May 10, 2024

Describe the Bug

When loading a Monochrome1 Image it is not inverted on Load by default ideally it should be inverted i.e. displaying the MAX_PIXEL value as white and MIN_PIXEL as black. But While Reset the image is inverted.
0cf25edd7df909c21533019b7136ab37.zip

OHIF Office Notes:-
Q: 🖼️ Expected behavior for loading monochrome1 images - inverted or not.
A: On reset it should go back to the original. Whether the original is inverted or not is further determined by the presentation lut shape. Also, inverted in monochrome 1 means displaying MAX_PIXEL value as white and MIN_PIXEL as black, whereas not inverted means displaying MAX_PIXEL as black.

Steps to Reproduce

  1. Load the Attached CR Data in OHIF.
  2. Verify Displayed Image.
  3. Reset the image without performing anything.

The current behavior

On Load Monochrome1 Images are not Inverted.
On Reset the image is Inverted.

The expected behavior

On Load Monochrome1 Images should be Inverted.

OS

macOS 14.4.1

Node version

18.12.1

Browser

Chrome

@kushgadhvi16 kushgadhvi16 added the Awaiting Reproduction Can we reproduce the reported bug? label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Reproduction Can we reproduce the reported bug?
Projects
None yet
Development

No branches or pull requests

1 participant