Improving the accuracy of trabecular width measurements