Automatic 3D digitalization