CogPixelMap MethodsCognex VisionPro 9.22

The CogPixelMap type exposes the following members.

Methods

  NameDescription
Public methodAddReferencePoint
Adds a reference point to the internal list. The new reference point will be inserted so that the input values of all reference points are kept in increasing order. If a reference point with the same input value already exists, the new one will be added immediately before that reference point.
Public methodAddReferencePointAbsolute
Adds a reference point to the internal list. The new reference point will be inserted so that the input values of all reference points are kept in increasing order. If a reference point with the same input value already exists, the new one will be added immediately before that reference point.
Public methodClearReferencePoints
Deletes all reference points
Public methodComputeMapping
Computes a set of reference points using the ComputeMapParams properties, InputImage and Region and replaces the reference points in the list if necessary.
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 methodDeleteReferencePoint
Removes a reference point from the internal list.
Public methodDispose 
Destruct this CogPixelMap.
Protected methodDispose(Boolean)
Public methodEnforceReferencePointsOrder
Sorts the reference points for a monotonically increasing order of their input values.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
Perform pixel mapping on the supplied image.
Protected methodFinalize
Finalize this CogPixelMap.
(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 methodGetInputDepth
Gets the input bit depth. The conversion between absolute and relative ReferencePoint input values is based on this value.
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetLookupTable
Protected methodGetObjectData (Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).)
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 ) (Overrides CogObjectBase GetProperties( Attribute ).)
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 methodGetReferencePoint
Gets the relative values of an existing reference point.
Public methodGetReferencePointAbsolute
Gets the absolute values of an existing reference point.
Public methodGetReferencePointInput
Gets the relative input value of an existing reference point.
Public methodGetReferencePointInputAbsolute
Gets the absolute input value of an existing reference point.
Public methodGetReferencePointOutput
Gets the relative output value of an existing reference point.
Public methodGetReferencePointOutputAbsolute
Gets the absolute output value of an existing reference point.
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.)
Protected methodOnChanged(Int64)
This method should be called internally whenever the object's state may have changed.
(Inherited from CogSerializableChangedEventBase.)
Protected methodOnChanged(CogChangedEventArgs)
This method may be called internally whenever a derived object's state may have changed and the derived object expresses this change via a derived CogChangedEventArgs class.
(Inherited from CogSerializableChangedEventBase.)
Public methodResetLinear 
Initializes the reference points to reflect a linear full range mapping of the input grey value range to the output grey value range. Creates two referene points at relative locations (0,0) and (1,1)
Public methodResetLinear(Int32)
Initializes the reference points to reflect a linear full range mapping of the input grey value range to the output grey value range. Creates a number of equally spaced reference points.
Public methodResetQuantized
Initializes the reference points to reflect a quantized full range mapping of the input grey value range to the output grey value range. Creates a stairway function with the specified number of steps.
Public methodResumeAndRaiseChangedEvent
Re-enables raising of the Changed event after SuspendChangedEvent has been called, and 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.
(Inherited from CogSerializableChangedEventBase.)
Public methodSetInputDepth
Sets the input bit depth. The conversion between absolute and relative ReferencePoint input values will be based on this value.
Public methodSetReferencePoint
Sets the relative values for an existing reference point.
Public methodSetReferencePointAbsolute
Sets the absolute values for an existing reference point.
Public methodSetReferencePointInput
Sets the relative input value for an existing reference point.
Public methodSetReferencePointInputAbsolute
Sets the absolute input value for an existing reference point.
Public methodSetReferencePointOutput
Sets the relative output value for an existing reference point.
Public methodSetReferencePointOutputAbsolute
Sets the absolute output value for an existing reference point.
Protected methodSetupMap
Setup the internal lookup-table for the CogPixelMap object.
Protected methodSetupMap16
Protected methodSetupMap8
Protected methodSetupRange16
Setup a range in the the internal 16 bit lookup-table. The mapped values between the start and the end of the range will be linearly interpolated from outMin to outMax.
Protected methodSetupRange8
Setup a range in the the internal 8 bit lookup-table. The mapped values between the start and the end of the range will be linearly interpolated from outMin to outMax.
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.
(Inherited from CogSerializableChangedEventBase.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidateReferencePointsOrder
Validates the reference points for a monotonically increasing order of their input values.
Top
See Also