This instructables is in progress, please come back end of June it will be finished by then.
"Photogrammetry is the science of making measurements from photographs, especially for recovering the exact positions of surface points."
Using Autodesk Recap (Remake or visual SFM could be used too, with some modifications) it is possible to create 3d models from a serie of pictures.
This instructables is reverse engineering the techniques in order "augment" photographs.
For reconstructing a 3d model the photogrammetry algorithm must calculate the position, orientation and field of view of the camera for each photograph.
The camera settings from each photos part of the 3d reconstruction can be used in order to perfectly align the perspective of the 3d model