Skip to main content
  1. Home
  2. Photography
  3. Computing
  4. News

Using this A.I.-based healing brush, repairing an image is no biggie

Add as a preferred source on Google
Research at NVIDIA: AI Reconstructs Photos with Realistic Results

Photoshop’s healing brush can use surrounding pixels to repair an image or remove an object — but what if the surrounding pixels don’t have enough data to fill in those holes? Researchers from Nvidia recently used artificial intelligence to help fill in those gaps to create a tool similar to the healing brush tool that is able to intelligently fill in missing pieces, a technique called image inpainting for irregular holes using partial convolutions — here’s hoping Nvidia comes up with a nickname before making the tool widely accessible.

Recommended Videos

Nvidia isn’t the first to try to reinvent the healing brush using A.I., but the researchers say that earlier attempts left artifacts and blur. Rather than using full convolutional filter responses to those holes, Nvidia instead created a partial convolution method — in other words, the software creates a layer that renormalizes the pixels to create a more normal looking image without those artifacts. The new program also uses an automatically generated layer masks.

Unlike the traditional healing brush tool that only uses surrounding pixels to determine what to fill in the gap with, Nvidia trained its tool using three different sets of images, resulting in thousands of images to train the tool with. The researchers randomly applied masks to intentionally remove sections of images to those groups of photos. By showing the computer both the before and after, the program could learn how to fill in some of those gaps. “Our model can robustly handle holes of any shape, size location or distance from the image borders,” the researchers wrote. “Further, our performance does not deteriorate catastrophically as holes increase in size.”

While more robust than previous attempts, the researchers said that the tool struggles with the largest holes and images without a lot of structure.

The research could bring some significant changes to photo editing if the tool makes its way into an image editor. Nvidia’s program, for example, could replace an eye in an old, damaged portrait, even without the other eye to replicate. The resulting eye, of course, isn’t the same eye — in one example, the replaced eye is an entirely different color. In the demonstration video, the program also appears to give a young woman and an older gentleman the same pair of eyes. 

While giving a person different features using the database of images should raise ethical considerations for portraits, the concept could speed up the process of removing distractions from other types of images. The tool could potentially help remove objects in photographs, such as removing power lines or signs from the background, with more accuracy than current tools.

Hillary K. Grigonis
Hillary never planned on becoming a photographer—and then she was handed a camera at her first writing job and she's been…
Fujifilm Instax Mini 13 review: This instant camera won me over with its no-frills retro charm
From printing instant memories to rediscovering the fading charm of polaroids, Fujifilm's camera offers a budget route to a simple indulgence.
Fujifilm Instax mini 13 camera.

See at Amazon

Quick review

Read more
Want to try film photography? Kodak’s new $35 camera is a great place to start
This retro inspired Kodak EC35 camera keeps film photography refreshingly simple.
Kodak-EC35

If you've been curious about film photography but didn't want to spend a fortune, Kodak has a new camera worth checking out. The new Kodak EC35 is a reusable 35mm point-and-shoot camera that costs just $34.99, making it one of the most affordable ways to try shooting on film.

Developed by Reto Project under the Kodak brand, the EC35 keeps things simple with a lightweight design, automatic flash, and a pocket-friendly body. It also arrives as interest in analog photography continues to grow, offering beginners an inexpensive alternative to disposable film cameras.

Read more
The FCC’s latest crackdown could put more than DJI drones at risk in the US
Robot, Person, Face

DJI may have found creative ways to keep some of its products flowing into the US, but those efforts are now drawing increased attention from regulators. According to The Verge, the US Federal Communications Commission (FCC) has started cracking down on several companies it believes could be helping DJI continue selling products in the country. These businesses have been described by industry observers as "DJI front companies" because they market or import products that appear to be closely tied to the Chinese drone maker while operating under different brand names.

DJI's alleged back door may be closing

Read more