ENH: use atropos for image segmentation