International Conference on Computer Analysis of Images and Patterns

CAIP 2015: Computer Analysis of Images and Patterns pp 198-210 | Cite as

Bokeh Effects Based on Stereo Vision

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9256)


Bokeh, a sought-after photo rendering style of out-of-focus blur, typically aims at an aesthetic quality which is not available to low-end consumer grade cameras due to the lens design. We present a bokeh simulation method using stereo-vision techniques. We refine a depth map obtained with stereo matching with a little user interaction. A depth-aware bokeh effect is then applied with user-adjustable apertures sizes or shapes. Our method mainly aims at the visual quality of the bokeh effect rather than time efficiency. Experiments show that our results are natural-looking, and can be similar to the bokeh effect of a real-world bokeh-capable camera system.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Abbott, J., Morse, B.: Interactive depth-aware effects for stereo image editing. In: Proc. 3DTV-Conf., pp. 263–270 (2013)Google Scholar
  2. 2.
    Demers, J.: Depth of field: a survey of techniques. In: Fernando, R. (ed.) GPU Gems, pp. 375–390. Addison Wesley (2004)Google Scholar
  3. 3.
    Hirschmüller, H.: Accurate and efficient stereo processing by semi-global matching and mutual information. In: Proc. CVPR, pp. 807–814 (2005)Google Scholar
  4. 4.
    Klette, R.: Concise Computer Vision: An Introduction into Theory and Algorithms. Springer, London (2014)CrossRefGoogle Scholar
  5. 5.
    Klette, R., Rosenfeld, A.: Digital Geometry: Geometric Methods for Digital Picture Analysis. Morgan Kaufmann, San Francisco (2004)Google Scholar
  6. 6.
    Kopf, J., Cohen, M.F., Lischinski, D., Uyttendaele, M.: Joint bilateral upsampling. ACM Tran. Graphics 26, no. 96 (2007)Google Scholar
  7. 7.
    Kraus, M., Strengert, M.: Depth-of-field rendering by pyramidal image processing. Computer Graphics Forum 26(3), 645–654 (2007)CrossRefGoogle Scholar
  8. 8.
    Lee, S., Eisemann, E., Seidel, H.P.: Depth-of-field rendering with multiview synthesis. ACM Trans. Graphics 28(5), No. 134 (2009)Google Scholar
  9. 9.
    Lee, S., Eisemann, E., Seidel, H.P.: Real-time lens blur effects and focus control. ACM Trans. Graphics 29(4), No. 65 (2010)Google Scholar
  10. 10.
    Lee, S., Kim, G.J., Choi, S.: Real-time depth-of-field rendering using anisotropically filtered mipmap interpolation. IEEE Trans. Visualization Computer Graphics 15(3), 453–464 (2009)CrossRefGoogle Scholar
  11. 11.
    Lee, S., Kim, G.J., Choi, S.: Real-time depth-of-field rendering using point splatting on per-pixel layers. Computer Graphics Forum 27(7), 1955–1962 (2008)CrossRefGoogle Scholar
  12. 12.
    Levin, A., Lischinski, D., Weiss, Y.: A closed-form solution to natural image matting. IEEE Trans. PAMI 30(2), 228–242 (2008)CrossRefGoogle Scholar
  13. 13.
    Liu, J., Gong, X., Liu, J.: Guided inpainting and filtering for kinect depth maps. In: Proc. ICPR, pp. 2055–2058 (2012)Google Scholar
  14. 14.
    Matsuo, T., Fukushima, N., Ishibashi, Y.: Weighted joint bilateral filter with slope depth compensation filter for depth map refinement. In: Proc. VISAPP, pp. 300–309 (2013)Google Scholar
  15. 15.
    Wang, Q., Yu, Z., Rasmussen, C., Yu, J.: Stereo vision based depth of field rendering on a mobile device. J. Electronic Imaging 23(2), No. 023009 (2014)Google Scholar
  16. 16.
    Wu, J., Zheng, C., Hu, X., Wang, Y., Zhang, L.: Realistic rendering of bokeh effect based on optical aberrations. The Visual Computer 26, 555–563 (2010)CrossRefGoogle Scholar
  17. 17.
    Xue, W., Zhang, X., Sheng, B., Ma, L.: Image-based depth-of-field rendering with non-local means filtering. In: Proc. ICMEW, pp. 1–6 (2013)Google Scholar
  18. 18.
    Yu, X., Wang, R., Yu, J.: Real-time depth of field rendering via dynamic light field generation and filtering. Computer Graphics Forum 29(7), 2099–2107 (2010)CrossRefGoogle Scholar
  19. 19.
    Yu, Z., Yu, X., Thorpe, C., Grauer-Gray, S., Li, F., Yu, J.: Racking focus and tracking focus on live video streams: a stereo solution. The Visual Computer 30(1), 45–58 (2014)CrossRefGoogle Scholar
  20. 20.
    Zhang, W., Cham, W.K.: Single image focus editing. In: Proc. ICCV Workshops, pp. 1947–1954 (2009)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  1. 1.Department of Computer ScienceThe University of AucklandAucklandNew Zealand
  2. 2.School of EngineeringAuckland University of TechnologyAucklandNew Zealand

Personalised recommendations