AdaContour: Adaptive Contour Descriptor with Hierarchical Representation
Tianyu Ding, Jinxin Zhou, Tianyi Chen, Zhihui Zhu, Ilya Zharkov, Luming Liang
TL;DR
AdaContour tackles the limitation of single-global angle-based contour descriptors on non-starconvex shapes by introducing hierarchical encoding to produce multiple local contours and a shared low-rank subspace learned via robust subspace recovery. The method reconstructs object boundaries by projecting local contours onto a universal basis and reassembling them, enabling accurate representation with few coefficients. Empirical results show clear advantages over single-contour baselines across multiple datasets and tasks, including improved IOU and competitive instance-segmentation performance when integrated with YOLOv3, while maintaining efficiency through early stopping and basis-sharing. The approach offers a scalable, robust descriptor for complex shapes with potential extensions to end-to-end segmentation, shape deformation, and generative modeling.
Abstract
Existing angle-based contour descriptors suffer from lossy representation for non-starconvex shapes. By and large, this is the result of the shape being registered with a single global inner center and a set of radii corresponding to a polar coordinate parameterization. In this paper, we propose AdaContour, an adaptive contour descriptor that uses multiple local representations to desirably characterize complex shapes. After hierarchically encoding object shapes in a training set and constructing a contour matrix of all subdivided regions, we compute a robust low-rank robust subspace and approximate each local contour by linearly combining the shared basis vectors to represent an object. Experiments show that AdaContour is able to represent shapes more accurately and robustly than other descriptors while retaining effectiveness. We validate AdaContour by integrating it into off-the-shelf detectors to enable instance segmentation which demonstrates faithful performance. The code is available at https://github.com/tding1/AdaContour.
