You are here: Start » AVL.NET » AVL.VisualizeHeatMap Method

AVL.VisualizeHeatMap Method

Colorizes heat-map and blends it with background image

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void VisualizeHeatMap(
	ref AvlNet.ColorizeImageState ioState,
	AvlNet.Image inImage,
	AvlNet.Image inHeatMap,
	AvlNet.ColorPalette inPalette,
	int inThreshold,
	int? inFuzziness,
	int? inMinValue,
	int? inMaxValue,
	bool inForceMono,
	out AvlNet.Image outImage,
	out 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, or null.
inMinValueint?0Default value: 0, or null.
inMaxValueint?255Default value: 255, or null.
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

Error type Description
DomainError Image sizes are not equal in VisualizeHeatMap.
DomainError Input heatmap must have 1xUInt8 format in VisualizeHeatMap.
DomainError Input image must have UInt8 or UInt16 pixel format in VisualizeHeatMap.

See also