A Deep Learning Approach for Loss-Analysis from Luminescence Images