Spectral precision distance microscopy