Lably
Skip to content

Anisotropic diffusion

Image noise reducing technique

  • 5 min read
  • 4 chapters

Related on Lably

Through Digital image processing, Computer vision and Convolution

In its original formulation, presented by Perona and Malik in 1987, the space-variant filter is in fact isotropic but depends on the image content such that it approximates an impulse function close to edges and other structures that should be preserved in the image over the different levels of the resulting scale space. This formulation was referred to as anisotropic diffusion by Perona and Malik even though the locally adapted filter is isotropic, but it has also been referred to as inhomogeneous and nonlinear diffusion or Perona–Malik diffusion by other authors. A more general formulation allows the locally adapted filter to be truly anisotropic close to linear structures such as edges or lines: it has an orientation given by the structure such that it is elongated along the structure and narrow across. Such methods are referred to as shape-adapted smoothing or coherence enhancing diffusion. As a consequence, the resulting images preserve linear structures while at the same time smoothing is made along these structures. Both these cases can be described by a generalization of the usual diffusion equation where the diffusion coefficient, instead of being a constant scalar, is a function of image position and assumes a matrix (or tensor) value (see structure tensor).

Although the resulting family of images can be described as a combination between the original image and space-variant filters, the locally adapted filter and its combination with the image do not have to be realized in practice. Anisotropic diffusion is normally implemented by means of an approximation of the generalized diffusion equation: each new image in the family is computed by applying this equation to the previous image. Consequently, anisotropic diffusion is an iterative process where a relatively simple set of computations is used to compute each successive image in the family and this process is continued until a sufficient degree of smoothing is obtained.

Formal definition

Formally, let Ω⊂R2 denote a subset of the plane and I(⋅,t):Ω→R be a family of gray scale images. I(⋅,0) is the input image. Then anisotropic diffusion is defined as

∂I∂t=div⁡(c(x,y,t)∇I)=∇c⋅∇I+c(x,y,t)ΔI

where Δ denotes the Laplacian, ∇ denotes the gradient, div⁡(⋯) is the divergence operator and c(x,y,t) is the diffusion coefficient.

For t>0, the output image is available as I(⋅,t), with larger t producing blurrier images.

c(x,y,t) controls the rate of diffusion and is usually chosen as a function of the image gradient so as to preserve edges in the image. Pietro Perona and Jitendra Malik pioneered the idea of anisotropic diffusion in 1990 and proposed two functions for the diffusion coefficient:

c(‖∇I‖)=e−(‖∇I‖/K)2

and

c(‖∇I‖)=11+(‖∇I‖K)2

the constant K controls the sensitivity to edges and is usually chosen experimentally or as a function of the noise in the image.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication