Disclosed is a method for clearing, in particular for removing, unwanted data from optically detected virtual representations of objects, in particular teeth and intraoral structures. The method includes the following steps: a. Defining of an extension line of the representation; b. Stipulating of at least one optimization surface, which in at least one region has a consistent distance to the extension line; c. Securing an inner side and an outer side of the optimization surface; d. Determining of all elements of the representation outside of the outer side of the representation; and e. Removing of all elements outside of the representation.