imager (version 0.42.7)

imhessian: Compute image hessian.

Description

Compute image hessian.

Usage

imhessian(im, axes = c("xx", "xy", "yy"))

Arguments

im

an image

axes

Axes considered for the hessian computation, as a character string (e.g "xy" corresponds to d/(dx*dy)). Can be a list of axes. Default: xx,xy,yy

Value

an image, or a list of images

Examples

Run this code
# NOT RUN {
imhessian(boats,"xy") %>% plot(main="Second-derivative, d/(dx*dy)")
# }

Run the code above in your browser using DataCamp Workspace