Class that performs a grey-scale morphology operation on an image.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.ImageProcessing CogIPOneImageGreyMorphology
Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 73.0.0.0
Syntax
The CogIPOneImageGreyMorphology type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogIPOneImageGreyMorphology | Constructs a new instance of this class. | |
| CogIPOneImageGreyMorphology(IntPtr) | Constructs a new instance of this class using com pointer. | |
| CogIPOneImageGreyMorphology(CogIPOneImageGreyMorphology) | 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 | |
| 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 | (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.) | |
| 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 | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| SfElements | This bit will be set in the EventArgs of a Changed event every time the value returned by Elements may have changed. | |
| SfEnabled | This bit will be set in the EventArgs of a Changed event every time the value returned by Enabled 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. | |
| SfOperation | This bit will be set in the EventArgs of a Changed event every time the value returned by Operation 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. | |
| SfOriginX | This bit will be set in the EventArgs of a Changed event every time the value returned by OriginX may have changed. | |
| SfOriginY | This bit will be set in the EventArgs of a Changed event every time the value returned by OriginY 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. |
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. | |
| Elements | The collection of 3x3 elements. | |
| 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. | |
| Height | Height of the structuring element. Varies according to the number of 3x3 elements. For instance, two 3x3 morphology elements implies a 5x5 structuring element. Hence, the Height would be 5. | |
| Operation | Morphology operation to perform. | |
| OperatorName | Returns/sets a displayable operator name. | |
| OriginX | X Coordinate of the origin of the structuring element relative to the upper left corner of the structuring element. OriginX is zero-based. The result of a morphological operation is stored at the pixel in the output image corresponding to the origin. | |
| OriginY | Y Coordinate of the origin of the structuring element relative to the upper left corner of the structuring element. OriginY is zero-based. | |
| Width | Width of the structuring element. Varies according to the number of 3x3 elements. For instance, two 3x3 morphology elements implies a 5x5 structuring element. Hence, the Width would be 5. |
Events
| Name | Description | |
|---|---|---|
| Changed | Occurs when one or more parts of the object's state may have changed. |
Remarks
Primary interface of a CogIPOneImageGreyMorphologyobject. This object applies grey morphology operations to an image to produce a new image. See Grey-Scale Morphology to learn more about the morphology operations.
See Also