CogRLERun StructureCognex VisionPro 9.5
This class holds data that describes a single run within a run length encoded image (CogRLEBuffer). Note that a run is limited to a maximum length of 255 pixels, so an actual run may be represented by several adjacent instances of this object. A default constructed CogRLERun (value and length both zero) is used to denote the end of each row within a CogRLEBuffer.

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

public struct CogRLERun

The CogRLERun type exposes the following members.

Methods

  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields

  NameDescription
Public fieldLength
The length in pixels of this run. Maximum value is 255.
Public fieldValue
The greyscale value of this run.
Top
See Also