-
Notifications
You must be signed in to change notification settings - Fork 65
Change deprecated Gaussian/Laplacian pyramid args #454
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
Conversation
Yes, please, if you are still interested, @AlbertDominguez. With #413 finally out of the way, I imagine we can look at getting this in. Thanks! |
|
Hi @joshmoore, thanks! I've just merged the latest changes into the PR + pinned |
|
Leaving this for @will-moore to look at, but I imagine we can roll it into the imminent 0.12.0. |
|
Great, thanks @AlbertDominguez I turned your test example above into a test which your PR fixes. |
|
Thanks @joshmoore and @will-moore! I've just added the suggested test |
for more information, see https://pre-commit.ci
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #454 +/- ##
==========================================
- Coverage 87.02% 86.99% -0.03%
==========================================
Files 13 13
Lines 1772 1769 -3
==========================================
- Hits 1542 1539 -3
Misses 230 230 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
will-moore
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks
Hi,
Thanks for the great effort you're doing here :) This PR updates the arguments passed to
skimage.transform.pyramid_gaussianandskimage.transform.pyramid_laplacian(without any behaviour change) used by theScalerclass, as the argmultichannelwas deprecated inscikit-image 0.19.x. Using the latest version ofscikit-image(0.25.x) causes a crash if either of these methods are used for downsampling.Note that this causes the code not to work if
scikit-image<0.19. Unsure if it's worth pinning in the deps 🙂Here's a simple code to replicate: