Sky Optimization: Semantically Aware Image Processing of Skies in Low-Light Photography

Abstract

The sky is a major component of the appearance of a photograph, and its color and tone can strongly influence the mood of a picture. In nighttime photography, the sky can also suffer from noise and color artifacts. For this reason, there is a strong desire to process the sky in isolation from the rest of the scene to achieve an optimal look. In this work, we propose an automated method, which can run as a part of a camera pipeline, for creating accurate sky alpha-masks and using them to improve the appearance of the sky. Our method performs end-to-end sky optimization in less than half a second per image on a mobile device. We introduce a method for creating an accurate sky-mask dataset that is based on partially annotated images that are inpainted and refined by our modified weighted guided filter. We use this dataset to train a neural network for semantic sky segmentation. Due to the compute and power constraints of mobile devices, sky segmentation is performed at a low image resolution. Our modified weighted guided filter is used for edge-aware upsampling to resize the alpha-mask to a higher resolution. With this detailed mask we automatically apply post-processing steps to the sky in isolation, such as automatic spatially varying white-balance, brightness adjustments, contrast enhancement, and noise reduction.

Cite

Text

Liba et al. "Sky Optimization: Semantically Aware Image Processing of Skies in Low-Light Photography." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2020. doi:10.1109/CVPRW50498.2020.00271

Markdown

[Liba et al. "Sky Optimization: Semantically Aware Image Processing of Skies in Low-Light Photography." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2020.](https://mlanthology.org/cvprw/2020/liba2020cvprw-sky/) doi:10.1109/CVPRW50498.2020.00271

BibTeX

@inproceedings{liba2020cvprw-sky,
  title     = {{Sky Optimization: Semantically Aware Image Processing of Skies in Low-Light Photography}},
  author    = {Liba, Orly and Movshovitz-Attias, Yair and Cai, Longqi and Pritch, Yael and Tsai, Yun-Ta and Chen, Huizhong and Eban, Elad and Barron, Jonathan T.},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
  year      = {2020},
  pages     = {2230-2238},
  doi       = {10.1109/CVPRW50498.2020.00271},
  url       = {https://mlanthology.org/cvprw/2020/liba2020cvprw-sky/}
}