CogFindCorner PropertiesCognex VisionPro

The CogFindCorner type exposes the following members.

Properties

  NameDescription
Public propertyCaliperProjectionLength
The length of each caliper region along the caliper projection direction. Specified in units of the selected space of the input image.
Public propertyCaliperRunParams
Parameters used to run the calipers
Public propertyCaliperSearchDirection
Specifies the search direction of the caliper with respect to the tangent of the shape at the center of each caliper region. The default is PI/2 which indicates a search direction that is perpendicular to the tangent.
Public propertyCaliperSearchLength
The length of each caliper region along the caliper search direction. Specified in units of the selected space of the input image.
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.
(Inherited from CogSerializableChangedEventBase.)
Public propertyDecrementNumToIgnore
If DecrementNumToIgnore is true then the number of points ignored is actually (NumToIgnore - Number of calipers that found no edge).
Public propertyExpectedLineSegmentA
The expected line segment A which is used to position the calipers for finding the line A.
Public propertyExpectedLineSegmentB
The expected line segment B which is used to position the calipers for finding the line B.
Public propertyHasChanged (Inherited from CogSerializableChangedEventBase.)
Public propertyNumCalipers
Number of calipers used to find each line. NumCalipers - NumToIgnore must be greater than or equal to 2 (the minimum number of points required to find a line.
Public propertyNumToIgnore
The number of points that will be ignored in the fitting operation. If DecrementNumToIgnore is true then the number of points ignored is actually (NumToIgnore - Number of calipers that found no edge). Note that this setter may modify NumCalipers to ensure that NumCalipers - NumToIgnore is greater than or equal to 2.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogSerializableChangedEventBase.)
Top
See Also