Skip to content

[Feature Request] Ability to Mirror Whole Slide Microscopy Images (Horizontal & Vertical) #204

@realvgm

Description

@realvgm

Description:
We would like to request a new feature for dicom-microscopy-viewer: the ability to mirror images horizontally and/or vertically within the viewer.

This functionality would be very helpful when reviewing Whole Slide Microscopy (WSI) images that use a DICOM pyramid configuration, as it would allow users to visually inspect tissue samples from different perspectives and match them with other systems or images that present mirrored orientations.

Use Case / Motivation:

  • Users may need to flip or mirror slides to compare with results from other viewers or image sources that have different orientation conventions.
  • In pathology workflows, it is common to rotate or mirror slides to better match physical slide orientation on microscopes.
  • Having this feature in the viewer would improve usability, reduce cognitive load, and make side-by-side comparison with other tools much easier.

Proposed Solution / Idea:

  • Add two new toolbar buttons (or menu options):
  1. Mirror Horizontally (flip along vertical axis)
  2. Mirror Vertically (flip along horizontal axis)
  • Alternatively, expose these as API functions so they can be triggered programmatically.

The feature could apply to all pyramid levels simultaneously so that navigation and zoom remain consistent after mirroring.

Questions:

  • Is this feature already on your roadmap?
  • Would you accept a contribution/PR implementing it if we were to prototype it?
  • Do you know of any recommended workaround to achieve a similar effect today?

Additional Context:
Our use case involves large DICOM WSI images (multi-resolution pyramid). The ability to flip orientation without exporting and re-processing the image would be a great improvement for workflow efficiency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions