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

AVL.SelectThresholdValue(AvlNet.Image, AvlNet.Region, AvlNet.ThresholdSelectionMethod, float)

Selects best threshold value using the image histogram.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void SelectThresholdValue(
	AvlNet.Image inImage,
	AvlNet.Region inRoi,
	AvlNet.ThresholdSelectionMethod inMethod,
	out float outThresholdValue
)

Parameters

inImage
Type: AvlNet.Image
Input image
inRoi
Type: AvlNet.Region
Range of pixels to be processed, or null.
inMethod
Type: AvlNet.ThresholdSelectionMethod
Method used to select the best threshold
outThresholdValue
Type: System.Single
Best threshold separating background pixels from foreground pixels

See also