Patent ID: 9736385
Date: 2017-08-15
CPC Classifications: G06T,H04N

Claim:
1. A method for determining a compensation distance for capturing an image in a zoom mode using a camera, the method comprising: determining the camera is in a non-zoom mode; receiving first depth information associated with an object in the image when the camera is in the non-zoom mode, wherein the first depth information is defined as a first distance from the camera to the object; receiving first angle information associated with the object in the image when the camera is in the non-zoom mode, wherein the first angle information is defined as a first field of view angle provided for in the non-zoom mode; switching from the non-zoom mode to a zoom mode, wherein the zoom mode comprises a zoom-in mode and zoom-out mode; receiving second angle information associated with the object in the image when the camera is in the zoom mode, wherein the second angle information is defined as a second field of view angle provided for in the zoom mode, wherein in the zoom-in mode the second angle information is associated with at least one pixel located outside a border of a frame associated with the image and in the zoom-out mode that second angle information is associated with at least one pixel located behind the object in the image; determining the compensation distance for capturing the image of the object in the zoom mode based on the first depth information, the first angle information, and the second angle information, wherein the compensation distance is defined as a difference in distance between the object in the non-zoom mode and the object in the zoom mode; and generating an image based on the compensated distance.