You are here: Start » AVL.NET » Function Reference » Image » Image Drawing » AVL.VisualizeHeatmap_Old

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,
	AvlNet.Image diagPalette
)

Parameters

Name Type Range Default Description
ioStateAvlNet.ColorizeImageState
inImageAvlNet.ImageInput image.
inHeatmapAvlNet.ImageConfidence of defect at each pixel.
inPaletteAvlNet.ColorPaletteBlackYellowRedDefault value: BlackYellowRed.
inThresholdint<0, 255>64Minimum defect confidence for choosing more of heat-map color than of input image color. Default value: 64.
inFuzzinessint?<0, INF>0Confidence distance from inThreshold within which heat-map colors and input image colors are linearly interpolated; Auto = INF. Default value: 0.
inMinValueint?0Default value: 0.
inMaxValueint?255Default value: 255.
inForceMonoboolConverts input image to monochromatic.
outImageAvlNet.ImageOutput image.
diagPaletteAvlNet.ImageUsed palette preview.

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

See also