Skip to content

[Bug] Stack Images Reset Horizontal Flip on Scroll after Being Flipped Horizontally and Vertically #1861

Open
@pnewhook

Description

@pnewhook

Describe the Bug

Flipping MRI/CT stacks vertically and horizontally in a stack viewport loses flip after scrolling. We've found this issue in our application, and we believe it's reproducible in the Stack API example.

Steps to Reproduce

  1. Visit https://www.cornerstonejs.org/live-examples/stackapi
  2. Flip both horizontally and vertically
  3. Click on Next Image
  4. The next image is no longer flipped horizontally

The current behavior

Individual images in the stack lose the horizontal flip after scrolling. The vertical flip flag is now false, and the image is instead rotated 180 degrees.

The expected behavior

All images in a stack should be flipped horizontally and vertically. If only a horizontal or vertical flip is selected, the flip is visible on the full stack when scrolling.

OS

macOS 14.7.2 (23H311)

Node version

NA

Browser

Chrome 133.0.6943.127

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions