Skip to content
Go to file


Failed to load latest commit information.
Latest commit message
Commit time
Sep 11, 2018

Learning To Blend Photos, ECCV 2018

Code/Data will be released soon

This repo demonstrate the following paper:

Learning to Blend Photos
Wei-Chih Hung, Jianming Zhang, Xiaohui Shen, Zhe Lin, Joon-Young Lee, and Ming-Hsuan Yang
Proceedings of the European Conference on Computer Vision (ECCV), 2018.

Contact: Wei-Chih Hung (whung8 at ucmerced dot edu)


In this work, we aim to automate the photo blending process through deep reinforcement learning. We focus on a specific and popular photo blending style - Double Exposure. The image below shows some example results of our method:

The figure below shows the overview of our system. The inputs of our method are two photos: foreground and background. We first train a quality network to evaluate the aesthetics quality of blending photos with human preference annotation on random blending photos. Then a deep reinforcement learning based agent is trained to optimize the parameter for the background alignment and photometric adjustment. Using the predicted parameters, the blending engine renders the final blending photo.

Please cite our paper if you find it useful for your research.

  author = {Wei-Chih Hung and Jianming Zhang and Xiaohui Shen and Zhe Lin and Joon-Young Lee and Ming-Hsuan Yang},
  booktitle = {European Conference on Computer Vision},
  title = {Learning to Blend Photos},
  year = {2018}


"Learning To Blend Photos," ECCV 2018



No releases published


No packages published
You can’t perform that action at this time.