Repository navigation
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.morphologymodule with the exception ofdistance_transform_*.The implementations here are simple as they just rely on the existing
grey_erosionandgrey_dilationfunctions.