This class converts all pixels of an image using the map defined by the user. By default this class creates an identity map.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.ImageProcessing CogIPOneImagePixelMap
Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 87.1.0.0
Syntax
The CogIPOneImagePixelMap type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogIPOneImagePixelMap | Constructs a new instance of this class. | |
| CogIPOneImagePixelMap(IntPtr) | Constructs a new instance of this class using com pointer. | |
| CogIPOneImagePixelMap(CogIPOneImagePixelMap) | Constructs a new instance of this class as a deep copy of the given instance. |
Methods
| Name | Description | |
|---|---|---|
| attachCom | ||
| 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 | |
| CreateGraphics | Creates a composite result graphic depicting the current lookup table for the mapping operation. | |
| 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.) | |
| CreatePlanarGraphics | Creates a composite result graphic depicting the current lookup table for the specified plane. | |
| Dispose | ||
| Dispose(Boolean) | ||
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Execute | Perform a single image operation using the input image and region to produce the output image. | |
| 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.) | |
| GetMap | Get the pixel map array. When an image is mapped, each pixel in the input image is used as an index into the array and replaced by the returned value. | |
| GetObjectData | ||
| GetPlane0Map | Get the plane 0 pixel map array. When a 3 plane image is mapped, the plane 0 value of each pixel in the input image is used as an index into the array and is replaced by the returned value. | |
| GetPlane1Map | Get the plane 1 pixel map array. When a 3 plane image is mapped, the plane 1 value of each pixel in the input image is used as an index into the array and is replaced by the returned value. | |
| GetPlane2Map | Get the plane 2 pixel map array. When a 3 plane image is mapped, the plane 2 value of each pixel in the input image is used as an index into the array and is replaced by the returned value. | |
| 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.) | |
| 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.) | |
| 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. | |
| SetMap | Set the pixel map array. When an image is mapped, each pixel in the input image is used as an index into the array and replaced by the returned value. | |
| SetPlane0Map | Set the plane 0 pixel map array. When a 3 plane image is mapped, each pixel's plane 0 value is used as an index into the array and is replaced by the returned value. | |
| SetPlane1Map | Set the plane 1 pixel map array. When a 3 plane image is mapped, each pixel's plane 1 value is used as an index into the array and is replaced by the returned value. | |
| SetPlane2Map | Set the plane 2 pixel map array. When a 3 plane image is mapped, each pixel's plane 2 value is used as an index into the array and is replaced by the returned value. | |
| 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 | Returns a String that represents the current Object. (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| __com | ||
| __disposed | ||
| __factory | ||
| Creator | ||
| SfEnabled | This bit will be set in the EventArgs of a Changed event every time the value returned by Enabled may have changed. | |
| SfGetMap | This bit will be set in the EventArgs of a Changed event every time the value returned by GetMap may have changed. | |
| SfGetPlane0Map | This bit will be set in the EventArgs of a Changed event every time the value returned by GetPlane0Map may have changed. | |
| SfGetPlane1Map | This bit will be set in the EventArgs of a Changed event every time the value returned by GetPlane1Map may have changed. | |
| SfGetPlane2Map | This bit will be set in the EventArgs of a Changed event every time the value returned by GetPlane2Map may have changed. | |
| SfOperatorName | This bit will be set in the EventArgs of a Changed event every time the value returned by OperatorName may have changed. |
Properties
| Name | Description | |
|---|---|---|
| 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. | |
| Enabled | Whether this one image operator will be used to compute the output image. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| OperatorName | Returns/sets a displayable operator name. |
Events
| Name | Description | |
|---|---|---|
| Changed | Occurs when one or more parts of the object's state may have changed. |
Remarks
This object maps the values of the image's pixels using the supplied pixel map. The default pixel map is an identity map an (input pixel value of 0 maps to an output value of 0, 1 to 1, and so on).
See Also