DIPlib Documentation - ©1995-2008 Quantitative Imaging Group, Delft University of Technology.

GaussianSigma

Adaptive Gaussian smoothing filter

SYNOPSIS

#include "dip_filtering.h"

dip_Error dip_GaussianSigma ( in, out, boundary, sigma, gaussSigma, outputCount, truncation )

DATA TYPES

integer, float

FUNCTION

The GaussianSigma filter is an adaptive Gauss-ian smoothing filter. The value of the pixel under investigation is replaced by the Gaussian-weighted average of the pixelvalues in the filter region which lie in the interval +/- 2 sigma from the value of the pixel that is filtered. The filter region is specified by gaussSigma and truncation. If outputCount is DIP_TRUE, the output values represent the number of pixel over which the average has been calculated. When threshold is DIP_TRUE, the pixel intensities are being thresholded at +/- 2 sigma, when it is set to DIP_FALSE, the intensities are weighted with the Gaussian difference with the intensity of the central pixel.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput image
dip_ImageoutOutput image
dip_BoundaryArrayboundaryBoundary conditions
dip_floatsigmaSigma
dip_FloatArraygaussSigmaSigma of Gaussian
dip_BooleanoutputCountOutput the Count
dip_floattruncation (-1.0)Truncation of Gaussian

LITERATURE

John-Sen Lee, Digital Image Smoothing and the Sigma Filter, Computer Vision, Graphics and Image Processing, 24, 255-269, 1983

SEE ALSO

Sigma, BiasedSigma, Gauss

DIPlib on-line documentation | Function reference | Global function index