Measuring axial length of the eye from magnetic resonance brain imaging