Skip to content

Inverse Rotated#1782

Merged
rijobro merged 7 commits intoProject-MONAI:masterfrom
rijobro:inverse_Rotated
Mar 17, 2021
Merged

Inverse Rotated#1782
rijobro merged 7 commits intoProject-MONAI:masterfrom
rijobro:inverse_Rotated

Conversation

@rijobro
Copy link
Copy Markdown
Contributor

@rijobro rijobro commented Mar 16, 2021

Inverse Rotated and RandRotated.

#1515

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • 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.

rijobro added 4 commits March 16, 2021 14:26
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
Signed-off-by: Richard Brown <[email protected]>
@rijobro rijobro requested review from Nic-Ma, ericspod and wyli March 16, 2021 14:35
)
return np.asarray(output.squeeze(0).detach().cpu().numpy(), dtype=np.float32)
output_np = np.asarray(output.squeeze(0).detach().cpu().numpy(), dtype=np.float32)
if return_rotation_matrix:
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.

how about having a property self.rot_mat = transform instead of modifying the returns?

Copy link
Copy Markdown
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

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

thanks!

@rijobro rijobro enabled auto-merge (squash) March 17, 2021 14:32
Signed-off-by: Richard Brown <[email protected]>
@rijobro rijobro merged commit 592806a into Project-MONAI:master Mar 17, 2021
@rijobro rijobro deleted the inverse_Rotated branch March 17, 2021 15:35
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.

2 participants