Abstract
Single-image deblurring remains a challenging task due to its ill-posed nature. While smartphone gyroscopes provide valuable motion data, real-world sensor noise and misalignment often hinder their effectiveness. We present GyroDeblurNet, a framework that treats gyroscope data as a noisy prior rather than absolute truth. By utilizing a novel Camera Motion Field (CMF) and a dedicated refinement module, GyroDeblurNet achieves state-of-the-art performance, outperforming existing methods in both restoration quality and inference speed.
Introduction
Capturing sharp images with handheld devices is often compromised by camera shake, leading to motion blur. While modern smartphones incorporate gyroscopes to track motion, directly applying this data for deblurring is difficult due to "gyro error." This error stems from sensor noise, physical misalignment between the sensor and lens, and the inability of gyroscopes to account for dynamic scene elements or depth-dependent blur. Previous approaches often suffered from artifacts like ringing when sensor data deviated from the actual visual blur.
Proposed Method: GyroDeblurNet
GyroDeblurNet is designed to robustly integrate gyroscope data by refining it through visual cues. The architecture consists of an image deblurring module and a specialized gyro module.
Camera Motion Field (CMF)
A core innovation is the Camera Motion Field (CMF). Unlike simple homographies that assume a planar scene, the CMF is a 3D tensor representing the per-pixel trajectory over the exposure time. This allows the model to handle complex, non-linear camera shakes more accurately.
Refinement and Deblurring Blocks
The Gyro Refinement Block uses features from the blurry image to correct global inconsistencies in the gyro data, such as sensor bias. Subsequently, the Gyro Deblurring Block employs deformable convolutions to adapt the restoration process to local errors, such as moving objects that the gyroscope cannot detect.
Curriculum Learning
To enhance robustness, the model is trained using a curriculum learning strategy. It begins with clean synthetic gyro data and gradually introduces noise and rotational offsets, teaching the network to rely on the gyro data initially and then learn to correct it as it becomes more realistic and "messy."
Experiments and Results
The authors evaluated GyroDeblurNet on two new benchmarks: GyroBlur-Synth (14,600+ images with real-world gyro traces) and GyroBlur-Real (real-world photos with paired gyro logs).
Quantitative Performance
On the synthetic dataset, GyroDeblurNet achieved a PSNR of 27.28 dB, significantly outperforming the gyro-based EggNet (by ~2 dB) and the single-image FFTformer (by ~1 dB).
Computational Efficiency
The model is remarkably efficient due to the strong motion prior provided by the gyro data. It processes a 720p image in 0.13 seconds on an RTX 3090, which is approximately 14x faster than the image-only FFTformer (1.87 seconds).
Qualitative Results
In real-world scenarios, GyroDeblurNet successfully restores fine details, such as text and textures, without the artificial halos or ringing artifacts common in traditional methods.
Conclusion and Limitations
GyroDeblurNet demonstrates that integrating sensor data with visual features can effectively overcome the limitations of cheap mobile hardware. While the model currently uses a fixed number of motion vectors ($M=8$), it provides a fast and high-quality solution for single-image deblurring. Future work may incorporate accelerometer data to better account for translational camera movements alongside rotation.
Summary updated