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, NullableRef<AvlNet.Region> inRoi, AvlNet.ThresholdSelectionMethod inMethod, out float outThresholdValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | |||
inMethod | AvlNet.ThresholdSelectionMethod | Method used to select the best threshold. | |||
outThresholdValue | float | Best threshold separating background pixels from foreground pixels. |
Function Overrides
- SelectThresholdValue(Image, ThresholdSelectionMethod, Single)
- SelectThresholdValue(Image, NullableRef<Region>, ThresholdSelectionMethod, Single, IList<Single>, IList<Single>, IList<Single>)