You are here: Start » AVL.NET » AVL.CreateGoldenTemplate_Intensity(AvlNet.Image, AvlNet.Rectangle2D, float, int, AvlNet.GrayGoldenTemplate, AvlNet.Image, AvlNet.Region, AvlNet.Region)
AVL.CreateGoldenTemplate_Intensity(AvlNet.Image, AvlNet.Rectangle2D, float, int, AvlNet.GrayGoldenTemplate, AvlNet.Image, AvlNet.Region, AvlNet.Region)
Creates golden template for application in CompareGoldenTemplate_Intensity filter.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CreateGoldenTemplate_Intensity( AvlNet.Image inTemplateImage, AvlNet.Rectangle2D inTemplateRegion, float inEdgeThreshold, int inEdgeDilation, out AvlNet.GrayGoldenTemplate outGoldenTemplate, out AvlNet.Image diagCroppedImage, out AvlNet.Region diagCroppedEdgeRegion, out AvlNet.Region diagEdgeRegion )
Parameters
- inTemplateImage
- Type: AvlNet.Image
Template image containing an object with no defects - inTemplateRegion
- Type: AvlNet.Rectangle2D
Region of desired area to compare - inEdgeThreshold
- Type: System.Single
Minimum strength of edges on the golden image near which comparison is NOT performed - inEdgeDilation
- Type: System.Int32
Defines for how far from the detected edges comparison is NOT performed - outGoldenTemplate
- Type: AvlNet.GrayGoldenTemplate
The output golden template structure - diagCroppedImage
- Type: AvlNet.Image
Cropped image to be analyzed - diagCroppedEdgeRegion
- Type: AvlNet.Region
Region of pixels that will not be compared - diagEdgeRegion
- Type: AvlNet.Region
Edges projected onto the input image
