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

AVL.ThresholdImage_Color(AvlNet.Image, AvlNet.Pixel, float, float, float, AvlNet.Image)

Transforms each pixel value to maximum or minimum depending on the distance from a given color.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ThresholdImage_Color(
	AvlNet.Image inImage,
	AvlNet.Pixel inRgbColor,
	float inChromaAmount,
	float inMaxDifference,
	float inFuzziness,
	out AvlNet.Image outMonoImage
)

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
inFuzziness
Type: System.Single
A tolerance for computed difference that results in intermediate output values
outMonoImage
Type: AvlNet.Image

Remarks

See full override for more details.

See also