Lens flare prediction based on measurements with real-time visualization