Learning photographic global tonal adjustment with a database of input / output image pairs | Synapse