Skip to content

WSIReader mirror flip inference map #6173

Open
@OmarAshkar

Description

@OmarAshkar

Describe the bug
I am using WSIReader as either transform or SlidingPatchWSIDataset, the resultant maps are mirror flipped always.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/Project-MONAI/tutorials/blob/main/pathology/hovernet/inference.py
  2. Either convert this line to WSIReader https://github.com/Project-MONAI/tutorials/blob/02911a9bf11934516d4f93f29a46b3acd3dcc58e/pathology/hovernet/inference.py#L69
    or remove it and use SlidingPatchWSIDataset.
  3. Run the script and check the resultant maps.

Expected behavior
It should have the same orientation as the inputed images. The current implementation of the script works well.

CC. @drbeh

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pathology/MicroscopyDigital Pathology and Microscopy related

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions