Giter Club home page Giter Club logo

adof's Introduction

Adaptive Depth of Field

Adaptive Depth of Field (ADOF) using variational models and nonlinear inhomogeneous isotropic diffusion.

Zorah Lähner
[email protected]

Tobias Gurdan
[email protected]

Description

In the context of a practical CUDA programming course for computer vision problems at TUM, we set out and created an imho super awesome method to achieve a sense of depth in images. To this end, given a stereo image pair we first compute a disparity map according to the variational models introduced in Global Solutions of Variational Models with Convex Regularization by Thomas Pock et al. (2010), implemented in an efficient CUDA kernel. We then incorporate the depth information into a nonlinear isotropic diffusion process (again computed on the GPU), which in consequence adapts the strength of diffusion to the current pixel's disparity. The result of this inhomogeneous diffusion process is an image with an artificial depth of field effect. We also implemented a gui, where the user can click at a point in the image to set it in focus. Fore- and background will blur accordingly. Also, the strength of the effect can be adjusted.

adof's People

Stargazers

 avatar

Watchers

 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.