From images to virtual models and vice-versa