You are here: Start » AVL.NET » AVL.CompareGoldenTemplate_Edges(AvlNet.Image, AvlNet.EdgeGoldenTemplate, AvlNet.CoordinateSystem2D, float, float?, float, float, int, AvlNet.Region, bool, AvlNet.Region, AvlNet.Region)
AVL.CompareGoldenTemplate_Edges(AvlNet.Image, AvlNet.EdgeGoldenTemplate, AvlNet.CoordinateSystem2D, float, float?, float, float, int, AvlNet.Region, bool, AvlNet.Region, AvlNet.Region)
Compares image edges with the edges of a perfect template. Significant differences are considered defects.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CompareGoldenTemplate_Edges( AvlNet.Image inImage, AvlNet.EdgeGoldenTemplate inGoldenTemplate, AvlNet.CoordinateSystem2D inGoldenTemplateAlignment, float inStdDevX, float? inStdDevY, float inEdgeThreshold, float inEdgeHysteresis, int inMaxDistance, out AvlNet.Region outDefects, out bool outDefectsPresent, out AvlNet.Region outMissingEdges, out AvlNet.Region outExcessiveEdges )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inGoldenTemplate
- Type: AvlNet.EdgeGoldenTemplate
Golden edge template containing image with no defects - inGoldenTemplateAlignment
- Type: AvlNet.CoordinateSystem2D
Adjusts the golden template to the position of the inspected object - inStdDevX
- Type: System.Single
Amount of horizontal smoothing used by the edge filter - inStdDevY
- Type: System.Nullable<System.Single>
Amount of vertical smoothing used by the edge filter (Auto = inStdDevX), or null. - inEdgeThreshold
- Type: System.Single
Sufficient edge strength; edges of that strength will always be detected on the input image - inEdgeHysteresis
- Type: System.Single
Value by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges - inMaxDistance
- Type: System.Int32
Maximal allowed distance between corresponding edges on the input and golden image - outDefects
- Type: AvlNet.Region
Region of detected defects - outDefectsPresent
- Type: System.Boolean
Flag indicating whether any defects were detected - outMissingEdges
- Type: AvlNet.Region
Edges present on the golden image that are missing on the input image - outExcessiveEdges
- Type: AvlNet.Region
Edges that are not present on the golden image
