Create an RLE representation of this Region.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 85.1.0.0
CogRLEBuffer CreateRLE(
byte insidePelValue,
byte outsidePelValue
)
CogRLEBuffer CreateRLE(
byte insidePelValue,
byte outsidePelValue
)
Function CreateRLE (
insidePelValue As Byte,
outsidePelValue As Byte
) As CogRLEBuffer
Function CreateRLE (
insidePelValue As Byte,
outsidePelValue As Byte
) As CogRLEBuffer
CogRLEBuffer^ CreateRLE(
unsigned char insidePelValue,
unsigned char outsidePelValue
)
CogRLEBuffer^ CreateRLE(
unsigned char insidePelValue,
unsigned char outsidePelValue
)
Parameters
- insidePelValue
- Type: System Byte
- outsidePelValue
- Type: System Byte
Return Value
Type:
CogRLEBufferThe RLE representation of this region.
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.