To create a digital surface model of an intra-oral anatomy, a recess or a hole in an impression material having a predetermined shape and size is scanned. The scanning results and information on the predetermined shape and size are used for determining a threshold value representing interface between the impression material and another material. The threshold value is then used in generating the digital surface model from CT scanning data of an impression of an intra-oral anatomy on said impression material.