A simulation-based study on the influence of beam hardening in X-ray computed tomography for dimensional metrology.