Accuracy of Spherical Harmonic Approximations for Images of Lambertian Objects under Far and Near Lighting