Code Monkey home page Code Monkey logo

deeplens_eval's Introduction

DeepLens: Shallow Depth-of-Field from a Single Image

Important Update (June 8th 2019):

A fatal bug is fixed by replacing the input depth to the lensblur network with the inverse depth. Otherwise, the rendered DoF image will suffer from boundary artifacts.

Introduction

This repo contains interactive evaluation code for our SIGGRAPH Asia 2018 paper. More details can be found in our project webpage English or δΈ­ζ–‡.

Usage

  • Supported OS: the source code has been tested on 64-bit Ubuntu 14.04 and 16.04 OS with python 2.7, and it should also be executable in other linux distributions.

  • Dependencies:

  • Tensorflow >= 1.8 and all its dependencies.

  • Cuda enabled GPUs

  • How to run:

  1. Run python eval.py, the input image and the corresponding depth maps will be displayed.
  2. Select the focal point by clicking on the image and slide the slider to adjust aperture radius. Shallow depth of field effects will be rendered automatically.

Citing Our Work

If you find DeepLens useful in your research, please consider to cite our paper:

@ARTICLE{deeplens2018, 
author={Wang Lijun and Shen Xiaohui and Zhang Jianming and Wang Oliver and Lin Zhe and Hsieh Chih-Yao and Kong Sarah and Lu Huchuan}, 
title={DeepLens: Shallow Depth of Field from a Single Image}, 
journal={ACM Trans. Graph. (Proc. SIGGRAPH Asia)}, 
year={2018}, 
pages = {6:1-6:11}, 
volume = {37}, 
number = {6} 
}

deeplens_eval's People

Contributors

scott89 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.