Class for configuring the edge detection behavior of LineMaxOperator.
Cognex.Vision ShareableBase
Cognex.Vision ChangedEventShareableBase
Cognex.Vision.LineMax LineMaxEdgeDetectionParams
Namespace: Cognex.Vision.LineMax
Assembly: Cognex.Vision.LineMax.Net (in Cognex.Vision.LineMax.Net.dll) Version: 9.25.1.0
The LineMaxEdgeDetectionParams type exposes the following members.
| Name | Description | |
|---|---|---|
| LineMaxEdgeDetectionParams | Constructs a new instance of this class. |
| Name | Description | |
|---|---|---|
| Equals | Compares the equality of this object with another. (Overrides ChangedEventShareableBase Equals(Object).) | |
| GetHashCode | Returns the hash code of this object. (Overrides ChangedEventShareableBase GetHashCode .) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeMeta | Get the TypeMeta that describes the type of this object. | |
| ResumeAndRaiseChangedEvent | Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent 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 ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent. | |
| ToString | Returns a human readable string that represents the object. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two LineMaxEdgeDetectionParams objects. | |
| Inequality | Compares the inequality of two LineMaxEdgeDetectionParams objects. |
| Name | Description | |
|---|---|---|
| SfContrastThreshold | ||
| SfGradientKernelSizeInPixels | ||
| SfNormalizedContrastThreshold | ||
| SfProjectionLengthInPixels |
| Name | Description | |
|---|---|---|
| ChangedEventSuspended | Indicates if raising the ChangedEvent has been suspended. | |
| ContrastThreshold | Get Gets the minimum contrast constraint. Edge points are not created for gradients with a contrast below this value. | |
| GradientKernelSizeInPixels | Get Gets size of the 2D kernel used to convert image pixels into image gradients. | |
| Handle | (Overrides ChangedEventShareableBase Handle.) | |
| NormalizedContrastThreshold | Get Gets the minimum normalized contrast constraint. Edge points are not created for gradients with a normalized contrast below this value. | |
| ProjectionLengthInPixels | Get Gets the length of the 1D kernel used during gradient field projection. This length is along the expected line tangent direction. |
| Name | Description | |
|---|---|---|
| Changed | The actual event. |
Edge detection operates by smoothing and decimating the input image, using GradientKernelSizeInPixels. Gradient vectors are then computed for each pixel in the decimated image. Both the gradient vectors and the input image are projected over many caliper-like projection regions, using ProjectionLengthInPixels. A pixel is considered a candidate edge point if its projected gradient magnitude exceeds ContrastThreshold and if the ratio of its projected gradient magnitude and its intensity exceeds NormalizedContrastThreshold. See LineMaxOperator for information on how lines are created from the detected edge points.