Repository navigation
Add four functions in scipy.ndimage - #3239
Conversation
|
pfnCI, test this please. |
|
Successfully created a job for commit 3484a95: |
|
Jenkins CI test (for commit 3484a95, target branch master) succeeded! |
takagi
left a comment
There was a problem hiding this comment.
LGTM except the comments on docstrings, would you check them?
| Args: | ||
| input (cupy.ndarray): The input array. | ||
| size (tuple of ints): Shape of a flat and full structuring element used | ||
| for the greyscale dilation. Optional if ```footprint``` or |
There was a problem hiding this comment.
| for the greyscale dilation. Optional if ```footprint``` or | |
| for the greyscale closing. Optional if ```footprint``` or |
| for the greyscale dilation. Optional if ```footprint``` or | ||
| ```structure``` is provided. | ||
| footprint (array of ints): Positions of non-infinite elements of a flat | ||
| structuring element used for greyscale dilation. Non-zero values |
There was a problem hiding this comment.
| structuring element used for greyscale dilation. Non-zero values | |
| structuring element used for greyscale closing. Non-zero values |
| ```structure``` is provided. | ||
| footprint (array of ints): Positions of non-infinite elements of a flat | ||
| structuring element used for greyscale dilation. Non-zero values | ||
| give the set of neighbors of the center over which maximum is |
There was a problem hiding this comment.
How about ... over which closing is computed. or something like that?
| give the set of neighbors of the center over which maximum is | ||
| chosen. | ||
| structure (array of ints): Structuring element used for the greyscale | ||
| dilation. ```structure``` may be a non-flat structuring element. |
There was a problem hiding this comment.
| dilation. ```structure``` may be a non-flat structuring element. | |
| closing. ```structure``` may be a non-flat structuring element. |
| Args: | ||
| input (cupy.ndarray): The input array. | ||
| size (tuple of ints): Shape of a flat and full structuring element used | ||
| for the greyscale dilation. Optional if ```footprint``` or |
There was a problem hiding this comment.
| for the greyscale dilation. Optional if ```footprint``` or | |
| for the greyscale opening. Optional if ```footprint``` or |
| for the greyscale dilation. Optional if ```footprint``` or | ||
| ```structure``` is provided. | ||
| footprint (array of ints): Positions of non-infinite elements of a flat | ||
| structuring element used for greyscale dilation. Non-zero values |
There was a problem hiding this comment.
| structuring element used for greyscale dilation. Non-zero values | |
| structuring element used for greyscale opening. Non-zero values |
| ```structure``` is provided. | ||
| footprint (array of ints): Positions of non-infinite elements of a flat | ||
| structuring element used for greyscale dilation. Non-zero values | ||
| give the set of neighbors of the center over which maximum is |
There was a problem hiding this comment.
How about ... over which opening is computed. or something like that?
| give the set of neighbors of the center over which maximum is | ||
| chosen. | ||
| structure (array of ints): Structuring element used for the greyscale | ||
| dilation. ```structure``` may be a non-flat structuring element. |
There was a problem hiding this comment.
| dilation. ```structure``` may be a non-flat structuring element. | |
| opening. ```structure``` may be a non-flat structuring element. |
|
Thank you so much for your review. I fixed the docs. Sorry, I was bit lazy... Could you check it again? Thanks. |
|
pfnCI, test this please. |
|
Successfully created a job for commit 3b9802e: |
|
Jenkins CI test (for commit 3b9802e, target branch master) succeeded! |
This PR is to make following four functions in scipy.ndimage available in CuPy.
I think this is relatively easy PR since the core routines required for the functions above are already implemented by #3216.