You are here: Start » AVL.NET » AVS.SelectThresholdValue Method

AVS.SelectThresholdValue Method

Selects best threshold value using the image histogram.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inMethodAvlNet.ThresholdSelectionMethodMethod used to select the best threshold.
outThresholdValuefloatBest threshold separating background pixels from foreground pixels.

Function Overrides

See also