Convolutional sparse coding for capturing high speed video content

Ana Serrano, Elena Garces, Diego Gutierrez, Belen MasiaarXiv 2018 · DOI

TL;DR

This paper introduces a novel high-speed video reconstruction technique based on Convolutional Sparse Coding (CSC) that breaks the traditional trade-off between spatial and temporal resolution. By extending 2D CSC with a temporal smoothness constraint, the authors achieve a 14x speedup over state-of-the-art patch-based methods while enabling the use of generic, content-agnostic dictionaries (like pictures of fruit) to reconstruct entirely different scenes (like a lighting lighter).

What Problem Does This Paper Address?

Capturing high-speed video traditionally forces a compromise: as you increase the frame rate (temporal resolution), the spatial resolution drops due to sensor readout and bandwidth limitations. While specialized high-speed cameras exist, they are incredibly expensive.

Compressive sensing offers a software-driven alternative. By using a specialized "coded shutter," a camera can selectively sample pixels over time, compressing a sequence of frames into a single, motion-blurred-looking coded image.

Video acquisition via compressive sensing pipeline.

However, existing reconstruction methods rely on patch-based sparse coding. This approach breaks images into isolated blocks, which suffers from two major drawbacks:

  1. Long processing times: Training and reconstruction are computationally bottlenecked.
  2. Strict dictionary dependencies: To reconstruct a video of a specific scene (e.g., a flame), the algorithm must be trained on a dictionary of highly similar scenes, requiring access to specialized high-speed training data.

Methods

The authors pivot from patch-based methods to Convolutional Sparse Coding (CSC). Instead of treating image patches as independent entities, CSC models the entire image as a convolution of shiftable filters and sparse feature maps. This captures the underlying structure of the signal much more effectively.

Directly extending CSC to 3D (spatial + temporal dimensions) is computationally intractable due to massive memory requirements. To circumvent this, the authors propose a hybrid approach:

  • They perform 2D per-frame reconstruction using 2D filters ($d_k$) and 2D feature maps ($z_k$).
  • To prevent the visual artifacts and temporal instability common to per-frame methods, they introduce a temporal smoothness constraint into the optimization objective. This constraint enforces sparsity on the first-order derivatives over time (the backward finite differences between consecutive frames).

The resulting objective function is optimized efficiently using a modified Alternating Direction Method of Multipliers (ADMM) algorithm.

Datasets

The authors evaluated their approach using two primary data sources:

  1. High-Speed Video Database: A newly captured dataset consisting of 14 videos recorded at 1000 frames per second (fps) at up to 4 Megapixels using a specialized Photron SA2 camera. This dataset includes diverse scenes with high spatial and temporal variance (e.g., pouring soda, igniting a lighter).
  2. Generic Fruit Dataset: An existing, publicly available dataset from prior CSC literature containing simple images of fruits.

Key Insights and Ideas

  • Content-Agnostic Dictionaries Work: The most striking finding is that because CSC uses shiftable, spatially invariant filters, the dictionaries do not need to match the target video content. The authors successfully reconstructed high-speed videos of flames and moving objects using a dictionary trained purely on static images of fruits.
Comparison showing that generic filters perform nearly identically to scene-specific filters.
  • The 2D + Time Sweet Spot: While a full 3D CSC model is too heavy for standard hardware, anchoring independent 2D frames together with a temporal derivative penalty provides the regularizing benefits of 3D processing without the computational nightmare.
  • Smart Sampling for Patches: For the baseline patch-based methods, the authors found that sampling training blocks based on variance (ensuring an equal distribution of high, medium, and low variance blocks) consistently outperformed random or gamma-distributed sampling.

Key Results

  • 14x Speedup: On average, the proposed CSC framework reconstructed video sequences 14 times faster than the state-of-the-art patch-based framework. For instance, a video that took over an hour (4,208 seconds) to reconstruct via patch-based methods took just over 4 minutes (249 seconds) using CSC.
  • Extreme Compression Recovery: The algorithm successfully reconstructed 20 distinct video frames from a single coded image, despite sampling less than 15% of the total pixel data over time.
  • Comparable Quality: Quantitative evaluation using MS-SSIM and PSNR metrics showed that the CSC approach yields a visual quality closely competitive with patch-based methods, but without the restrictive requirement of scene-specific training data.

Limitations and Future Work

The primary limitation of this work is that it remains a compromise; it does not process true 3D space-time blocks directly during dictionary training due to the scaling limits of convolutional matrices.

The authors note that finding alternative mathematical strategies to handle full $(x-y-t)$ blocks efficiently is a key avenue for future research. Additionally, they hope these algorithmic insights will eventually influence the co-design of commercial, consumer-grade computational imaging hardware.

Summary updated

BibTeX
@misc{serrano2018convolutional,
  author = {Ana Serrano and Elena Garces and Diego Gutierrez and Belen Masia},
  title = {{Convolutional sparse coding for capturing high speed video content}},
  year = {2018},
  eprint = {1806.04935},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.04935},
}
Figure