Dual-Camera Smooth Zoom on Mobile Phones

Renlong Wu, Zhilu Zhang, Yu Yang, Wangmeng Zuo

TL;DR

Smartphones often exhibit jarring jumps in color and geometry when switching between lenses during a digital zoom. This paper introduces ZoomGS, a novel 3D Gaussian Splatting framework that acts as a "data factory" to generate high-quality synthetic zoom sequences, allowing standard frame interpolation models to be fine-tuned for perfectly fluid dual-camera transitions.

What Problem Does This Paper Address?

If you’ve ever zoomed in on your smartphone and noticed a sudden "hiccup" where the image shifts slightly or the colors change, you’ve experienced the dual-camera transition problem.

Most modern phones use multiple fixed-focal-length lenses (e.g., a 0.6x Ultra-Wide and a 1.0x Wide). To zoom between them, the software crops the Ultra-Wide (UW) image and scales it up. However, when the zoom factor hits 1.0x, the system must switch to the Wide (W) camera. Because these cameras are physically located in different spots on the phone's back (causing parallax) and have different sensors and Image Signal Processors (ISPs), the transition is rarely seamless.

Fig. 1: (a) Existing dual-camera zoom. For zooming between UW and W cameras (i.e., from ×0.6 to ×1.0), smartphones (e.g., Xiaomi, OPPO, and vivo) generally crop out the specific area from the UW image, and scale the image up to the dimensions of the original. When the zoom factor changes from 0.9 to 1.0, the lens has to switch from UW to W, where notable geometric content and image color jump happen in the preview. (b) Our proposed dual-camera smooth zoom (DCSZ). (c) The geometric content and image color jump in (a) existing dual-camera zoom. Some examples can be found here.

While Video Frame Interpolation (VFI) could theoretically smooth this out, there is no "ground truth" data for what the transition should look like between two physical lenses. You can't put a third camera in the middle of the other two.

Methods

The authors propose a "data factory" approach to create the missing ground truth. Instead of relying on physical cameras, they build a virtual bridge using 3D reconstruction.

The ZoomGS Data Factory

The core innovation is ZoomGS, an enhanced version of 3D Gaussian Splatting (3DGS). Standard 3DGS creates a single 3D model of a scene, but it can't account for the fact that different cameras "see" the same scene with different color profiles or distortions.

  1. Camera-Specific Encoding: ZoomGS introduces a learnable encoding ($e$) for each camera. It treats the UW camera's Gaussians as a "base" model and uses a Camera Transition (CamTrans) module (a small MLP) to predict residuals—offsets in position ($\Delta x$) and color ($\Delta c$)—to transform that base model into a specific model for the W camera.
  2. Smooth Interpolation: To generate intermediate frames, the system interpolates the camera's physical parameters (position and focal length) and the camera encoding ($e$).
  3. Lipschitz Regularization: To ensure the transition is smooth and free of artifacts, the authors apply Lipschitz regularization to the CamTrans module. This prevents the model from making erratic changes as the encoding value shifts from 0 (UW) to 1 (W).
Fig. 2: Overview of the proposed method. (a) Data preparation for data factory. We collect multi-view dual-camera images and calibrate their camera extrinsic and intrinsic parameters. (b) Construction of ZoomGS in data factory. ZoomGS employs a camera transition (CamTrans) module to transform the base (i.e., UW camera) Gaussians to the specific camera Gaussians according to the camera encoding. (c) Data generation from data factory. The virtual (V) camera parameters are constructed by interpolating the dual-camera ones, and are then input into ZoomGS to generate zoom sequences. (d) Fine-tuning a frame interpolation (FI) model with the constructed zoom sequences.

Fine-Tuning

Once the data factory generates synthetic, perfectly smooth zoom sequences (with ground truth), the authors use this data to fine-tune existing VFI models like RIFE or EMAVFI. This bridges the "domain gap" between generic video motion and the specific geometric shifts of a dual-camera zoom.

Datasets

  • Synthetic Dataset: 155 zoom sequences generated from 78 reconstructed scenes (48 indoor, 30 outdoor) using a Redmi K50 Ultra. Each sequence contains 33 frames at 1632 × 1216 resolution.
  • Real-World Dataset: 100 real-world dual-camera image pairs from diverse scenes (desks, buildings, vegetation) used for zero-shot evaluation.

Key Insights and Ideas

  • Decoupling Geometry and ISP: By using a base 3D model for geometry and a separate encoding for camera-specific traits, the model can simulate the "look" of a transition without needing to explicitly model complex ISP pipelines.
  • The Power of Regularization: Without Lipschitz regularization, the virtual cameras often produce "flickering" artifacts. Enforcing smoothness in the transformation function is what makes the virtual data usable for training.
  • Synthetic-to-Real Transfer: The most significant finding is that VFI models trained only on this synthetic Gaussian Splatting data generalize remarkably well to real-world smartphone hardware, significantly reducing visual artifacts.
Visual artifacts (black arrows) appear during transitions if Lipschitz regularization is not used.

Key Results

The fine-tuned models outperformed their original versions across the board:

  • Quantitative: On the synthetic test set, the fine-tuned EMAVFI model achieved a 1.55dB PSNR gain over the baseline.
  • Qualitative: In real-world tests, fine-tuned models showed significantly fewer ghosting artifacts and smoother color transitions.
  • No-Reference Metrics: On real-world data (where no GT exists), metrics like NIQE and MUSIQ showed substantial improvements, indicating higher perceived image quality and naturalness.

Limitations and Future Work

The primary limitation is device generalization. The current model is trained on data from a specific camera layout (Redmi K50 Ultra). If a different phone has a vastly different physical distance between its lenses, the model might need to be fine-tuned again on data specific to that device's geometry. Future work could involve creating a more "universal" zoom model that can adapt to various dual-camera configurations dynamically.

Summary updated

Abstract

When zooming between dual cameras on a mobile, noticeable jumps in geometric content and image color occur in the preview, inevitably affecting the user's zoom experience. In this work, we introduce a new task, ie, dual-camera smooth zoom (DCSZ) to achieve a smooth zoom preview. The frame interpolation (FI) technique is a potential solution but struggles with ground-truth collection. To address the issue, we suggest a data factory solution where continuous virtual cameras are assembled to generate DCSZ data by rendering reconstructed 3D models of the scene. In particular, we propose a novel dual-camera smooth zoom Gaussian Splatting (ZoomGS), where a camera-specific encoding is introduced to construct a specific 3D model for each virtual camera. With the proposed data factory, we construct a synthetic dataset for DCSZ, and we utilize it to fine-tune FI models. In addition, we collect real-world dual-zoom images without ground-truth for evaluation. Extensive experiments are conducted with multiple FI methods. The results show that the fine-tuned FI models achieve a significant performance improvement over the original ones on DCSZ task. The datasets, codes, and pre-trained models will are available at https://github.com/ZcsrenlongZ/ZoomGS.
BibTeX
@inproceedings{wu2024dual,
  author = {Renlong Wu and Zhilu Zhang and Yu Yang and Wangmeng Zuo},
  title = {{Dual-Camera Smooth Zoom on Mobile Phones}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72973-7\_15},
}
Figure