Skip to content

Masked Patch WSI Dataset#4410

Merged
bhashemian merged 73 commits intoProject-MONAI:devfrom
bhashemian:masked_wsi_dataset
Jun 3, 2022
Merged

Masked Patch WSI Dataset#4410
bhashemian merged 73 commits intoProject-MONAI:devfrom
bhashemian:masked_wsi_dataset

Conversation

@bhashemian
Copy link
Copy Markdown
Member

@bhashemian bhashemian commented May 31, 2022

Fixes #4014
Fixes #4398

Description

This PR implements MaskedPatchWSIDataset, which uses a whole slide image at a lower resolution to create a mask and extract patches based on that.
It also updates WSIReader to be able to set channel_last, and some other updates to make sure all components are properly working together.

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.

bhashemian added 30 commits May 26, 2022 01:34
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
@bhashemian bhashemian marked this pull request as ready for review June 1, 2022 16:16
@bhashemian
Copy link
Copy Markdown
Member Author

/black

@bhashemian
Copy link
Copy Markdown
Member Author

bhashemian commented Jun 1, 2022

@Nic-Ma it is ready for review. Do you have any idea what's the issue with flake8 tests? It seems that they are failing for an unrelated issue to this PR, doesn't it?

Hopefully, this is the last PR for MONAI code and then I will finish up the pathology bundle and pipelines.

Thanks

@bhashemian bhashemian enabled auto-merge (squash) June 1, 2022 19:50
@bhashemian
Copy link
Copy Markdown
Member Author

Since this PR had pulls from other branches, the commit list was a bit messy, so I cleaned it up for autho-merge.

@bhashemian bhashemian disabled auto-merge June 2, 2022 00:29
@bhashemian bhashemian enabled auto-merge (squash) June 2, 2022 00:31
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick update.
Looks good to me now.

@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented Jun 2, 2022

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented Jun 2, 2022

/build

@bhashemian bhashemian merged commit 07306c0 into Project-MONAI:dev Jun 3, 2022
@bhashemian bhashemian deleted the masked_wsi_dataset branch June 3, 2022 03:43
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.

WSIReader get_patch => ChannelFirst behvaiour should be controlled through argument Refactor MaskedInferenceWSIDataset

3 participants