Flexible 3D reconstruction techniques with applications in archeology