An AI erases shadows to show objects' true colors, in research

Cameras on self-driving cars can see a patch of shade on a sunny road and brake for it, as if it were an obstacle. Bruce Maxwell, director of computing programs at Northeastern University's Khoury College of Computer Sciences in Seattle, has trained a machine vision model, a computer system that interprets images, to remove shadows and show objects in their true colors, whatever the light.
The gap with human sight is the starting point. The human eye registers light on a logarithmic curve, which keeps bright highlights from washing out to white and dark features from sinking into black. Cameras take linear images, which give dark shades and bright highlights an unnaturally equal share of data. “You either can't see in the shadows, or all the stuff that's fully lit is blown out,” Maxwell said. Getting reasonably color-accurate pictures from a camera, he said, requires several exposures combined in a logarithmic way.
Maxwell's answer lies in the training data. He found that the most accurate colors came when the model learned from digital images whose RGB values, the red, green and blue channels, were stored on a logarithmic scale. Those images were gathered over four years by dozens of students, who shot the same streets, gardens and signs in fall, spring and summer on their own phones and cameras, across campuses from Boston to Vancouver. In his research, Maxwell says, the model brightens a shadowed object so that it appears as it would in uniform light, without distortion or loss of fidelity.
The uses he points to are concrete. A video game art designer could film a coffee cup turning in the hand and let the model strip out the shadows, instead of taking hundreds of photos from every angle under perfect light. For cars, Maxwell hopes the model could one day run in real time, removing shadows from the objects and people around the vehicle to give it a clearer view of the road. Xian Li, a professor of electrical and computer engineering at the Seattle campus, says the work could help cameras perform more reliably in real driving conditions.
The real-time part is not proven yet. Li says he would like to test the model on the street data collected by Northeastern Seattle's research car, an electric Ford Mustang. Maxwell's broader claim, that the approach beats mainstream AI models and smartphone editing software for photographers, is his own; no test of that comparison is reported here.
Sources — read the originals(Paris time)
Pages consulted while writing
Read next
Comments
Loading the thread…
Sign in to leave a comment. Sign in