Skip to content
/ adof Public

adaptive depth of field (adof) using variational models and nonlinear inhomogeneous isotropic diffusion

License

Notifications You must be signed in to change notification settings

gurki/adof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

adaptive depth of field (adof) using variational models and nonlinear inhomogeneous isotropic diffusion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published