laplacian calculates the Laplacian of the source image by adding up the second x and y derivatives calculated using the Sobel operator.

laplacian(image, k_size = 5, scale = 1)

Arguments

image

An Image object.

k_size

The half-size in pixels of the kernel (default: 5).

scale

The scale factor for the computed Laplacian values (default: 1).

Value

image An Image object.

See also

Author

Simon Garnier, garnier@njit.edu

Examples

# TODO