Skip to main content

Adobe's Project Sky Replace could be Photoshop's next big feature

#SkyReplace. Adobe MAX 2016 (Sneak Peeks) | Adobe Creative Cloud
Of the many nascent technologies demonstrated at Adobe MAX this year, Project Sky Replace was one of the most intriguing. As the name implies, the tool can automatically replace a boring or overexposed sky in a photo with a more interesting one from another image. It doesn’t sound terribly complex, but there is much more going on behind the scenes to make the final image look as realistic as possible. Digital Trends spoke with Adobe’s Xiaohui Shen, Senior Research Scientist and chief engineer on the Sky Replace project, about how the technology works.

Sky Replace is smart enough to know which areas of an image need to be preserved and which need to be replaced. It can handle relatively complex horizon lines and will automatically create a matte for any shapes, such as buildings and trees, that stick out. But it goes much further than that.

One of Sky Replace’s most impressive aspects is that it doesn’t just copy and paste one sky over another; it actually adjusts the image foreground to accurately mimic the lighting and colors of the new sky. Several examples of this are given in the above video.

We asked Shen how this was accomplished, and the answer was more complex than we anticipated. It goes far beyond global exposure and white balance adjustments, and uses information from the foreground of the reference image to enhance the foreground of the original.

“We segment the foreground to different semantic regions such as grass, buildings, and people, and computer transfer functions between semantically matched regions,” Shen said. In short, this means grassy areas of the reference image affect only the grassy areas of the original, skin tones affect skin tones, and architecture affects architecture. In this way, the system ensures there are “no very weird colors” in the final result, according to Shen.

For all its power, Sky Replace is still far from being complete, and Shen was open about its current limitations. Water scenes, for example, can pose a challenge. “When there are no sky reflections in the water, our method generally works well,” Shen said. “At this point, we are not handling the cases with mirror reflections of skies, as the reflections need to be segmented and replaced as well to make the photo look realistic.”

Another challenge comes in the form of original images with highly directional light, including backlit scenes or direct sunlight with strong shadows. The issue here isn’t so much a technical limitation of the algorithm, but rather with the selection of a replacement sky. “The sky to be used for replacement should have very similar lighting directions,” Shen explained.

The software can automatically generate replacement sky suggestions based on the content of the original image. However, Adobe simply doesn’t have a large enough collection of skies to match all the possible variations in lightning. Shen said the team planned to address this issue in the future with an improved image search function.

Sky Replace has obvious value to both casual and professional photographers, but one thing not talked about in the Adobe MAX presentation was the idea of applying it to video. While it’s currently limited to still images, Shen mentioned that video presents an intriguing use for the technology, one the team plans to investigate. In theory, Sky Replace could be used in place of shooting on a green screen or going through an involved masking process in post. It could be particularly beneficial to budget science-fiction productions, which could easily replace a boring old Earth sky with an artist’s rendering of a Mars sky, for example.

As with other Adobe sneak peeks, there is no guarantee when, or even if, Project Sky Replace will become a commercial product or make it into a future version of Photoshop. The tool has been in the works for over a year, and Shen confirmed development will continue. This gives us reason to hope that Sky Replace will one day be more than a behind-the-scenes side project.

Editors' Recommendations

Daven Mathies
Former Digital Trends Contributor
Daven is a contributing writer to the photography section. He has been with Digital Trends since 2016 and has been writing…
Adobe Photoshop now runs natively on Windows on ARM, catching up to Apple’s M1
A person using the Surface Pro X.

Photoshop is now fully compatible with Windows 10 PCs like the Surface Pro X that are powered by ARM-based architecture. Adobe announced the news on a support page, noting that as of May 2021, the software now runs natively on 64-bit Windows 10 ARM devices.

Now that Photoshop runs natively on Windows 10 on ARM devices, there should be some performance gains for these Windows users across the board. It no longer runs under emulation, which had severely limited the speed and efficiency of some process-intensive tasks.

Read more
Photoshop will soon allow you to swap out boring skies automatically using A.I.
adobe photoshop sky replacement teased feature photoshopskyreplace sneakpeek

Photoshop Sneak Peek: Sky Replacement

In a teaser video released on Monday, Photoshop shared a sneak-peek into Sky Replacement, an upcoming tool that automatically swaps out the sky for one from a preset or an original sky image. The tool, however, is one of the few times Photoshop hasn’t been first to a feature, as competing photo editor Luminar already has had a similar tool for some time now.

Read more
How to add and edit text in Adobe Photoshop
how to add text in photoshop

Photoshop is as much a graphic design program as it is a photo editor, which includes working with text. Adding and editing text in Photoshop is simple, once you learn where all the controls are and a few extra tricks. Here’s how to add and edit text in Photoshop.
Photoshop's text tools

A majority of working with text in Photoshop is simply finding and recognizing the icons. Here are the tools that you may use to add or edit text in Photoshop.

Read more