A device (600) for removing erroneous points from a set of points (355-1 . . . 355-15) of a three dimensional, 3D, virtual object provided by 3D imaging of a corresponding real world object (320) by means of a camera (330) with image sensor (331), wherein said one or more devices are configured to:
- obtain (401) said set of points (355-1 . . . 355-15);
- identify (403), for respective point (355), conflicting points, if any, in the set, wherein a conflicting point is a point of the set that cannot validly coexist with the respective point (355) according to predefined one or more criteria;
- and
- remove (404), from the set, based on said identification for respective point (355) of the set, one or more points of the set that have been involved in conflicts a greater number of times than other points of the set involved in conflicts, wherein a respective point (355) of the set is considered involved in a conflict each time there is identified a conflicting point in the set for the respective point and/or each time the respective point itself (355) is identified as a conflicting point to another point of the set.