You are here: Start » AVL.NET » Function Reference » Image » Image Thresholding » AVL.ThresholdImage_Multirange
Transforms each pixel value to maximum or minimum depending on whether they belong to the specified range.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ThresholdImage_Multirange ( AvlNet.Image inImage, NullableRef<AvlNet.Region> inRoi, float? inMinValue1, float? inMaxValue1, float? inMinValue2, float? inMaxValue2, float? inMinValue3, float? inMaxValue3, float? inMinValue4, float? inMaxValue4, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of interest. Default value: atl::NIL. | |||
inMinValue1 | float? | 1.0f | Minimum value of a pixel that is considered foreground (Auto = -INF). Default value: 1.0f. | ||
inMaxValue1 | float? | Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL. | |||
inMinValue2 | float? | 64.0f | Minimum value of a pixel that is considered foreground (Auto = -INF). Default value: 64.0f. | ||
inMaxValue2 | float? | Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL. | |||
inMinValue3 | float? | 128.0f | Minimum value of a pixel that is considered foreground (Auto = -INF). Default value: 128.0f. | ||
inMaxValue3 | float? | Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL. | |||
inMinValue4 | float? | 192.0f | Minimum value of a pixel that is considered foreground (Auto = -INF). Default value: 192.0f. | ||
inMaxValue4 | float? | Maximum value of a pixel that is considered foreground (Auto = +INF). Default value: atl::NIL. | |||
outImage | AvlNet.Image | Output image. |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: 1xUINT8 (for inFuzziness = 0).
This operation is optimized for AVX2 technology for pixels of types: 1xUINT8 (for inFuzziness = 0) PARALLEL.
Hardware acceleration settings may be manipulated with Settings class.