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

Invoke.ThresholdImage_RGB

Transforms each pixel value to minimum or maximum depending on whether it belongs to the specified range for each individual pixel component.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ThresholdImage_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,
	float inFuzziness,
	Fil.Image outMonoImage
)

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.
inFuzzinessfloat<0.0f, INF>Tolerance for the ranges that results in intermediate output values.
outMonoImageFil.Image

See also