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

AVL.MakeHeatmap

Creates a new Heatmap object.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void MakeHeatmap
(
	AvlNet.Image inImage,
	int inHeatmapLowerThreshold,
	int inHeatmapMiddleThreshold,
	int inHeatmapUpperThreshold,
	AvlNet.Heatmap outHeatmap
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inHeatmapLowerThresholdint<0, INF>0Default value: 0.
inHeatmapMiddleThresholdint<0, INF>127Default value: 127.
inHeatmapUpperThresholdint<0, INF>255Default value: 255.
outHeatmapAvlNet.Heatmap

Errors

List of possible exceptions:

Error type Description
DomainError inHeatmapLowerThreshold is greater than inHeatmapUpperThreshold in MakeHeatmap
DomainError inHeatmapMiddleThreshold is bigger than inHeatmapUpperThreshold in MakeHeatmap
DomainError inHeatmapMiddleThreshold is lower than inHeatmapLowerThreshold in MakeHeatmap
DomainError Not supported inImage pixel format in MakeHeatmap. Supported formats: 1xUInt8.

See also