Statistics for Shape from Shading Using MRF Optimization with Gibbs Sampling with Quadruplet Cliques