spatialGradient: First Order Derivatives of an Image with the Sobel Operator

Description Usage Arguments Value Author(s) See Also Examples

View source: R/filters.R

Description

spatialGradient calculates the first order derivative of an image in both x and y using a Sobel operator.

Usage

1
spatialGradient(image, k_size = 5)

Arguments

image

An Image object.

k_size

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

Value

image An Image object.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Image, sobel

Examples

1
# TODO

neuroconductor-releases/Rvision documentation built on Nov. 10, 2020, 9:10 p.m.