Search
Menu

Algorithms Offer Improved Color Correction

Facebook X LinkedIn Email
HANGZHOU, China, July 2, 2021 — A set of algorithms developed at Westlake University in China enable devices to record and display colors in digital images in a more realistic way. The approach could improve today's commercially available displays and enhance the sense of reality for new technologies such as near-eye displays for VR and AR glasses.

Digital colors on a television or smartphone screen are typically created by combining red, green, and blue (RGB), with each color assigned a value — for example, an RGB value of (255, 0, 0) represents pure red. The RGB value represents a relative mixing ratio of three primary lights produced by an electronic device. Not all devices produce this primary light in the same way, however, which means that identical RGB coordinates can look like different colors on different devices

A portion of the optical setup the researchers built to test out their algorithm’s ability to produce colors which adhere to CIE standards. Courtesy of Min Qiu's PAINT research group, Westlake University.
A portion of the optical setup the researchers built to test their algorithm’s ability to produce colors that adhere to CIE standards. Courtesy of Min Qiu's PAINT research group/Westlake University.

“When we see a beautiful scene, we want to record it and share it with others,” said Min Qiu, leader of the Laboratory of Photonics and Instrumentation for Nano Technology (PAINT) at Westlake University. “But we don’t want to see a digital photo or video with the wrong colors. Our new algorithms can help digital camera and electronic display developers better adapt their devices to our eyes.”

There are other ways, or color spaces, used to define colors, such as hue, saturation, and value (HSV) or cyan, magenta, yellow, and black (CMYK). To make it possible to compare colors in different color spaces, the International Commission on Illumination (CIE) issued standards for defining colors visible to humans based on the optical responses of our eyes. Applying these standards requires scientists and engineers to convert digital, computer-based color spaces such as RGB to CIE-based color spaces when designing and calibrating electronic devices.


The researchers' algorithms directly correlate digital signals with the colors in a standard CIE color space, making color space conversions unnecessary. Colors, as defined by the CIE standards, are created through additive color mixing. This process involves calculating the CIE values for the primary lights driven by digital signals and then mixing those together to create the color. To encode colors based on the CIE standards, the algorithms convert the digital pulsed signals for each primary color into unique coordinates for the CIE color space. To decode the colors, another algorithm extracts the digital signals from an unexpected color in the CIE color space.

“Our new method maps the digital signals directly to a CIE color space,” Wang said. “Because such color space isn’t device dependent, the same values should be perceived as the same color, even if different devices are used. Our algorithms also allow other important properties of color, such as brightness and chromaticity, to be treated independently and precisely.”

The team tested its algorithms with lighting, display, and sensing applications that used LEDs and lasers. Results showed that chromaticity, which is a measure of colorfulness independent of brightness, could be controlled with a deviation of  approximately 000.1 for LEDs and 0.001 for lasers. These values are so small that most people would be unable to perceive any differences in color.

The researchers said the method is ready to be applied to LED lights and commercially available displays. Achieving the ultimate goal of reproducing exactly what’s seen by the human eye will require solving additional scientific and technical problems. For example, to record a scene as we see it, color sensors in a digital camera would need to respond to light in the same way as the photoreceptors in our eyes.

The research was published in Optica (www.doi.org/10.1364/OPTICA.422287).


Published: July 2021
Glossary
color
The attribute of visual experience that can be described as having quantitatively specifiable dimensions of hue, saturation, and brightness or lightness. The visual experience, not including aspects of extent (e.g., size, shape, texture, etc.) and duration (e.g., movement, flicker, etc.).
color correction
The reduction in longitudinal, lateral and secondary chromatic aberrations in a lens or lens system.
algorithm
A precisely defined series of steps that describes how a computer performs a task.
cie
Commission Internationale de l'Eclairage, the international commission on illumination.
color space
The entire range of colors a specific color model can produce, represented as a three-dimensional solid.
hue
The perceptual term for that aspect of color described by words such as red, yellow or blue. Achromatic colors, such as white, gray and black, do not exhibit hue.
Research & Technologycolorcolor correctioncolor correction algorithmcameras color correctionalgorithmphotographyDisplayscolor conversionCIEcolor spaceRGBCMYKHSVhuehue saturationcolor huevalueWestlake UniversityLaboratory of Photonics and Instrumentation for Nano Technologypaint

We use cookies to improve user experience and analyze our website traffic as stated in our Privacy Policy. By using this website, you agree to the use of cookies unless you have disabled them.