We discuss how to generate omnifocus images from a sequence of different focal setting images. We first show that the existing focus measures would encounter difficulty when detecting which frame is most focused for pixels in the regions between intensity edges and uniform areas. Then we propose a new focus measure that could be used to handle this problem. In addition, after computing focus measures for every pixel in all images, we construct a three dimensional (3D) node-capacitated graph and apply a graph cut based optimization method to estimate a spatio-focus surface that minimizes the summation of the new focus measure values on this surface. An omnifocus image can be directly generated from this minimal spatio-focus surface. Experimental results with simulated and real scenes are provided.
- A. Kumar and N. Ahuja, A Generative Focus Measure With Application to Omnifocus Imaging. In IEEE International Conference on Computational Photography (ICCP). April 2013, Harvard, Boston, US
- N. Xu, K. Tan, H. Arora and N. Ahuja, Generating Omnifocus Images Using Graph Cuts and a New focus Measure, IEEE International Conference on Pattern Recognition, Cambridge, UK, August 2004, Vol. 4, 697-700.