Class that transforms a portion of an image defined by a CogRectangleAffine into a new rectangular image.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.ImageProcessing CogAffineTransform
Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 91.0.0.0
Syntax
The CogAffineTransform type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogAffineTransform | Constructs a new instance of this class. | |
| CogAffineTransform(IntPtr) | Constructs a new instance of this class using com pointer. | |
| CogAffineTransform(CogAffineTransform) | 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 | |
| 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) | ||
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Execute | Transforms a portion of the input image defined by an affine rectangle into a rectangular output image with a relative size determined by the ScalingX, ScalingY properties. If the Region parameter is Nothing then the whole input image is transformed. | |
| 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 | ||
| 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. | |
| 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 | ||
| SfClipFillPlane0Value | This bit will be set in the EventArgs of a Changed event every time the value returned by ClipFillPlane0Value may have changed. | |
| SfClipFillPlane1Value | This bit will be set in the EventArgs of a Changed event every time the value returned by ClipFillPlane1Value may have changed. | |
| SfClipFillPlane2Value | This bit will be set in the EventArgs of a Changed event every time the value returned by ClipFillPlane2Value may have changed. | |
| SfClipFillValue | This bit will be set in the EventArgs of a Changed event every time the value returned by ClipFillValue may have changed. | |
| SfClipMode | This bit will be set in the EventArgs of a Changed event every time the value returned by ClipMode may have changed. | |
| SfSamplingMode | This bit will be set in the EventArgs of a Changed event every time the value returned by SamplingMode may have changed. | |
| SfScalingX | This bit will be set in the EventArgs of a Changed event every time the value returned by ScalingX may have changed. | |
| SfScalingY | This bit will be set in the EventArgs of a Changed event every time the value returned by ScalingY 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. | |
| ClipFillPlane0Value | Specifies the plane 0 value with which to fill clipped color pixels if ClipMode=cogAffineTransformClipModeFill. | |
| ClipFillPlane1Value | Specifies the plane 1 value with which to fill clipped color pixels if ClipMode=cogAffineTransformClipModeFill. | |
| ClipFillPlane2Value | Specifies the plane 2 value with which to fill clipped color pixels if ClipMode=cogAffineTransformClipModeFill. | |
| ClipFillValue | Specifies the value with which to fill clipped pixels if ClipMode=cogAffineTransformClipModeFill. | |
| ClipMode | Specifies what to do if any portion of the affine region lies outside the input image. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| SamplingMode | Specifies the sampling mode used when performing the affine transform operation. | |
| ScalingX | Specifies the scaling factor for the X direction of the output image. For example, setting ScalingX to 2.0 will result in an output image that is approximately twice as wide as the SideXLength of the input region (when measured in image pixels). | |
| ScalingY | Specifies the scaling factor for the Y direction of the output image. For example, setting ScalingY to 2.0 will result in an output image that is approximately twice as high as the SideYLength of the input region (when measured in image pixels). |
Events
| Name | Description | |
|---|---|---|
| Changed | Occurs when one or more parts of the object's state may have changed. |
Remarks
Primary interface of the CogAffineTransform class that transforms a portion of an image defined by a CogRectangleAffine into a new rectangular image.
See Also