Segmentation of grain boundaries in WC-Co cermets