Advertisement

Accurate Depth of Field Rendering with Integral Image

  • Yang Yang
  • Yanhong Peng
  • Huiwen Bian
  • Lanling Zeng
  • Liangjun Wang
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 875)

Abstract

Depth of field (DOF) rendering is important in computer graphics, especially in image synthesis and virtual reality applications. Traditionally, a filter with size varying kernels is applied to facilitate DOF rendering, however, the kernel size is approximated by rounding, ignoring the fractional parts, thus causing inconsistencies around the edges. In this paper, we proposed to adapt exact kernel size for depth of field rendering, not only the integral part, but also the fractional part of the kernel size are considered. In addition, we proposed a method to speed up the calculation based on integral images. Experiment results indicate that our proposed method is a practical way for depth of field rendering.

Keywords

Depth of field rendering Filter Integral image Computer graphics 

Notes

Acknowledgement

This work was supported by National Natural Science Foundation of China (Grant No. 61402205), China Postdoctoral Science Foundation (Grant No. 2015M571688), Jiangsu University (Grant No. 13JDG085), University Science Research Project of Jiangsu Province (Grant No. 16KJB520008), Natural Science Foundation of Jiangsu Province (Grant No. BK20170558), Postgraduate Research & Practice Innovation Program of Jiangsu Province (Grant No. SJCX17_0575).

References

  1. 1.
    Levoy, M., Hanrahan, P.: Light field rendering. In: Conference on Computer Graphics and Interactive Techniques, vol. 2, pp. 31–42. ACM (1996)Google Scholar
  2. 2.
    Joo, H., Kwon, S., Lee, S., et al.: Efficient ray tracing through aspheric lenses and imperfect bokeh synthesis. J. Comput. Graph. Forum 35(4), 99–105 (2016)CrossRefGoogle Scholar
  3. 3.
    Lee, S., Eisemann, E., Seidel, H.P.: Real-time lens blur effects and focus control. In: SIGGRAPH, vol. 29, pp. 1–7. ACM (2010)Google Scholar
  4. 4.
    Lee, S., Eisemann, E., Seidel, H.P.: Depth-of-field rendering with multiview synthesis. J. ACM Trans. Graph. 28(5), 1–6 (2009)Google Scholar
  5. 5.
    Wu, J., Zheng, C., Hu, X., et al.: Realistic rendering of bokeh effect based on optical aberrations. J. Vis. Comput. 26(6–8), 555–563 (2010)CrossRefGoogle Scholar
  6. 6.
    Wu, S., Yu, K., Sheng, B., Huang, F., Gao, F., Ma, L.: Accurate depth-of-field rendering using adaptive bilateral depth filtering. In: Hu, S.-M., Martin, Ralph R. (eds.) CVM 2012. LNCS, vol. 7633, pp. 258–265. Springer, Heidelberg (2012).  https://doi.org/10.1007/978-3-642-34263-9_33CrossRefGoogle Scholar
  7. 7.
    Liu, D., Nicolescu, R., Klette, R.: Bokeh effects based on stereo vision. In: Azzopardi, G., Petkov, N. (eds.) CAIP 2015. LNCS, vol. 9256, pp. 198–210. Springer, Cham (2015).  https://doi.org/10.1007/978-3-319-23192-1_17CrossRefGoogle Scholar
  8. 8.
    Xu, S., Mei, X., Dong, W., et al.: Depth of field rendering via adaptive recursive filtering. In: SIGGRAPH Asia 2014 Technical Briefs, pp. 1–4. ACM (2014)Google Scholar
  9. 9.
    Mcintosh, L., Riecke, B.E., Dipaola, S.: Efficiently simulating the bokeh of polygonal apertures in a post-process depth of field shader. In: Computer Graphics Forum, vol. 31, pp. 1810–1822. Blackwell Publishing Ltd (2012)Google Scholar
  10. 10.
    Mcgraw, T.: Fast Bokeh effects using low-rank linear filters. J. Vis. Comput. 31(5), 601–611 (2015)CrossRefGoogle Scholar
  11. 11.
    Lee, S., Kim, G.J., Choi, S.: Real-time depth-of-field rendering using anisotropically filtered mipmap interpolation. J. IEEE Trans. Vis. Comput. Graph. 15(3), 453–464 (2009)CrossRefGoogle Scholar
  12. 12.
    Kass, M., Lefohn, A., Owens, J.D.: Interactive depth of field using simulated difiusion on a GPU. Pixar Anim. Studios Tech Rep. 2, 2 (2006)Google Scholar
  13. 13.
    Mantiuk, R., Bazyluk, B., Tomaszewska, A.: Gaze-dependent depth-of-field effect rendering in virtual environments. In: Ma, M., Fradinho Oliveira, M., Madeiras Pereira, J. (eds.) SGDA 2011. LNCS, vol. 6944, pp. 1–12. Springer, Heidelberg (2011).  https://doi.org/10.1007/978-3-642-23834-5_1CrossRefGoogle Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2018

Authors and Affiliations

  • Yang Yang
    • 1
  • Yanhong Peng
    • 1
  • Huiwen Bian
    • 1
  • Lanling Zeng
    • 1
  • Liangjun Wang
    • 1
  1. 1.School of Computer Science and Communication EngineeringJiangsu UniversityZhenjiangChina

Personalised recommendations