CogSobelEdge ClassCognex VisionPro 9.8 SR1
Class containing Sobel Edge processing run parameters.
Inheritance Hierarchy

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

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

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

The CogSobelEdge type exposes the following members.

Constructors

  NameDescription
Public methodCogSobelEdge 
Constructs a new instance of this class.
Public methodCogSobelEdge(IntPtr)
Constructs a new instance of this class using com pointer.
Public methodCogSobelEdge(CogSobelEdge)
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
Perform Sobel edge detection on the specified region of the input image. Optionally post-process the Sobel angle and/or magnitude images. Resulting images are contained in the output Result object.
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 methodSetHysteresisThresholds
Set the HysteresisThresholdLow and HysteresisThresholdHigh to the values supplied.
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 memberSfHysteresisNonSurvivorPelValue
This bit will be set in the EventArgs of a Changed event every time the value returned by HysteresisNonSurvivorPelValue may have changed.
Public fieldStatic memberSfHysteresisSurvivorPelValue
This bit will be set in the EventArgs of a Changed event every time the value returned by HysteresisSurvivorPelValue may have changed.
Public fieldStatic memberSfHysteresisThresholdHigh
This bit will be set in the EventArgs of a Changed event every time the value returned by HysteresisThresholdHigh may have changed.
Public fieldStatic memberSfHysteresisThresholdLow
This bit will be set in the EventArgs of a Changed event every time the value returned by HysteresisThresholdLow may have changed.
Public fieldStatic memberSfMagnitudeScale
This bit will be set in the EventArgs of a Changed event every time the value returned by MagnitudeScale may have changed.
Public fieldStatic memberSfPeakDetectThreshold
This bit will be set in the EventArgs of a Changed event every time the value returned by PeakDetectThreshold may have changed.
Public fieldStatic memberSfPostProcessMode
This bit will be set in the EventArgs of a Changed event every time the value returned by PostProcessMode may have changed.
Public fieldStatic memberSfRegionMode
This bit will be set in the EventArgs of a Changed event every time the value returned by RegionMode 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 propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyHysteresisNonSurvivorPelValue
When hysteresis thresholding, a non-surviving pel will be output as this grey level. A pel in the EdgeMagnitudeImage will not survive if it is neither >= HysteresisThresholdHigh, nor >= HysteresisThresholdLow and 8-connected to a surviving pel.
Public propertyHysteresisSurvivorPelValue
When hysteresis thresholding, a surviving pel will be output as this grey level. A pel in the EdgeMagnitudeImage will survive if it is either >= HysteresisThresholdHigh, or >= HysteresisThresholdLow and 8-connected to a surviving pel.
Public propertyHysteresisThresholdHigh
If PostProcessMode is cogSobelEdgePostProcessModeHysteresisThreshold, then hysteresis thresholding will be run on the Sobel magnitude image using this as the magnitude level at or above which edges are never discarded.
Public propertyHysteresisThresholdLow
If PostProcessMode is cogSobelEdgePostProcessModeHysteresisThreshold, then hysteresis thresholding will be run on the Sobel magnitude image using this as the magnitude level below which edges are always discarded.
Public propertyMagnitudeScale
Each magnitude image pixel value is set equal to the Sobel-computed grey value difference at the corresponding location multiplied by this scaling factor.
Public propertyPeakDetectThreshold
If PostProcessMode is cogSobelEdgePostProcessModePeakDetect, then whole-pixel peak detection will be run on the Sobel angle and magnitude images using this as the minimum Sobel magnitude. Edges with magnitude less than this will be discarded.
Public propertyPostProcessMode
What, if any, post-processing to perform after Sobel.
Public propertyRegionMode
How the Region is applied to the InputImage.
Top
Events

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

Access to both the run parameters and an execute method for Sobel Edge processing.

See Also