CogTrevista Execute Method Cognex VisionPro 9.25 SR1
Take the input CogImage8Interlaced and unpack its 8 bit pixels into four "shading" images. Process those to produce the requested output images.

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

public CogTrevistaResult Execute(
	ICogVisionData inputImage
)

Parameters

inputImage
Type: Cognex.VisionPro ICogVisionData
The image to process into requested output images. Must be of type CogImage8Interlaced.

Return Value

Type: CogTrevistaResult
A CogTrevistaResult object that contains the requested output images.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this method executes successfuly. The following state flag may be affected:
Exceptions

ExceptionCondition
ObjectDisposedException If the object has been disposed.
ArgumentNullExceptioninputImage is null.
CogSecurityViolationException Licensing for this operation cannot be confirmed. See Understanding VisionPro Security for more information.
CogImageNoPixelsExceptioninputImage has no allocated pixels.
CogImageBadTypeExceptioninputImage is not a CogImage8Interlaced.
See Also