Use triplet representation as segmentation interface.