You are here: Start » AVL.NET » Invoke.CreateGoldenTemplate_Intensity
Creates golden template for application in CompareGoldenTemplate_Intensity filter.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateGoldenTemplate_Intensity ( Avl.Image inTemplateImage, Optional<Avl.Rectangle2D> inTemplateArea, Optional<Avl.Region> inMask, Optional<Avl.CoordinateSystem2D> inTemplateAreaAlignment, float inEdgeThreshold, int inEdgeDilation, Avl.GrayGoldenTemplate outGoldenTemplate, Diagnostic<Avl.Image> diagCroppedImage, Diagnostic<Avl.Region> diagCroppedEdgeRegion, Diagnostic<Avl.Region> diagEdgeRegion )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inTemplateImage | Avl.Image | Template image containing an object with no defects. | ||
![]()  | inTemplateArea | Atl.Optional<Avl.Rectangle2D> | Desired area to compare. Default value: atl::NIL. | ||
![]()  | inMask | Atl.Optional<Avl.Region> | Range of pixels to compare. Default value: atl::NIL. | ||
![]()  | inTemplateAreaAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Alignment of template bounded by inTemplateArea. Default value: atl::NIL. | ||
![]()  | inEdgeThreshold | float | <0.0f, INF> | 10.0f | Minimum strength of edges on the golden image near which comparison is NOT performed. Default value: 10.0f. | 
![]()  | inEdgeDilation | int | <0, 1000000> | 1 | Defines for how far from the detected edges comparison is NOT performed. Default value: 1. | 
![]()  | outGoldenTemplate | Avl.GrayGoldenTemplate | The output golden template structure. | ||
![]()  | diagCroppedImage | Avl.Diagnostic<Avl.Image> | Cropped image to be analyzed. | ||
![]()  | diagCroppedEdgeRegion | Avl.Diagnostic<Avl.Region> | Region of pixels that will not be compared. | ||
![]()  | diagEdgeRegion | Avl.Diagnostic<Avl.Region> | Edges projected onto the input image. | 



