CogIPOneImagePixelMap ClassCognex VisionPro
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 Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.ImageProcessing CogIPOneImagePixelMap

Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 65.1.0.0
Syntax

[SerializableAttribute]
public class CogIPOneImagePixelMap : CogObjectBase, 
	ICogNetInternal, IDisposable, ICogIPOneImageOperator, ICogIPOneImageOperatorParams, ICloneable, 
	ISerializable, ICogHasChanged, ICogChangedEvent

The CogIPOneImagePixelMap type exposes the following members.

Constructors

  NameDescription
Public methodCogIPOneImagePixelMap 
Constructs a new instance of this class.
Public methodCogIPOneImagePixelMap(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogIPOneImagePixelMap(CogIPOneImagePixelMap)
Constructs a new instance of this class as a deep copy of the given instance.
Top
Methods

  NameDescription
Protected methodClone
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
Public methodCreateGraphics
Creates a composite result graphic depicting the current lookup table for the mapping operation.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodCreatePlanarGraphics
Creates a composite result graphic depicting the current lookup table for the specified plane.
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Perform a single image operation using the input image and region to produce the output image.
Protected methodFinalize (Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetMap
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.
Protected methodGetObjectData
Public methodGetPlane0Map
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.
Public methodGetPlane1Map
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.
Public methodGetPlane2Map
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.
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodResumeAndRaiseChangedEvent
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.
Public methodSetMap
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.
Public methodSetPlane0Map
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.
Public methodSetPlane1Map
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.
Public methodSetPlane2Map
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.
Public methodSuspendChangedEvent
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.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberSfEnabled
This bit will be set in the EventArgs of a Changed event every time the value returned by Enabled may have changed.
Public fieldStatic memberSfGetMap
This bit will be set in the EventArgs of a Changed event every time the value returned by GetMap may have changed.
Public fieldStatic memberSfGetPlane0Map
This bit will be set in the EventArgs of a Changed event every time the value returned by GetPlane0Map may have changed.
Public fieldStatic memberSfGetPlane1Map
This bit will be set in the EventArgs of a Changed event every time the value returned by GetPlane1Map may have changed.
Public fieldStatic memberSfGetPlane2Map
This bit will be set in the EventArgs of a Changed event every time the value returned by GetPlane2Map may have changed.
Public fieldStatic memberSfOperatorName
This bit will be set in the EventArgs of a Changed event every time the value returned by OperatorName may have changed.
Top
Properties

  NameDescription
Public propertyChangedEventSuspended
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.
Public propertyEnabled
Whether this one image operator will be used to compute the output image.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyOperatorName
Returns/sets a displayable operator name.
Top
Events

  NameDescription
Public eventChanged
Occurs when one or more parts of the object's state may have changed.
Top
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