This software package estimates what is the probability of the sun given the sky appearance. This corresponds to Section 3.1 in our ICCV 2009 paper. Take a look at the file 'demoIlluminationFromSky.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 'lightspeed' package by Tom Minka available at: http://research.microsoft.com/en-us/um/people/minka/software/lightspeed/ - my sky model code available at: http://www.cs.cmu.edu/~jlalonde/software.html#skyModel