Skip to content

add pad transforms with unit tests for lazy resampling - #6031

Merged
wyli merged 31 commits into
Project-MONAI:devfrom
KumoLiu:croppad-lazy
Feb 24, 2023
Merged

add pad transforms with unit tests for lazy resampling#6031
wyli merged 31 commits into
Project-MONAI:devfrom
KumoLiu:croppad-lazy

Conversation

@KumoLiu

@KumoLiu KumoLiu commented Feb 21, 2023

Copy link
Copy Markdown
Contributor

Part of #5991.

Description

This PR adds the pad transforms from #5860 relate to lazy resampling, and it belongs to the second part mentioned in #5991

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.

KumoLiu and others added 14 commits February 18, 2023 16:30
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
@KumoLiu KumoLiu changed the title [WIP] add crop and pad transforms with unit tests for lazy resampling [WIP] add pad transforms with unit tests for lazy resampling Feb 22, 2023
@KumoLiu
KumoLiu marked this pull request as ready for review February 22, 2023 14:58
@KumoLiu KumoLiu changed the title [WIP] add pad transforms with unit tests for lazy resampling add pad transforms with unit tests for lazy resampling Feb 22, 2023
Comment thread monai/transforms/croppad/array.py Outdated
Signed-off-by: KumoLiu <yunl@nvidia.com>
Comment thread tests/padders.py
Comment thread monai/transforms/spatial/array.py
Comment thread monai/transforms/croppad/functional.py Outdated
Comment thread monai/transforms/spatial/functional.py
Comment thread tests/test_spatial_resample.py
Signed-off-by: KumoLiu <yunl@nvidia.com>
Comment thread monai/transforms/croppad/functional.py Outdated
Comment thread tests/test_spatial_resample.py
KumoLiu and others added 5 commits February 24, 2023 10:46
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
@wyli

wyli commented Feb 24, 2023

Copy link
Copy Markdown
Contributor

/build

Comment thread monai/transforms/croppad/functional.py
Comment thread monai/transforms/croppad/functional.py Outdated

@Nic-Ma Nic-Ma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Put some minor comments inline, others look good to me.

Thanks.

Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>

@Nic-Ma Nic-Ma left a comment

Copy link
Copy Markdown
Contributor

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

Nic-Ma commented Feb 24, 2023

Copy link
Copy Markdown
Contributor

/build

@Nic-Ma
Nic-Ma enabled auto-merge (squash) February 24, 2023 10:15
@wyli
wyli disabled auto-merge February 24, 2023 11:53
@wyli
wyli enabled auto-merge (squash) February 24, 2023 11:53
@wyli
wyli merged commit 69d807a into Project-MONAI:dev Feb 24, 2023
Comment thread monai/transforms/croppad/functional.py
@KumoLiu
KumoLiu deleted the croppad-lazy branch February 27, 2023 04:54
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.

4 participants