Semantic segmentation of optical imagery