roberts
-
skimage.filters.roberts(image, mask=None)
[source] -
Find the edge magnitude using Roberts’ cross operator.
Parameters: image : 2-D array
Image to process.
mask : 2-D array, optional
An 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 : 2-D array
The Roberts’ Cross edge map.
Examples
>>> from skimage import data >>> camera = data.camera() >>> from skimage import filters >>> edges = filters.roberts(camera)
Please login to continue.