Fast implementation of color constancy algorithms | Synapse