Robust region detection via consensus segmentation of deformable shapes