CogAutoSelect Execute Method Cognex VisionPro 9.5
Perform auto selection on the supplied input image.

Namespace: Cognex.VisionPro.AutoSelect
Assembly: Cognex.VisionPro.AutoSelect (in Cognex.VisionPro.AutoSelect.dll) Version: 69.0.0.0
Syntax

public CogAutoSelectResults Execute(
	CogImage8Grey inputImage,
	ICogRegion inputRegion
)

Parameters

inputImage
Type: Cognex.VisionPro CogImage8Grey
The image to be evaluated.
inputRegion
Type: Cognex.VisionPro ICogRegion
An optional region. May be null. If supplied, this region is used to limit the amount of processing performed on the input image. This is done in conjunction with the RegionMode property, which may be either PixelAlignedBoundingBox or PixelAlignedBoundingBoxAdjustMask. If no inputRegion is supplied, the entire input image is processed.

Return Value

Type: CogAutoSelectResults
The results of this auto selection process.
Exceptions

ExceptionCondition
ArgumentNullException If the supplied input image argument is null.
CogSecurityViolationException If licensing for this operator cannot be confirmed.
See Also