老牛影视

Skip to main content

Duke Team Attempts a Real-Life Version of CSI 'Zoom and Enhance'

A.I. makes blurry images sharp by 鈥渋magining鈥 the missing pixels.

Students used A.I. to make these blurry images sharp. Before and after images show a low-resolution source image (left) and what the Duke Data Science Team was able to create from it (right).
Students used A.I. to make these blurry images sharp. Before and after images show a low-resolution source image (left) and what the Duke Data Science Team was able to create from it (right).

The idea of an 鈥渆nhance鈥 button has been a staple of Hollywood crime dramas for years. You know the trope: Armed with nothing but a tiny, pixelated photo or grainy security camera footage, a team of detectives zoom in again and again until they are able to decipher a blurry license plate, or identify the killer in a reflection in the victim鈥檚 eyes -- essentially creating pixels out of thin air.

It鈥檚 long been the stuff of science fiction. But today, researchers worldwide are using artificial intelligence to build a more realistic 鈥渆nhance鈥 button, and now one Duke team is among them.

The Duke Data Science Team has developed a set of algorithms that are able to turn small, fuzzy images into more detailed ones in a matter of seconds. Their system of neural networks quickly makes a best guess at the missing details and patterns in a scene, without magnifying the image鈥檚 flaws.

鈥淭his is the closest you can get to 鈥榸oom and enhance鈥 while still being in reality,鈥 said team member Sachit Menon 鈥20.

The technology is called super-resolution imaging. After working on their methods for just over two months last spring, the Duke Data Science Team was one of the top-ranked teams in the , held last June in conjunction with the Conference on Computer Vision and Pattern Recognition in Salt Lake City, Utah.

To show what their system can do, Menon and team member Nikhil Ravi 鈥20 pulled up a grainy low-resolution image of a mountaineer sinking his picks into the ice as he scales what looks like a frozen waterfall.

鈥淵ou can see artifacts and noise everywhere, like the screen static you might see on an old TV,鈥 Ravi said.

鈥淎nd this is the image that our model gave us back,鈥 he added, pulling up a version with four times the resolution of the one they started with.

Using their approach, the 鈥渦pscaled鈥 version doesn鈥檛 just have more pixels. It also has sharper edges, realistic textures, fewer artifacts. The tiny speckles that gave it the 鈥淭V static鈥 effect are gone from the shadows.

鈥淭heir algorithm sharpened details in these high-resolution images that were only barely visible in the original low-resolution images,鈥 said the team鈥檚 coach Cynthia Rudin, associate professor of computer science, electrical and computer engineering, and statistics at Duke.

The image on the left shows a grainy source image, and in the center, the image that the Duke Data Science Team was able to create from it. See how accurate their reconstruction is by comparing the center image to the high-quality original on the right.

The team trained their system using two sets of 800 images, one of high-resolution images and one of their low-resolution counterparts scaled down to fewer pixels per inch.

Based on what it 鈥渓earned鈥 by analyzing these pairs of photos, the system then takes a new, noisy, low-res image, works out what a cleaner, sharper version should look like, and mathematically fills in the missing pixels -- essentially creating new information that wasn鈥檛 there before.

To show how accurate their reconstruction is, Ravi opened up a high-quality original of the mountaineer for comparison. 鈥淭here are some fine details that our system isn鈥檛 able to figure out because of the noise, like some patterns in the helmet. And it over-smooths some of the snow,鈥 Ravi said. 鈥淏ut it does quite a good job.鈥

The team said their approach won鈥檛 help police identify and recognize a person from their face like on CSI. 鈥淵ou can鈥檛 stick an image from a crime scene through this and say, 鈥榦h it looks like this guy鈥檚 face,鈥欌 Menon says. 鈥淚t鈥檚 extrapolating based on what it thinks people in general look like,鈥 not specific individuals.

But it can help make out blurry text on license plates and elsewhere.

And of course, surveillance isn鈥檛 the only application. Many big-screen TVs already use similar technology to help convert standard definition content to fit their high-resolution displays.

Super-resolution imaging is also used in medical image analysis, for example to zoom in on suspicious regions in MRI or PET scans or mammograms; and in remote sensing, such as recognizing a military target in a satellite image.

An original image (left) compared to the Duke Data Science Team鈥檚 upscaled version (right).
For the NTIRE 2018 Super-Resolution Challenge, each team was given 100 low-resolution images of people, plants, animals, urban and natural landscapes and other scenes taken from the internet, some also with noise and motion blur, and asked to produce high-resolution versions from them.

When their results were compared with the high-quality originals, the Duke team鈥檚 methods ranked among the top, out of the hundreds of participants and more than 30 teams that competed.

Menon and Ravi worked alongside team members Yijie (Webster) Bei 鈥20, Alex Damian 鈥20 and Shijia (McCourt) Hu 鈥20.

鈥淭he students鈥 competition entry was a feat of fast engineering,鈥 Rudin said. 鈥淪ome of the teams they were competing against had been working in this area for decades.鈥

鈥淭heir images were crisp and clean, and they worked tirelessly to get them that way,鈥 she added.

The Duke Data Science Team got its start as a computer science class first offered in spring 2018, taught by Cynthia Rudin, with teaching assistant Rachel Ballantyne-Draelos. Within its first six months the team has entered and won two competitions.

CITATION: "New Techniques for Preserving Global Structure and Denoising with Low Information Loss in Single-Image Super-Resolution," Yijie Bei, Alex Damian, Shijia Hu, Sachit Menon, Nikhil Ravi, Cynthia Rudin.

CSI-style 鈥渮oom and enhance鈥 has long been the stuff of science fiction, but the reality is catching up. Here's what happened when one Duke team tried to build a real-life version.