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