Patent Document ID: 9330500
Application ID: 13314723
Patent Status: 1

Claim One:
1. A method implemented in one or more computing devices, the method comprising: obtaining a single image of a scene; generating, based on the single image of the scene, a 3D model of the scene; generating, based on the single image of the scene and in the absence of other images of the scene, a light model including 3D light source locations, directions, and intensities for the scene; correcting the light model by automatically refining the locations of light sources projected onto the 3D model of the scene, the automatically refining including choosing light parameters by at least one of the one or more computing devices minimizing an objective function that is based on a rendered image of the scene and the single image of the scene in the absence of other images of the scene, the objective function being further based on applying a per-pixel weighting that places less emphasis on pixels near the ground; inserting one or more objects into the 3D model of the scene; and modifying the appearance of the single image, based on both the corrected light model and the 3D model of the scene, producing a modified image of the scene that depicts the scene as if the one or more objects were actually part of the scene.