CogBeadInspectDefect PropertiesCognex VisionPro 9.8

The CogBeadInspectDefect type exposes the following members.

Properties

  NameDescription
Public propertyArea
Gets the area of the bead path where the defect was detected. The area is defined by summing the bead widths within the defect. This area is specified in units defined by the image's SelectedSpaceName.
Public propertyBounds
Gets the bounding box of the defect. The bounding box encloses the segment of the bead path where the defect is present, and all of the calipers that compise that defect. This box is specified in units defined by the image's SelectedSpaceName.
Public propertyCoverageAvg
Get the average coverage ratio measured by the calipers of this defect.
Public propertyCoverageMax
Get the maximum coverage ratio measured by the calipers of this defect.
Public propertyCoverageMin
Get the minimum coverage ratio measured by the calipers of this defect.
Public propertyDefectClass
Gets the categories that describe the defect, specified as bitwise ORed flags defined by the CogBeadInspectDefectTypeConstants enumeration.
Public propertyEndCaliperIndex
Get the index of the last caliper that comprises this defect.
Public propertyEndPositionX
Gets the x-coordinate of the last point along the segment of the bead path where the defect was detected. This coordinate is specified in units defined by the image's SelectedSpaceName.
Public propertyEndPositionY
Gets the y-coordinate of the last point along the segment of the bead path where the defect was detected. This coordinate is specified in units defined by the image's SelectedSpaceName.
Public propertyLeftStepMax
Get the maximum step value measured by the calipers of this defect along the left edge of the bead. This measurement can help you to identify sharp fluctuations in the position of the edge.
Public propertyRightStepMax
Get the maximum step value measured by the calipers of this defect along the right edge of the bead. This measurement can help you to identify sharp fluctuations in the position of the edge.
Public propertySize
Gets the length of the path between the first and last points along the segment of the bead path where the defect was detected. This length is specified in units defined by the image's SelectedSpaceName.
Public propertyStartCaliperIndex
Get the index of the first caliper that comprises this defect.
Public propertyStartPositionX
Gets the x-coordinate of the first point along the segment of the bead path where the defect was detected. This coordinate is specified in units defined by the image's SelectedSpaceName.
Public propertyStartPositionY
Gets the y-coordinate of the first point along the segment of the bead path where the defect was detected. This coordinate is specified in units defined by the image's SelectedSpaceName.
Public propertyWidthAvg
Get the average width ratio measured by the calipers of this defect. For each caliper the width ratio is computed by dividing the width measured at runtime by the width measured at train-time.
Public propertyWidthMax
Get the maximum width ratio measured by the calipers of this defect. For each caliper the width ratio is computed by dividing the width measured at runtime by the width measured at train-time.
Public propertyWidthMin
Get the minimum width ratio measured by the calipers of this defect. For each caliper the width ratio is computed by dividing the width measured at runtime by the width measured at train-time.
Top
See Also