Patent ID: 8810634

Claim:
A method for generating an image with shallow depth of field, suitable for a three-dimensional imaging system comprising a left lens and a right lens, the method comprises the following steps: respectively utilizing the left lens and the right lens to capture a left-eye image and a right-eye image; calculating a disparity between each of a plurality of corresponding pixels in the left-eye image and the right-eye image; estimating a depth information of each pixel according to a focus that the left lens and the right lens adopts for capturing the left-eye image and the right-eye image, a lens pitch between the left lens and the right lens, and the calculated disparity of each pixel; and blurring the pixels of the left-eye image or the right-eye image according to the focus of the left lens and the right lens and the estimated depth information of the pixels, so as to obtain an image with shallow depth of field, wherein the step of blurring the pixels of the left-eye image or the right-eye image according to the focus of the left lens and the right lens and the estimated depth information of the pixels to obtain the image with shallow depth of field comprises: utilizing the focus to obtain a focal plane; calculating a distance between the pixel and the focal plane according to the depth information of each pixel; and blurring the pixel according to the distance between each pixel and the focal plane, to obtain the image with shallow depth of field, wherein a level of the blurred pixel is proportional with the calculated distance between the pixel and the focal plane.