Golden Template Comparison FAQs

NI Vision Assistant

Golden Template Comparison FAQs

What is the difference between the green defects and red defects?

The green defects represent pixels in the inspection image that are brighter than corresponding pixels in the template image. The red defects represent pixels in the inspection image that are darker than the corresponding pixels in the template image.

Why is the image showing the defects not binary?

The defect image is computed by performing a difference between the pixel values in the template image and the corresponding pixel values in the inspection image. Vision Assistant displays this image with the Gradient palette. The algorithm does not threshold the result of the difference unless you instruct it to do so by enabling the Threshold Defect Image control.