Image analysis in optical coherence tomography