In both cases the goal of segmentation is to be able to