Estimating Illumination Parameters Using Spherical Harmonics Coefficients in Frequency Space