You are here: Start » AVL.NET » AVL.ThresholdToRegion_Color(AvlNet.Image, AvlNet.Pixel, float, float, float, AvlNet.Region)

AVL.ThresholdToRegion_Color(AvlNet.Image, AvlNet.Pixel, float, float, float, AvlNet.Region)

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

inImage
Type: AvlNet.Image
Input image
inRgbColor
Type: AvlNet.Pixel
Color to compare the image to
inChromaAmount
Type: System.Single
Proportion of chromatic information in distance computation
inMaxDifference
Type: System.Single
Maximum difference between image pixel and model color
inHysteresis
Type: System.Single
Defines how much the difference criterium is lowered for pixels neighboring with other foreground pixels
outRegion
Type: AvlNet.Region
Output region

See also