Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_gradient

Compute image gradient.


Description

Compute image gradient.

Usage

get_gradient(im, axes = "", scheme = 3L)

Arguments

im

an image

axes

Axes considered for the gradient computation, as a C-string (e.g "xy").

scheme

= Numerical scheme used for the gradient computation: 1 = Backward finite differences 0 = Centered finite differences 1 = Forward finite differences 2 = Using Sobel masks 3 = Using rotation invariant masks 4 = Using Deriche recursive filter. 5 = Using Van Vliet recursive filter.

Value

a list of images (corresponding to the different directions)

See Also

imgradient


imager

Image Processing Library Based on 'CImg'

v0.42.10
LGPL-3
Authors
Simon Barthelme [aut], David Tschumperle [ctb], Jan Wijffels [ctb], Haz Edine Assemlal [ctb], Shota Ochi [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.