You are here: Start » AVL.NET » AVL.ThresholdImage_HSx(AvlNet.Image, AvlNet.HSxColorModel, int, int, int?, int?, float, AvlNet.Image)

AVL.ThresholdImage_HSx(AvlNet.Image, AvlNet.HSxColorModel, int, int, int?, int?, float, AvlNet.Image)

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:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ThresholdImage_HSx(
	AvlNet.Image inRgbImage,
	AvlNet.HSxColorModel inColorModel,
	int inBeginHue,
	int inEndHue,
	int? inMinSaturation,
	int? inMinBrightness,
	float inFuzziness,
	out AvlNet.Image outMonoImage
)

Parameters

inRgbImage
Type: AvlNet.Image
Input image in the RGB color space
inColorModel
Type: AvlNet.HSxColorModel
Selected color model
inBeginHue
Type: System.Int32
Lowest acceptable Hue; if higher than inEndHue, then range wrapping is used
inEndHue
Type: System.Int32
Highest acceptable Hue, if lower than inBeginHue, then range wrapping is used
inMinSaturation
Type: System.Nullable<System.Int32>
inMinBrightness
Type: System.Nullable<System.Int32>
Minimum brightness; denotes V, L or I, depending on inColorModel, or null.
inFuzziness
Type: System.Single
Tolerance for value ranges that results in intermediate output values
outMonoImage
Type: AvlNet.Image

Remarks

See full override for more details.

See also