CN104143211A - Method for generating three-dimensional free body based on one image - Google Patents

Method for generating three-dimensional free body based on one image Download PDF

Info

Publication number
CN104143211A
CN104143211A CN201410277462.8A CN201410277462A CN104143211A CN 104143211 A CN104143211 A CN 104143211A CN 201410277462 A CN201410277462 A CN 201410277462A CN 104143211 A CN104143211 A CN 104143211A
Authority
CN
China
Prior art keywords
curve
centerdot
prime
dimensional
subdivision
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410277462.8A
Other languages
Chinese (zh)
Other versions
CN104143211B (en
Inventor
缪永伟
胡非夏
冯小红
张旭东
范菁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN201410277462.8A priority Critical patent/CN104143211B/en
Publication of CN104143211A publication Critical patent/CN104143211A/en
Application granted granted Critical
Publication of CN104143211B publication Critical patent/CN104143211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for generating a three-dimensional free body based on one image. The method for generating the three-dimensional free body based on one image comprises the steps that drawing lines represented by an object in the two-dimensional image are copied and drawn on the plane of the image in an interactive hand drawing mode by a user according to the input two-dimensional image, wherein the outlines, in the vertical direction, of all parts of the object can be reflected by the lines basically accurately; the structure curves of all subparts of the object are determined firstly, the three-dimensional coordinate information of the subparts of the object are calculated, and the generated three-dimensional symmetrical curves are re-matched with the corresponding subparts of the object according to the connection relation between the curves, so that it is guaranteed that an ordinary curve in each part can be obtained through calculation according to the symmetrical curve of the part. According to the method for generating the three-dimensional free body based on one image, in order to generate the three-dimensional free body with high sense of reality, the texture information of the visible parts of the object in the input image are utilized, corresponding texture information is determined by means of texture coordinates so that the corresponding part of a grid model of the free body can be represented by a system, and the three-dimensional real model with complete textures is obtained by means of the symmetry information of the object.

Description

3 D auto form-creation method based on single image
Technical field
Patent design of the present invention, for the single image of input, by means of user's mutual imitation, provides a kind of method that can generate quickly and easily the 3 D auto body of realistic effect.
Background technology
In computer graphics and field of computer aided design, from single width two dimension input picture, rebuild generating three-dimensional object process, because the depth information of three-dimensional body is difficult to recover to become a difficult point, yet by means of user interactions, often can reduce its difficulty, thereby can effectively address this problem.In three-dimensional model based on image creates and generates, hope can provide a kind of comparatively simple and practical man-machine interaction to describe mode for user, with generating three-dimensional body easily and efficiently.For cartoon, there is at present a kind of special method for drafting, mainly that all objects are decomposed into some more simple geometric configuratioies, the object subdivision that each decomposition obtains is generated by several curve constructions, and the method is accepted by many cartoon artists and obtained application in some 3 d modeling systems.
3 d modeling system based on mutual Freehandhand-drawing is proposed in succession by many researchers, and the shape modeling operation of part based on Freehandhand-drawing modeling completes often in three dimensions.First system creates a rough model, and then, by some special operations, such as shearing, rotation, merging, distortion etc. little by little added more details for model.Yet these special operationals are not often very directly perceived, and require user must possess corresponding professional knowledge.On the contrary, from single width input picture, directly structure three-dimensional model provides the method for a kind of general user's of being applicable to simple to operate, the free body of efficient quick generating three-dimensional.According to single width input picture, utilize the distinctive perception of the mankind to provide the projection of three-dimensional object profile on two dimensional surface for system, and automatically calculate for the depth information of the contour of object of generation model and extract the texture of input picture body surface and be mapped to three-dimensional model by system, thereby generate the 3 D auto body model with the object sense of reality in input picture.Meanwhile, because a large amount of real-life three-dimensional bodies have all shown symmetry to a certain degree, such as animal, building, furniture and other organic structure etc.Under quadrature or perspective projection, as long as can determine that the matching relationship between symmetry element just can reconstruct the three-dimensional structure of symmetric shape completely, takes full advantage of this symmetry feature in our 3 D auto form-creation.
Summary of the invention
For overcome 3 D auto Shape design and generate in complicated operation, interworking amount is large, the sense of reality is poor deficiency, the invention provides a kind of method of utilizing the free body of single image generating three-dimensional of simple to operate, efficient quick, strong sense of reality.
The technical solution adopted for the present invention to solve the technical problems is:
3 D auto form-creation method based on single image, described method comprises following three steps:
1) user, according to the single width two dimensional image of input, copies and depicts the line drawing figure that objects in images represents in mutual Freehandhand-drawing mode on the plane of delineation, and these lines can accurately reflect object each several part profile in vertical direction substantially.Point on system automatic capturing Freehandhand-drawing lines, and interpolation goes out corresponding quadratic b-spline curve, use the polygon broken line of the summit formation of uniform sampling from smooth quafric curve to carry out discretize to the Freehandhand-drawing lines of user's input, and preserve successively the curve construction pair of each subdivision of object.
2) calculating of each subdivision curve construction depth coordinate of three-dimensional body and the discrete generation of three-dimensional model.For calculate curve construction depth coordinate convenient for the purpose of, system is used and is drawn plane as XOY plane, the input line that comprises symmetric information is drawn as the parallel projection of three-dimensional body curve construction, projecting direction is perpendicular to drawing plane.The curve construction of first definite each subdivision of object of system also calculates their three-dimensional coordinate information, and the curve construction collection of each subdivision of object comprises two symmetrical curves and two general curves conventionally.First method travels through all symmetrical curves, the three-dimensional coordinate information of symmetrical curve can calculate according to the known plane of symmetry, and the three-dimensional symmetrical curve of generation can be calculated by the symmetrical curve with a part of to guarantee the general curve in each part again match its corresponding object subdivision according to the annexation between curve.Object each several part can be categorized into two kinds of dissimilar subdivisions: about the certainly symmetrical single part of the plane of symmetry with about two symmetrical parts of the plane of symmetry.This two classes subdivision is different in the method for calculating ordinary construction curve.General curve in symmetric part situation can directly be calculated by its symmetrical curve; And in mutual symmetric part situation, only need to utilize symmetrical curve to calculate the general curve of one of them subdivision, the general curve of another part can utilize symmetry to obtain by mutual antimeric general curve.
Specifically, the summit x coordinate on hand-drawing line in two-dimentional Freehandhand-drawing plane is drawn and y coordinate reality are corresponding to x coordinate and the y coordinate on summit on three-dimensional body, and what need recovery is only the z coordinate on each summit.For two symmetrical curves in each subdivision, can utilize following formula to calculate their each sampled point z coordinates:
z si = - 1 2 ( ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s + ( x si - x si ′ ) · x g z g + ( y si - y si ′ ) · y g z g ) z si ′ = - 1 2 ( ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s - ( x si - x si ′ ) · x g z g - ( y si - y si ′ ) · y g z g ) - - - ( 1 )
Wherein, z siand z ' sifor symmetric points z coordinate to be asked, x si, x ' siand y si, y ' sibe respectively the x of symmetric points, y coordinate, N s(x s, y s, z s) be plane of symmetry normal vector, N g(x g, y g, z g) for being positioned at a vector of the plane of symmetry.Meanwhile, for each subdivision, can utilize following formula to calculate the z coordinate points of a pair of general curve up-sampling point separately:
z gi = - 1 2 ( ( 2 x gi - x si - x si ′ ) · x s z s + ( 2 y gi - y si - y si ′ ) · y s z s + ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s ) z gi ′ = - 1 2 ( ( 2 x gi ′ - x si - x si ′ ) · x s z s + ( 2 y gi ′ - y si - y si ′ ) · y s z s + ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s ) - - - ( 2 )
Wherein, z giand z ' gifor asymmetric generic point z coordinate to be asked, x gi, x ' giand y gi, y ' gibe respectively the x of asymmetric generic point, y coordinate.In addition, for a subdivision and another subdivision in object, about the symmetrical situation of the plane of symmetry, it is as follows that method can be utilized by the asymmetric general curve of one of them subdivision symmetry automatically to calculate the asymmetric general curve of another subdivision:
x gi ′ = ( ( y s ) 2 + ( z s ) 2 - ( x s ) 2 ) · x gi - 2 x s · ( y gi · y s + z gi · z s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 y gi ′ = ( ( x s ) 2 + ( z s ) 2 - ( y s ) 2 ) · y gi - 2 y s · ( x gi · x s + z gi · z s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 z gi ′ = ( ( x s ) 2 + ( y s ) 2 - ( z s ) 2 ) · z gi - 2 z s · ( x gi · x s + y gi · y s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 ( 3 )
Wherein, x s, y sand z sbe respectively plane of symmetry normal vector coordinate, x gi, y giand z gibe respectively the x of asymmetric point on general curve, y and z coordinate.
Thereby, about the object subdivision situation of the plane of symmetry self symmetry, according to the plane of symmetry of user's appointment, first utilize (1) formula to calculate the three-dimensional coordinate of two symmetrical curve up-sampling points, obtain corresponding three-dimensional structure curve; Recycling (2) formula calculates the three-dimensional coordinate of two asymmetric general curve up-sampling points, obtains corresponding three-dimensional structure curve.For a subdivision and another subdivision in object about the symmetrical situation of the plane of symmetry, to belonging to respectively two pairs of symmetrical curves of two subdivisions, first utilize (1) formula to calculate respectively the three-dimensional coordinate of every pair of symmetrical curve up-sampling point, obtain corresponding three-dimensional structure curve; Then utilize (2) formula to calculate the three-dimensional coordinate of two asymmetric general curve up-sampling points of one of them subdivision, obtain corresponding three-dimensional structure curve; Finally utilize (3) formula by two asymmetric general curves of last subdivision, to be calculated the three-dimensional coordinate of two asymmetric general curve up-sampling points of another subdivision, obtain corresponding three-dimensional structure curve.
After each part has been determined curve construction separately, utilize rotation mixed method just can generate corresponding parametric surface, and parametric surface discretize is obtained representing the three-dimensional grid model of free body.
3) in order to generate the 3 D auto body with the height sense of reality, utilize the texture information of object visible part in input picture, need to be in input picture be given on the three-dimensional grid model surface generating the color and vein information of object; Yet, according to single width input picture, rebuild the color and vein that the three-dimensional model generating can only obtain objects in images visible part, consider the symmetry characteristic of the 3 D auto body that we generate, can the monosymmetric part of the hypothesized model plane of symmetry there is identical texture, thereby only need give texture information to the model part of the object plane of symmetry one side, the texture information of model opposite side can utilize symmetry conveniently to obtain; The final 3 D auto body with the height sense of reality that generates.
Technical conceive of the present invention is: the two dimensional image based on user's input, and user depicts two-dimentional hand-drawn outline lines in interactive mode on the plane of delineation, and these lines are that three-dimensional body curve construction is in the rectangular projection of drawing in plane.The three-dimensional model generating is comprised of some subdivisions conventionally, and the three-dimensional structure curve depth information of each subdivision can be calculated by the symmetry of object, by these curve constructions, can generate parametric surface and discretize obtains three-dimensional grid model.Utilize input picture to increase texture to the three-dimensional model surface visible part generating, and utilize symmetry to carry out texture repair to shield portions, thereby generate the 3 D auto body with the height sense of reality.
Beneficial effect of the present invention is mainly manifested in: simple to operate, efficient quick, strong sense of reality.
Accompanying drawing explanation
Fig. 1 is that the present invention comprises the input picture example that user describes lines.
Fig. 2 is usingd the three-dimensional model Preliminary Results that user's delineation lines bar generates as input in Fig. 1.
Fig. 3 is the single subdivision grid surface of object of the present invention effect exemplary plot.
Fig. 4 is method exemplary plot of three-dimensional model surface being carried out to texture mapping of the present invention.
Fig. 5 is the partial 3-D free form body Model exemplary plot that design of the present invention generates.
Embodiment
Below in conjunction with accompanying drawing, the various 3 D auto body effects of technical method of the present invention and generation are further described and are described in detail.
With reference to accompanying drawing 1---accompanying drawing 5, a kind of 3 D auto form-creation method based on single image, described method comprises following three steps:
1) based on single image, in imitation mode alternately, depicting two-dimentional hand-drawing line draws.As shown in Figure 1, user describes two-dimentional Freehandhand-drawing lines in interactive mode on the plane of delineation, and these lines can accurately reflect object each several part profile in vertical direction substantially.Point on system automatic capturing Freehandhand-drawing lines, and interpolation goes out corresponding quadratic b-spline curve, use the polygon broken line of the summit formation of uniform sampling from smooth quafric curve to carry out discretize to the Freehandhand-drawing lines of user's input, and preserve successively the curve construction pair of each subdivision of object.
2) calculating of each subdivision curve construction depth coordinate of three-dimensional body and the discrete generation of three-dimensional model.For calculate curve construction depth coordinate convenient for the purpose of, system is used and is drawn plane as XOY plane, the input line that comprises symmetric information is drawn as the parallel projection of three-dimensional body curve construction, projecting direction is perpendicular to drawing plane.The curve construction of first definite each subdivision of object of system also calculates their three-dimensional coordinate information, and the curve construction collection of each subdivision of object comprises two symmetrical curves and two general curves conventionally.First method travels through all symmetrical curves, the three-dimensional coordinate information of symmetrical curve can calculate according to the known plane of symmetry, and the three-dimensional symmetrical curve of generation can be calculated by the symmetrical curve with a part of to guarantee the general curve in each part again match its corresponding object subdivision according to the annexation between curve.Object each several part can be categorized into two kinds of dissimilar subdivisions: about the certainly symmetrical single part of the plane of symmetry with about two symmetrical parts of the plane of symmetry.This two classes subdivision is different in the method for calculating ordinary construction curve.General curve in symmetric part situation can directly be calculated by its symmetrical curve; And in mutual symmetric part situation, only need to utilize symmetrical curve to calculate the general curve of one of them subdivision, the general curve of another part can utilize symmetry to obtain by mutual antimeric general curve.
Specifically, the summit x coordinate on hand-drawing line in two-dimentional Freehandhand-drawing plane is drawn and y coordinate reality are corresponding to x coordinate and the y coordinate on summit on three-dimensional body, and what need recovery is only the z coordinate on each summit.For two symmetrical curves in each subdivision, can utilize following formula to calculate their each sampled point z coordinates:
z si = - 1 2 ( ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s + ( x si - x si ′ ) · x g z g + ( y si - y si ′ ) · y g z g ) z si ′ = - 1 2 ( ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s - ( x si - x si ′ ) · x g z g - ( y si - y si ′ ) · y g z g ) - - - ( 1 )
Wherein, z siand z ' sifor symmetric points z coordinate to be asked, x si, x ' siand y si, y ' sibe respectively the x of symmetric points, y coordinate, N s(x s, y s, z s) be plane of symmetry normal vector, N g(x g, y g, z g) for being positioned at a vector of the plane of symmetry.Meanwhile, for each subdivision, can utilize following formula to calculate the z coordinate points of a pair of general curve up-sampling point separately:
z gi = - 1 2 ( ( 2 x gi - x si - x si ′ ) · x s z s + ( 2 y gi - y si - y si ′ ) · y s z s + ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s ) z gi ′ = - 1 2 ( ( 2 x gi ′ - x si - x si ′ ) · x s z s + ( 2 y gi ′ - y si - y si ′ ) · y s z s + ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s ) - - - ( 2 )
Wherein, z giand z ' gifor asymmetric generic point z coordinate to be asked, x gi, x ' giand y gi, y ' gibe respectively the x of asymmetric generic point, y coordinate.In addition, for a subdivision and another subdivision in object, about the symmetrical situation of the plane of symmetry, it is as follows that method can be utilized by the asymmetric general curve of one of them subdivision symmetry automatically to calculate the asymmetric general curve of another subdivision:
x gi ′ = ( ( y s ) 2 + ( z s ) 2 - ( x s ) 2 ) · x gi - 2 x s · ( y gi · y s + z gi · z s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 y gi ′ = ( ( x s ) 2 + ( z s ) 2 - ( y s ) 2 ) · y gi - 2 y s · ( x gi · x s + z gi · z s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 z gi ′ = ( ( x s ) 2 + ( y s ) 2 - ( z s ) 2 ) · z gi - 2 z s · ( x gi · x s + y gi · y s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 ( 3 )
Wherein, x s, y sand z sbe respectively plane of symmetry normal vector coordinate, x gi, y giand z gibe respectively the x of asymmetric point on general curve, y and z coordinate.
Thereby, about the object subdivision situation of the plane of symmetry self symmetry, according to the plane of symmetry of user's appointment, first utilize (1) formula to calculate the three-dimensional coordinate of two symmetrical curve up-sampling points, obtain corresponding three-dimensional structure curve; Recycling (2) formula calculates the three-dimensional coordinate of two asymmetric general curve up-sampling points, obtains corresponding three-dimensional structure curve.For a subdivision and another subdivision in object about the symmetrical situation of the plane of symmetry, to belonging to respectively two pairs of symmetrical curves of two subdivisions, first utilize (1) formula to calculate respectively the three-dimensional coordinate of every pair of symmetrical curve up-sampling point, obtain corresponding three-dimensional structure curve; Then utilize (2) formula to calculate the three-dimensional coordinate of two asymmetric general curve up-sampling points of one of them subdivision, obtain corresponding three-dimensional structure curve; Finally utilize (3) formula by two asymmetric general curves of last subdivision, to be calculated the three-dimensional coordinate of two asymmetric general curve up-sampling points of another subdivision, obtain corresponding three-dimensional structure curve.
After each part has been determined curve construction separately, utilize rotation mixed method just can generate corresponding parametric surface, and parametric surface discretize is obtained to sealing grid surface as shown in Figure 3, the 3 D auto body complete model of generation is as shown in Figure 2.
3) three-dimensional model superficial makings is synthetic to generate the 3 D auto body with the stronger sense of reality.In general, the object in input picture has often comprised many details and superficial makings, in order to generate the 3 D auto body with the height sense of reality, the three-dimensional grid model surface that need to generate in first two steps give input picture in object color texture information.Yet, because user is only for system provides single two dimensional image, rebuild the color and vein that the three-dimensional model generating can only obtain objects in images visible part.Consider the symmetry characteristic of rebuilding the 3 D auto body generating, can the monosymmetric part of the hypothesized model plane of symmetry there is identical texture, thereby only need give texture information to the model part of the object plane of symmetry one side, the texture information of model opposite side can utilize symmetry conveniently to obtain.As shown in Figure 4, suppose that T1 and T2 are the visible part of model, T2 and T3 are respectively the model plane of symmetry near the part of screen one side, the texture of T1 and T2 part can directly obtain in input picture, and for the T3 part of blocking, because its region comprising is often less, can simply vertical screen direction in T2 part be blocked to the texture copy of T3 part in the past.Like this, remaining T4 part texture just can corresponding symmetric part texture replication obtain in T2.Yet the texture of T1 part might not be identical with corresponding symmetric part texture in T2 in actual picture, this may cause the joining place of T1 and T4 to have rough transition.For this reason, method is only directly carried out texture mapping to T2 part, and the texture of T1 part is obtained by its symmetric part texture replication equally.In addition,, for the mutual symmetric part of model, the texture mapping that we only carry out above-mentioned steps to a part is wherein processed, and the texture of another part is obtained by its symmetrical partial replication.When carrying out texture mapping, can directly the geometric coordinate of object be projected to drafting plane, and the texture coordinate using the coordinate of subpoint as model is realized texture.Accompanying drawing 5 has provided the partial 3-D free form body Model design sketch being generated by this method design.
Accompanying drawing 1 is the input picture example that comprises the lines of outline that user interactions describes; Accompanying drawing 2 is to using user's delineation lines in accompanying drawing 1 to draw as the 3 D auto body complete model exemplary plot of input generation; Accompanying drawing 3 is the single part grid surface of object effect exemplary plot; Accompanying drawing 4 is three-dimensional model surface to be carried out to the method exemplary plot of texture mapping; Accompanying drawing 5 is partial 3-D free form body Model exemplary plot that this method design generates, accompanying drawing 5 (a) is the input two dimensional image that comprises generation animal to be reconstructed and has provided the lines of outline that user interactions is described, accompanying drawing 5 (b) is the three-dimensional structure curve that has recovered the three-dimensional body each several part after three-dimensional coordinate information, accompanying drawing 5 (c) is to rebuild the three-dimensional model Preliminary Results generating, accompanying drawing 5 (d, e) is the 3 D auto body after texture is synthetic and under two different visual angles, observes respectively the three-dimensional model of realistic effect.

Claims (1)

1. the 3 D auto form-creation method based on single image, comprises following three steps:
1) user, according to the single width two dimensional image of input, copies and depicts the line drawing figure that objects in images represents in mutual Freehandhand-drawing mode on the plane of delineation, and these lines can accurately reflect object each several part profile in vertical direction substantially; Point on system automatic capturing Freehandhand-drawing lines, and interpolation goes out corresponding quadratic b-spline curve, use the polygon broken line of the summit formation of uniform sampling from smooth quafric curve to carry out discretize to the Freehandhand-drawing lines of user's input, and preserve successively the curve construction pair of each subdivision of object;
2) calculating of each subdivision curve construction depth coordinate of three-dimensional body and the discrete generation of three-dimensional model; For calculate curve construction depth coordinate convenient for the purpose of, system is used and is drawn plane as XOY plane, the input line that comprises symmetric information is drawn as the parallel projection of three-dimensional body curve construction, projecting direction is perpendicular to drawing plane;
First determine the curve construction of each subdivision of object and calculate their three-dimensional coordinate information, the curve construction collection of each subdivision of object comprises two symmetrical curves and two general curves conventionally; First travel through all symmetrical curves, the three-dimensional coordinate information of symmetrical curve can calculate according to the known plane of symmetry, and the three-dimensional symmetrical curve of generation can be calculated by the symmetrical curve with a part of to guarantee the general curve in each part again match its corresponding object subdivision according to the annexation between curve;
Object each several part can be categorized into two kinds of dissimilar subdivisions: about the certainly symmetrical single part of the plane of symmetry with about two symmetrical parts of the plane of symmetry; This two classes subdivision is different in the method for calculating ordinary construction curve; General curve in symmetric part situation can directly be calculated by its symmetrical curve; And in mutual symmetric part situation, only need to utilize symmetrical curve to calculate the general curve of one of them subdivision, the general curve of another part can utilize symmetry to obtain by mutual antimeric general curve;
Summit x coordinate on hand-drawing line in two-dimentional Freehandhand-drawing plane is drawn and y coordinate reality are corresponding to x coordinate and the y coordinate on summit on three-dimensional body, and what need recovery is only the z coordinate on each summit; For two symmetrical curves in each subdivision, can utilize following formula to calculate their each sampled point z coordinates:
z si = - 1 2 ( ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s + ( x si - x si ′ ) · x g z g + ( y si - y si ′ ) · y g z g )
z si ′ = - 1 2 ( ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s + ( x si - x si ′ ) · x g z g + ( y si - y si ′ ) · y g z g ) - - - ( 1 )
Wherein, z siand z ' sifor symmetric points z coordinate to be asked, x si, x ' siand y si, y ' sibe respectively the x of symmetric points, y coordinate, N s(x s, y s, z s) be plane of symmetry normal vector, N g(x g, y g, z g) for being positioned at a vector of the plane of symmetry; Meanwhile, for each subdivision, can utilize following formula to calculate the z coordinate points of a pair of general curve up-sampling point separately:
z gi = - 1 2 ( ( 2 x gi - x si - x si ′ ) · x s z s + ( 2 y gi - y si - y si ′ ) · y s z s + ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s ) z gi ′ = - 1 2 ( ( 2 x gi ′ - x si - x si ′ ) · x s z s + ( 2 y gi ′ - y si - y si ′ ) · y s z s + ( x si + x si ′ ) · x s z s + ( y si + y si ′ ) · y s z s ) - - - ( 2 )
Wherein, z giand z ' gifor asymmetric generic point z coordinate to be asked, x gi, x ' giand y gi, y ' gibe respectively the x of asymmetric generic point, y coordinate; In addition, for a subdivision and another subdivision in object, about the symmetrical situation of the plane of symmetry, it is as follows that method can be utilized by the asymmetric general curve of one of them subdivision symmetry automatically to calculate the asymmetric general curve of another subdivision:
x gi ′ = ( ( y s ) 2 + ( z s ) 2 - ( x s ) 2 ) · x gi - 2 x s · ( y gi · y s + z gi · z s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 y gi ′ ( ( x s ) 2 + ( z s ) 2 - ( y s ) 2 ) · y gi - 2 y s · ( x gi · x s + z gi · z s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 z gi ′ ( ( x s ) 2 + ( y s ) 2 - ( z s ) 2 ) · z gi - 2 z s · ( x gi · x s + y gi · y s ) ( x s ) 2 + ( y s ) 2 + ( z s ) 2 - - - ( 3 )
Wherein, x s, y sand z sbe respectively plane of symmetry normal vector coordinate, x gi, y giand z gibe respectively the x of asymmetric point on general curve, y and z coordinate;
Thereby, about the object subdivision situation of the plane of symmetry self symmetry, according to the plane of symmetry of user's appointment, first utilize (1) formula to calculate the three-dimensional coordinate of two symmetrical curve up-sampling points, obtain corresponding three-dimensional structure curve; Recycling (2) formula calculates the three-dimensional coordinate of two asymmetric general curve up-sampling points, obtains corresponding three-dimensional structure curve; For a subdivision and another subdivision in object about the symmetrical situation of the plane of symmetry, to belonging to respectively two pairs of symmetrical curves of two subdivisions, first utilize (1) formula to calculate respectively the three-dimensional coordinate of every pair of symmetrical curve up-sampling point, obtain corresponding three-dimensional structure curve; Then utilize (2) formula to calculate the three-dimensional coordinate of two asymmetric general curve up-sampling points of one of them subdivision, obtain corresponding three-dimensional structure curve; Finally utilize (3) formula by two asymmetric general curves of last subdivision, to be calculated the three-dimensional coordinate of two asymmetric general curve up-sampling points of another subdivision, obtain corresponding three-dimensional structure curve;
After each part has been determined curve construction separately, utilize rotation mixed method just can generate corresponding parametric surface, and parametric surface discretize is obtained representing the three-dimensional grid model of free body;
3) in order to generate the 3 D auto body with the height sense of reality, utilize the texture information of object visible part in input picture, need to be in input picture be given on the three-dimensional grid model surface generating the color and vein information of object; Yet, according to single width input picture, rebuild the color and vein that the three-dimensional model generating can only obtain objects in images visible part, consider the symmetry characteristic of the 3 D auto body that we generate, can the monosymmetric part of the hypothesized model plane of symmetry there is identical texture, thereby only need give texture information to the model part of the object plane of symmetry one side, the texture information of model opposite side can utilize symmetry conveniently to obtain; The final 3 D auto body with the height sense of reality that generates.
CN201410277462.8A 2014-06-20 2014-06-20 Method for generating three-dimensional free body based on one image Active CN104143211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410277462.8A CN104143211B (en) 2014-06-20 2014-06-20 Method for generating three-dimensional free body based on one image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410277462.8A CN104143211B (en) 2014-06-20 2014-06-20 Method for generating three-dimensional free body based on one image

Publications (2)

Publication Number Publication Date
CN104143211A true CN104143211A (en) 2014-11-12
CN104143211B CN104143211B (en) 2017-01-25

Family

ID=51852379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410277462.8A Active CN104143211B (en) 2014-06-20 2014-06-20 Method for generating three-dimensional free body based on one image

Country Status (1)

Country Link
CN (1) CN104143211B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108352083A (en) * 2015-11-06 2018-07-31 微软技术许可有限责任公司 2D image procossings for being drawn into 3D objects
CN109448733A (en) * 2019-01-07 2019-03-08 广州势必可赢网络科技有限公司 A kind of sound spectrograph generation method, system and relevant apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0950988A2 (en) * 1998-04-14 1999-10-20 Shima Seiki Mfg., Ltd. Three-Dimensional image generating apparatus
KR100454440B1 (en) * 2001-08-22 2004-10-28 김지신 System and method of making 3D body model
CN101937579A (en) * 2010-09-20 2011-01-05 南京大学 Method for creating three-dimensional surface model by using perspective sketch
CN102831638A (en) * 2012-07-06 2012-12-19 南京大学 Three-dimensional human body multi-gesture modeling method by adopting free-hand sketches
CN103226846A (en) * 2013-03-22 2013-07-31 浙江工业大学 Three-dimensional carving method based on hand-drawn lines
CN103473811A (en) * 2013-08-20 2013-12-25 浙江工业大学 Convenient generation method of three-dimensional solid model based on two-dimensional freehand line drawing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0950988A2 (en) * 1998-04-14 1999-10-20 Shima Seiki Mfg., Ltd. Three-Dimensional image generating apparatus
KR100454440B1 (en) * 2001-08-22 2004-10-28 김지신 System and method of making 3D body model
CN101937579A (en) * 2010-09-20 2011-01-05 南京大学 Method for creating three-dimensional surface model by using perspective sketch
CN102831638A (en) * 2012-07-06 2012-12-19 南京大学 Three-dimensional human body multi-gesture modeling method by adopting free-hand sketches
CN103226846A (en) * 2013-03-22 2013-07-31 浙江工业大学 Three-dimensional carving method based on hand-drawn lines
CN103473811A (en) * 2013-08-20 2013-12-25 浙江工业大学 Convenient generation method of three-dimensional solid model based on two-dimensional freehand line drawing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
FREDERIC CORDIER等: "Inferring mirror symmetric 3D shapes from sketches", 《COMPUTER-AIDED DESIGN》 *
FREDERIC CORDIER等: "Sketching of Mirror-Symmetric Shapes", 《IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS》 *
刘凯 等: "三维复杂曲面的手绘生成方法", 《计算机辅助设计与图形学学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108352083A (en) * 2015-11-06 2018-07-31 微软技术许可有限责任公司 2D image procossings for being drawn into 3D objects
CN108352083B (en) * 2015-11-06 2022-06-07 微软技术许可有限责任公司 2D image processing for stretching into 3D objects
CN109448733A (en) * 2019-01-07 2019-03-08 广州势必可赢网络科技有限公司 A kind of sound spectrograph generation method, system and relevant apparatus

Also Published As

Publication number Publication date
CN104143211B (en) 2017-01-25

Similar Documents

Publication Publication Date Title
Hu et al. Fast tetrahedral meshing in the wild
Ju Fixing geometric errors on polygonal models: a survey
Bojsen-Hansen et al. Tracking surfaces with evolving topology.
Huo et al. Window-shaping: 3d design ideation by creating on, borrowing from, and looking at the physical world
CN103473806A (en) Method for building clothing three-dimensional model based on single image
Pérez et al. A comparison of hole-filling methods in 3D
KR20100073173A (en) Method and apparatus for reconstruction 3 dimension model
Cordier et al. Inferring mirror symmetric 3D shapes from sketches
US20160117859A1 (en) Method and systems for generating a three dimensional model of a subject
CN107680154B (en) View-based voxel geometric parameter extraction method
Miao et al. SymmSketch: Creating symmetric 3D free-form shapes from 2D sketches
CN104143211A (en) Method for generating three-dimensional free body based on one image
CN102693065A (en) Method for processing visual effect of stereo image
Junior et al. A 3D modeling methodology based on a concavity-aware geometric test to create 3D textured coarse models from concept art and orthographic projections
Zhang et al. Line-based sunken relief generation from a 3D mesh
Maghoumi et al. Gemsketch: Interactive image-guided geometry extraction from point clouds
Muraki et al. Curve Mesh Modeling Method of Trimmed Surfaces for Direct Modeling
CN106981096A (en) A kind of modeling method approached in VR environment based on Convolution Surface
Bui et al. Height-field construction using cross contours
CN105957141A (en) Symmetric structure-based three-dimensional flower modeling method
Bae et al. Digital styling for designers: 3D plane-symmetric freeform curve creation using sketch interface
CN103985152B (en) Three-dimensional symmetrical free body generation method based on two-dimensional hand-painted line drawing
Xia et al. 3d dental mesh repairing using template-based deformation
Casati et al. Approximate Reconstruction of 3D Scenes From Bas-Reliefs
Mulder Automatic repair of geometrically invalid 3D city building models using a voxel-based repair method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant