METHOD FOR GENERATING 3D IMAGE AND ELECTRONIC APPARATUS USING THE SAME
First Claim
1. A method for generating a three-dimensional (3D) image, adapted to an electronic apparatus, and comprising:
- capturing a plurality of images corresponding to a plurality of focal lengths, where there are a plurality of focal length differences between the focal lengths;
selecting a reference image from the images, and taking the reference image as a 3D reference plane in a 3D space;
performing an edge detection to each of the images according to a sharpness reference value to find at least one contour corresponding to the sharpness reference value in each of the images;
arranging each of the images in the 3D space based on each of the focal length differences and the 3D reference plane; and
performing an interpolation operation between the at least one contour of each of the images to generate the 3D image.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for generating a 3D image and an electronic apparatus using the same method are proposed. The method includes: capturing a plurality of images corresponding to a plurality of focal lengths, where there are a plurality of focal length differences between the focal lengths; selecting a reference image from the images, and taking the reference image as a 3D reference plane in a 3D space; performing an edge detection to each of the images according to a sharpness reference value to find at least one contour corresponding to the sharpness reference value in each of the images; arranging each of the images in the 3D space based on each of the focal length differences and the 3D reference plane; performing an interpolation operation between the at least one contour of each of the images to generate a 3D image.
20 Citations
10 Claims
-
1. A method for generating a three-dimensional (3D) image, adapted to an electronic apparatus, and comprising:
-
capturing a plurality of images corresponding to a plurality of focal lengths, where there are a plurality of focal length differences between the focal lengths; selecting a reference image from the images, and taking the reference image as a 3D reference plane in a 3D space; performing an edge detection to each of the images according to a sharpness reference value to find at least one contour corresponding to the sharpness reference value in each of the images; arranging each of the images in the 3D space based on each of the focal length differences and the 3D reference plane; and performing an interpolation operation between the at least one contour of each of the images to generate the 3D image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic device, adapted to generate a 3D image, and comprising:
-
an image capturing unit; a storage unit, storing a plurality of modules; and a processing unit, connected to the image capturing unit and the storage unit, and accessing and executing the modules, wherein the modules comprise; a capturing module, controlling the image capturing unit to capture a plurality of images corresponding to a plurality of focal lengths, wherein there are a plurality of focal length differences between the focal lengths; a selecting module, selecting a reference image from the images, and taking the reference image as a 3D reference plane in a 3D space; a detecting module, performing an edge detection to each of the images according to a sharpness reference value to find at least one contour corresponding to the sharpness reference value in each of the images; an arranging module, arranging each of the images in the 3D space based on each of the focal length differences and the 3D reference plane; and a generating module, performing an interpolation operation between the at least one contour of each of the images to generate the 3D image.
-
Specification