Rogier Wolff wrote:
>
> I think that to gather enough information you would need to build a 3D
> model from the environment by taking a bunch of pictures with several
> viewpoints in the general area of where the old one was taken. Then,
> by matching the remaining buildings in th eold photograph to the 3D
> model you can calculate the camera position of the old photograph
> compared to the new images. Provided you've kept a precise log of
> where you took the "set of photographs for the 3D model", you should be
> able to calculate where to stand for the "NOW" picture...
That's way more complex than I was thinking of.
(see attached diagram, which is 2D, concerned with placing
the camera correctly on a plane)
I think it is obvious that if the landmarks in an old photo
lined up so perfectly as the top left example, it would be easy
to simply walk to the right place; to be formal, you could put
yourself on the line defined by the left hand pair of landmarks,
and then walk up and down it, until you're also on the line
formed by the right hand pair.
The top right example is a little more complex. Instead of the landmarks
simply lining up, you have place each "near" landmark of the landmark triples
exactly between the pair of "far" landmarks. Other than that, it's the same as the first example.
The bottom left example generalises still further, so that the "near" landmarks are now at different
distances from their respective "far" landmark base lines.
We generalise this further, so that instead of the "near" mark being centred between the
two "far" marks, it simply has to be placed (or, more accurately, the camera placed) so that
the gaps between the "left far", "near", and "right far" are in some ratio other than 1:1
In the bottom right case, these ratios are 2:1 and 3:1.
All of this clearly works. So - in this last, most general case, it seems
plausible that "all" we have to do is pick out some "well chosen" landmarks and ratios
from the original target image.
So - what's the MINIMUM set of landmarks and ratios and what criteria do they
need to fulfil such that 2D placement of the camera is possible?
(and, having taken a trial photograph and calculated your new ratios from it,
how do you calculated the "move" the camera needs to make ? )
BugBear