SYSTEMS AND METHODS FOR 2-D TO 3-D IMAGE CONVERSION USING MASK TO MODEL, OR MODEL TO MASK, CONVERSION
The present invention is directed to systems and methods for controlling 2-D to 3-D image conversion. In one embodiment, a mask is generated from an object model of the image. The mask is then used to from a 2-D mesh which is then converted to a 3-D volume mesh. The 3-D volume mesh is then used to produce 3-D image conversion.
1 . A method of creating a 3-D image, said method comprising:
obtaining object models of each said image to be created;
generating a mask from each said obtained model; and
rendering a 3-D image from an assembled set of said generated masks.
2 . The method of claim 1 wherein said mask is generated using polycurve techniques.
3 . The method of claim 2 wherein said mask generation comprises:
rendering a point cloud according to a camera model;
obtaining a boolean image from said point cloud;
identifying a sequence of boundary points in said point cloud;
obtaining said polycurve from said sequence of boundary points; and
refining said polycurve.
4 . The method of claim 1 wherein said rendering comprises:
forming, from each said mask, a 2-D mesh, and
converting each said mesh into a 3-D planar mesh.
5 . The method of claim 4 wherein said converting comprises reverse projection.
6 . The method of claim 4 further comprising:
forming a 3-D mesh from said planar mesh.
7 . The method of claim 6 wherein said 2-D mesh is constructed using vertices and wherein said 3-D forming comprises:
lofting by replicating surface vertices of said 2-D mesh.
8 . A method of obtaining a mask for an object, comprising:
rendering a point cloud according to a camera model;
obtaining a boolean image from said point cloud;
identifying a sequence of boundary points in said point cloud;
obtaining said polycurve from said sequence of boundary points; and
refining said polycurve to form said mask.
9 . The method of claim 8 further comprising:
rendering a 3-D image from an assembled set of said generated masks.
10 . The method of claim 9 wherein said rendering comprises:
forming, from each said mask, a 2-D mesh, and
converting each said mesh into a 3-D mesh.
11 . The method of claim 10 said 2-D mesh is constructed using vertices and wherein said 3-D volume mesh converting comprises:
forming a planar 3-D mesh from said 2-D mesh; and
lofting by replicating said surface vertices of said 2-D mesh.
12 . A method of forming a 2-D polycurve from an image, said method comprising:
converting a 3-D mesh of said image to a boolean image;
partitioning boundary pixels of said boolean image into a collection of pixel paths representing a list of holes exterior to said region; and
generating polycurves which approximate each component region of said selected region.
13 . The method of claim 12 wherein said generating comprises curve fitting.
14 . Code for use in a processor system said code, said code operable for controlling said processor, said code comprising:
control sequences for obtaining object models of each said image to be created;
control sequences for generating a mask from each said obtained model; and
control sequences for rendering a 3-D image from an assembled set of said generated masks.
15 . The code of claim 14 wherein said mask is generated using code controlled polycurve techniques.
16 . The code of claim 14 wherein said control sequences for mask generation comprises:
control sequences for rendering a point cloud according to a camera model;
control sequences for obtaining a boolean image from said point cloud;
control sequences for identifying a sequence of boundary points in said point cloud;
control sequences for obtaining said polycurve from said sequence of boundary points; and
control sequences for refining said polycurve.
17 . The code of claim 14 wherein said control sequences for rendering comprises:
control sequences for forming, from each said mask, a 2-D mesh, and
control sequences for converting each said mesh into a 3-D planar mesh.
18 . The code of claim 17 wherein said control sequences for converting comprises control sequences for enabling reverse projection.
19 . The code of claim 17 further comprising:
control sequences for forming a 3-D mesh from said planar mesh.
20 . The code of claim 6 wherein said 2-D mesh is constructed using vertices and wherein said 3-D forming comprises:
control sequences for lofting by replicating surface vertices of said 2-D mesh.