TL;DR
GyroDVD is the first learning-based framework for gyro-based video deblurring. By combining high-frequency gyroscope data with inter-frame optical flow, it models both rotational and translational camera motion to construct accurate, pixel-wise blur kernels. Supported by a newly introduced large-scale dataset (GyroVD), this approach significantly outperforms existing video and gyro-based image deblurring methods, especially in scenarios with severe motion blur.
What Problem Does This Paper Address?
Handheld video recording in low-light environments frequently suffers from motion blur caused by camera shake. While modern learning-based video deblurring methods have improved significantly, they struggle when blur is severe because neighboring frames are often equally degraded, making temporal feature fusion ineffective.
To assist deblurring, some methods leverage hardware-based auxiliary data. Gyroscope sensors, standard in modern smartphones and DSLRs, provide low-cost, high-frequency measurements of camera rotation. However, existing gyro-based deblurring techniques have two major flaws:
- They ignore translational motion: Gyros only measure rotation. If a user is walking or moving while filming, the resulting translational blur is completely unaccounted for.
- They rely on rigid models: Traditional deconvolution-based solutions use simplified blur models that fail to capture complex, real-world pixel trajectories.
GyroDVD addresses these gaps by introducing a unified framework that accounts for both rotational and translational motion in video deblurring.
Methods
The GyroDVD framework consists of two main parts: a novel blur kernel construction scheme and a kernel-guided deep network.
1. Decomposed Camera Motion Model
To capture complete camera motion without requiring expensive depth sensors or accelerometers, the authors propose a model that separates pixel-wise motion into:
- Rotational Component ($k^{\text{rot}}$): Derived directly by integrating high-frequency angular velocity from the gyroscope.
- Translational Component ($k^{\text{tran}}$): Estimated by taking the total inter-frame optical flow and subtracting the calculated rotational motion. This isolates the translational vector, which is then distributed across the frame's exposure interval.
2. GyroDVD Network Architecture
The network uses an encoder-decoder structure optimized to exploit these constructed kernels efficiently:
- Blur Kernel Encoding: Rather than naively fusing $k^{\text{rot}}$ and $k^{\text{tran}}$ in the pixel domain (which can amplify errors), the network encodes them separately and fuses them in the feature space.
- Image Encoder: Uses modulated deformable convolutions guided by the blur kernel features to remove per-frame blur.
- Video Decoder (KGS-Block): To propagate features across frames efficiently, the authors introduce the Kernel-Guided Shift Block (KGS-Block). Instead of using fixed spatial shifts like standard architectures (e.g., ShiftNet), it adaptively predicts spatial shift patterns directly from the blur kernel features.
Datasets
Because no large-scale gyro-video dataset existed, the authors built the GyroVD Dataset using a custom smartphone application that simultaneously records 240 FPS video and 400 FPS gyro data:
- GyroVD-Syn: 632 videos (63,200 frames total) across diverse scenes with real camera motion and dynamic objects. Blurred frames are synthesized by averaging consecutive high-speed frames. The test set is split into small, medium, and large blur categories.
- GyroVD-Real: 100 real-world blurred videos captured in low-light indoor and night scenes, used for no-reference evaluation.
Key Insights and Ideas
- Translation Cannot Be Ignored in Video: While purely rotational models work passably for single-image deblurring, they fail for video because camera translation (e.g., from a walking photographer) creates significant, spatially varying blur trajectories. Combining both components yields kernels that match real-world blur much more closely.
- Feature-Space Fusion is Essential: Gyro data and optical flow have fundamentally different error characteristics. Fusing them in the pixel domain degrades performance, whereas separate feature-space encoding allows the network to preserve complementary motion cues and remain robust to estimation errors.
- Kernel-Guided Temporal Propagation: Guiding the alignment and shift mechanisms in the video decoder using motion kernels makes temporal fusion far more effective under severe blur, preventing the alignment failures common in standard video deblurring networks.
Key Results
The authors evaluated GyroDVD against state-of-the-art video deblurring models (such as ShiftNet+, BasicVSR++, and EDVR) and gyro-based image deblurring methods (like GyroDeblur).
Quantitative Performance
On the GyroVD-Syn dataset, GyroDVD variants consistently outperformed all competitors:
- GyroDVD-128 achieved an average PSNR of 35.93 dB (outperforming the best baseline, ShiftNet+, by 0.62 dB and the gyro-image baseline, GyroDeblur, by 3.59 dB).
- Robustness to Severe Blur: On the "large blur" subset, GyroDVD-128 outperformed ShiftNet+ by 0.87 dB. Even the lightweight variant, GyroDVD-48, beat all baseline methods on severe blur while using fewer parameters.
Qualitative Performance
Qualitative evaluations on both synthetic and real-world datasets show that GyroDVD successfully restores sharp text and fine structural details in saturated regions where other methods produce severe artifacts or fail to remove the blur.
Limitations and Future Work
- Dependency on Optical Flow: The translational component relies on optical flow estimated from the blurred frames themselves. If the initial video is excessively blurred or contains severe artifacts, the optical flow estimation can fail, leading to degraded deblurring performance.
- Inference Speed: While smaller variants like GyroDVD-48 run faster (0.088 seconds per frame), the highest-performing model (GyroDVD-128) takes 0.202 seconds per frame, making it currently too slow for real-time, on-device mobile applications. Optimizing the network for real-time deployment remains an open direction for future research.
Summary updated