Photogrammetric reconstruction with Bayesian information