Automatic segmentation of anterior segment optical coherence tomography images