Class that holds a run-length-encoded representation of an image.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro CogRLEBuffer
Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax
The CogRLEBuffer type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogRLEBuffer | Constructs a new instance of this class. | |
| CogRLEBuffer(IntPtr) | Constructs a new instance of this class using com pointer. | |
| CogRLEBuffer(CogRLEBuffer) | Constructs a new instance of this class as a deep copy of the given instance. |
Methods
| Name | Description | |
|---|---|---|
| Clone | Returns a deep copy of this class instance. Derived classes that implement Clone should override this method; other clients who wish to clone this instance should call ICloneable.Clone. See also CogSerializer.DeepCopyObject | |
| Combine | Combine with another CogRLEBuffer. The SubImage must be contained within the primary RLE image's bounds. | |
| CreateImage8Grey | Create an image from this CogRLEBuffer. | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose | ||
| Dispose(Boolean) | ||
| DrawIntoImage8Grey | Destructively write into an image from this CogRLEBuffer. | |
| Equals | (Inherited from Object.) | |
| Finalize | (Overrides Object Finalize .) | |
| GetAttributes |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetClassName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetComponentName |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetConverter |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultEvent |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetDefaultProperty |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEditor |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetEvents( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetObjectData | ||
| GetPixel | Pixel Value at the specified location in this RLE image. | |
| GetProperties |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetProperties( Attribute ) |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetPropertyOwner |
Implements the corresponding member of the ICustomTypeDescriptor interface.
May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.) | |
| GetRuns | Gets a one dimensional array of CogRLERun objects for this CogRLEBuffer. The order of these CogRLERun objects is row major - that is, they start with the first image pixel row, progressing from the first pixel column towards the last pixel column, then continue with the second row, and so on. The end of each row is identified with a CogRLERun object whose Length value is zero. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| PixelMap | Pixel map this CogRLEBuffer. | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the Changed event after SuspendChangedEvent has been called. Also raises the Changed event if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent. | |
| SuspendChangedEvent | Temporarily suspends the raising of the Changed event. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| SfBinary | This bit will be set in the EventArgs of a Changed event every time the value returned by Binary may have changed. | |
| SfGetPixel | This bit will be set in the EventArgs of a Changed event every time the value returned by GetPixel may have changed. | |
| SfHeight | This bit will be set in the EventArgs of a Changed event every time the value returned by Height may have changed. | |
| SfInitted | This bit will be set in the EventArgs of a Changed event every time the value returned by Initted may have changed. | |
| SfNumRuns | This bit will be set in the EventArgs of a Changed event every time the value returned by NumRuns may have changed. | |
| SfWidth | This bit will be set in the EventArgs of a Changed event every time the value returned by Width may have changed. | |
| SfX | This bit will be set in the EventArgs of a Changed event every time the value returned by X may have changed. | |
| SfY | This bit will be set in the EventArgs of a Changed event every time the value returned by Y may have changed. |
Properties
| Name | Description | |
|---|---|---|
| Binary | Set to true, if this object contains only data with values 0 and 255. | |
| ChangedEventSuspended | If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| Height | Height dimension of this RLE image. | |
| Initted | Set to true, if this object has been initialized. | |
| NumRuns | Total number of runs in this RLE image. | |
| Width | Width dimension of this RLE image. | |
| X | Leftmost coordinate of the RLE image. | |
| Y | Topmost coordinate of the RLE image. |
Events
| Name | Description | |
|---|---|---|
| Changed | Occurs when one or more parts of the object's state may have changed. |
Remarks
Interface of a buffer which holds a Run Length Encoded image.
See Also