CogImageSharpness ClassCognex VisionPro
Class containing image Sharpness processing run parameters.
Inheritance Hierarchy

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

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

[SerializableAttribute]
public class CogImageSharpness : CogObjectBase, 
	ICogNetInternal, IDisposable, ICloneable, ISerializable, ICogHasChanged, 
	ICogChangedEvent

The CogImageSharpness type exposes the following members.

Constructors

  NameDescription
Public methodCogImageSharpness 
Constructs a new instance of this class.
Public methodCogImageSharpness(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogImageSharpness(CogImageSharpness)
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 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
Calculate the sharpness of the given image in the given region.
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
Public fieldStatic memberSfAbsDiffDistanceX
This bit will be set in the EventArgs of a Changed event every time the value returned by AbsDiffDistanceX may have changed.
Public fieldStatic memberSfAbsDiffDistanceY
This bit will be set in the EventArgs of a Changed event every time the value returned by AbsDiffDistanceY may have changed.
Public fieldStatic memberSfAutoCorrelationNoiseLevel
This bit will be set in the EventArgs of a Changed event every time the value returned by AutoCorrelationNoiseLevel may have changed.
Public fieldStatic memberSfBandPassMaxFrequency
This bit will be set in the EventArgs of a Changed event every time the value returned by BandPassMaxFrequency may have changed.
Public fieldStatic memberSfBandPassMinFrequency
This bit will be set in the EventArgs of a Changed event every time the value returned by BandPassMinFrequency may have changed.
Public fieldStatic memberSfGradientEnergyLowPassSmoothing
This bit will be set in the EventArgs of a Changed event every time the value returned by GradientEnergyLowPassSmoothing may have changed.
Public fieldStatic memberSfMode
This bit will be set in the EventArgs of a Changed event every time the value returned by Mode may have changed.
Top
Properties

  NameDescription
Public propertyAbsDiffDistanceX
Returns/Sets the separation in the X direction.
Public propertyAbsDiffDistanceY
Returns/Sets the separation in the Y direction.
Public propertyAutoCorrelationNoiseLevel
Returns/Sets the noise level for autocorrelation mode. This value represents the grey-level variation inherent in the sensor, and should be significantly smaller than the grey-level range observed in the image. It is only used in autocorrelation mode.
Public propertyBandPassMaxFrequency
Returns/Sets the maximum frequency for band pass filtering mode.
Public propertyBandPassMinFrequency
Returns/Sets the minimum frequency for band pass filtering mode.
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 propertyGradientEnergyLowPassSmoothing
Get or set the low pass smoothing for gradient energy mode. The image is processed using Gaussian smoothing before sharpness is measured. It is only used in GradientEnergy mode.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyMode
Returns/Sets the mode in which to execute.
Top
Events

  NameDescription
Public eventChanged
Occurs when one or more parts of the object's state may have changed.
Top
Remarks

Interface used for calculating image sharpness.

See Also