Compares an image to a template image at a given alignment.
Reference to the image to compare to the golden template.
If neither bright (or both) defect image dst out or dark defect image dst out is connected, image in is used as the destination image for both bright and dark defects.
Reference to the golden template image to compare against the image.
Reference to the destination image for bright defects, or both kinds of defects if the same image is also connected to dark defect image dst in.
Reference to the destination image for dark defects.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Cluster specifying the golden template comparison.
Input that specifies if the node registers the golden template to the image.
Input that specifies how the node normalizes the golden template to the image.
Name | Value | Description |
---|---|---|
none | 0 |
Specifies no normalization. |
histogram | 1 |
Specifies that the histogram of the image is normalized to match the histogram of the template image. |
average matching | 2 |
Specifies that the mean pixel value of the image is normalized to match the mean pixel value of the template image. |
Desired thickness of edges to be ignored.
A value of 0 specifies that the algorithm will not ignore edges.
Threshold for regions where the image is brighter than the golden template.
Pixels that exceed the specified threshold value are assigned a pixel value of 2 in the bright (or both) defect image dst out image.
Threshold for regions where the image is darker than the golden template.
Pixels that exceed the specified threshold value are assigned a pixel value of 1 in the dark defect image dst out or bright (or both) defect image dst out image.
Boolean that specifies how to return the result of the golden template comparison.
Area within the image that is compared to the golden template.
Location of the center of the golden template in the image under inspection.
Rotation, in degrees, of the golden template in the image under inspection.
Percentage of the size of the area under inspection compared to the size of the golden template.
Reference to the source image.
Reference to the destination image for bright defects, or both kinds of defects if the same image is also connected to dark defect image dst in.
Reference to the destination image for dark defects.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application