Skip to content

5253 fixes output offset - spacing#5254

Merged
wyli merged 5 commits intoProject-MONAI:devfrom
wyli:5253-spacing-output-shift
Oct 4, 2022
Merged

5253 fixes output offset - spacing#5254
wyli merged 5 commits intoProject-MONAI:devfrom
wyli:5253-spacing-output-shift

Conversation

@wyli
Copy link
Copy Markdown
Contributor

@wyli wyli commented Oct 3, 2022

Signed-off-by: Wenqi Li [email protected]

Fixes #5253

Description

enhance computing offset for spacing

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 wyli marked this pull request as ready for review October 3, 2022 18:29
@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Oct 3, 2022

/build

integration tests work fine:
Screenshot 2022-10-03 at 21 06 34

@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Oct 3, 2022

/build

@wyli wyli marked this pull request as draft October 3, 2022 22:14
Copy link
Copy Markdown
Member

@ericspod ericspod left a comment

Choose a reason for hiding this comment

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

Looked good to me, did you still mean to make more changes?

@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Oct 4, 2022

Looked good to me, did you still mean to make more changes?

yes, sorry I was still thinking about a more robust way to define the shift in the output image, aligning the image centres before and after the resolution change is a simple and natural approach. I'll run through all the integration tests to make sure the change is a non-breaking enhancement.

@wyli wyli force-pushed the 5253-spacing-output-shift branch from 1e80c14 to 2127ace Compare October 4, 2022 11:48
@wyli wyli marked this pull request as ready for review October 4, 2022 11:49
@wyli
Copy link
Copy Markdown
Contributor Author

wyli commented Oct 4, 2022

/build

@wyli wyli enabled auto-merge (squash) October 4, 2022 13:21
@wyli wyli merged commit c68e922 into Project-MONAI:dev Oct 4, 2022
@wyli wyli deleted the 5253-spacing-output-shift branch October 4, 2022 13:58
wyli added a commit that referenced this pull request Oct 10, 2022
Signed-off-by: Wenqi Li <[email protected]>

Fixes #5253 

### Description
enhance computing offset for spacing

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] 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.

Signed-off-by: Wenqi Li <[email protected]>
KumoLiu pushed a commit that referenced this pull request Nov 2, 2022
Signed-off-by: Wenqi Li <[email protected]>

Fixes #5253 

### Description
enhance computing offset for spacing

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] 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).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] 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.

Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
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.

SpacingD transform bug for certain affine input

2 participants