You are here: Start » AVL.NET » Invoke.SmoothImage_Bilateral

Invoke.SmoothImage_Bilateral

Smooths an image while preserving sharp edges.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void SmoothImage_Bilateral
(
	Avl.Image inImage,
	Optional<Avl.Image> inEdgesImage,
	Optional<Avl.Region> inRoi,
	float inDistanceSigma,
	float inColorSigma,
	Avl.BilateralSamplingMethod inSamplingMethod,
	int inIterationCount,
	Avl.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inEdgesImageAtl.Optional<Avl.Image>Image to be used for edge detection. Default value: atl::NIL.
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inDistanceSigmafloat<0.0f, 128.0f>5.0fSigma used when calculating the gaussian difference two pixel positions. Default value: 5.0f.
inColorSigmafloat<0.0f, INF>35.0fSigma used when calculating the gaussian difference between two colors. Default value: 35.0f.
inSamplingMethodAvl.BilateralSamplingMethodPoissonWhether to use a naive (full) or a subsampling method. Default value: Poisson.
inIterationCountint<1, INF>1Determines how many times the bilateral filter will be run. Default value: 1.
outImageAvl.ImageOutput image.

See also