Learn R Programming

imager (version 0.45.8)

diffusion_tensors: Compute field of diffusion tensors for edge-preserving smoothing.

Description

Compute field of diffusion tensors for edge-preserving smoothing.

Usage

diffusion_tensors(
  im,
  sharpness = 0.7,
  anisotropy = 0.6,
  alpha = 0.6,
  sigma = 1.1,
  is_sqrt = FALSE
)

Arguments

im

an image

sharpness

Sharpness

anisotropy

Anisotropy

alpha

Standard deviation of the gradient blur.

sigma

Standard deviation of the structure tensor blur.

is_sqrt

Tells if the square root of the tensor field is computed instead.