Class containing Sobel Edge processing run parameters.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.ImageProcessing CogSobelEdge
Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 69.0.0.0
Syntax
The CogSobelEdge type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogSobelEdge | Constructs a new instance of this class. | |
| CogSobelEdge(IntPtr) | Constructs a new instance of this class using com pointer. | |
| CogSobelEdge(CogSobelEdge) | 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 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. | |
| 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. | |
| SetHysteresisThresholds | Set the HysteresisThresholdLow and HysteresisThresholdHigh to the values supplied. | |
| 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 | |
|---|---|---|
| SfHysteresisNonSurvivorPelValue | This bit will be set in the EventArgs of a Changed event every time the value returned by HysteresisNonSurvivorPelValue may have changed. | |
| SfHysteresisSurvivorPelValue | This bit will be set in the EventArgs of a Changed event every time the value returned by HysteresisSurvivorPelValue may have changed. | |
| SfHysteresisThresholdHigh | This bit will be set in the EventArgs of a Changed event every time the value returned by HysteresisThresholdHigh may have changed. | |
| SfHysteresisThresholdLow | This bit will be set in the EventArgs of a Changed event every time the value returned by HysteresisThresholdLow may have changed. | |
| SfMagnitudeScale | This bit will be set in the EventArgs of a Changed event every time the value returned by MagnitudeScale may have changed. | |
| SfPeakDetectThreshold | This bit will be set in the EventArgs of a Changed event every time the value returned by PeakDetectThreshold may have changed. | |
| SfPostProcessMode | This bit will be set in the EventArgs of a Changed event every time the value returned by PostProcessMode may have changed. | |
| SfRegionMode | This bit will be set in the EventArgs of a Changed event every time the value returned by RegionMode 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. | |
| HasChanged | If true, the serializable state of this object has changed since the last time it was serialized. | |
| HysteresisNonSurvivorPelValue | 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. | |
| HysteresisSurvivorPelValue | 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. | |
| HysteresisThresholdHigh | 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. | |
| HysteresisThresholdLow | 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. | |
| MagnitudeScale | Each magnitude image pixel value is set equal to the Sobel-computed grey value difference at the corresponding location multiplied by this scaling factor. | |
| PeakDetectThreshold | 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. | |
| PostProcessMode | What, if any, post-processing to perform after Sobel. | |
| RegionMode | How the Region is applied to the InputImage. |
Events
| Name | Description | |
|---|---|---|
| Changed | Occurs when one or more parts of the object's state may have changed. |
Remarks
Access to both the run parameters and an execute method for Sobel Edge processing.
See Also