Log-encoding Estimation for Color Stabilization of Cinematic Footage