-
-
Notifications
You must be signed in to change notification settings - Fork 787
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
Add remaining greyscale morphology operations to cupyx.scipy.ndimage
#3946
Conversation
morphological_gradient, mophological_laplace white_tophat, black_tophat
Jenkins, test this please |
cupyx.scipy.ndimage
Jenkins CI test (for commit 4f69ed3, target branch master) failed with status FAILURE. |
Check Jenkins error please 😇 |
There is a single parameterized case failing for a binary erosion/dilation test case unrelated to this PR. Oddly enough, we did see one failure case (although a different one) there as well when @jakirkham first ran the tests in #3907, but it was not reproducible and went away when the CI was re-run. |
Sure let's try again. Though the fact that there is a reoccurring sporadic test failure is a bit worrying. Jenkins, test this please. |
Agreed, but it is going to be difficult to diagnose if we can't reproduce it! (I have never seen it occur locally) |
Jenkins CI test (for commit 4f69ed3, target branch master) succeeded! |
Should we file an issue to track it? |
This PR adds the four remaining greyscale morphology functions:
morphological_gradient
,morphological_laplace
,white_tophat
,black_tophat
. In combination with gh-3907, this completes CuPy's coverage ofscipy.ndimage.morphology
module with the exception ofdistance_transform_*
.The implementations here are simple as they just rely on the existing
grey_erosion
andgrey_dilation
functions.