This code displays the probability of the sun position with respect to the camera, as in our ICCV 2009 paper. Please look at testDisplaySunProbability.m first. Requires: - the 'parseargs' matlab function by Malcolm Wood available at: http://www.mathworks.com/matlabcentral/fileexchange/10670-parseargs-simplifies-input-processing-for-functions-with-multiple-options - the environment map conversion code available at: http://www.cs.cmu.edu/~jlalonde/software.html#envMapConversions