CogTrevistaDepthImageParams Constructor (Boolean, CogTrevistaImageTypeConstants, Double, Double, CogTrevistaDepthModeConstants, Int32)Cognex VisionPro 9.22
Construct a CogTrevistaDepthImageParams object with the supplied values.

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

public CogTrevistaDepthImageParams(
	bool enabled,
	CogTrevistaImageTypeConstants imageType,
	double blackLevel,
	double whiteLevel,
	CogTrevistaDepthModeConstants depthMode,
	int depthLevel
)

Parameters

enabled
Type: System Boolean
Whether the DepthImage should be produced.
imageType
Type: Cognex.VisionPro.Trevista CogTrevistaImageTypeConstants
The desired type of the output depth image: 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.

depthMode
Type: Cognex.VisionPro.Trevista CogTrevistaDepthModeConstants
The algorithm to use when computing the depth image: Local or Global.
depthLevel
Type: System Int32
Depth calculation level. Larger values expand the region that affects a computed depth value.
See Also