Color constancy - Generalized diagonal transforms suffice