# Patent

## Title
Methodology for 3D scene reconstruction from 2D image sequences

## Abstract

The present invention is directed to a system and method for interactive and iterative reconstruction in a manner that helps to reduce computational requirements by generating a model from a subset of the available data, and then refining that model using additional data. Example embodiments directed to scene reconstruction, reconstruct a 3D scene from a plurality of 2D images of that scene by first generating a model of the 3D scene from a subset a of the 2D images. The model can then be refined using specific characteristics of each image in the subset that are calculated using the other images in the subset. The model is further refined using images not in the original subset.

## Background
TECHNICAL FIELD
The invention relates generally to computer reconstruction, and more particularly, to the reconstruction of scene using 2-dimensional (2D) to 3-dimensional (3D) conversion.
BACKGROUND OF THE INVENTION
Humans perceive the world in three spatial dimensions. Unfortunately, most of the images and videos created today are 2D in nature. If we were able to imbue these images and videos with 3D information, not only would we increase their functionality, we could dramatically increase our enjoyment of them as well. However, imbuing 2D images and video with 3D information often requires completely reconstructing the scene from the original 2D data depicted. A given set of images can be used to create a model of the observer together with models of the objects in the scene (to a sufficient level of detail) enabling the generation of realistic alternate perspective images of the scene. A model of a scene thus contains the geometry and associated image data for the objects in the scene as well as the geometry for the cameras used to capture those images.
In reconstructing these scenes, features in the 2D images, such as edges of objects, often need to be extracted and their positions ascertained relative to the camera. Differences in the 3D positions of various object features, coupled with differing camera positions for multiple images, result in relative differences in the 3D to 2D projections of the features that are captured in the 2D images. By determining the positions of features in 2D images, and comparing the relative locations of these features in images taken from differing camera positions, the 3D positions of the features may be determined.
One technique, known as camera calibration, uses multiple 2D images captured using different camera perspectives of a scene. A set of point correspondences may then be found, which allows calculation of geometric attributes such as position and orientation of the camera for each image. This leads to the determination of 3D coordinates for features found in the 2D images. Many current methods of camera calibration, such as robot vision and satellite imaging, are geared toward full automation. M. Pollefeys, et al., “Visual Modeling with a Hand-Held Camera,” International Journal of Computer Vision, September, 2004, pages 207-232, Volume 59, Number 3, Kluwer Academic Publishers, Manufactured in The Netherlands, describes a procedure using a hand-held video camera for recreating a 3D scene. In this process, a camera operator is in control of the camera, and collects images of an object from multiple perspectives. The images in the video sequence are then processed to obtain a reconstruction of the object that is suitable for stereoscopic 3D projection.
However, fundamental problems still exist with current camera calibration methods. For example, a typical motion picture will have a very large and predetermined image set, which (for the purposes of camera and scene reconstruction) may contain extraneous or poorly lit images, have inadequate variations in perspective, and contain objects with changing geometry and image data. Nor can the known camera calibration methods take advantage of the processor saving aspects of other applications, such as robot navigation applications that, while having to operate in real time using verbose and poor quality images, can limit attention to specific areas of interest and have no need to synthesize image data for segmented objects.
In addition, existing methods of camera calibration are not ideally suited for scene reconstruction. The reasons for this include excessive computational burden, inadequate facility for scene refinement, and the point clouds extracted from the images do not fully express model-specific geometry, such as lines and planes. The excessive computational burden often arises because these methods correlate all of the extracted features across all frames used for the reconstruction in a single step. Additionally, existing methods may not provide for adequate interactivity with a user that could leverage user knowledge of scene content for improving the reconstruction.
The existing techniques are also not well suited to the 2D to 3D conversion of things such as motion pictures. Existing techniques typically cannot account for dynamic objects, they usually use point clouds as models which are not adequate for rendering, and they do not accommodate very large sets of input images. These techniques also typically do not accommodate varying levels of detail in scene geometry, do not allow for additional geometric constraints on object or camera models, do not provide a means to exploit shared geometry between distinct scenes (e.g., same set, different props), and do not have interactive refinement of a scene model.
BRIEF SUMMARY OF THE INVENTION
The present invention is directed to a system and method for interactive and iterative reconstruction in a manner that helps to reduce computational requirements by generating a model from a subset of the available data, and then refining that model using additional data. Example embodiments directed to scene reconstruction, reconstruct a 3D scene from a plurality of 2D images of that scene by first generating a model of the 3D scene from a subset of the 2D images. The model can then be refined using specific characteristics of each image in the subset that are calculated using the other images in the subset. The model is further refined using images not in the original subset.
One illustrative embodiment performs the initial calculations for 3D scene reconstruction on a smaller number of key 2D frames, using a reduced number of user selected key-points within those frames. Such embodiments of the invention can facilitate numerous aspects of iterative improvement that can increase the accuracy and reduce the computational demands of the reconstruction process. These improvements may include the ability to reconsider the choice of key frames and key vertices used in the initial reconstruction. These improvements may also include camera positions that are calculated for intermediate frames through a process of resectioning. In one embodiment, the resectioning is based on the observed projection of known 3D geometry. These improvements may further include mesh detail that can be added through a process of triangulation. In one embodiment, the triangulation is based on camera geometry calculated at alternate frames and the observed projection of that detail in those frames.
Embodiments of the invention can also allow a user to specify feature points in the form of a rough triangle mesh, or any mesh in which the vertices of the mesh specify the features of interest, rather than having software automatically generate all feature points. While automatic feature detection software may produce more features than would a user, the user is able to specify the set of features that are of interest. This then reduces the calculation burden. Embodiments of the invention may also allow the use of key frames for initial scene estimation, rather than weighting every frame uniformly. For example, key frames may be selected from a set of frames which are offset from each other by significant camera geometry differences.
Embodiments of the invention may also allow a user to control the selection of which frames are used in the reconstruction and which details in the object are reconstructed, along with the order of images used. Further, embodiments of the invention can allow segmentation of images into static and dynamic regions, where the segmentation may be further improved using the iterative calculations.
The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims. The novel features which are believed to be characteristic of the invention, both as to its organization and method of operation, together with further objects and advantages will be better understood from the following description when considered in connection with the accompanying figures. It is to be expressly understood, however, that each of the figures is provided for the purpose of illustration and description only and is not intended as a definition of the limits of the present invention.



BRIEF DESCRIPTION OF THE DRAWINGS
For a more complete understanding of the present invention, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
FIG. 1 illustrates an example three-dimensional scene being captured from multiple camera positions;
FIG. 2 illustrates multiple two-dimensional images of an example three-dimensional scene;
FIG. 3 is a flow chart illustrating scene reconstruction, according to one embodiment of the present invention; and
FIG. 4 illustrates a system of scene reconstruction arranged according to one embodiment of the present invention.



DETAILED DESCRIPTION OF THE INVENTION
When starting with a sequence of 2D images captured by a moving camera or multiple cameras in different positions, 3D scene reconstruction typically involves combining camera calibration and object reconstruction which will generate the geometry for both the camera(s) and the objects in the scene. For example, if a camera has captured multiple images from different positions in a room, 3D geometry representing the motion of the camera and triangle meshes for features in the room, such as walls, furniture, and other objects will typically need to be determined.
FIG. 1 shows scene 10 with camera 100 at multiple positions 1001-1006 joined by collection curve 100. Scene 10 includes objects 101 and 102. Object 101 has features, such as flat surface 1011 and edge 1012, which may be represented as a plane and a line, respectively in a triangle mesh. Object 102 has feature 1021 which may be occluded by object 101 in 2D images captured by camera 100 at some of positions 1001-1006.
FIGS. 2A-2F show images 2001-2006 of scene 10, captured by the views of camera 100 at positions 1001-1006, respectively (not shown). Different positions of object 102 are occluded by object 101 in each image 2001-2006. Feature 1021 is partially occluded in images 2002, 2003, and 2006 is completely occluded in images 2004 and 2005, and is fully visible in images 2001.
FIG. 3 shows the steps which one illustrative embodiment uses to reconstruct a 3D scene from a set of 2D images. These steps may be performed iteratively as a process of refinement, with the intent that any number of steps may be skipped in a single iteration. For purposes of simplicity the conditional nature of each step is not made explicit in FIG. 3. Accompanying the description of each step is an explanation of how the process applies to the reconstruction of FIGS. 2A-2F of scene 10 using images 2001-2006.
However, before considering the individual steps, a brief description of the process is provided at a higher level. The goal of the process is to produce a camera model representing the perspective of each input image together with a model for each distinguished object in the scene. This process allows an object's appearance in each input image to be accounted for by rendering the object model according to the corresponding camera model. This process constructs models for static objects. Dynamic objects are objects whose geometries do change. Static objects are objects whose geometry within the scene do not change significantly throughout the available images, while ignoring the complementary class of dynamic objects. In some embodiments, the reconstruction of dynamic objects can be incorporated later through a separate process, such as standard modeling and animation techniques.
The camera model of an object illustratively encapsulates the object's geometry within the scene, and its projected appearance in each of the available images. An illustrative representation of such a model is a parametric surface mesh where each vertex has both a 3D location in scene coordinates, and a sequence (one per available image) of pairs containing an indication of the visibility of the corresponding image feature and the 2D location of that feature where visible.
For purposes of discussing the figures, images will be numbered sequentially, according to the simplest curve connecting all of the camera positions, whether or not the images were captured in that order, and whether or not the images were all captured by a single camera. For example, collection curve 110 of FIG. 1 is the simplest curve connecting positions 1001-1006, whether or not camera 100 moved in the arc shown by collection curve 110. Labeling ends of a collection curve as either start or finish may be somewhat arbitrary. That is, the starting image may actually be the first image collected, or the last if a video sequence is reversed, or may have been collected at another time. Intermediate frames are those images that are captured from camera positions on a collection curve that fall between the positions corresponding to the key frames. It will be understood that the present invention is not limited to any particular order or timing of image acquisition nor is it limited to any particular path for the acquisition mechanism.
Referring back to FIG. 3 and distinguished object identification process 301, process 301 determines which objects in the scene are to be distinguished by being explicitly modeled. Further, process 301 assigns to each distinguished object a mesh which approximates its structure at a minimal level of detail. In one embodiment, this assigned initial mesh is taken from a library of templates. However, other approaches can be used, such as meshes constructed specifically to match the observed object features using either user interaction or automated techniques.
It should be noted that the assignment of meaningful coordinate values to mesh vertices does not occur in process 301. Further, not all mesh structures need be specified at once. Instead separate iterations can be used to incorporate structures visible within a specific set of frames.
Applying process 301 to the images of FIG. 2A, objects 101 and 102 can be identified as distinguished static objects by considering frame 2001. At this frame a triangle mesh for object 101 can be specified to contain six faces and seven vertices corresponding to the three visible sides and the seven visible corners of the object. A triangle mesh for object 102 can be specified to contain two faces and four vertices corresponding to the left side and the four visible corners of the object. Next, considering frame 2006, in FIG. 2F, object's 101 mesh can be extended with two additional faces and an additional vertex corresponding to the now visible right side and lower back corner of the right side. Similarly, object's 102 mesh can be extended with six new faces and four new vertices corresponding to the front, top and right sides and the corners of the right side.
Process 302 performs the selection of key frames. For the purpose of this discussion, key frames refer to those available images for which camera geometry is calculated, non-key frames are referred to as intermediate frames. The set of key frames preferably are chosen to represent the full range of camera motion such that each key frame exhibits a significantly different camera perspective and that each key frame shares sufficient image information (viz. feature correspondences) with some number of other key frames. It should be noted that a balance in choosing key frames is needed. The more key frames selected typically result in more shared information, and thus, better results. However, this increases computational complexity, and can quickly become intractable.
Some embodiments of the present invention use at process 302 an automated selection process to select a subset of key frames from a set of available frames based on motion analysis. Other embodiments leverage a user's knowledge of the scene content through user input (acquired through a graphical user interface or other appropriate means) to guide the selection of the key frames.
In one embodiment, images 2001, 2004 and 2006, in FIGS. 2A, 2D and 2F, respectively, are designated as key frames, and images 2002, 2003 and 2005, in FIGS. 2B, 2C and 2E, respectively, can be designated as intermediate frames. Using these definitions, images 2002 and 2003 are between key frames 2001 and 2004, while image 2005 is between key frames 2004 and 2006. Note that while these definitions allow for images 2001-2006 to come from a video sequence as camera 100 moves along collection curve 110, the definitions do not require any specific capture sequence, nor do they require a single camera to have captured all the images. To simplify the discussion of the figures, a sequence of images will be assumed to have been collected by a single camera 100 moving along collection curve 110.
Process 303 performs the specification of key vertices. For the purposes of this discussion, key vertices refer to mesh vertices for which scene coordinate values are calculated later in process 304. The key vertices of a mesh are a subset of the existing vertices which express the essential mesh structure (viz. important features) at a minimal level of detail. However, other vertices can be used.
At each key frame (such as frames 2001, 2003 and 2006), each key vertex is marked as being visible or not visible due to object occlusions (either by dynamic objects or by other static objects, or the object itself). Further, at each key frame the image coordinates for visible key vertices are chosen to match the corresponding image feature. The process of specifying key vertices may be performed algorithmically, through user interaction, or by a combination of both.
Applying process 303 to the images of FIGS. 2A-F, all vertices of the initial meshes assigned to objects 101 and 102 can be specified as key vertices. In FIG. 2A, at frame 2001, the four vertices 2011, 2012, 2013, 2014 of the left side of object 102 are marked as visible, and have their image coordinates specified to match the corresponding image features (i.e., corners), while the remaining four vertices of object 102 are marked as not visible. At the same frame, the seven vertices 2021-2027 belonging to the left, front and top sides of object 101 are marked as visible and assigned image coordinates, while the remaining vertex 2028 (corresponding to the back lower right corner; not shown in this frame) is marked not visible. Advancing to key frame 2004, in FIG. 2D both objects 101 and 102 have seven of their eight vertices marked as visible (with only vertices 2012 and 2022 in the lower back left corner not visible). These visible vertices are assigned image coordinates. Finally, advancing to key frame 2006, in FIG. 2F, object 101 has the same set of seven visible vertices, (not marked in figure) which are again assigned image coordinates, while object 102 has the two back left vertices 2011 and 2012 (not marked in figure) marked as non-visible, and the remaining six vertices 2013-2018 (shown in FIG. 2D) marked visible, which are assigned image coordinates.
Basic camera calibration and scene reconstruction algorithm are performed at process 304. Through numerical optimization process 304 calculates camera geometry for each key frame and 3D scene coordinate values for each key vertex, such that the projection of each calculated scene-point through each calculated camera matches the corresponding image coordinates as accurately as possible. This process can be represented by the following equation:

Cf(Pv)=I(f,v)  Equation (1)

where Cf is the camera matrix at frame f, Pv is the same coordinate value for a visible vertex v, and I(f,v) is the observed image coordinate value for frame f at vertex v.

In some embodiments, the camera attributes and vertex coordinate values calculated in a previous iteration can be used as initial estimates for process 304.
According to the embodiment of FIGS. 2A and 2F, the initial application of process 304 results in calculated camera geometry for key frames 2001, 2004 and 2006, and calculated scene coordinate values for seven of the key vertices of both objects 101 and 102. In each object 101 and 102 the back lower left corner vertex 2012 and 2022 respectively is visible only in key frame 2001.
In some embodiments, at this point processes 302 and 303 can be repeated by adding key frame 2003 or key frame 2002. This ensures that all key vertices are visible in more than one key frame, and will be assigned scene coordinates by process 304.
The addition of mesh detail through triangulation is performed at process 305. Process 305 involves adding structure to the mesh (i.e., vertices, edges and faces), and then triangulating the location of each new vertex with reference to a set of frames for which camera geometry has already been calculated (e.g., key frames). The new vertices are assigned image coordinates at each of the selected frames. Then the underlying 3D scene location is calculated through triangulation. This assignment of image coordinates can be performed, in some embodiments, through user input or through application of automated feature detection and tracking algorithms. It should be noted that the more frames that are providing observed image coordinates for a vertex, the greater the accuracy of triangulated scene-coordinate point.
According to FIG. 2, in some embodiments, the mesh for object 102 is refined by adding structure to represent the rectangular recess 1021 in the front face. This additional structure consists primarily of eight vertices corresponding to the front and back corners of the recess 1021.
Scene coordinate locations for chosen front left vertices of recess 1021 can be obtained by selecting frames 2001 and 2003, appropriately positioning those chosen vertices in each of the selected frames, and then invoking the triangulation process. Similarly, scene coordinates for the front right vertices of the hole can be obtained via frames 2004 and 2006.
It should be noted that the four back vertices are not visible in any of the available images and so their locations in scene coordinates are chosen independent of either steps 304 or 305. This process can, in some embodiments, occur via user knowledge or by using domain-specific knowledge of object 102. However, other approaches can be used.
Calculation of the camera geometry for the intermediate frames through resectioning is performed at process 306. To resection the camera geometry for a chosen intermediate frame requires the selection of a set of vertices visible in that frame for which 3D scene coordinates have already been calculated (i.e. key vertices), and then adjusting the image coordinates of these vertices to match the observed projection of the corresponding features in that frame. Then process 306 invokes a resectioning algorithm to calculate the camera parameters at that key frame.
In one embodiment, an initial camera geometry estimate can be obtained by interpolating the camera parameters at adjacent key frames. This camera geometry estimate can be used to approximate the image coordinates of the selected vertices. From these estimated coordinates further refining through user interaction or automated feature detection/tracking can occur. Note that the more vertices involved and the greater the range of depths which they exhibit, the greater will be the accuracy of the resectioned camera.
Calculating the camera geometry at intermediate frame 2002 can be achieved by selecting the four visible vertices of object 102 together with the seven visible vertices of object 101. Then by positioning these selected vertices to match the corresponding image features and invoking the resectioning procedure the camera geometry can be calculated.
Decision 307 determines whether the construction is completed to a sufficient level of detail and quality or whether another iteration should perform further refinement. If the process is not completed then the process returns to step 301. For example, a scene may contain a long table with a number of chairs around it, but all of the chairs may not be visible in any one of the images. Process 304 may select a few initial key frames for use with process 305. In process 305, a user specifies rough meshes for some of the chairs in those initially-selected key frames. The meshes, which include only some of the chairs in the scene, are refined during process 306. Then, when returning to process 305, the user already has 3D models representing chairs. Also, when returning to process 305, the user may edit existing meshes. These are available for simplifying the modeling of any newly visible chairs in subsequently-added key frames. Further, when returning to process 306, newly added key frames will have points in common with previously-processed key frames. Since the 3D locations of these common points are known, camera calibration calculations are simplified.
Traditional camera calibration would attempt to calculate scene and camera geometry automatically, with equal weighting applied to each image used. However, for many types of calculations, including camera calibration, computational burden increases faster than linearly with the number of unknowns. By reducing the complexity of the initial models, the computational burden may be significantly reduced. Then, by leveraging the results of the lower resolution data, the refinement requires less of a computational burden than was avoided. The net result of simplifying the complexity for initial calculations, and then adding the detail back by a more efficient process; therefore, reduces overall computational time. Method 30 reduces the computational burden as compared with traditional methods, provides for interactive scene refinement, and allows user-defined meshes to express model-specific geometry, such as lines and planes.
FIG. 4 illustrates computer system 400 adapted to use embodiments of the present invention by storing and/or executing software associated with the embodiments. Central processing unit (CPU) 401 is coupled to system bus 402. The CPU 401 may be any general purpose CPU. However, embodiments of the present invention are not restricted by the architecture of CPU 401 as long as CPU 401 supports the inventive operations as described herein. Bus 402 is coupled to random access memory (RAM) 403, which may be SRAM, DRAM, or SDRAM. Read-only memory (ROM) 404 is also coupled to bus 402, which may be PROM, EPROM, or EEPROM. RAM 403 and ROM 404 hold user and system data and programs, as is well known in the art.
Bus 402 is also coupled to input/output (I/O) adapter card 405, communications adapter card 411, user interface card 408, and display adapter card 409. The I/O adapter card 405 connects storage devices 406, such as one or more of a hard drive, a CD drive, a floppy disk drive, or a tape drive, to computer system 400. The I/O adapter card 405 is also connected to a printer (not shown), which would allow the system to print paper copies of information such as documents, photographs, articles, and the like. Note that the printer may be a printer (e.g., dot matrix, laser, and the like), a fax machine, scanner, or a copy machine. Communications adapter card 411 is adapted to couple the computer system 400 to a network 412, which may be one or more of a telephone network, a local area network (LAN) and/or a wide-area network (WAN), an Ethernet network, and/or the Internet network. User interface adapter card 408 couples user input devices, such as keyboard 413, pointing device 407, and the like, to the computer system 400. The display adapter card 409 is driven by CPU 401 to control the display on display device 410.
Although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. As one of ordinary skill in the art will readily appreciate from the disclosure of the present invention, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized according to the present invention. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.

## Claims

1. A method of scene reconstruction comprising:
obtaining a plurality of images of a scene representing at least two perspective views of said scene;
generating a 3-dimensional model of said scene using a first subset of said plurality of images, wherein said generating comprises selecting one or more vertices of said 3-dimensional model;
calculating a perspective for each said image in said first subset based on one or more of said one or more selected vertices; and
refining said model based on one or more of said calculated perspectives and a second subset of said images, wherein said second subset includes at least one image not in said first subset.

2. The method of claim 1 further comprising:
refining said scene using said refined model.

3. The method of claim 1 wherein said first subset comprises:
a first image captured with a first camera view; and
a second image captured with a second camera view; and

wherein said second subset comprises:
a third image captured with a third camera view, wherein said third view is between said first view and said second view.

4. The method of claim 1 wherein said refining comprises iteratively adding one or more images from said plurality of images, not already in said second subset, to said second subset, and refining said scene using said second subset.

5. The method of claim 1 wherein user input is used to select an order of said plurality of images used in said scene reconstruction.

6. The method of claim 1 further comprising:
determining whether said refining achieves a sufficient quality level.

7. The method of claim 6 wherein said refining is done when said sufficient quality level has not been achieved.

8. The method of claim 1 wherein said generating comprises a user selecting a subset of vertices from a plurality of vertices within at least one of said first subset of images, and refining said user selected subset of vertices.

9. The method of claim 1 wherein said generation further comprises automated selection of at least one of said first subset of images based on motion analysis.

10. The method of claim 1 wherein said selection is based on a user's knowledge of said scene acquired from a graphical user interface.

11. The method of claim 1, further comprising:
employing a process of resectioning to calculate camera positions for said images of said second subset.

12. The method of claim 1, further comprising:
using said images of said first subset as key frames; and
using said images of said second subset as intermediate frames.

13. The method of claim 1 further comprising:
selecting, for one or more of said calculated perspectives, one or more visible vertices and one or more non-visible vertices from said one or more selected vertices; and
calculating a perspective for each image in said second subset of said plurality of images based on said one or more visible vertices.

14. The method of claim 1 wherein said selecting comprises selecting said one or more vertices by a user.

15. A non-transitory, machine-readable storage medium comprising instructions stored therein, the instructions executable by one or more processors to facilitate performing a method, said method comprising:
obtaining a plurality of images of a scene representing at least two perspective views of said scene;
generating a 3-dimensional model of said scene using a first subset of said plurality of images, wherein said generating comprises selecting one or more vertices of said 3-dimensional model;
calculating a perspective for each said image in said first subset based on one or more of said one or more selected vertices; and
refining said model based on one or more of said calculated perspectives and a second subset of said images, wherein said second subset includes at least one image not in said first subset.

16. The non-transitory machine-readable medium of claim 15 further comprising:
selecting, for one or more of said calculated perspectives, one or more visible vertices and one or more non-visible vertices from said one or more selected vertices; and
calculating a perspective for each image in said second subset of said plurality of images based on said one or more visible vertices.

17. The non-transitory machine-readable medium of claim 15 wherein said selecting comprises selecting said one or more vertices by a user.

18. A system, comprising:
a memory storing executable instructions;
one or more processors operatively coupled to said memory to execute the executable instructions from the memory, the one or more processors being configured to:
obtain a plurality of images of a scene representing at least two perspective views of said scene;
generate a 3-dimensional model of said scene using a first subset of said plurality of images, wherein said one or more processors are configured to select one or more vertices of said 3-dimensional model;
calculate a perspective for each said image in said first subset based on one or more of said one or more selected vertices; and
refine said model based on one or more of said calculated perspectives and a second subset of said images, wherein said second subset includes at least one image not in said first subset.

19. The system of claim 18, said one or more processors being further configured to:
select, for one or more of said calculated perspectives, one or more visible vertices and one or more non-visible vertices from said one or more selected vertices; and
calculate a perspective for each image in said second subset of said plurality of images based on said one or more visible vertices.

20. The system of claim 18 wherein said one or more processors are configured to select said one or more vertices in response to a selection made by a user.