Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rotate behavior for ndim > 2 #432

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented Nov 8, 2022

closes #431

Fixes the resize=True code path to take additional dimensions into account. rotate will now rotate the first two axes, preserving any additional ones.

New test cases were added to confirm that no dimensions are lost.

@grlee77 grlee77 added bug Something isn't working non-breaking Introduces a non-breaking change labels Nov 8, 2022
@grlee77 grlee77 added this to the v22.12.00 milestone Nov 8, 2022
@grlee77 grlee77 requested a review from a team as a code owner November 8, 2022 13:56
@grlee77
Copy link
Contributor Author

grlee77 commented Nov 8, 2022

rerun tests

Copy link
Contributor

@gigony gigony left a comment

Choose a reason for hiding this comment

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

Thanks Greg! Looks good to me!

@grlee77
Copy link
Contributor Author

grlee77 commented Nov 9, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit f085f29 into rapidsai:branch-22.12 Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] image.ndim > 2 broken for cucim.skimage.transform.rotate when resize=True
2 participants