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

FIS.ThresholdToRegion_Color Method

Creates a region containing image pixels with values close to the given color.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void ThresholdToRegion_Color
(
	FilNet.Image inImage,
	FilNet.Pixel inRgbColor,
	float inChromaAmount,
	float inMaxDifference,
	float inHysteresis,
	FilNet.Region outRegion
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inRgbColorFilNet.PixelColor to compare the image to.
inChromaAmountfloat<0.0f, 1.0f>0.7fProportion of chromatic information in distance computation. Default value: 0.7f.
inMaxDifferencefloat<0.0f, INF>5.0fMaximum difference between image pixel and model color. Default value: 5.0f.
inHysteresisfloat<0.0f, INF>0.0fDefines how much the difference criterium is lowered for pixels neighboring with other foreground pixels. Default value: 0.0f.
outRegionFilNet.RegionOutput region.

Function Overrides

See also