Skip to content

Add remaining greyscale morphology operations to cupyx.scipy.ndimage - #3946

Merged
mergify[bot] merged 4 commits into
cupy:masterfrom
grlee77:ndimage_gray_morphology
Sep 17, 2020
Merged

mergify[bot] merged 4 commits into
cupy:masterfrom
grlee77:ndimage_gray_morphology

Conversation

@grlee77

@grlee77 grlee77 commented Sep 4, 2020 •

Copy link
Copy Markdown
Member

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 of scipy.ndimage.morphology module with the exception of distance_transform_*.

The implementations here are simple as they just rely on the existing grey_erosion and grey_dilation functions.

@emcastillo emcastillo self-assigned this Sep 7, 2020
@emcastillo

Copy link
Copy Markdown
Member

Jenkins, test this please

@emcastillo emcastillo added the cat:feature New features/APIs label Sep 17, 2020
@emcastillo emcastillo changed the title add remaining greyscale morphology operations to cupyx.scipy.ndimage Add remaining greyscale morphology operations to cupyx.scipy.ndimage Sep 17, 2020
@emcastillo emcastillo added this to the v9.0.0a1 milestone Sep 17, 2020
@emcastillo emcastillo added the st:test-and-merge (deprecated) Ready to merge after test pass. label Sep 17, 2020
@chainer-ci

Copy link
Copy Markdown
Member

Jenkins CI test (for commit 4f69ed3, target branch master) failed with status FAILURE.

@emcastillo

Copy link
Copy Markdown
Member

Check Jenkins error please 😇

@grlee77

grlee77 commented Sep 17, 2020 •

Copy link
Copy Markdown
Member Author

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.

@jakirkham

jakirkham commented Sep 17, 2020 •

Copy link
Copy Markdown
Member

Sure let's try again. Though the fact that there is a reoccurring sporadic test failure is a bit worrying.

Jenkins, test this please.

@grlee77

grlee77 commented Sep 17, 2020 •

Copy link
Copy Markdown
Member Author

Sure let's try again. Though the fact that there is a reoccurring sporadic test failure is a bit worrying.

Agreed, but it is going to be difficult to diagnose if we can't reproduce it! (I have never seen it occur locally)

@chainer-ci

Copy link
Copy Markdown
Member

Jenkins CI test (for commit 4f69ed3, target branch master) succeeded!

@mergify
mergify Bot merged commit dbb7cb0 into cupy:master Sep 17, 2020
@jakirkham

Copy link
Copy Markdown
Member

Should we file an issue to track it?

@grlee77
grlee77 deleted the ndimage_gray_morphology branch December 18, 2020 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:feature New features/APIs prio:medium st:test-and-merge (deprecated) Ready to merge after test pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants