You are here: Start » AVL.NET » Invoke.ThresholdImage
Transforms each pixel value to maximum or minimum depending on whether they belong to the specified range.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void ThresholdImage ( Avl.Image inImage, Optional<Avl.Region> inRoi, Optional<float> inMinValue, Optional<float> inMaxValue, float inFuzziness, Avl.Image outMonoImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Region of interest. Default value: atl::NIL. | ||
![]()  | inMinValue | Atl.Optional<float> | 128.0f | Minimum value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f. | |
![]()  | inMaxValue | Atl.Optional<float> | Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL. | ||
![]()  | inFuzziness | float | <0.0f, INF> | 0.0f | A tolerance for inMin/MaxValue that results in intermediate output values. Default value: 0.0f. | 
![]()  | outMonoImage | Avl.Image | 


