Polygonal Point Set Tracking

Gunhee Nam, Miran Heo, Seoung Wug Oh, Joon-Young Lee, Seon Joo Kim

Abstract

This paper introduces a learning-based framework for tracking polygonal point sets across video frames, providing both a precise object mask and point-to-point correspondences. By bridging the gap between pixel-level segmentation and individual patch tracking, the method enables complex visual effects like non-rigid deformation and texture mapping that were previously labor-intensive. The proposed approach achieves state-of-the-art performance on a new benchmark while maintaining high efficiency.

Introduction: The Rotoscoping Bottleneck

In the world of Visual Effects (VFX), "rotoscoping"—the process of manually tracing an object to create a mask—is a notorious bottleneck. Even skilled artists often process only a dozen frames a day due to the precision required. Existing automated solutions generally fall into two categories, both of which have significant limitations for professional workflows:

  1. Patch Tracking: This method tracks specific points but ignores the overall object shape and is highly prone to "drift" over time.
  2. Video Object Segmentation (VOS): These models provide a mask or contour but lack point-to-point correspondence. They do not indicate which specific point on the boundary moved to which location in the subsequent frame.

Without point-to-point correspondence, artists cannot easily perform tasks like "pinning" a digital tattoo to a moving character's arm or warping specific parts of an object. This paper proposes Polygonal Point Set Tracking to solve both mask generation and correspondence simultaneously.

Methodology: Global-to-Local Alignment

The authors propose a two-stage "Global-to-Local" alignment strategy to ensure both robustness and precision:

Global Alignment

A lightweight network predicts an affine transformation matrix to roughly align the previous frame's polygon to the current frame. This stage handles large-scale camera or object motion, providing a stable starting point for refinement.

Local Alignment Module (LAM)

The core innovation of the paper is the LAM, which refines the position of each point in the set using three key components:

  • Circular Convolutions: These ensure the model respects the "loop" nature of a polygon, where the last point connects back to the first.
  • Multi-Head Attention (MHA): This allows points to "communicate" with each other, ensuring the tracked shape remains geometrically consistent and preventing points from drifting in random directions.
  • Temporal History (LSTM): A recurrent unit helps maintain smoothness by remembering the trajectory of points over time.

Learning without Manual Labels

To train the model without a massive manual dataset of point correspondences, the authors employed two strategies. First, they used Synthetic Data by taking static images, extracting object contours, and applying random "Moving Least Squares" deformations to create perfectly labeled training videos. Second, they utilized Unsupervised Cycle-Consistency, training the model to track a point set forward through time and then backward, penalizing the model if the points did not return to their starting positions.

Datasets and Evaluation

The model was trained on standard VOS datasets like YouTube-VOS and DAVIS, augmented with the authors' synthetic deformation dataset. For evaluation, the authors utilized DAVIS 2016 and CPC (Contour Point Correspondence).

Crucially, the authors introduced the Point Set Tracking (PoST) dataset. It consists of 30 sequences where point correspondences were manually annotated every 10 frames—a first for the field, as previous datasets only provided masks without tracking the identity of specific boundary points.

Key Results and Applications

The method significantly outperformed existing baselines, such as ROAM and Roto++, in both spatial and temporal accuracy on the PoST dataset. Beyond accuracy, the model is remarkably efficient, processing frames at 84ms per frame on a Titan X GPU, making it the fastest among dedicated point set trackers.

Visualizing polygonal point set tracking and its application in non-rigid part distortion.

The practical utility of this approach is demonstrated through various VFX applications. By maintaining point identity, the system enables high-quality texture mapping (e.g., placing a logo on a moving vehicle) and non-rigid part distortion. As shown in the figure above, the system can track the specific points of a subject's head to apply consistent deformations that follow the natural motion of the video.

Conclusion and Future Work

By treating the polygon as a single structural entity rather than a collection of independent dots, this framework prevents the "spaghetti" effect common in point tracking. However, limitations remain. The current model is not designed for heavy partial occlusions or objects that change topology (e.g., splitting or having holes). Future work may involve integrating this into interactive tools where users can "nudge" points, combining automated efficiency with human artistic control.

Summary updated

BibTeX
@inproceedings{nam2021polygonal,
  author = {Gunhee Nam and Miran Heo and Seoung Wug Oh and Joon-Young Lee and Seon Joo Kim},
  title = {{Polygonal Point Set Tracking}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00552},
}
Figure