Skip to content

2695 Fix Resize shape issue#2696

Merged
wyli merged 5 commits intoProject-MONAI:devfrom
Nic-Ma:2695-fix-resize-shape
Aug 5, 2021
Merged

2695 Fix Resize shape issue#2696
wyli merged 5 commits intoProject-MONAI:devfrom
Nic-Ma:2695-fix-resize-shape

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Aug 5, 2021

Fixes #2695 .

Description

This PR fixed the resize shape issue when aligning the longest side of image.
Refer to the idea of albumentation: https://github.com/albumentations-team/albumentations/blob/1.0.3/albumentations/augmentations/geometric/functional.py#L300

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.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Aug 5, 2021

/black

@wyli wyli merged commit 03a8372 into Project-MONAI:dev Aug 5, 2021
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.

Resize error

2 participants