Rock/pore/connected segmentation.