Learn R Programming

Rvision (version 0.3.3)

laplacian: Calculates the Laplacian of an Image

Description

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

Usage

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

Image, sobel

Examples

Run this code
# NOT RUN {
# TODO
# }

Run the code above in your browser using DataLab