You are here: Start » AVL.NET » AVS.SmoothImage_Bilateral Method

AVS.SmoothImage_Bilateral Method

Smooths an image while preserving sharp edges.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SmoothImage_Bilateral
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.Image> inEdgesImage,
	NullableRef<AvlNet.Region> inRoi,
	float inDistanceSigma,
	float inColorSigma,
	AvlNet.BilateralSamplingMethod inSamplingMethod,
	int inIterationCount,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inEdgesImageAvlNet.NullableRef<AvlNet.Image>Image to be used for edge detection. Default value: atl::NIL.
inRoiAvlNet.NullableRef<AvlNet.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.
inSamplingMethodAvlNet.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.
outImageAvlNet.ImageOutput image.

Function Overrides

See also