You are here: Start » FIL.NET » FIS.CreateGoldenTemplate2 Method
FIS.CreateGoldenTemplate2 Method
Create a model to be used with CompareGoldenTemplate2 filter.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void CreateGoldenTemplate2 ( IList<FilNet.Image> inImages, NullableRef<FilNet.Region> inObjectMask, int inDownscale, int inMaxDisplacement, int inLargeDefectSize, int inBrightnessAugmentation, int inNoiseAugmentation, float inSmoothingAugmentationStdDev, FilNet.GoldenTemplate2Model outModel )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImages | System.Collections.Generic.IList<FilNet.Image> | List of input images that has to be uniform in terms of size and format. | ||
![]() | inObjectMask | FilNet.NullableRef<FilNet.Region> | |||
![]() | inDownscale | int | <1, INF> | 2 | Shrink the input for processing by dividing by specified value. Reduces sensitivity to minuscule (pixel-size) defects. Greatly improves processing speed. Default value: 2. |
![]() | inMaxDisplacement | int | <0, INF> | 2 | Error in object positioning. If in doubt, it is better to set this value too high. If set too low, subtle defects won't be detected, or no defects may not be detected at all. High values may impair detection of small defects, especially near edges. Default value: 2. |
![]() | inLargeDefectSize | int | <0, INF> | 50 | Expected size (diameter) of largest, extensive defects. Default value: 50. |
![]() | inBrightnessAugmentation | int | 0 | Allows for greater (additional to the value inferred from inImages training set) brightness deviation in inspected images. Default value: 0. | |
![]() | inNoiseAugmentation | int | 0 | Allows for greater (additional to the value inferred from inImages training set) noise presence in inspected images. Uses a uniform noise with specified distribution width. Default value: 0. | |
![]() | inSmoothingAugmentationStdDev | float | <0.0f, INF> | 0.0f | Allows for greater (additional to the value inferred from inImages training set) image smoothing in inspected images. Uses gaussian smoothing with specified standard deviation. Default value: 0.0f. |
![]() | outModel | FilNet.GoldenTemplate2Model |
Function Overrides
- CreateGoldenTemplate2(IList<Image>, Int32, Int32, Int32, Int32, Int32, Single, GoldenTemplate2Model)