Abstract segmentation pipeline