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 to check access.
Buy single article
Instant access to the full article PDF.
Price includes VAT for USA
Subscribe to journal
Immediate online access to all issues from 2019. Subscription will auto renew annually.
This is the net price. Taxes to be calculated in checkout.
Alspach, T.: Vector-based representation of a lens flare. US Patent 7,526,417 (2009)
Chaumond, J.: Realistic camera—lens flare. https://graphics.stanford.edu/wikis/cs348b-07/JulienChaumond/FinalProject (2007)
Christopher, M.B.: Pattern Recognition and Machine Learning. Springer, Berlin (2006)
Franke, G.: Physical Optics in Photography. The Focal Press, London (1966). | c1966
Hanika, J., Dachsbacher, C.: Efficient Monte Carlo rendering with realistic lenses. In: Computer Graphics Forum, vol. 33, pp. 323–332. Wiley Online Library (2014)
Hennessy, P.: Implementation notes: physically based lens flares. https://goo.gl/OOmIkB (2015)
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
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)
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)
Keshmirian, A.: A physically-based approach for lens flare simulation. ProQuest, Ann Arbor (2008)
Kilgard, M.J.: Fast opengl-rendering of lens flares. https://www.opengl.org/archives/resources/features/KilgardTechniques/LensFlare/ (2000)
King, Y.: 2d lens flare. In: DeLoura, M. (ed.) Game Programming Gems, pp. 515–518. Charles River Media, Inc., Rockland (2000)
Lee, S., Eisemann, E.: Practical real-time lens-flare rendering. In: Computer Graphics Forum, vol. 32, pp. 1–6. Wiley Online Library (2013)
Light, I.: Magic: Openexr. http://www.openexr.com (2014)
Mchugh, S.: Understanding camera lens flare from Cambridge in colour. http://www.cambridgeincolour.com/tutorials/lens-flare.htm (2005)
Pixar: The imperfect lens: creating the look of wall-e. wall-e three-dvd box (2008)
Sekulic, D.: Efficient occlusion culling. GPU Gems, pp. 487–503 (2004)
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)
Syrp: Genie mini motion controller. https://syrp.co.nz (2016)
Tocci, M.: Quantifying veiling glare (zemax users knowledge base). http://www.zemax.com/os/resources/learn/knowledgebase/quantifying-veiling-glare (2007)
Towell, J.: A brief history of the most over-used special effect in video games: lens flare. https://goo.gl/244iVo (2012)
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)
Woerner, M.: J.j.abrams admits star trek lens flares are ridiculous (interview). https://goo.gl/ETgzXW (2009)
We want to dedicate this work to our late colleague Robert F. Tobler.
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.
About this article
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
- Lens flare
- Data-driven workflow
- Real time