You are here: Start » AVL.NET » Function Reference » Image » Image Drawing » AVL.VisualizeHeatmap_Old
Colorizes a heat-map and blends it with a background image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void VisualizeHeatmap_Old ( AvlNet.ColorizeImageState ioState, AvlNet.Image inImage, AvlNet.Image inHeatmap, AvlNet.ColorPalette inPalette, int inThreshold, int? inFuzziness, int? inMinValue, int? inMaxValue, bool inForceMono, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.ColorizeImageState | ||||
inImage | AvlNet.Image | Input image. | |||
inHeatmap | AvlNet.Image | Confidence of defect at each pixel. | |||
inPalette | AvlNet.ColorPalette | BlackYellowRed | Default value: BlackYellowRed. | ||
inThreshold | int | <0, 255> | 64 | Minimum defect confidence for choosing more of heat-map color than of input image color. Default value: 64. | |
inFuzziness | int? | <0, INF> | 0 | Confidence distance from inThreshold within which heat-map colors and input image colors are linearly interpolated; Auto = INF. Default value: 0. | |
inMinValue | int? | 0 | Default value: 0. | ||
inMaxValue | int? | 255 | Default value: 255. | ||
inForceMono | bool | Converts input image to monochromatic. | |||
outImage | AvlNet.Image | Output image. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Image sizes are not equal in VisualizeHeatmap_Old. |
DomainError | Input heatmap must have 1xUInt8 format in VisualizeHeatmap_Old. |
DomainError | Input image must have UInt8 or UInt16 pixel format in VisualizeHeatmap_Old. |
DomainError | Not supported inHeatmap pixel format in VisualizeHeatmap_Old. Supported formats: 1xUInt8. |
DomainError | Not supported inImage pixel format in VisualizeHeatmap_Old. Supported formats: 1xUInt8, 1xUInt16, 2xUInt8, 2xUInt16, 3xUInt8, 3xUInt16, 4xUInt8, 4xUInt16. |
Function Overrides
- VisualizeHeatmap_Old(ColorizeImageState, Image, Image, ColorPalette, Int32, Nullable<Int32>, Nullable<Int32>, Boolean, Image)
- VisualizeHeatmap_Old(ColorizeImageState, Image, Image, ColorPalette, Int32, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Boolean, Image, Image)