CogBeadInspectDefect CoverageAvg Property Cognex VisionPro 9.25 SR1
Get the average coverage ratio measured by the calipers of this defect.

Namespace: Cognex.VisionPro.EdgeInspect
Assembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 93.1.0.0
Syntax

public double CoverageAvg { get; }

Property Value

Type: Double
The average coverage ratio for all of the calipers in this defect.
Remarks

The bead coverage is a ratio of the number of bead pixels found at runtime to the average number of bead pixels found at train time. A "bead pixel" is any pixel between the two bead edges that has the same polarity (dark or light) as the bead itself. Often, all of the pixels between the two bead edges are bead pixels, but there can sometimes be holes in the bead.

The average number of bead pixels is computed at train time for each caliper. This value is computed by averaging the number of bead pixels from neighboring calipers. The number of calipers to average is specified by the SmoothingFactor train property.

If the user disables both CoverageMinEnabled and CoverageMaxEnabled, the bead coverage will not be measured at run-time and GetCaliperBeadCoverage(Int32), CoverageMin, CoverageMax, and CoverageAvg will all be reported as zero.

See Also