ICogRegion CreateRLE Method Cognex VisionPro 9.24
Create an RLE representation of this Region.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax

CogRLEBuffer CreateRLE(
	byte insidePelValue,
	byte outsidePelValue
)

Parameters

insidePelValue
Type: System Byte

outsidePelValue
Type: System Byte

Return Value

Type: CogRLEBuffer

The RLE representation of this region.

Remarks

Creates a <see cref="T:Cognex.VisionPro.CogRLEBuffer"> representation of this region. Note that this method ignores the <see cref="P:Cognex.VisionPro.ICogShape.SelectedSpaceName"> property and instead assumes that the shape is defined in pixel space coordinates. If that is not the case, consider first using the <see cref="M:Cognex.VisionPro.ICogShape.Map"> method to produce a new region that is in pixel space.
See Also