Defocus Magnification with CUDA

Chih-Wei Chen, Chun-Ta Lin, Yu-Lin Sung, Chiou-Shann Fuh
Department of Computer Science and Information Engineering, National Taiwan University, Taipei, Taiwan
National Taiwan University, 2011


   title={Defocus Magnification with CUDA},

   author={Chen, Chih-Wei and Lin, Chun-Ta and Sung, Yu-Lin and Fuh, Chiou-Shann},



Download Download (PDF)   View View   Source Source   



In photography, the application of depth-of-field can be used to make the main subject more prominent. Photographer can modify the range of depthof-field by adjusting the aperture size. Unfortunately, due to the limitation caused by the physical diameter of the lens aperture and the area of the photodiode, the compact camera cannot control the depth-of-field as well as single-lens reflex camera. In this paper, we based on the method proposed by S. Bae [1] and propose another algorithm to interpolate the defocus map. Then, we use image processing approaches as post-processing to obtain a bokeh image. The above-mentioned approaches are implemented in CUDA (Compute Unified Device Architecture) to increase the integral throughput. Experimental results show that the modified method can be applied to emphasize the main subject in varied shot environment. In addition, we speed up the algorithm thus explore the possibility for real-time application.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2021 hgpu.org

All rights belong to the respective authors

Contact us: