The invention relates to a device and a method for correcting the results of a computed tomography measurement of the geometry of a workpiece, the computed tomography sensor system, which consists at least of a radiation source, a two-dimensional detector and a mechanical axis of rotation for rotating the workpiece or component, being integrated into a coordinate measuring machine. To provide a simple and inexpensive method for carrying out a distortion correction, imaging errors present on the detector are corrected by measuring a calibration object in at least two relative positions between the calibration object and the detector.