TL;DR
This paper introduces BlockNet, a novel deep neural network for efficient block-based motion estimation. By employing a "representative matching" strategy in the feature domain, BlockNet significantly reduces computational cost while maintaining competitive accuracy compared to traditional methods.
What Problem Does This Paper Address?
Motion estimation, the process of determining movement between consecutive video frames, is crucial for various applications like video compression, global motion estimation, and frame rate up-conversion. While pixel-based deep learning methods like FlowNet have achieved high accuracy, they suffer from prohibitive computational costs and large model sizes, making them impractical for many real-world scenarios. Block-based motion estimation offers a more computationally efficient alternative, but traditional block-matching algorithms often struggle to accurately represent block features, especially when dealing with complex image content. This paper aims to bridge this gap by developing a deep learning approach that leverages the strengths of both block-based methods (efficiency) and deep features (representational power) for accurate and efficient motion estimation.
Methods
BlockNet employs a coarse-to-fine approach using a pyramidal structure. The core innovation lies in its representative matching strategy, which operates in the feature domain rather than the raw pixel intensity domain.
Here's a breakdown of the key components:
- Feature Extractor: A compact CNN architecture with shared weights for both input images extracts rich features. It uses a combination of standard and dilated convolutions to capture spatial information and expand the receptive field without increasing computational cost.
- Representative Matching: Instead of comparing all pixels within a block, BlockNet computes an average value for each block in the feature domain. This "representative value" is then used for matching. This significantly reduces the number of computations required for matching. The authors highlight that this approach is more effective in the feature domain than in the intensity domain, where traditional representative methods were less successful.
- Pyramidal Structure with Feature Warping: Similar to PWC-Net, BlockNet uses a multi-level pyramid. At each level, the motion estimated from the previous level is used to warp the reference feature, allowing for coarse-to-fine refinement of the motion estimation. This structure helps to reduce computational complexity while maintaining accuracy.
- Motion Estimation Network: A small CNN takes the cost volume generated by the representative matching as input to estimate the motion vector.
Datasets
- FlyingChairs: Used for training and testing BlockNet. This dataset contains 22,872 image pairs with ground-truth motion.
- MPI Sintel: Used for initial training of BlockNet.
Key Insights and Ideas
- Feature Domain Matching is Key: The paper strongly suggests that performing representative matching in the feature domain, extracted by CNNs, is significantly more effective than in the raw intensity domain. This is because CNN features are more robust and discriminative.
- Representative Matching for Efficiency: By averaging features within a block, the computational cost of matching is drastically reduced, making block-based motion estimation more practical.
- Coarse-to-Fine with Warping: The pyramidal structure with feature warping is a proven technique for efficient motion estimation, and its integration into BlockNet further enhances its performance.
- BlockNet's Compactness: The architecture is designed to be compact, with fewer parameters and lower computational cost compared to previous state-of-the-art deep learning methods for optical flow.
Key Results
- BlockNet with representative matching achieved similar average end-point error (EPE) to BlockNet with full matching.
- The proposed representative matching incurred 18% lower computational cost compared to full matching.
- Qualitative results show that BlockNet with representative matching produces results comparable to full matching, though sometimes it may miss fine details.
- The paper demonstrates that BlockNet with representative matching can achieve a good balance between accuracy and computational complexity, as visualized in Figure 4.
Limitations and Future Work
- Detailed Motion: The paper acknowledges that representative matching might occasionally fail to estimate the detailed motion of an object compared to full matching.
- Future Work: The authors plan to apply BlockNet to various real-time applications, such as frame rate up-conversion, due to its reduced computational cost and ease of implementation. They also suggest exploring its use in other real-time applications.
Summary updated