You are here: Start » FIL.NET » FIS.SmoothImage_Bilateral Method

FIS.SmoothImage_Bilateral Method

Smooths an image while preserving sharp edges.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inEdgesImageFilNet.NullableRef<FilNet.Image>Image to be used for edge detection. Default value: ftl::NIL.
inRoiFilNet.NullableRef<FilNet.Region>Range of pixels to be processed. Default value: ftl::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.
inSamplingMethodFilNet.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.
outImageFilNet.ImageOutput image.

Function Overrides

See also