Variational and statistical shape modeling for 3D geometry reconstruction