CN103955960B - Image viewpoint transformation method based on single input image - Google Patents

Image viewpoint transformation method based on single input image Download PDF

Info

Publication number
CN103955960B
CN103955960B CN201410107055.2A CN201410107055A CN103955960B CN 103955960 B CN103955960 B CN 103955960B CN 201410107055 A CN201410107055 A CN 201410107055A CN 103955960 B CN103955960 B CN 103955960B
Authority
CN
China
Prior art keywords
image
prime
point
cube structure
dimensional
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.)
Expired - Fee Related
Application number
CN201410107055.2A
Other languages
Chinese (zh)
Other versions
CN103955960A (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.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CN201410107055.2A priority Critical patent/CN103955960B/en
Publication of CN103955960A publication Critical patent/CN103955960A/en
Application granted granted Critical
Publication of CN103955960B publication Critical patent/CN103955960B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an image viewpoint transformation method based on a single input image. The method comprises the following steps: step one, interactively deducting a cube structure contained in an image and marking a typical line in the image; step two, reconstructing a three-dimensional scene through combination with the space characteristics of a cube object by use of the imaging principle of a pinhole camera, the three-dimensional scene being capable of completely simulating a real three-dimensional scene during viewpoint transformation; step three, under the condition that a focal length is not changed, through the viewpoint transformation, projecting the reconstructed three-dimensional scene to an image plane corresponding to a new viewpoint; step four, according to interaction constraints, performing Delaunay triangle gridding with constraints; step five, by taking a scene theme structure constraint obtained through reprojection in step three as deformation driving, solving a grid deformation energy equation formed in step four by use of a method for solving an energy equation; and step six, by use of a target grid obtained through solving, mapping grid textures corresponding to the target grid in an original image one by one to generate a target image.

Description

A kind of image viewpoint change method based on single width input picture
Technical field
The present invention relates to a kind of image viewpoint change method based on single width input picture, belong to Computer Image Processing andMultimedia information technology process field.
Background technology
Along with the hardware improvement of digital camera and the development of image editing software, people can obtain height more easilyThe image frame of quality. But the captured photo of a large amount of shutterbugs is but often because choosing of visual angle caused whole pictureThe not nature of face. For instance, cameraman may be oblique originally clapping askew bat perpendicular to the building on ground, make shooting effect fromSo, how to proofread and correct the photo that such agent structure tilts and there is good using value. In this case, people begin one's studyImage viewpoint transfer problem. Traditional mode is first to utilize the image of multiple Same Scene to carry out registration, then carries out three-dimensionalRebuild, recycle existing three-dimensional structure and under new viewpoint, carry out re-projection and play up the image frame obtaining under new viewpoint. ThisThe remarkable shortcoming of kind method is to need multiple input pictures or a lot of artificial mutual to carry out the accurate weight of three-dimensional scenic of needsBuild, all infeasible for complicated a little three-dimensional scenic, therefore the applicability of these class methods and efficiency are all very low, and effect is also owedGood.
Summary of the invention
Goal of the invention: the invention provides a kind of image viewpoint change method based on single width input picture, make userBy seldom and easily obtaining the image after viewpoint change with simple calculating alternately.
Technical scheme: the invention discloses a kind of image viewpoint change method based on single width input picture, mainly compriseFollowing steps:
Step 1, image is mutual: by the cube structure in manual interactively pick-up image, specifically pass through its of mark side's bodyIn six corresponding image projection pixels of point, be designated as (p0,p1,p2,p3,p4,p5), wherein (p0,p1,p2,p3) corresponding threeDimensional plane is perpendicular to (p0,p1,p5,p4) corresponding three-dimensional planar, p0p1Corresponding space line is the intersection of two planes, mutualTo the characteristic curve in image, comprise the characteristic curve that affects picture material, horizontal and vertical constraint line segment and specify image borderLine;
Step 2, utilizes pinhole camera image-forming principle to rebuild a three-dimensional scenic in conjunction with the spatial character of cube structure object,In the time of viewpoint change, utilize this scene structure three-dimensional scene structure that is virtually reality like reality, cube structure in hypothesis three-dimensional scenicOn the basis that the picture point on image overlaps with it, one of them summit, the geometrical constraint that the side's of utilization body comprises, calculates (p0, p1,p2,p3,p4,p5) square body space point coordinates (P in corresponding three-dimensional scenic0 T,P1 T,P2 T,P3 T,P4 T,P5 T);
Step 3, utilizes the square body corresponding to space coordinates of six points that under new viewpoint, re-projection step 2 calculates, and comesThe three-dimensional scenic that representative is rebuild: as the centre of sphere, arrive the distance of camera with simulated scenario center at the initial point O taking place, simulated scenario centerFrom | in the ball plane that OF| is radius, define a new viewpoint O', by the three-dimensional cube structure (P rebuilding0 T,P1 T,P2 T,P3 T,P4 T, P5 T) again project to picture plane corresponding to new viewpoint;
Step 4, image triangle gridding: according to the interactive structure of step 1, utilize the Delaunay trigonometric ratio pair of belt restrainingImage carries out triangle gridding; The algorithm of Delaunay trigonometric ratio can be referring to " computational geometry (the 3rd edition) Burger work, world bookThe 2013-10-1 of publishing house publishes, ISBN:9787510061776 ";
Step 5, mesh parameterization: utilize conformal projection and various feature to keep constraint principles to set up mesh parameterizationEquation, utilizes scene side's body framework that step 4 re-projection obtains to build the hard constraint of projection mapping, solves parametrization energy sideJourney, obtains target gridding;
Step 6, target image generates: solve the grid obtaining according to step 5, by corresponding with target gridding in original imageGrid texture utilize bilinear interpolation method to be mapped to one by one corresponding target gridding, generate target image.
In step 1, by manually obtaining alternately the image implicit cube structure that accounts for image subject structure and characteristic curve.
Step 1 comprises following steps:
Step 11, described single width input picture, implicit cube structure in its scene, manually the party's body in interactively pick-up imageThe projection of structure, with wherein six the corresponding image projection pixel of point (p of square body0,p1,p2,p3,p4,p5) represent thisCube structure, wherein (p0,p1,p2,p3) corresponding space three-dimensional planar quadrature is in (p0,p1,p5,p4) corresponding three-dimensional is flatFace, p0p1Corresponding space line is the intersection of two planes;
Step 12, the cube structure (p obtaining according to step 110,p1,p2,p3,p4,p5), by cube structure (p in image0, p1,p2,p3,p4,p5) between the line that comprises be all labeled as hard constraint characteristic curve, on these hard constraint characteristic curves, extract equablyTriangle gridding summit, concrete grammar is as follows: to a specific hard constraint characteristic curve, starts to get a little from one end, every along rectilinear directionGet the next point on this straight line every 25 pixel distances, until the other end of straight line, for institute on all hard constraint characteristic curvesThe grid vertex of obtaining, is designated as { vc1,vc2,...,vck, the grid that wherein ck representative is extracted is here determined summit sum;
Step 13, obtains the characteristic straight line in image alternately, comprises the characteristic curve that affects picture material, and horizontal and vertical approximatelyEvenly get a little on these lines bunch section and specify image boundary line, and concrete grammar is as follows: to a special characteristic line constraintStraight line, starts to get a little from one end, gets the next point on this straight line along rectilinear direction every 25 pixel distances, until straight lineThe other end;
Step 14, for the indicatrix in image, for example, is the circular sun originally, extracts successively triangle on curveMesh point, concrete grammar is as follows: from one end of indicatrix, along indicatrix prolonging direction, with about 25 pixelsDistance is as getting an interval, until arrive the other end of indicatrix. .
In step 2, utilize the space geometry structure of pinhole camera image-forming principle and square body object to set up the three-dimensional of simulationCube structure model.
Step 2 specifically comprises the following steps:
Step 21, taking picture centre as initial point O (0,0,0), O to camera loca F (0,0, f) be Z axis forward, image is flatThe transverse axis of face and y direction are that XY direction is set up three-dimensional world coordinate system, and wherein f is camera focus, specifically with reference to Fig. 3;
Step 22, calculates straight line p0p3With straight line p1p2Intersection point c1, straight line p0p4With straight line p1p5Intersection point c2, aobviousSo in three dimensions, straight line Fc1With straight line P0 TP3 T,P1 TP2 TIntersect at infinite point, obviously have Fc1Put down and straight line P0 TP3 T, withSample straight line Fc2With straight line P0 TP4 T,P1 TP5 TIntersect at infinite point, obviously have Fc2Put down and straight line P0 TP4 T, according to P0 TP3 T⊥ P0 TP5 T, obtainObtain focal distance f so solve;
Step 23, in note real scene on square body corresponding to cube structure (p in image0,p1,p2,p3,p4,p5) sixPoint is (Q0,Q1,Q2,Q3,Q4,Q5), have according to pin-hole imaging model:K=0,1 ..., 5, whereinRepresentative toAmountWithBetween ratio, same, in simulated scenario with (p0,p1,p2,p3,p4,p5) corresponding (P0 T, P1 T,P2 T,P3 T,P4 T,P5 T), must have equallyK=0,1 ..., 5 set up, wherein rk representation vectorWithBetween ratio, fixing r0Value be 1, utilizeWithSolve r1,r2,r3,r4,r5; WhenTime, PiWith QiOverlap completely, now we can count completelyCalculate in real scene cube structure corresponding to (p0,p1,p2,p3,p4,p5) true coordinate, otherwise have Pi TPj T//QiQjSet up,Both (P0 T,P1 T,P2 T,P3 T,P4 T,P5 T) form model be (Q0,Q1,Q2,Q3,Q4,Q5) convergent-divergent of component model;
Step 24, the ratio r obtaining according to step 230,r1,r2,r3,r4,r5, calculate in simulated scenario corresponding to square bodyStructure (p0,p1,p2,p3,p4,p5) cube structure (P0 T,P1 T,P2 T,P3 T,P4 T,P5 T), set P0 TWith p0Overlap, definition sceneCenter was summit P in cube structure in scene0 TSubpoint on primary optical axis is initial point O, in simulated scenario herein justThe heart drops on initial point, corresponding to Q in real scene0Subpoint on primary optical axis, real scene center OQ
In step 3, the three-dimensional cube structure of shadow simulation again under new viewpoint.
Step 3 specifically comprises the following steps:
Step 31, the cube structure (P obtaining according to step 240 T,P1 T,P2 T,P3 T,P4 T,P5 T) we are taking O as the center of circle |OF| gets a new viewpoint O' on the sphere of radius at random, whereinWithAngle be no more than 45 degree, through simulation yardScape center O structure perpendicular to the planar I of OO' ', try to achieve point (P0 T,P1 T,P2 T,P3 T,P4 T,P5 T) with the line of O' and planar I 'Intersection point (p'0,p1',p'2,p'3,p'4,p'5), complete the projection of cube structure under new viewpoint in simulated scenario;
Step 32, by normal vectorObtain unit vector x' with the multiplication cross of vertical vector (0,1,0), by x' withForkTake advantage of and obtain unit vector y', on plane of delineation I' taking O as initial point, vector x ' direction is abscissa forward, vectorial y' direction isOrdinate forward is set up image two-dimensional coordinate system, willI=0,1,2 ..., 5 project to respectively vector x ', y' both directionUpper, obtain intersection point (p'0,p1',p'2,p'3,p'4,p'5) two-dimensional coordinate on plane of delineation I', be designated as (q0,q1,q2,q3,q4, q5), we have obtained in original image on cube structure the two dimension that six points are projected on target image under new viewpoint and have sat like thisMark.
In step 4, utilize the grid vertex extracting to carry out Delaunay trigonometric ratio to image.
Step 4 specifically comprises the following steps:
Step 41, on the basis of the feature grid point obtaining in step 1, evenly adopts a little at random for the remaining area of imageAs grid vertex;
Step 42, in the process of trigonometric ratio, with the mutual characteristics of image line of step 1, gets adjacent top on same characteristic curvePoint line, as triangle gridding limit, utilizes the Delaunay trigonometric ratio of belt restraining to carry out triangle gridding to image, DelaunayThe algorithm of trigonometric ratio can referring to " computational geometry (the 3rd edition) the Burger work world book 2013-10-1 of publishing house publishes, ISBN: 9787510061776”。
In step 5, the energy constraint of construct image distortion.
Step 5 specifically comprises the following steps:
Step 51, (the p that utilizes step 32 to calculate0,p1,p2,p3,p4,p5) under corresponding new viewpoint in picture planePixel (q0,q1,q2,q3,q4,q5), utilizeCalculate a v'ciCorresponding some v'ci, wherein vciForGrid vertex on original image hard constraint characteristic straight line, ps,peFor vciTwo end points on the hard constraint characteristic straight line of place, qs, qeFor being respectively and ps,peCorresponding point, i.e. { vc1,vc2,...,vckUnder new viewpoint O', be mapped as { v'c1,v'c2,..., v'ck, remember that it is F that its corresponding hard constraint closesC(v'c1,v'c2,...,v'ck)=0, shows v in the time that anamorphose is shone uponiReflectedBe mapped to vi';
Step 52, definition shape constraining: two-dimentional triangle gridding affine transformation is designated as to M:(x, y) → (x', y'), according to KeXi ?Riemann (Cauchy – Riemann) equation have:
∂ M ∂ x + i ∂ M ∂ y = 0
Wherein i is imaginary unit, about Ke Xi ?Riemann equation, and can be referring to " LSCM:Least squares conformal maps for automatic texture atlas generation,ACM Transactions on Graphics,21(3): 362 ?372. ", mapping Jacobian matrix corresponding to M has following form:
J = a b b - a - - - ( 1 )
Wherein a, b value is any, in order to equate and the relation of opposite number each other between each element in representing matrix J;
Corresponding former grid is to the conversion of target gridding, and we adopt radiation conversion; Remember that former triangle is T (vti,vtj,vtk), vti,vtj,vtkFor its three summits, after its corresponding viewpoint change, deforming triangle to be solved is T'(v'ti,v'tj,v'tk), v'ti,v'tj,v'tkFor with vti,vtj,vtkThree summits one to one, A=T'T-1The affine transformation matrix from T to T', T-1There is following form:
T - 1 = a 1 b 1 d 1 a 2 b 2 d 2 a 3 b 3 d 3 = x ti x tj x tk y ti y tj y tk z ti z tj z tk - 1 - - - ( 2 )
Wherein, xti,xtj,xtkFor a vti,vtj,vtkAbscissa on image, yti,ytj,ytkFor a vti,vtj,vtk?Ordinate on image, zti,ztj,ztkFor for representing vti,vtj,vtkOrdinate, unified value is 1 here; a1,a2,a3, b1,b2,b3,c1,c2,c3It is matrix T-1In the Parametric Representation of each element, value is all the constant calculating, by formula (1) and (2)Obtain the following energy equation of conformal projection:
ETJ1=a1x'ti+a2x'tj+a3x'tk+(b1y'ti+b2y'tj+b3y'tk)(3)
ETJ2=b1x'ti+b2x'tj+b3x'tk-(a1y'ti+a2y'tj+a3y'tk)
Wherein x'ti,x'tj,x'tkBe respectively v'ti,v'tj,v'tkAbscissa value, y'ti,y'tj,y'tkBe respectively v'ti, v'tj,v'tkOrdinate value, their gangs are obtained:
E S = Σ T ( E TJ 1 2 + E TJ 2 2 ) - - - ( 4 )
Defined feature line constraint: note (vi,vj,vk) be continuous three points on a characteristic curve, keepWithItBetween ratio rljAnd anglec of rotation θlj, be defined as follows target equation:
E L = Σ ( v li , v lj , v lk ) | | ( v lk ′ - v lj ′ ) - r lj R lj ( v lj ′ - v li ′ ) | | 2 - - - ( 5 )
Wherein R lj = cos θ lj - sin θ lj sin θ lj cos θ lj ,
Definition vertical constraint: remember that the mesh point on vertical line segment lv is designated as { vlv1,vlv2,...,vlvm, vertical constraint representsFor:
E V = Σ lv Σ nv = 1 lvm ( x nv ′ - x lv 1 ′ ) 2 - - - ( 6 ) ,
Wherein x'nvRepresent some v'nvAbscissa, x'lv1Represent some v'lv1Abscissa.
Definition horizontal restraint: the mesh point on note horizontal line section lh is designated as { vlh1,vlh2,...,vlhm, vertical constraint representsFor: E H = Σ lh Σ nh = 1 lhm ( x nh ′ - x lh 1 ′ ) 2 - - - ( 7 ) ,
Wherein y'nvRepresent some v'nvAbscissa, yl'h1Represent some v'lh1Abscissa.
Specify according to user interactions, non-rigid Characteristic constraint line is appointed as in part or all of original image border, note (vbi,vbj,vbk) be continuous three the feature summits on boundary characteristic line, keepWithBetween ratio rbjDefinition figureThe boundary constraint E of pictureBAs follows;
E B = Σ ( v bi , v bj , v bk ) | | ( v bk ′ - v bj ′ ) - r bj ( v bj ′ - v bi ′ ) | | 2 - - - ( 8 ) ,
Wherein rbjForWithBetween ratio.
Step 53, comprehensive step 51 and step 52, represent that the energy equation of mesh parameterization is as follows:
argmaxλSESLELVEVHEHBEB(9)
s.t.FC(v1',v'2,...,v'k)=0
Wherein λSLVHBFor weights corresponding to each energy term, in actual running for different picturesParameter has certain adjustment, provides one group of empirical parameter value as follows: λ through too much group experiment pictureSGet 1, λLWith λBGet 100, λVWith λHGet 10.
In step 6, utilize grid pinup picture to generate target image.
Step 6 specifically comprises the following steps:
Step 61, according to equation (9), solves and the target triangle gridding that in original image, each triangle gridding is corresponding,Adopt the method for bilinear interpolation to be mapped to corresponding target triangle gridding the picture texture in former triangle gridding, form targetImage.
Beneficial effect: the present invention comprises following advantage:
(1) can process situation and the more shirtsleeve operation flow process of only having single width scene graph, without several scene graphAs inputting and avoided complicated image registration operation.
(2) user interactions easily comparatively on a small quantity. Than adopting pure craft to simulate the method for viewpoint change, thisBright method interworking amount reduces greatly, only needs manually to mark out alternately cube structure and a small amount of characteristic curve of main body, protectsDemonstrate,prove the ease for use of method.
(3) authenticity of effect. Due to taking individual real shooting photo as input, generate result images by anamorphose, knotFruit image effect is good, and the present invention supports the manual mark of user need to keep the characteristic curve of shape in addition, and therefore result images is not allowedBe prone to the distortion flaw highlighting.
(4) processing speed and robustness fast. Remove user interactions, the inventive method can obtain about 0.1 secondResult images.
Brief description of the drawings
Below in conjunction with the drawings and specific embodiments, the present invention is done further and is illustrated, the present invention above-mentioned and/Or otherwise advantage will become apparent.
Fig. 1 is the basic flow sheet of the inventive method.
Fig. 2 is the implicit cube structure schematic diagram to image interactively pick-up that the present invention describes.
Fig. 3 is simulation three-dimensional structure and the true three-dimension re-projection uniformity schematic diagram that the present invention describes.
Fig. 4 is the example flow chart that the inventive method is implemented.
Fig. 5 is the inventive method result and Lightroom software institute of Adobe Systems Inc of the U.S. (Adobe Systems)The comparative effectiveness figure of the method realizing.
Fig. 6 is that the inventive method simulation ken ball is observed the generation design sketch of image scene.
Detailed description of the invention:
The flow process of this method as shown in Figure 1. First take off alternately in the cube structure and mark image comprising in imageIndicatrix; Then utilize the spatial character of pinhole camera image-forming principle and square body object to recover the three-dimensional structure of simulation;And then change by viewpoint, the three-dimensional structure re-projection recovering is arrived to picture plane corresponding to new viewpoint; Retrain figure according to mutualPicture carries out triangle gridding; Use the result that step 3 re-projection obtains to drive as distortion, utilize the method that solves energy equationGrid is carried out to parametrization to be solved; Finally generate target image by texture mapping interpolation. The present invention can be certain spherical lookingWithin the scope of territory, the object of individual input picture is carried out to three-dimensional simulation observation, form continuous real scene simulation, specifically can be referring to Fig. 4Example flow chart.
Specifically, as shown in Figure 1, a kind of image viewpoint change method based on single width input picture:
Step 1, image is mutual: by the cube structure in manual interactively pick-up image, specifically pass through its of mark side's bodyIn six the corresponding image projection pixel of point (p0,p1,p2,p3,p4,p5), wherein (p0,p1,p2,p3) corresponding three-dimensional is flatFace is perpendicular to (p0,p1,p5,p4) corresponding three-dimensional planar, p0p1Be the intersection of two planes, specifically as shown in Figure 2, obtain alternately figureCharacteristic curve in picture, comprises the characteristic curve that affects picture material, horizontal and vertical line segment and specify image boundary line;
Step 2, utilizes pinhole camera image-forming principle to rebuild a three-dimensional scenic in conjunction with the spatial character of cube structure object,In the time of viewpoint change, utilize this scene structure three-dimensional scene structure that is virtually reality like reality, cube structure in hypothesis three-dimensional scenicOn the basis that the picture point on image overlaps with it, one of them summit, the geometrical constraint that the side's of utilization body comprises, calculates (p0, p1,p2,p3,p4,p5) square body space point coordinates (P in corresponding three-dimensional scenic0 T,P1 T,P2 T,P3 T,P4 T,P5 T);
Step 3, utilizes the square body corresponding to space coordinates of six points that under new viewpoint, re-projection step 2 calculates, and comesThe three-dimensional scenic that representative is rebuild: with simulated scenario center, initial point O is the centre of sphere, the distance with simulated scenario center to camera |OF| defines a new viewpoint O' in the ball plane of radius, by reconstruction of three-dimensional cube structure (P0 T,P1 T,P2 T,P3 T,P4 T,P5 T) heavyNewly project to picture plane corresponding to new viewpoint;
Step 4, image triangle gridding: according to the interactive structure of step 1, utilize the Delaunay trigonometric ratio pair of belt restrainingImage carries out triangle gridding; The algorithm of Delaunay trigonometric ratio can be referring to " computational geometry (the 3rd edition) Burger work, world bookThe 2013-10-1 of publishing house publishes, ISBN:9787510061776 ";
Step 5, mesh parameterization: utilize conformal projection principle and various feature to keep constraint to set up mesh parameterizationEquation, utilizes scene side's body framework that step 4 re-projection obtains to build the hard constraint of projection mapping, solves parametrization energy sideJourney, obtains target gridding;
Step 6, target image generates: solve the grid obtaining according to step 5, by corresponding with target gridding in original imageGrid texture utilize bilinear interpolation method to be mapped to one by one corresponding target gridding, generate target image.
In step 1, by manually obtaining alternately the image implicit cube structure that accounts for image subject structure and characteristic curve.
Step 1 comprises following steps:
Step 11, as shown in Figure 2, by the projection structure of cube structure implicit in manual interactively pick-up image, weGenerally choose 6 such point (p0,p1,p2,p3,p4,p5), it is corresponding to 6 point (Q on square body in real scene0,Q1,Q2, Q3,Q4,Q5), wherein (Q0,Q1,Q2,Q3) on same side surface, (Q0,Q1,Q3,Q4) coexist on a square surface, andThere is Q0Q3//Q1Q2,Q0Q4//Q1Q5,Q0Q4⊥Q0Q1,Q0Q3⊥Q0Q1
Step 12, the cube structure (p obtaining according to step 110,p1,p2,p3,p4,p5), by cube structure (p in image0, p1,p2,p3,p4,p5) between the line that comprises be all labeled as hard constraint characteristic curve, on these hard constraint characteristic curves, extract equablyTriangle gridding summit, concrete grammar is as follows: to a specific hard constraint characteristic curve, starts to get a little from one end, every along rectilinear directionGet the next point on this straight line every 25 pixel distances, until the other end of straight line, for institute on all hard constraint characteristic curvesThe grid vertex of obtaining, is designated as { vc1,vc2,...,vck, the hard constraint grid that wherein ck representative is extracted is determined summit sum;
Step 13, obtains the characteristic straight line in image alternately, comprises the Eigenvector that affects picture material, horizontal and verticalEvenly get a little on these line segments constraint line segment and specify image boundary line, and concrete grammar is as follows: straight to a special characteristicLine, we start to get a little from its one end, get the next point on this straight line along rectilinear direction every 25 pixel distances, until straightThe other end of line;
Step 14, for the indicatrix in image, for example, is the circular sun originally, extracts successively triangle on curveMesh point, concrete grammar is as follows: since one end of an indicatrix, along indicatrix prolonging direction, with about 25Pixel distance is as getting an interval, until arrive the other end of indicatrix.
In step 2, utilize the space geometry structure of pinhole camera image-forming principle and square body object to set up the three-dimensional of simulationCube structure model.
Step 2 specifically comprises the following steps:
Step 21, taking picture centre as initial point O (0,0,0), O to camera loca F (0,0, f) be Z axis forward, image is flatThe transverse axis of face and y direction are that XY direction is set up three-dimensional world coordinate system, and wherein f is camera focus, specifically with reference to Fig. 3;
Step 22, calculates straight line p0p3With straight line p1p2Intersection point c1, straight line p0p4With straight line p1p5Intersection point c2, aobviousSo in three dimensions, straight line Fc1With straight line P0 TP3 T,P1 TP2 TIntersect at infinite point, obviously have Fc1Put down and straight line P0 TP3 T, withSample straight line Fc2With straight line P0 TP4 T,P1 TP5 TIntersect at infinite point, obviously have Fc2Put down and straight line P0 TP4 T, according to P0 TP3 T⊥ P0 TP5 T, obtainObtain focal distance f so solve;
Step 23, in note real scene on square body corresponding to cube structure (p in original image0,p1,p2,p3,p4,p5)Six points are cube structure (Q0,Q1,Q2,Q3,Q4,Q5), obviously we haveK=0,1 ..., 5,, whereinGenerationTable vectorWithBetween ratio, in simulated scenario and cube structure (p six points0,p1,p2,p3,p4,p5)Corresponding cube structure (P0 T,P1 T,P2 T,P3 T,P4 T,P5 T), must have equallyK=0,1 ..., 5 r whereinkRepresentation vectorWithBetween ratio, fixing r0Value be 1, utilize Solve r1,r2,r3,r4,r5; WhenTime, PiWith QiCompletely overlap, now weCan calculate in real scene cube structure completely corresponding to (p0,p1,p2,p3,p4,p5) true coordinate, otherwise have PiPj// QiQjSet up both (P0 T,P1 T,P2 T,P3 T,P4 T,P5 T) form model be (Q0,Q1,Q2,Q3,Q4,Q5) contracting of component modelPut;
Step 24, the ratio r obtaining according to step 230,r1,r2,r3,r4,r5Calculate in simulated scenario corresponding to square bodyStructure (p0,p1,p2,p3,p4,p5) cube structure (P0 T,P1 T,P2 T,P3 T,P4 T,P5 T), set P0 TWith p0Overlap, definition sceneCenter was summit P in cube structure in scene0 TSubpoint on primary optical axis is initial point O herein, and simulated scenario center fallsOn initial point, corresponding to Q in real scene0Subpoint on primary optical axis, real scene center OQ
In step 3, the three-dimensional cube structure of shadow simulation again under new viewpoint.
Step 3 specifically comprises the following steps:
Step 31, the simulation cube structure (P obtaining according to step 20 T,P1 T,P2 T,P3 T,P4 T,P5 T), we are taking O as roundThe heart | on the sphere that OF| is radius, get at random a new viewpoint O', whereinWithAngle be no more than 45 degree, cross simulation yardScape center O structure perpendicular to the planar I of OO' ', try to achieve point (P0 T,P1 T,P2 T,P3 T,P4 T,P5 T) with the line of O' and planar I 'New intersection point (p'0,p1',p'2,p'3,p'4,p'5), complete the projection of cube structure under new viewpoint in simulated scenario;
Step 32, by normal vectorObtain unit vector x' with the multiplication cross of vertical vector (0,1,0), by x' withForkTake advantage of and obtain unit vector y', on plane of delineation I' taking O as initial point, vector x ' direction is abscissa forward, vectorial y' direction isOrdinate forward is set up image two-dimensional coordinate system, willK=0,1,2 ..., 5 project to respectively vector x ', y' both directionUpper, obtain intersection point (p'0,p1',p'2,p'3,p'4,p'5) two-dimensional coordinate on plane of delineation I', be designated as point (q0,q1,q2,q3, q4,q5), we have obtained in original image six points on cube structure and under new viewpoint, have been projected in the two dimension on target image like thisCoordinate.
In step 4, utilize the grid vertex extracting to carry out Delaunay trigonometric ratio to image.
Step 4 specifically comprises the following steps:
Step 41, on the basis of the feature grid point obtaining in step 1, evenly adopts a little at random for the remaining area of imageAs grid vertex;
Step 42, in the process of trigonometric ratio, with the mutual characteristics of image line of step 1, gets adjacent top on same characteristic curvePoint line, as triangle gridding limit, utilizes the Delaunay trigonometric ratio of belt restraining to carry out triangle gridding to image, DelaunayThe algorithm of trigonometric ratio can referring to " computational geometry (the 3rd edition) the Burger work world book 2013-10-1 of publishing house publishes, ISBN: 9787510061776”。
In step 5, the energy constraint of construct image distortion.
Step 5 specifically comprises the following steps:
Step 51, (the p that utilizes step 32 to calculate0,p1,p2,p3,p4,p5) under corresponding new viewpoint in picture planePixel (q0,q1,q2,q3,q4,q5), utilizeCalculate a vciCorresponding some v'ci, wherein vciFor formerGrid vertex on image hard constraint characteristic straight line, ps,peFor vciTwo end points on the hard constraint characteristic straight line of place, qs,qeForBe respectively and ps,peCorresponding point, i.e. { vc1,vc2,...,vckUnder new viewpoint O', be mapped as { v'c1,v'c2,...,v'ck},Remember that it is F that its corresponding hard constraint closesC(v'c1,v'c2,...,v'ck)=0, shows v in the time that anamorphose is shone uponciBe mapped to v'ci
Step 52, definition shape constraining: two-dimentional triangle gridding affine transformation is designated as to M:(x, y) → (x', y'), according to KeXi ?Riemann (Cauchy – Riemann) equation have:
∂ M ∂ x + i ∂ M ∂ y = 0
Wherein i is imaginary unit, about Ke Xi ?Riemann equation, and can be referring to " LSCM:Least squares conformal maps for automatic texture atlas generation,ACM Transactions on Graphics,21(3): 362 ?372. ", mapping Jacobian matrix corresponding to M has following form:
Wherein a, b value is any, in order to equate and the relation of opposite number each other between each element in representing matrix J;
Corresponding former grid is to the conversion of target gridding, and we adopt radiation conversion; Remember that former triangle is T (vti,vtj,vtk), vti,vtj,vtkFor its three summits, after its corresponding viewpoint change, deforming triangle to be solved is T'(v'ti,v'tj,v'tk), v'ti,v'tj,v'tkFor with vti,vtj,vtkThree summits one to one, A=T'T-1The affine transformation matrix from T to T', T-1There is following form:
T - 1 = a 1 b 1 d 1 a 2 b 2 d 2 a 3 b 3 d 3 = x ti x tj x tk y ti y tj y tk z ti z tj z tk - 1 - - - ( 2 )
xti,xtj,xtkFor a vti,vtj,vtkAbscissa on image, yti,ytj,ytkFor a vti,vtj,vtkOn imageOrdinate, zti,ztj,ztkFor for representing vti,vtj,vtkOrdinate, unified value is 1 here; a1,a2,a3,b1,b2, b3,c1,c2,c3Be the Parametric Representation of each element in matrix T-1, value is all the constant calculating, pushed away by formula (1) and (2)The following energy equation of conformal projection:
ETJ1=a1x'ti+a2x'tj+a3x'tk+(b1y'ti+b2y'tj+b3y'tk) (3)
ETJ2=b1x'ti+b2x'tj+b3x'tk-(a1y'ti+a2y'tj+a3y'tk)
Wherein x'ti,x'tj,x'tkBe respectively v'ti,v'tj,v'tkAbscissa value, y'ti,y'tj,y'tkBe respectively v'ti, v'tj,v'tkOrdinate value, their gangs are obtained:
E S = Σ T ( E TJ 1 2 + E TJ 2 2 ) - - - ( 4 )
Defined feature line constraint: note (vi,vj,vk) be continuous three points on a characteristic curve, keepWithBetween ratio rljAnd anglec of rotation θlj, be defined as follows target equation:
E L = Σ ( v li , v lj , v lk ) | | ( v lk ′ - v lj ′ ) - r lj R lj ( v lj ′ - v li ′ ) | | 2 - - - ( 5 )
Wherein R lj = cos θ lj - sin θ lj sin θ lj cos θ lj ,
Define vertical and horizontal restraint: in target image, should strive the straight line that maintenance is originally horizontal or vertical, not lose oneAs property, suppose that the mesh point on vertical line segment lv is designated as { vlv1,vlv2,...,vlvm, vertical constraint can be expressed as:
E V = Σ lv Σ nv = 1 lvm ( x nv ′ - x lv 1 ′ ) 2 - - - ( 6 ) ,
Wherein x'nvRepresent some v'nvAbscissa, x'lv1Represent some v'lv1Abscissa. Definition horizontal restraint: note horizontal line sectionMesh point on lh is designated as { vlh1,vlh2,...,vlhm, vertical constraint is expressed as:
E H = Σ lh Σ nh = 1 lhm ( x nh ′ - x lh 1 ′ ) 2 - - - ( 7 ) ,
Wherein y'nvRepresent some v'nvAbscissa, yl'h1Represent some v'lh1Abscissa.
Specify according to user interactions, non-rigid Characteristic constraint line is appointed as in part or all of original image border, note (vbi,vbj,vbk) be continuous three the feature summits on boundary characteristic line, keepWithBetween ratio rbjDefinitionThe boundary constraint E of imageBAs follows;
E B = Σ ( v bi , v bj , v bk ) | | ( v bk ′ - v bj ′ ) - r bj ( v bj ′ - v bi ′ ) | | 2
(8) r whereinbjForWithBetween ratio.
Step 53, comprehensive step 51 and step 52, represent that the energy equation of mesh parameterization is as follows:
argmaxλSESLELVEVHEHBEB (9)
s.t.FC(v1',v'2,...,v'k)=0
Wherein λSLVHBFor weights corresponding to each energy term, in actual running for different picturesParameter has certain adjustment, provides one group of empirical parameter value as follows: λ through too much group experiment pictureSGet 1, λLWith λBGet 100, λVWith λHGet 10.
In step 6, utilize grid pinup picture to generate target image.
Step 6 specifically comprises the following steps:
Step 61, according to equation (9), solves and the corresponding target triangle gridding of each former triangle gridding in original image, threePicture texture in the grid of angle adopts the method for bilinear interpolation to be mapped to corresponding triangle gridding, forms target image.
Embodiment
The present embodiment for the hardware environment of testing is: Intel Core i3-2100CPU3.1GHz dominant frequency, 4G internal memory.Software environment is Microsoft Visual Studio software 2008 versions, Matlab software 2012a version and MicrosoftWindows7 operating system Ultimate. Concrete process is referring to the embodiment of Fig. 4.
This example produces the difference of mesh-density according to input picture, calculate and solve the time from 100 milliseconds to hundreds of millisecondNot etc. As shown in Figure 4, first method of the present invention carries out alternately, adding heavy line and having marked obtain alternately hidden to input pictureContaining square phosphor bodies structure, all the other dotted lines are the characteristic curve of the manual mark of user and the image boundary of appointment; At interaction figure baseOn plinth, adopt the Delaunay method of belt restraining to carry out triangle gridding to image on the one hand, simulate by foundation on the other handThreedimensional model then re-projection obtains the square phosphor bodies structure of projection under new viewpoint; In conjunction with mesh parameterization energy term and heavily throwingThe object construction constraint solving that shadow obtains goes out target gridding image; The grid image generating is carried out border editor and newly lookedResult images under point. Fig. 5 has shown that the result and the Lightroom of Adobe Systems Inc. that adopt method of the present invention to generate are soft in additionThe effect contrast figure of part uses circle to enclose the flaw of mark in Lightroom result, and the inventive method has been avoided this wellThe generation of class situation; Fig. 6 has shown the result that the inventive method is observed scene with multiple new viewpoints in the sphere ken, centerFigure be input picture, and remaining 12 width scenes are to play up the result images of generation by each self-corresponding viewpoint, pass through viewpointInterpolation and then obtain grid vertex position interpolation, having calculated after crucial viewpoint structure, can utilize grid interpolation sideMethod generates the scene graph of different points of view under the current sphere ken in real time.
Method of the present invention is using a real scene shooting image as input, by the simple mutual main body with calculating Recovery imageLine three-dimensional structure, adopts the method for anamorphose to generate the brand-new image after viewpoint change, has ensured the true of result imagesProperty has ensured the physics reasonability of result simultaneously, in addition because the inventive method does not need to carry out accurate 3 D scene rebuilding,The efficiency of method is high.

Claims (7)

1. the image viewpoint change method based on single width input picture, is characterized in that, comprises the following steps:
Step 1, image is mutual: extract the cube structure in image, wherein six corresponding image projection of point of square body of markPixel, and obtain alternately the characteristic curve in image, characteristic curve comprises the characteristic curve that affects picture material, horizontal and vertical is approximatelyBunch section and specify image boundary line;
Step 2, utilizes pinhole camera image-forming principle to rebuild a three-dimensional scenic in conjunction with the spatial character of cube structure object, is lookingWhen point transformation, by this three-dimensional scene structure Reality simulation three-dimensional scene structure, in hypothesis three-dimensional scenic, cube structure whereinOn the basis that the picture point on image overlaps with it, a summit, the geometrical constraint that the side's of utilization body comprises, calculates in step 1The three dimensions point coordinates of six some correspondences;
Step 3, utilizes the square body corresponding to space coordinates of six points that under new viewpoint, re-projection step 2 calculates, and representsThe three-dimensional scenic of rebuilding: using the central point of image as step 2 reconstruction of three-dimensional scene center, be designated as O; Taking O as the centre of sphere, this sceneCenter is to the distance of camera | in the ball plane that OF| is radius, define a new viewpoint O', in the three-dimensional scenic that step 2 is rebuildCube structureAgain project to picture plane corresponding to new viewpoint;
Step 4, image triangle gridding: according to the result of step 1, utilize the Delaunay trigonometric ratio of belt restraining to carry out imageTriangle gridding;
Step 5, mesh parameterization: utilize conformal projection principle and feature to keep constraint to set up the equation of mesh parameterization, profitThe hard constraint that obtains scene side's body framework structure projection mapping with step 3 re-projection, solves parametrization energy equation, obtains netLattice;
Step 6, target image generates: solve the grid obtaining according to step 5, by net corresponding with target gridding in original imageCheck reason utilizes bilinear interpolation method to be mapped to one by one target gridding, generates target image.
2. a kind of image viewpoint change method based on single width input picture according to claim 1, described step 1 toolBody comprises the following steps:
Step 11, described single width input picture, implicit cube structure in its scene, mark out alternately this cube structure at imageIn projection, with six point (p0,p1,p2,p3,p4,p5) expression cube structure, wherein (p0,p1,p2,p3) four points are correspondingSpace three-dimensional planar quadrature is in (p0,p1,p5,p4) four corresponding three-dimensional planars of point, p0p1Corresponding space line is two flatThe intersection of face;
Step 12, the cube structure (p obtaining according to step 110,p1,p2,p3,p4,p5), by cube structure (p in image0,p1, p2,p3,p4,p5) between the line that comprises be all labeled as hard constraint characteristic curve, on these hard constraint characteristic curves, extract equably threeAngle grid vertex, concrete grammar is as follows: to a specific hard constraint characteristic curve, start to get a little from one end, along rectilinear direction every25 pixel distances are got the next point on this straight line, until the other end of straight line, for getting on all hard constraint characteristic curvesThe grid vertex obtaining, is designated as { vc1,vc2,...,vck, the hard constraint grid vertex sum that wherein ck representative is extracted;
Step 13, obtains the characteristic straight line in image alternately, comprises the Eigenvector that affects picture material, horizontal and vertical constraintEvenly get a little on described characteristic straight line line segment and specify image boundary line, and concrete grammar is as follows: straight to a special characteristicLine, starts to get a little from one end, gets the next point on this straight line along rectilinear direction every 25 pixel distances, until straight line is anotherOne end;
Step 14 for the indicatrix in image, is extracted triangulation network lattice point successively on curve, and concrete grammar is as follows: from spyThe one end of levying curve starts, along indicatrix prolonging direction, using 25 pixel distances as getting an interval, until arrive featureThe other end of curve.
3. a kind of image viewpoint change method based on single width input picture according to claim 2, described step 2 toolBody comprises the following steps:
Step 21, taking picture centre as initial point O (0,0,0), O to camera loca F (0,0, f) be Z axis forward, the plane of delineationTransverse axis and y direction are that XY direction of principal axis is set up three-dimensional world coordinate system, and wherein f is camera focus;
Step 22, finds out respectively plane (p0,p1,p2,p3) and plane (p0,p1,p5,p4) the vanishing point c that forms on as plane1With c2, obtain according to vanishing point scaling algorithmObtain focal distance f so solve;
Step 23, the cube structure in note true three-dimension scene is corresponding to the cube structure (p of six points0,p1,p2,p3,p4,p5)Point be cube structure (Q0,Q1,Q2,Q3,Q4,Q5), have according to pin-hole imaging model:WhereinRepresentation vectorWithBetween ratio; For in simulated scenario and cube structure (p six points0,p1,p2,p3, p4,p5) corresponding cube structureFormulaSet up wherein rkGenerationTable vectorWithBetween ratio, fixing r0Value be 1, utilize WithSolve r1,r2,r3,r4,r5
Step 24, the r obtaining according to step 230,r1,r2,r3,r4,r5, calculate in simulated scenario corresponding to cube structure (p0, p1,p2,p3,p4,p5) cube structureSetWith p0Overlap, definition scene center is interludeSummit in cube structure in scapeSubpoint on primary optical axis is initial point O herein, and simulated scenario center is dropped on initial point,Corresponding to Q in real scene0Subpoint on primary optical axis, i.e. real scene center OQ
4. a kind of image viewpoint change method based on single width input picture according to claim 3, described step 3 toolBody comprises the following steps:
Step 31, obtains cube structure according to step 24Taking O as the center of circle | OF| is as radiusOn sphere, get at random a new viewpoint O', whereinWithAngle be no more than 45 degree, through simulated scenario center O structurePerpendicular to the planar I of OO' ', try to achieve cube structureWith the line of new viewpoint O', remember itself and planeThe new intersection point of I' is (p'0,p′1,p'2,p'3,p'4,p'5), complete the throwing of cube structure under new viewpoint O' in simulated scenarioShadow;
Step 32, by normal vectorObtain unit vector x' with the multiplication cross of vertical vector (0,1,0), by x' withMultiplication cross obtainsTo unit vector y', on plane of delineation I' taking O as initial point, vector x ' direction is abscissa forward, vectorial y' direction is sat for verticalMark forward is set up image two-dimensional coordinate system, willProject to respectively vector x ', on y' both direction, obtainIntersection point (p'0,p′1,p'2,p'3,p'4,p'5) two-dimensional coordinate on plane of delineation I', be designated as point (q0,q1,q2,q3,q4,q5),Obtain in original image six points on cube structure and under new viewpoint, be projected in the two-dimensional coordinate on target image.
5. a kind of image viewpoint change method based on single width input picture according to claim 4, described step 4 toolBody comprises the following steps:
Step 41, on the basis of the triangulation network lattice point obtaining in step 1, evenly adopts a conduct at random for the remaining area of imageGrid vertex;
Step 42, in the process of trigonometric ratio, with the mutual characteristics of image line of step 1, gets adjacent vertex on same characteristic curve and connectsLine, as triangle gridding limit, utilizes the Delaunay trigonometric ratio of belt restraining to carry out triangle gridding to image.
6. a kind of image viewpoint change method based on single width input picture according to claim 5, described step 5 toolBody comprises the following steps:
Step 51, the two-dimensional coordinate point (q that utilizes step 32 to obtain0,q1,q2,q3,q4,q5), according to formulaCalculate a vciCorresponding some v'ci, wherein vciFor the grid vertex on original image hard constraint characteristic straight line, ps,peFor vciTwo end points on the hard constraint characteristic straight line of place, qs,qeFor being respectively and ps,peCorresponding point, i.e. { vc1,vc2,...,vck}Under new viewpoint O', be mapped as { v'c1,v'c2,...,v'ck, remember that it is F that its corresponding hard constraint closesC(v'c1,v'c2,..., v'ck)=0, shows v in the time that anamorphose is shone uponciBe mapped to v'ci
Step 52, definition shape constraining: two-dimentional triangle gridding affine transformation is designated as to M:(x, y) → (x', y'), according to Cauchy-Riemann's equation:
∂ M ∂ x + i ∂ M ∂ y = 0 ,
Wherein i is imaginary unit, and Jacobian matrix corresponding to mapping M has following form:
J = a b b - a - - - ( 1 ) ,
Wherein a, b value is any, in order to equate and the relation of opposite number each other between each element in representing matrix J;
Corresponding former grid, to the conversion of target gridding, adopts affine transformation; Remember that former triangle is T (vti,vtj,vtk),vti,vtj, vtkFor its three summits, after its corresponding viewpoint change, deforming triangle to be solved is T'(v'ti,v'tj,v′tk),v'ti,v'tj, v′tkFor with vti,vtj,vtkThree summits one to one, A=T'T-1The affine transformation matrix from T to T', T-1Have as followsForm:
T - 1 = a 1 b 1 d 1 a 2 b 2 d 2 a 3 b 3 d 3 = x t i x t j x t k y t i y t j y t k z t i z t j z t k - 1 - - - ( 2 ) ,
Wherein, xti,xtj,xtkFor a vti,vtj,vtkAbscissa on image, yti,ytj,ytkFor a vti,vtj,vtkAt imageOn ordinate, zti,ztj,ztkFor for representing vti,vtj,vtkOrdinate, unified value is 1 here; a1,a2,a3,b1,b2, b3,c1,c2,c3It is matrix T-1In the Parametric Representation of each element, obtained the following energy side of conformal projection by formula (1) and formula (2)Journey:
E T J 1 = a 1 x t i ′ + a 2 x t j ′ + a 3 x t k ′ + ( b 1 y t i ′ + b 2 y t j ′ + b 3 y t k ′ ) E T J 2 = b 1 x t i ′ + b 2 x t j ′ + b 3 x t k ′ - ( a 1 y t i ′ + a 2 y t j ′ + a 3 y t k ′ ) - - - ( 3 ) ,
Wherein x'ti,x'tj,x'tkBe respectively v'ti,v'tj,v′tkAbscissa value, y'ti,y'tj,y'tkBe respectively v'ti,v'tj, v′tkOrdinate value, their gangs are obtained:
E S = Σ T ( E T J 1 2 + E T J 2 2 ) - - - ( 4 )
Defined feature line constraint: note (vli,vlj,vlk) be continuous three points on a characteristic curve, keepWithBetweenRatio rljAnd anglec of rotation θlj, be defined as follows target equation:
E L = Σ ( v l i , v l j , v l k ) | | ( v l k ′ - v l j ′ ) - r l j R l j ( v l j ′ - v l i ′ ) | | 2 - - - ( 5 ) ,
Wherein
Definition vertical constraint: remember that the mesh point on vertical line segment lv is designated as { vlv1,vlv2,...,vlvm, vertical constraint is expressed as:
E V = Σ l v Σ n v = 1 l v m ( x n v ′ - x l v 1 ′ ) 2 - - - ( 6 ) ,
Wherein x'nvRepresent some v'nvAbscissa, x'lv1Represent some v'lv1Abscissa;
Definition horizontal restraint: the mesh point on note horizontal line section lh is designated as { vlh1,vlh2,...,vlhm, vertical constraint is expressed as:
E H = Σ l h Σ n h = 1 l h m ( y n h ′ - y l h 1 ′ ) 2 - - - ( 7 ) ,
Wherein y'nvRepresent some v'nvAbscissa, y'lh1Represent some v'lh1Abscissa;
Specify according to user interactions, non-rigid Characteristic constraint line is appointed as in part or all of original image border, note (vbi,vbj, vbk) be continuous three the feature summits on boundary characteristic line, keepWithBetween ratio rbjThe limit of definition imageBound constrained EBAs follows;
E B = Σ ( v b i , v b j , v b k ) | | ( v b k ′ - v b j ′ ) - r b j ( v b j ′ - v b i ′ ) | | 2 - - - ( 8 ) ,
Wherein rbjForWithBetween ratio;
Step 53, according to step 51 and step 52, represents that the energy equation of mesh parameterization is as follows:
arg maxλ S E S + λ L E L + λ V E V + λ H E H + λ B E B s . t . F C ( v c 1 ′ , v c 2 ′ , ... , v c k ′ ) = 0 - - - ( 9 ) ,
Wherein λSLVHBFor weights corresponding to each energy term, λSGet 1, λLWith λBGet 100, λVAnd λHGet 10.
7. a kind of image viewpoint change method based on single width input picture according to claim 6, described step 6 toolBody comprises the following steps:
Step 61, according to formula (9), solves and the target triangle gridding that in original image, each triangle gridding is corresponding, by former trianglePicture texture in grid adopts the method for bilinear interpolation to be mapped to corresponding target triangle gridding, forms target image.
CN201410107055.2A 2014-03-21 2014-03-21 Image viewpoint transformation method based on single input image Expired - Fee Related CN103955960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410107055.2A CN103955960B (en) 2014-03-21 2014-03-21 Image viewpoint transformation method based on single input image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410107055.2A CN103955960B (en) 2014-03-21 2014-03-21 Image viewpoint transformation method based on single input image

Publications (2)

Publication Number Publication Date
CN103955960A CN103955960A (en) 2014-07-30
CN103955960B true CN103955960B (en) 2017-01-11

Family

ID=51333229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410107055.2A Expired - Fee Related CN103955960B (en) 2014-03-21 2014-03-21 Image viewpoint transformation method based on single input image

Country Status (1)

Country Link
CN (1) CN103955960B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898272A (en) * 2015-12-28 2016-08-24 乐视致新电子科技(天津)有限公司 360-degree image loading method, loading module and mobile terminal
CN107845068B (en) * 2016-09-18 2021-05-11 富士通株式会社 Image view angle conversion device and method
CN108961395B (en) 2018-07-03 2019-07-30 上海亦我信息技术有限公司 A method of three dimensional spatial scene is rebuild based on taking pictures
CN109413404B (en) * 2018-09-06 2019-10-25 宁波大学 A kind of stereo-picture Zooming method
CN110956583B (en) 2018-09-26 2022-05-10 华为技术有限公司 Spherical image processing method and device and server
CN112702590B (en) * 2020-12-07 2022-07-22 宁波大学 Three-dimensional image zooming method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999008178A1 (en) * 1997-08-12 1999-02-18 Matsushita Electric Industrial Co., Ltd. Window display
CN101635061A (en) * 2009-09-08 2010-01-27 南京师范大学 Adaptive three-dimensional rendering method based on mechanism of human-eye stereoscopic vision

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999008178A1 (en) * 1997-08-12 1999-02-18 Matsushita Electric Industrial Co., Ltd. Window display
CN101635061A (en) * 2009-09-08 2010-01-27 南京师范大学 Adaptive three-dimensional rendering method based on mechanism of human-eye stereoscopic vision

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Changing Perspective in Stereoscopic Images;Song-Pei Du 等;《IEEE Transactions on Visualization and Computer Graphics》;20130831;第19卷(第8期);1288-1297 *
Imag e Warps for Ar tistic Perspective Manipulation;Robert Carroll 等;《ACM Transactions on Graphics》;20100731;第29卷(第4期);127:1-127:9 *
Interactive Imag es: Cuboid Proxies for Smart Image Manipulation;Youyi Zheng 等;《Acm Transactions on Graphics》;20120731;第31卷(第4期);99:1-99:11 *
Localizing 3D cuboids in single-view images;Jianxiong Xiao 等;《NIPS》;20121231;1-9 *

Also Published As

Publication number Publication date
CN103955960A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN103955960B (en) Image viewpoint transformation method based on single input image
Debevec et al. Modeling and rendering architecture from photographs: A hybrid geometry-and image-based approach
CN105279789B (en) A kind of three-dimensional rebuilding method based on image sequence
CN109242961A (en) A kind of face modeling method, apparatus, electronic equipment and computer-readable medium
CN104183016B (en) A kind of construction method of quick 2.5 dimension building model
CN109035327B (en) Panoramic camera attitude estimation method based on deep learning
CN107679537A (en) A kind of texture-free spatial target posture algorithm for estimating based on profile point ORB characteristic matchings
CN104463969B (en) A kind of method for building up of the model of geographical photo to aviation tilt
CN102306386B (en) Method for quickly constructing third dimension tree model from single tree image
CN103106688A (en) Indoor three-dimensional scene rebuilding method based on double-layer rectification method
CN106534670B (en) It is a kind of based on the panoramic video generation method for connecting firmly fish eye lens video camera group
US20240257462A1 (en) Method, apparatus, and storage medium for three-dimensional reconstruction of buildings based on missing point cloud data
CN107481313A (en) A kind of dense three-dimensional object reconstruction method based on study available point cloud generation
CN104318605B (en) Parallel lamination rendering method of vector solid line and three-dimensional terrain
CN116543117B (en) High-precision large-scene three-dimensional modeling method for unmanned aerial vehicle images
CN105513063A (en) Calibration of parabolic refraction and reflection camera through Veronese mapping and checkerboard
CN107886546A (en) Utilize the method for ball picture and public self-polar triangle demarcation parabolic catadioptric video camera
CN106910238A (en) Color texture method for reconstructing based on high inclination-angle close-range image
CN113313828A (en) Three-dimensional reconstruction method and system based on single-picture intrinsic image decomposition
Chen et al. Research on 3D reconstruction based on multiple views
CN105550992A (en) High fidelity full face texture fusing method of three-dimensional full face camera
CN115631317A (en) Tunnel lining ortho-image generation method and device, storage medium and terminal
CN113284249B (en) Multi-view three-dimensional human body reconstruction method and system based on graph neural network
CN105069829A (en) Human body animation generation method based on multi-objective video
Zhou et al. PersDet: Monocular 3D Detection in Perspective Bird's-Eye-View

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170111