# Anisotropic Diffusion 2D

Anisotropic diffusion 2D (ImageJ)
Author Vladimir Pilny and Jiri Janacek
Maintainer
File Anisotropic_Diffusion_2D.class
Source Anisotropic_Diffusion_2D.java
Initial release 01 December 2005
Development status v0.3
Category Filtering
Website [1]

## Purpose

This plugin implement the anisotropic diffusion filter in 2D. Anisotropic filters are a class of filter that reduces noise in an image while trying to preserve sharp edges.

## Documentation

Parameters:

• Number of iterations - Maximum number of complete iterations, default value is 20.
• Smoothings per iteration - Number of smoothings by anisotropic Gaussian with 3x3 mask per iterations, default value is 1. Size of the smoothing per one complete iteration is proportional to the square root of this number.
• Keep each - Number of iterations between successive savings of the results. Default value is 20.
• a1 (Diffusion limiter along minimal variations) - a1 influences the shape of the smoothing mask. f1(l1,l2)= (1.0+l1+l2)^-a1. The smoothing in each iteration is defined by a tensor (2x2 matrix), that is linear combination of tensors corresponding to minimal and maximal eigenvalue of structure tensor. f1 and f2 are weights of the tensors (see Tschumperlé and Deriche, 2005).
• a2 (Diffusion limiter along maximal variations) - a2 influences the shape of the smoothing mask. $f_{2}(l_{1},l_{2})=(1.0+l_{1}+l_{2})^{{-a_{2}}}$.
• dt (Time step) - Default value is 20. The result of the filter is proportional to the step, but too long time step yields numerical instability of the procedure.
• Edge threshold height - Defines minimum "strength" of edges that will be preserved by the filter. Default value is 5.
• Show filter stats - Display filter statistics for each iteration.
• Show time stats - Display elapsed times.
• Add labels - Add labels to output stack. Double click on the eye dropper tool to set the label color.

The algorithm used by this plugin is an implementation of Anisotropic Diffusion from Tschumperlé, D. & Deriche, R. (2005), "Vector-Valued Image Regularization with PDE’s : A Common Framework for Different Applications", IEEE Trans. Pattern. Anal. Mach. Intell. 27 (4): 506-517, PMID 15794157