Patent Document ID: 7961970
Application ID: 12604271
Patent Status: 1

Claim One:
1. A computer-implemented method, comprising: obtaining an input image of a scene and a depth value R for each pixel in the input image, where R for a pixel is distance from a virtual camera to the respective pixel; obtaining parameters that specify a depth-of-field d and a focus plane for the virtual camera; determining an area of the scene that is hidden behind one or more objects in the scene, wherein the one or more objects are closer to the virtual camera than the focus plane; setting R for each pixel in the area to F, where F is distance from the virtual camera to the focus plane along a ray that extends from the virtual camera to the respective pixel; calculating pixel values for the pixels in the area from pixel values of pixels in a region of the scene surrounding the area; and refocusing the scene according to the depth values R for the pixels in the scene, the depth-of-field d, and the focus plane to generate a refocused image of the scene.