laplace

laplace

skimage.filters.laplace(image, ksize=3, mask=None) [source]

Find the edges of an image using the Laplace operator.

Parameters:

image : ndarray

Image to process.

ksize : int, optional

Define the size of the discrete Laplacian operator such that it will have a size of (ksize,) * image.ndim.

mask : ndarray, 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 : ndarray

The Laplace edge map.

Notes

The Laplacian operator is generated using the function skimage.restoration.uft.laplacian().

doc_scikit_image
2017-01-12 17:21:45
Comments
Leave a Comment

Please login to continue.