TL;DR
This paper introduces a novel method for tracking deformable objects in video by combining optical flow constraints with deformable meshes. By separately estimating global transformations and elastic deformations with weighted smoothness constraints, the approach effectively handles complex deformations like cloth movement, offering a robust solution for applications like virtual mirrors.
What Problem Does This Paper Address?
Tracking deformable objects in video sequences is a challenging problem with applications ranging from medical imaging and video compression to augmented reality and human motion analysis. The core difficulty lies in the unknown and complex nature of the deformation field. Traditional methods often rely on discrete feature points, which can be sensitive to noise and may not capture the full extent of deformation. This paper aims to address this by leveraging the dense information provided by optical flow, while also incorporating the flexibility of deformable meshes to model complex shape changes. The challenge is to effectively regularize the optical flow, which is an ill-posed problem, and to ensure that both global motion and local deformations are accurately captured without inhibiting each other.
Methods
The proposed method combines optical flow constraints with deformable 2D triangle meshes. The process involves several key steps:
- Optical Flow Constraint: The foundation of the method is the optical flow equation, which relates pixel intensity changes to pixel displacements. This provides a dense motion field but is inherently under-determined.
- Hierarchical Global Transformation Estimation: To handle larger displacements, a hierarchical approach using an image pyramid is employed. This starts by estimating global transformations (translation, then affine) on coarser levels of the pyramid. This separation of global motion is crucial for later applying smoothing constraints to local deformations without affecting the overall object movement.
- Deformable Mesh Representation: The object is represented by a triangulated mesh. Each pixel in the image is then mapped to the mesh using barycentric coordinates.
- Elastic Deformation Estimation: Once global transformations are estimated and applied, the remaining elastic deformations are calculated using the optical flow constraint applied to the mesh vertices.
- Weighted Smoothness Constraints: To regularize the optical flow and ensure spatially and temporally smooth deformations, the method incorporates two types of smoothness constraints:
- Temporal Smoothness: A regularization term is added to minimize the temporal variation of vertex displacements, ensuring that deformations are smooth from one frame to the next.
- Spatial Smoothness: Additional spatial smoothness constraints are introduced, particularly for under-constrained vertices. The weight of these constraints is adapted based on how "constrained" a vertex is by the optical flow equation (i.e., how many image points influence its displacement). This allows vertices to behave more like their neighbors when their own motion is poorly defined.
- Warped Image Tracking: To mitigate error accumulation, the tracking process uses warped images from previous steps rather than the original frames for subsequent estimations. This allows the system to recover from estimation inaccuracies.
Datasets
Not discussed in the paper. The authors demonstrate their method using a test sequence of a logo on a shirt, showing examples of partial occlusion and 3D rotation.
Key Insights and Ideas
- Separating Global and Local Motion: The explicit separation of global transformations (translation, affine) from elastic deformations is a key insight. This allows for robust tracking of large object movements while simultaneously modeling intricate local shape changes.
- Weighted Spatial Smoothness for Under-constrained Vertices: The adaptive weighting of spatial smoothness constraints based on vertex "constrainedness" is a clever way to handle areas where optical flow provides weak information. This prevents artifacts and ensures a more coherent mesh deformation.
- Warped Image Tracking for Robustness: Using warped images instead of raw frames for subsequent tracking steps is a critical technique for error recovery. It allows the system to "forget" minor inaccuracies from previous frames and re-align more effectively.
- Exploiting Dense Optical Flow: Moving beyond sparse feature points to leverage the dense information from optical flow provides a richer motion signal, leading to more accurate and detailed deformation tracking.
Key Results
The paper demonstrates the effectiveness of their method through qualitative results on a challenging test sequence. They show that their approach can track complex deformations, including partial occlusions and 3D rotations of a logo on a shirt. The figures illustrate how the deformable mesh accurately maps onto the object's contours across different frames. The comparison between using a standard smoothness constraint (Figure 7) and the proposed weighted smoothness constraint (Figure 8) highlights the improved spatial smoothness and more natural deformation achieved with their adaptive approach, especially in areas with less defined optical flow.
Limitations and Future Work
- Pre-segmentation Requirement: The current method requires the object of interest to be pre-segmented.
- Partial Occlusion Handling: While the method shows robustness to estimation inaccuracies, it acknowledges that it cannot perfectly represent partial occlusions.
- Future Work:
- Eliminating Pre-segmentation: Extending the method to handle non-binary video sequences, thus removing the need for pre-segmentation.
- Hierarchical Meshes: Using hierarchical meshes to refine the mesh in regions with large deformations.
- Simple Shape Features for Initialization: Defining simple shape features for robust object detection and initialization within video frames.
- Real-time Performance: Optimizing the system for real-time applications.
Summary updated