3D image generating method, 3D animation generating method, and both 3D image generating module and 3D animation generating module thereof
First Claim
Patent Images
1. A 3D image generating method comprising:
- estimating depths of a 2D image to generate a 2D depth map having estimated depths;
correcting the estimated depths of the 2D depth map to generate a corrected 2D depth map, by merging blocks neighboring to a marked figure line on the 2D depth map;
creating a 3D model by connecting lines between pixels on the corrected 2D depth map having a depth difference smaller than a lower bound depth difference;
wherein creating the 3D model by connecting lines between pixels on the corrected 2D depth map comprises;
(a) physically connecting first and second pixel sets of a first rectangular unit to form a diagonal if a depth difference of the first and second pixel sets is smaller than the lower bound depth difference and is smaller than a lower bound depth difference of third and fourth pixel sets of the first rectangular unit; and
(b) physically connecting the first and third pixel sets, and the second and third pixel sets to form a triangle if a depth difference of the first and third pixel sets and a depth difference of the second and third pixel sets are both smaller than the lower bound depth difference;
determining at least one location;
virtually positioning at least one virtual camera at the at least one location; and
virtually recording the 3D model using the at least one virtual camera virtually positioned at the at least one location to generate a 3D image.
6 Assignments
0 Petitions
Accused Products
Abstract
For transforming a 2D image into a 3D image, or for transforming a 2D animation into a 3D animation, depths of the 2D image or the 2D animation are required and corrected by enhancing edges. Moreover, a 3D model is generated according to a corrected 2D depth map, and the 3D model is then filmed by virtual cameras to generate the 3D image or the 3D animation. While generating the 3D animation, key frames are selected for reducing processing time, and depths of unselected frames between the key frames are calculated by using interpolation.
14 Citations
28 Claims
-
1. A 3D image generating method comprising:
-
estimating depths of a 2D image to generate a 2D depth map having estimated depths; correcting the estimated depths of the 2D depth map to generate a corrected 2D depth map, by merging blocks neighboring to a marked figure line on the 2D depth map; creating a 3D model by connecting lines between pixels on the corrected 2D depth map having a depth difference smaller than a lower bound depth difference;
wherein creating the 3D model by connecting lines between pixels on the corrected 2D depth map comprises;(a) physically connecting first and second pixel sets of a first rectangular unit to form a diagonal if a depth difference of the first and second pixel sets is smaller than the lower bound depth difference and is smaller than a lower bound depth difference of third and fourth pixel sets of the first rectangular unit; and (b) physically connecting the first and third pixel sets, and the second and third pixel sets to form a triangle if a depth difference of the first and third pixel sets and a depth difference of the second and third pixel sets are both smaller than the lower bound depth difference; determining at least one location; virtually positioning at least one virtual camera at the at least one location; and virtually recording the 3D model using the at least one virtual camera virtually positioned at the at least one location to generate a 3D image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A 3D animation generating method comprising:
-
selecting a plurality of frames from a 2D animation according to average pixel differences each being an average pixel difference between two frames of the 2D animation; estimating depths of each selected frame to generate a 2D depth map having estimated depths; correcting the estimated depths of the 2D depth map to generate a corrected 2D depth map, by merging blocks neighboring to a marked figure line on the 2D depth map; generating a 2D depth map for each unselected frame according to two corrected 2D depth maps corresponding to two selected frames next to the unselected frame through interpolation; creating a 3D model by connecting lines between pixels on the corrected 2D depth map and by connecting lines between pixels on the 2D depth map of the unselected frame, the pixels on the corrected 2D depth map having a depth difference smaller than a lower bound depth difference, the pixels on the 2D depth map of the unselected frame having a depth difference smaller than the lower bound depth difference;
wherein creating the 3D model by connecting lines between pixels on the corrected 2D depth map and by connecting lines between pixels on the 2D depth map of the unselected frame comprises;(a) physically connecting first and second pixel sets of a first rectangular unit on the corrected 2D depth map or on the 2D depth map of the unselected frame to form a diagonal if a depth difference of the first and second pixel sets is smaller than the lower bound depth difference and is smaller than a lower bound depth difference of third and fourth pixel sets of the first rectangular unit; and (b) physically connecting the first and third pixel sets, and the second and third pixel sets to form a triangle if a depth difference of the first and third pixel sets and a depth difference of the second and third pixel sets are both smaller than the lower bound depth difference; determining at least one location; virtually positioning at least one virtual camera at the at least one location; and virtually recording the 3D model using the at least one virtual camera virtually positioned at the at least one location to generate a 3D animation. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
Specification