CogIPOneImageGreyMorphology ClassCognex VisionPro 9.22
Class that performs a grey-scale morphology operation on an image.
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.ImageProcessing CogIPOneImageGreyMorphology

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

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

The CogIPOneImageGreyMorphology type exposes the following members.

Constructors

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

  NameDescription
Protected methodattachCom
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 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 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.)
Protected methodGetObjectData
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 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
Protected field__com
Protected field__disposed
Protected fieldStatic member__factory
Protected fieldStatic memberCreator
Public fieldStatic memberSfElements
This bit will be set in the EventArgs of a Changed event every time the value returned by Elements may have changed.
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 memberSfHeight
This bit will be set in the EventArgs of a Changed event every time the value returned by Height may have changed.
Public fieldStatic memberSfOperation
This bit will be set in the EventArgs of a Changed event every time the value returned by Operation 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.
Public fieldStatic memberSfOriginX
This bit will be set in the EventArgs of a Changed event every time the value returned by OriginX may have changed.
Public fieldStatic memberSfOriginY
This bit will be set in the EventArgs of a Changed event every time the value returned by OriginY may have changed.
Public fieldStatic memberSfWidth
This bit will be set in the EventArgs of a Changed event every time the value returned by Width 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 propertyElements
The collection of 3x3 elements.
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 propertyHeight
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.
Public propertyOperation
Morphology operation to perform.
Public propertyOperatorName
Returns/sets a displayable operator name.
Public propertyOriginX
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.
Public propertyOriginY
Y Coordinate of the origin of the structuring element relative to the upper left corner of the structuring element. OriginY is zero-based.
Public propertyWidth
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.
Top
Events

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