Learn R Programming

Rvision (version 0.3.5)

sobel: Calculates an Image Derivatives Using an Extended Sobel Operator

Description

sobel calculates the first, second, third, or mixed image derivatives of an image using an extended Sobel operator.

Usage

sobel(image, dx = 1, dy = 1, k_size = 5, scale = 1)

Arguments

image

An Image object.

dx

Order of the x derivative (default: 1).

dy

Order of the y derivative (default: 1),

k_size

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

scale

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

Value

image An Image object.

See Also

Image, laplacian, scharr

Examples

Run this code
# NOT RUN {
# TODO
# }

Run the code above in your browser using DataLab