pwc-net
**PWC-Net** is the **optical flow architecture built on feature pyramids, frame warping, and cost volumes for efficient coarse-to-fine motion estimation** - it combines classical flow principles with deep learning to achieve strong accuracy-speed tradeoffs.
**What Is PWC-Net?**
- **Definition**: Pyramid, Warping, and Cost-volume network for dense optical flow.
- **Pyramid Principle**: Estimate flow from low resolution to high resolution progressively.
- **Warping Step**: Warp second-frame features using current flow estimate to simplify residual matching.
- **Cost Volume**: Local correlation tensor encoding match quality around each location.
**Why PWC-Net Matters**
- **Efficiency**: Significantly lighter than earlier large flow networks.
- **Large Motion Handling**: Coarse levels capture broad displacement effectively.
- **Refinement Quality**: Fine levels recover local detail after global alignment.
- **Design Influence**: Became a standard template for many later flow models.
- **Deployment Practicality**: Good balance for real-time or near-real-time applications.
**PWC-Net Pipeline**
**Step 1**:
- Build feature pyramids for both frames and estimate initial flow at coarsest scale.
**Step 2**:
- Warp second-frame features, compute local cost volume, and predict residual flow.
**Step 3**:
- Upsample flow to next level and repeat refinement until full resolution output.
**Tools & Platforms**
- **PyTorch implementations**: Widely available for benchmarking and fine-tuning.
- **Flow evaluation suites**: EPE and outlier metrics on Sintel and KITTI.
- **Video restoration stacks**: PWC-style modules for alignment backbones.
PWC-Net is **a durable optical-flow design that operationalizes coarse-to-fine matching with strong efficiency and robustness** - it remains a practical baseline for many motion-aware systems.