Modelling the human perception of shape-from-shading