You are here: Start » AVL.NET » AVL.CompareGoldenTemplate_Intensity(AvlNet.Image, AvlNet.GrayGoldenTemplate, float, int, AvlNet.Region, AvlNet.Region, bool, AvlNet.Region)
AVL.CompareGoldenTemplate_Intensity(AvlNet.Image, AvlNet.GrayGoldenTemplate, float, int, AvlNet.Region, AvlNet.Region, bool, AvlNet.Region)
Compares an image with a template image considered to have no defects.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CompareGoldenTemplate_Intensity( AvlNet.Image inImage, AvlNet.GrayGoldenTemplate inGoldenTemplate, float inMaxDifference, int inMinDefectRadius, out AvlNet.Region outDefects, out AvlNet.Region outDifferenceRegion, out bool outDefectsPresent, out AvlNet.Region outEdgeRegion )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inGoldenTemplate
- Type: AvlNet.GrayGoldenTemplate
Golden gray template containing image of an object with no defects - inMaxDifference
- Type: System.Single
Maximal allowed difference between corresponding pixels of the input and golden images - inMinDefectRadius
- Type: System.Int32
Minimal radius of a defect - outDefects
- Type: AvlNet.Region
Region of detected defects - outDifferenceRegion
- Type: AvlNet.Region
Region of pixels differing too much between the golden image and the input image - outDefectsPresent
- Type: System.Boolean
Flag indicating whether any defects were detected - outEdgeRegion
- Type: AvlNet.Region
Region of pixels that will not be compared
