Classical photometric stereo requires uniform collimated light, but point light sources are usually employed in practical setups. This introduces errors to the recovered surface shape. We found that when the light sources are evenly placed around the object with the same slant angle, the main component of the errors is the low-frequency deformation, which can be approximately described by a quadratic function. We proposed a postprocessing method to correct the deviation caused by the nonuniform illumination. The method refines the surface shape with prior information from calibration using a flat plane or the object itself. And we further introduce an optimization scheme to improve the reconstruction accuracy when the three-dimensional information of some locations is available. Experiments were conducted using surfaces captured with our device and those from a public dataset. The results demonstrate the effectiveness of the proposed approach.
Underwater images are blurred due to light scattering and absorption. Image restoration is therefore important in many underwater research and practical tasks. In this paper, we propose an effective two-stage method to restore underwater scene images. Based on an underwater light propagation model, we first remove backscatter by fitting a binary quadratic function. Then we eliminate the forward scattering and non-uniform lighting attenuation using blue-green dark channel prior. The proposed method requires no additional calibration and we show its effectiveness and robustness by restoring images captured under various underwater scenes.