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

Invoke.SmoothImage_Bilateral

Smooths an image while preserving sharp edges.

Namespace:Fil
Assembly:FilNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageFil.ImageInput image.
inEdgesImageFtl.Optional<Fil.Image>Image to be used for edge detection. Default value: ftl::NIL.
inRoiFtl.Optional<Fil.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.
inSamplingMethodFil.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.
outImageFil.ImageOutput image.

See also