CogTrevistaCommonImageParams Constructor (Boolean, CogTrevistaImageTypeConstants, Double, Double)Cognex VisionPro 9.25 SR1
Construct a CogTrevistaCommonImageParams object with the supplied values.

Namespace: Cognex.VisionPro.Trevista
Assembly: Cognex.VisionPro.Trevista (in Cognex.VisionPro.Trevista.dll) Version: 93.1.0.0
Syntax

public CogTrevistaCommonImageParams(
	bool enabled,
	CogTrevistaImageTypeConstants imageType,
	double blackLevel,
	double whiteLevel
)

Parameters

enabled
Type: System Boolean
Whether the output image associated with this CogTrevistaCommonImageParams should be produced.
imageType
Type: Cognex.VisionPro.Trevista CogTrevistaImageTypeConstants
The type of output image that should be produced: UInt8 or UInt16
blackLevel
Type: System Double

Internal floating point pixels with this value will be mapped to black in VisionPro output images. See BlackLevel for details.

whiteLevel
Type: System Double

Internal floating point pixels with this value will be mapped to white in VisionPro output images. See WhiteLevel for details.

See Also