Skip to main content
Log in

Lens flare prediction based on measurements with real-time visualization

  • Original Article
  • Published:
The Visual Computer Aims and scope Submit manuscript

Abstract

Lens flare is a visual phenomenon caused by interreflection of light within a lens system. This effect is often seen as an undesired artifact, but it also gives rendered images a realistic appearance and is even used for artistic purposes. In the area of computer graphics, several simulation-based approaches have been presented to render lens flare for a given spherical lens system. For physically reliable results, these approaches require an accurate description of that system, which differs from camera to camera. Also, for the lens flares appearance, crucial parameters—especially the anti-reflection coatings—can often only be approximated. In this paper we present a novel workflow for generating physically plausible renderings of lens flare phenomena by analyzing the lens flares captured with a camera. Our method allows predicting the occurrence of lens flares for a given light setup. This is an often requested feature in light planning applications in order to efficiently avoid lens flare-prone light positioning. A model with a tight parameter set and a GPU-based rendering method allows our approach to be used in real-time applications.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

Notes

  1. http://spencermortensen.com/articles/bezier-circle/.

References

  1. Alspach, T.: Vector-based representation of a lens flare. US Patent 7,526,417 (2009)

  2. Chaumond, J.: Realistic camera—lens flare. https://graphics.stanford.edu/wikis/cs348b-07/JulienChaumond/FinalProject (2007)

  3. Christopher, M.B.: Pattern Recognition and Machine Learning. Springer, Berlin (2006)

    MATH  Google Scholar 

  4. Franke, G.: Physical Optics in Photography. The Focal Press, London (1966). | c1966

    Google Scholar 

  5. Hanika, J., Dachsbacher, C.: Efficient Monte Carlo rendering with realistic lenses. In: Computer Graphics Forum, vol. 33, pp. 323–332. Wiley Online Library (2014)

  6. Hennessy, P.: Implementation notes: physically based lens flares. https://goo.gl/OOmIkB (2015)

  7. Hullin, M., Eisemann, E., Seidel, H.P., Lee, S.: Physically-based real-time lens flare rendering. ACM Trans. Graph. 30(4), 108:1–108:10 (2011). https://doi.org/10.1145/2010324.1965003

    Article  Google Scholar 

  8. Hullin, M.B., Hanika, J., Heidrich, W.: Polynomial optics: a construction kit for efficient ray-tracing of lens systems. In: Computer Graphics Forum, vol. 31, pp. 1375–1383. Wiley Online Library (2012)

  9. Joo, H., Kwon, S., Lee, S., Eisemann, E., Lee, S.: Efficient ray tracing through aspheric lenses and imperfect bokeh synthesis. In: Computer Graphics Forum, vol. 35, pp. 99–105. Wiley Online Library (2016)

  10. Keshmirian, A.: A physically-based approach for lens flare simulation. ProQuest, Ann Arbor (2008)

    Google Scholar 

  11. Kilgard, M.J.: Fast opengl-rendering of lens flares. https://www.opengl.org/archives/resources/features/KilgardTechniques/LensFlare/ (2000)

  12. King, Y.: 2d lens flare. In: DeLoura, M. (ed.) Game Programming Gems, pp. 515–518. Charles River Media, Inc., Rockland (2000)

    Google Scholar 

  13. Lee, S., Eisemann, E.: Practical real-time lens-flare rendering. In: Computer Graphics Forum, vol. 32, pp. 1–6. Wiley Online Library (2013)

  14. Light, I.: Magic: Openexr. http://www.openexr.com (2014)

  15. Mchugh, S.: Understanding camera lens flare from Cambridge in colour. http://www.cambridgeincolour.com/tutorials/lens-flare.htm (2005)

  16. Pixar: The imperfect lens: creating the look of wall-e. wall-e three-dvd box (2008)

  17. Sekulic, D.: Efficient occlusion culling. GPU Gems, pp. 487–503 (2004)

  18. Steinert, B., Dammertz, H., Hanika, J., Lensch, H.P.: General spectral camera lens simulation. In: Computer Graphics Forum, vol. 30, pp. 1643–1654. Wiley Online Library (2011)

  19. Syrp: Genie mini motion controller. https://syrp.co.nz (2016)

  20. Tocci, M.: Quantifying veiling glare (zemax users knowledge base). http://www.zemax.com/os/resources/learn/knowledgebase/quantifying-veiling-glare (2007)

  21. Towell, J.: A brief history of the most over-used special effect in video games: lens flare. https://goo.gl/244iVo (2012)

  22. Wang, Z., Bovik, A.C., Sheikh, H.R., Simoncelli, E.P.: Image quality assessment: from error visibility to structural similarity. IEEE Trans. Image Process. 13, 600–612 (2004)

    Article  Google Scholar 

  23. Woerner, M.: J.j.abrams admits star trek lens flares are ridiculous (interview). https://goo.gl/ETgzXW (2009)

Download references

Acknowledgements

We want to dedicate this work to our late colleague Robert F. Tobler.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andreas Walch.

Ethics declarations

Funding

VRVis is funded by BMVIT, BMWFW, Styria, SFG and Vienna Business Agency in the scope of COMET - Competence Centers for Excellent Technologies (854174) which is managed by FFG. Conflict of Interest: The authors declare that they have no conflict of interest.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Walch, A., Luksch, C., Szabo, A. et al. Lens flare prediction based on measurements with real-time visualization. Vis Comput 34, 1155–1164 (2018). https://doi.org/10.1007/s00371-018-1552-4

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00371-018-1552-4

Keywords

Navigation