-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
removed tophat and bottomhat from filters.rank #3614
Conversation
If this is approved, |
Oh yeah, I don't think we can just remove remove them. Since they are incorrect I don't think we should use deprecation, but rather, try to use import hooks or at least a redefinition of them so that a |
They are a part of public API, aren't they? (http://scikit-image.org/docs/dev/api/skimage.filters.rank.html#bottomhat, http://scikit-image.org/docs/dev/api/skimage.filters.rank.html#tophat)
👍 on this approach: raise |
Also 👍 on breaking immediately but directing any users to the new location with a brief explanation. |
Postponed to 0.16. @ThomasWalter would mind adding an exception and a task in the todo list please? |
219fc1c
to
964d9b3
Compare
I rebased this to resolve merge conflicts from a recent 3d rank filters PR. Now that 0.18 was released, I think this should be ready to merge if all is green on CI (docstrings since the 0.17 release have indicated these would be removed in 0.19) |
Thanks for your input, everyone! |
And, of course, @ThomasWalter who stuck with this for two years ;) |
Description
PR in response to discussion #3599 : removed bottomhat and tophat from
filters.rank
. These filters were named incorrectly. They are effectively calculating internal and external morphological gradients. After discussion with @sciunto and @emmanuelle we came to the conclusion that probably, it does not make so much sense to keep these functions.Checklist
[It's fine to submit PRs which are a work in progress! But before they are merged, all PRs should provide:]
./doc/examples
(new features only)./benchmarks
, if your changes aren't covered by anexisting benchmark
[For detailed information on these and other aspects see scikit-image contribution guidelines]
References
Closes issue #3599
For reviewers
(Don't remove the checklist below.)
later.
__init__.py
.doc/release/release_dev.rst
.@meeseeksdev backport to v0.14.x