Advanced Color Sensors Using Color Space

May 5, 2009
The color-space system assigns numeric coordinates to each parameter of a color, uniquely identifying the color and defining its position within the color space.

Advanced color sensors detect and sort products by color in factory-automation applications for quality-control purposes. These sensors identify and distinguish between multiple colors, hues, saturations, brightness, and other parameters using a technique called color space.

There are many color-space models, though most color spaces are laid out in three dimensions. Each axis in a color space quantifies a different color parameter. The color-space system assigns a numeric coordinate to the color for each parameter, uniquely identifying the color and defining its position within the color space. One advantage to this technique is that it helps gauge how one color compares to another by calculating the absolute distance between the two color points within the 3D space.

The choice of color-space model depends upon the particular application. One application may need a specific color-space model, while another application may need an entirely different set of parameters.

One of the most common color spaces is called Lab space. The “L” axis of this color space identifies the lightness or darkness of the color. That is, one end of the axis represents lighter and lighter colors going to total white while the other end handles darker and darker colors to black. The “a” and “b” axes of this color space identify the amount of red-green and blue-yellow hues that make up the color, respectively. So all three coordinates in Lab color space combine to identify the color, much like a home-improvement store combines different amounts of base color pigments when creating a new color of paint. The colorspace coordinate is the unique “recipe” of the color.

Other color spaces, such as XYZ, Luv, and u’v’L, map colors using different attributes. Some color spaces define their coordinates in ways that may not be as straightforward to visualize, but may be helpful for certain applications. For example, u’v’L color space builds on more amorphous color attributes such as saturation and hue angle. But this color space can be most useful in identifying colors that actively emit light, such as the color of lit LEDs.

Pepperl+Fuchs (am.pepperl-fuchs.com) supplied information for this column.

About the Author

Robert Repas

Robert serves as Associate Editor - 6 years of service. B.S. Electrical Engineering, Cleveland State University.

Work experience: 18 years teaching electronics, industrial controls, and instrumentation systems at the Nord Advanced Technologies Center, Lorain County Community College. 5 years designing control systems for industrial and agricultural equipment. Primary editor for electrical and motion control.

Sponsored Recommendations

Customizations to Get Standard Motors to Mars

Jan. 10, 2025
Clearly, the Martian environment can be harsh and unaccommodating to systems made to operate on Earth. Through a combination of standard industrial motors and creative collaboration...

No Access for Bacteria: An Inside Look at Maxon's Cleanroom

Jan. 10, 2025
Tiny drive systems for use in the human body have to be built in a clean environment, free of microbiological contamination. Welcome to the GMP cleanroom of maxon, where discipline...

High-Efficiency, Precision Drive Systems for Every Robot

Jan. 10, 2025
Robots assemble devices, explore space, and perform surgeries. To achieve human-like motion and accuracy they need powerful and highly precise drives. Learn about custom-made ...

The Importance of Motors in Transportation

Jan. 10, 2025
As we progress toward more efficient and automated systems, the need for robust and reliable motors in the transportation industry has become more critical than ever. Explore ...

Voice your opinion!

To join the conversation, and become an exclusive member of Machine Design, create an account today!