A graph-based technique for semi-supervised segmentation of 3D surfaces