Bayesian decision theory, the maximum local mass estimate, and color constancyLearning bilinear models for two-factor problems in vision