Match Colors Concepts

NI Vision Builder

Check for Presence

Match Colors Concepts

Color matching quantifies which colors and how much of each color exist in a region of an image and uses this information to check if another image contains the same colors in the same ratio.

Use color matching to compare the color content of an image or regions within an image to a reference color information. With color matching, you select a region in an image that contains the color information you want to use as a reference. The color information in the region may consist of one or more colors. The machine vision software then learns the three-dimensional color information in the region and represents it as a one-dimensional color spectrum. Your machine vision application compares the color information in the entire image or regions in the image to the learned color spectrum, calculating a score for each region. The score relates how closely the color information of the inspection image matches the information represented by the color spectrum.