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

Invoke.ThresholdImage_HSx

Transforms each pixel value to minimum or maximum depending on whether it belongs to specified region in the HSV, HSL or HSI color space.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ThresholdImage_HSx
(
	Fil.Image inRgbImage,
	Optional<Fil.Region> inRoi,
	Fil.HSxColorModel inColorModel,
	int inBeginHue,
	int inEndHue,
	Optional<int> inMinSaturation,
	Optional<int> inMaxSaturation,
	Optional<int> inMinBrightness,
	Optional<int> inMaxBrightness,
	float inFuzziness,
	Fil.Image outMonoImage,
	Diagnostic<Fil.Image> diagHSxImage
)

Parameters

Name Type Range Default Description
inRgbImageFil.ImageInput image in the RGB color space.
inRoiFtl.Optional<Fil.Region>Region of interest. Default value: ftl::NIL.
inColorModelFil.HSxColorModelSelected color model.
inBeginHueint<0, 255>0Lowest acceptable Hue; if higher than inEndHue, then range wrapping is used. Default value: 0.
inEndHueint<0, 255>255Highest acceptable Hue, if lower than inBeginHue, then range wrapping is used. Default value: 255.
inMinSaturationFtl.Optional<int><0, 255>128Default value: 128.
inMaxSaturationFtl.Optional<int><0, 255>
inMinBrightnessFtl.Optional<int><0, 255>128Minimum brightness; denotes V, L or I, depending on inColorModel. Default value: 128.
inMaxBrightnessFtl.Optional<int><0, 255>Maximum brightness; denotes V, L or I, depending on inColorModel. Default value: ftl::NIL.
inFuzzinessfloat<0.0f, INF>Tolerance for value ranges that results in intermediate output values.
outMonoImageFil.Image
diagHSxImageFil.Diagnostic<Fil.Image>Image in HSx color space.

See also