Classification-Based Color Constancy