Compute field of diffusion tensors for edge-preserving smoothing.
diffusion_tensors(
im,
sharpness = 0.7,
anisotropy = 0.6,
alpha = 0.6,
sigma = 1.1,
is_sqrt = FALSE
)
an image
Sharpness
Anisotropy
Standard deviation of the gradient blur.
Standard deviation of the structure tensor blur.
Tells if the square root of the tensor field is computed instead.