An automatic method for acquiring 3D models from photographs : applications to an archaeological site