You're going to have to use the shape equations to make predictions about the color of certain pixel coordinates, find discriminative ones, and fetch the corresponding cubes from the drawers to make a conclusion. (One of several possible methods you could come up with!)
Using Shape Equations to Predict Pixel Colors and Solve Problems
By
–