Measuring error compensation on three-dimensional scans of translucent objects