Skip to content

Contain WSIReader to colored 2D images#3979

Merged
wyli merged 7 commits intoProject-MONAI:devfrom
bhashemian:fix_3878
Mar 22, 2022
Merged

Contain WSIReader to colored 2D images#3979
wyli merged 7 commits intoProject-MONAI:devfrom
bhashemian:fix_3878

Conversation

@bhashemian
Copy link
Copy Markdown
Member

Fixes #3878

Description

This PR make the WSIReader with TiffFile backend to raise an error for images without the color dimension. It also raise error when the input image is no three dimensional (two spatial and one color).

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@wyli
Copy link
Copy Markdown
Contributor

wyli commented Mar 22, 2022

/build

@wyli wyli enabled auto-merge (squash) March 22, 2022 18:40
@wyli wyli merged commit bdeb662 into Project-MONAI:dev Mar 22, 2022
@bhashemian bhashemian deleted the fix_3878 branch February 22, 2023 15:30
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.

Raise an error for tiff files without color channel

2 participants