A simple automatic calibration technique from: "Color Appearance in High Dynamic Range Imaging"
by Ahmet Oğuz Akyüz, Erik Reinhard