bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / filters / edges / roberts_pos_diag
function
skimage.filters.edges:roberts_pos_diag
source: /dev/scikit-image/src/skimage/filters/edges.py :604
Signature
def roberts_pos_diag ( image , mask = None ) Summary
Find the cross edges of an image using Roberts' cross operator.
Extended Summary
The kernel is applied to the input image to produce separate measurements of the gradient component one orientation.
Parameters
image: ndarray of shape (M, N)Image to process.
mask: ndarray of shape (M, N), optionalAn optional mask to limit the application to a certain area. Note that pixels surrounding masked regions are also masked to prevent masked regions from affecting the result.
Returns
output: ndarray of shape (M, N) and dtype floatThe Robert's edge map.
Notes
We use the following kernel
1 0 0 -1
Aliases
-
skimage.filters.roberts_pos_diag