Method and apparatus for generating image with shallow depth of field
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and an apparatus for generating an image with shallow depth of field, suitable for a three-dimensional imaging system having a left lens and a right lens, are provided. First, the left lens and the right lens are used to capture a left-eye image and a right-eye image. Next, a disparity between each of a plurality of corresponding pixels in the left and right-eye images is calculated. Then, the depth information of each pixel is estimated according to a focus of the left and right lens, a lens pitch between the left lens and the right lens, and the calculated disparity of each pixel. Finally, the pixels in the left-eye image and the right-eye image are blurred according to the focus of the left lens and the right lens and the estimated depth information of each pixel, so as to obtain the image with shallow depth of field.
13 Citations
8 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus for generating an image with shallow depth of field, comprising:
-
a left lens, to capture a left-eye image; a right lens, to capture a right-eye image, wherein there is a lens pitch between the left lens and the right lens; and a processing unit, coupled to the left lens and the right lens, to calculate a disparity between each of a plurality of corresponding pixels in the left-eye image and the right-eye image, to estimate 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 disparity of each pixel, and to blur the pixels in the left-eye image or the right-eye image according to the focus of the left lens and the right lens and the depth information of each pixel, so as to obtain an image with shallow depth of field, wherein the processing unit utilizes the focus to obtain a focal plane, calculates a distance between the pixel and the focal plane according to the depth information of each pixel, and blurs 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. - View Dependent Claims (8)
-
Specification