roberts

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.

See also

sobel, scharr, prewitt, feature.canny

Examples

>>> from skimage import data
>>> camera = data.camera()
>>> from skimage import filters
>>> edges = filters.roberts(camera)
doc_scikit_image
2017-01-12 17:23:19
Comments
Leave a Comment

Please login to continue.