Authors:P. Markowicz, P. Spurek

History:2013/11/26: First version

Bugs:0 bug(s) listed. Plugin:LocalGaussianFilter_AdaptiveMorphologyOperation-1.0.0.jar Installation:Download LocalGaussianFilter_AdaptiveMorphologyOperation-1.0.0.jar to the plugins folder (restart ImageJ) and there will be new commands:

Plugins/Adaptive Morphology,Plugins/Gaussina filter.References:P. Spurek, A. Chaikouskaya, J. Tabor, E. Zając A local Gaussian ﬁlter and adaptive morphology as tools for completing partially discontinuous curves, CISIM 2014, LNCS 8838, pp. 559–570, 2014 (Please cite as "Bibtex")Description:

## Local Gaussian Filter

Gaussian blur (also known as Gaussian smoothing) is the result of blurring of an image by the Gaussian function. For processing images, one needs a two-dimensional Gaussian density distribution. The normal random variable with the mean equal to zero and the covariance matrix has a density

where by

we denote the Mahalanobis norm of .

An image with dimensions is interpreted as a function , where describes the intensity of the pixel with coordinates .

Local Gaussian blur is obtained by replacing each pixel with coordinates using the formula

,

where is the local covariance matrix for a circular neighborhood.

We need one parameter: radiusrof circular neighborhoodExample: The effect of Local Gaussian Filter on Classical Lena Picture with

## Adaptive morphology operation

Similarly as in the local Gaussian filter, adaptive morphology operation uses local properties of images. More precisely, a covariance matrix is employed to fit the size and orientation of elliptical structural elements.

We implement dilatation (black color describe background and white describe elements of foreground).

Let us consider the set presented below. Let be arbitrarily fixed. The behavior of an adaptive morphology is described for two points, which are marked black.

We use coordinates of points from the neighborhood to determine a covariance matrix. In this example, elements of the curve are marked in light gray. As we see structural element is different in each of points.The most important property is that this operation do not expand the set in all directions. To emphasize this effect we added the parameter . The morphology operation is applied if proportion between parameters of estimated elipses is lower then .

We need two parameters:

- radius
rof circular neighborhood- proportion between parameters
Example: The effect of Adaptive morphology on Blobs image with and different parameter

Blobs image thresholding by Otsu algorithm. and and and and and and and