Class that holds a bead inspect defect generated by the
Execute(ICogVisionData, CogBeadInspectRunParams)
method.
Inheritance Hierarchy
System MarshalByRefObject
Cognex.VisionPro.Implementation CogObjectBase
Cognex.VisionPro.Implementation CogSerializableObjectBase
Cognex.VisionPro.EdgeInspect CogBeadInspectDefect
Namespace: Cognex.VisionPro.EdgeInspect
Assembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 87.0.0.0
Syntax
The CogBeadInspectDefect type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogBeadInspectDefect(CogBeadInspectDefect) |
Constructs a deep copy of the supplied CogBeadInspectDefect object.
| |
| CogBeadInspectDefect(SerializationInfo, StreamingContext) |
Serialization constructor for CogBeadInspectDefect object.
|
Methods
| Name | Description | |
|---|---|---|
| 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 |
Releases all resources used by this CogBeadInspectDefect object.
| |
| Dispose(Boolean) | ||
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize |
Releases all unmanaged resources used by this CogBeadInspectDefect object.
(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 |
Populates the provided SerializationInfo with the data needed to
serialize the object.
(Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).) | |
| 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.) | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Area |
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.
| |
| Bounds |
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.
| |
| CoverageAvg |
Get the average coverage ratio measured by the calipers of this defect.
| |
| CoverageMax |
Get the maximum coverage ratio measured by the calipers of this defect.
| |
| CoverageMin |
Get the minimum coverage ratio measured by the calipers of this defect.
| |
| DefectClass |
Gets the categories that describe the defect, specified as bitwise ORed flags defined by the CogBeadInspectDefectTypeConstants enumeration.
| |
| EndCaliperIndex |
Get the index of the last caliper that comprises this defect.
| |
| EndPositionX |
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.
| |
| EndPositionY |
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.
| |
| LeftStepMax |
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.
| |
| RightStepMax |
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.
| |
| Size |
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.
| |
| StartCaliperIndex |
Get the index of the first caliper that comprises this defect.
| |
| StartPositionX |
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.
| |
| StartPositionY |
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.
| |
| WidthAvg |
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.
| |
| WidthMax |
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.
| |
| WidthMin |
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.
|
Remarks
An instance of this class is returned by the Item Int32 property of the CogBeadInspectDefects class.
A defect is detected along sections of the bead path where multiple consecutive calipers (see: ConsecutiveFailingCalipersMin) fail for one or more of the following reasons:
- The bead width measured by the caliper is out of tolerance: the bead is wider than WidthMax or narrower than WidthMin.
- The bead coverage measured by the caliper is out of tolerance: the bead coverage is larger than CoverageMax or smaller than CoverageMin.
- The left or right edge of the bead steps sideways (perpendicular to the direction of the path), from one caliper to the next, by an amount that is larger than the StepThreshold.
- The left and/or right edge of the bead is missing (and not replaced by a fill edge).
For each defect, this class provides:
- The index of the first and last calipers that comprise the defect.
- The point on the bead path where the defect starts and ends.
- The arc length of the bead path between the start and end ponts.
- The area of the bead measured within the defect.
- The minimum, maximum, and average bead width measured by the calipers within the defect.
- The minimum, maximum, and average bead coverage measured by the calipers within the defect.
- The maximum step sideways from one caliper to the next for both the right and left edge of the bead.
For more information on the definition of a bead and bead path in this context, please refer to the remarks section of the CogBeadInspectPattern class.
See Also