CogDLRuntimeMap Constructor (CogImage16Grey, String, Double, String)Cognex VisionPro 9.22
Construct a map with the supplied values.

Namespace: Cognex.VisionPro.DLRuntime
Assembly: Cognex.VisionPro.DLRuntime (in Cognex.VisionPro.DLRuntime.dll) Version: 87.0.0.0 (87.0.0.0)
Syntax

public CogDLRuntimeMap(
	CogImage16Grey data,
	string color,
	double scale,
	string name
)

Parameters

data
Type: Cognex.VisionPro CogImage16Grey
The map as a 16-bit image. May not be null.
color
Type: System String
The color associated with this map.
scale
Type: System Double
The factor used to scale the map into the 16-bit value range, i.e. 0 to 0xFFFF.
name
Type: System String
The name of the map.
Exceptions

ExceptionCondition
ArgumentNullException If the data argument is null.
See Also