Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 79.0.0.0
Property Value
Type: CogRegionModeConstants| Event Type | Reason |
|---|---|
| CogSobelEdge Changed | Fires when the value of this property changes. The following state flag may be affected: |
| Exception | Condition |
|---|---|
| ArgumentException | The region mode is not AffineTransform or PixelAlignedBoundingBox. |
Specifies how Execute(CogImage8Grey, ICogRegion)'s Region parameter is interpreted.
If the region is not specified (is Nothing), then the entire image is processed regardless of this property.
If this property is AffineTransform and the region is an CogRectangleAffine, then the region is mapped into a pixel aligned rectangle and the result of that mapping is processed. Attempting to use this property value with any other shape region generates an error.
If this property is PixelAlignedBoundingBox, then any shape region may be used.
Default Value: PixelAlignedBoundingBox