Leveraging Motion Estimation for Efficient Bayer-Domain Computer Vision

Haichao Wang, Jiangtao Wen, Yuxing Han, Han, Yuxing · DOI

Abstract: Existing computer vision processing pipeline acquires visual information using an image sensor that captures pixel information in the Bayer pattern. The raw sensor data are then processed using an image signal processor (ISP) that first converts Bayer pixel data to RGB on a pixel by pixel basis, followed by video convolutional network (VCN) processing on a frame by frame basis. Both ISP and VCN are computationally expensive with high power consumption and latency. In this paper, we propose a novel framework that eliminates the ISP and leverages motion estimation to accelerate video vision tasks directly in the Bayer domain. We introduce Motion Estimation-based Video Convolution (MEVC), which integrates sliding-window motion estimation into each convolutional layer, enabling prediction and residual-based refinement that reduces redundant computations across frames. This design bridges the structural gap between block-based motion estimation and spatial convolution, enabling accurate, low-cost processing. Our end-to-end pipeline supports raw Bayer input and achieves over 70% reduction in FLOPs with minimal accuracy degradation across video semantic segmentation, depth estimation, and object detection benchmarks, using both synthetic Bayer-converted and real Bayer video datasets. This framework generalizes across convolution-based models and marks the first effective reuse of motion estimation for accelerating video computer vision directly from raw sensor data.

Introduction: The Efficiency Bottleneck in Video Vision

Standard computer vision pipelines for video are plagued by two primary inefficiencies. First, the ISP Bottleneck: raw sensor data (Bayer pattern) must be converted into RGB images by an Image Signal Processor (ISP) before a neural network can process them. This pixel-by-pixel conversion is computationally expensive and often unnecessary for machine learning models.

Comparison between the traditional ISP-based pipeline and the proposed direct Bayer-domain pipeline.

Second, Temporal Redundancy: traditional Video Convolutional Networks (VCNs) process every frame independently, ignoring the high degree of similarity between adjacent frames. While previous attempts to mitigate these issues have used "key-frames" or block-copying techniques, they often suffer from accuracy degradation due to alignment errors or rapid motion. This paper proposes a framework that bypasses the ISP and leverages motion estimation to accelerate vision tasks directly in the Bayer domain.

The MEVC Framework: Bridging Compression and Convolution

The core of the proposed system is Motion Estimation-based Video Convolution (MEVC). This framework integrates traditional video compression concepts directly into the convolutional layers of a neural network.

Bayer-Domain Processing

The model is trained to operate directly on raw Bayer-pattern data. To overcome the scarcity of raw training datasets, the authors utilize an "Invertible-ISP" to synthesize Bayer data from existing high-quality RGB datasets. This allows the network to learn features directly from the sensor's "mosaic" output, saving the energy typically consumed by front-end ISP processing.

Sliding-Window Motion Estimation

A key technical challenge is the structural gap between block-based motion estimation (used in video codecs) and spatial convolution. The authors solve this by aligning the ME block size with the convolution kernel and the search stride with the convolution stride. This "Sliding-Window ME" ensures that motion vectors for input blocks correspond precisely to specific output pixels in the feature map.

The MEVC architecture showing layer-wise integration and the internal logic of the MEConv block.

Prediction and Residual Refinement

For non-key frames, the network uses motion vectors to "predict" the current frame's features based on the previous frame. It then performs a convolution only on the residual—the sparse difference map. Because the residual is mostly zeros, the network can skip the majority of calculations. This is mathematically supported by the linearity of convolution: $Conv(Frame_t) \approx Conv(Predicted\_from\_t-1) + Conv(Residual)$.

Experimental Results

The framework was evaluated across several benchmarks, including semantic segmentation (Cityscapes), depth estimation (NYU-Depth V2), and object detection (ImageNet-VID). To validate real-world performance, the authors also introduced CityBayer, a native Bayer-domain video dataset.

The results demonstrate a massive leap in efficiency with negligible accuracy loss:

  • Computational Savings: The framework achieved over a 70% reduction in GFLOPs across all tasks.
  • Semantic Segmentation: On Cityscapes, the model achieved 78.98% mIoU, nearly identical to the RGB baseline (79.06%), while cutting GFLOPs from 748 to 228.
  • Object Detection: On ImageNet-VID, the model saw a 70.48% reduction in FLOPs with less than 0.1% degradation in Average Precision (AP).
  • Real-World Viability: On the native CityBayer dataset, the average computational cost reduction reached 73.14%.

Conclusion and Future Work

By eliminating the ISP and repurposing motion estimation for feature-level prediction, this framework marks a significant step toward energy-efficient video computer vision. While current speedups are theoretical (based on FLOPs), future work will focus on low-level hardware optimizations and extending this motion-aware logic to Vision Transformers (ViTs). The paper reinforces a critical insight: ISPs are designed for human eyes; for machine vision, raw sensor data combined with temporal awareness is both sufficient and far more efficient.

Summary updated

BibTeX
@misc{wang2025leveraging,
  author = {Haichao Wang and Jiangtao Wen and Yuxing Han and Han, Yuxing},
  title = {{Leveraging Motion Estimation for Efficient Bayer-Domain Computer Vision}},
  year = {2025},
  eprint = {2501.15119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.15119},
}
Figure