imager (version 0.45.8)

imhessian: Compute image hessian.

Description

Compute image hessian.

Usage

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

Value

an image, or a list of images

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

Examples

Run this code
cimg.limit.openmp()
imhessian(boats,"xy") %>% plot(main="Second-derivative, d/(dx*dy)")

Run the code above in your browser using DataLab