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

Invoke.ThresholdToRegion_RGB

Creates a region containing image pixels which belongs to the specified range for each individual pixel component.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ThresholdToRegion_RGB
(
	Fil.Image inRgbImage,
	Optional<Fil.Region> inRoi,
	Optional<int> inMinRed,
	Optional<int> inMaxRed,
	Optional<int> inMinGreen,
	Optional<int> inMaxGreen,
	Optional<int> inMinBlue,
	Optional<int> inMaxBlue,
	Optional<int> inMinAlpha,
	Optional<int> inMaxAlpha,
	Fil.Region outRegion
)

Parameters

Name Type Range Default Description
inRgbImageFil.ImageInput image, usually in the RGB color space.
inRoiFtl.Optional<Fil.Region>Region of interest. Default value: ftl::NIL.
inMinRedFtl.Optional<int><0, 255>128Minimum for the first pixel component, usually Red (Auto = -INF). Default value: 128.
inMaxRedFtl.Optional<int><0, 255>Maximum for the first pixel component, usually Red (Auto = +INF). Default value: ftl::NIL.
inMinGreenFtl.Optional<int><0, 255>128Minimum for the second pixel component, usually Green (Auto = -INF). Default value: 128.
inMaxGreenFtl.Optional<int><0, 255>Maximum for the second pixel component, usually Green (Auto = +INF). Default value: ftl::NIL.
inMinBlueFtl.Optional<int><0, 255>128Minimum for the third pixel component, usually Blue (Auto = -INF). Default value: 128.
inMaxBlueFtl.Optional<int><0, 255>Maximum for the third pixel component, usually Blue (Auto = +INF). Default value: ftl::NIL.
inMinAlphaFtl.Optional<int><0, 255>Minimum for the fourth pixel component, usually Blue (Auto = -INF). Default value: ftl::NIL.
inMaxAlphaFtl.Optional<int><0, 255>Maximum for the fourth pixel component, usually Blue (Auto = +INF). Default value: ftl::NIL.
outRegionFil.RegionOutput region.

See also