Learning Fine-Grained Motion Embedding for Landscape Animation

Hongwei Xue, Bei Liu, Huan Yang, Jianlong Fu, Houqiang Li, Jiebo Luo · DOI

Abstract: In this paper we focus on landscape animation, which aims to generate time-lapse videos from a single landscape image. Motion is crucial for landscape animation as it determines how objects move in videos. Existing methods are able to generate appealing videos by learning motion from real time-lapse videos. However, current methods suffer from inaccurate motion generation, which leads to unrealistic video results. To tackle this problem, we propose a model named FGLA to generate high-quality and realistic videos by learning Fine-Grained motion embedding for Landscape Animation. Our model consists of two parts: (1) a motion encoder which embeds time-lapse motion in a fine-grained way. (2) a motion generator which generates realistic motion to animate input images. To train and evaluate on diverse time-lapse videos, we build the largest high-resolution Time-lapse video dataset with Diverse scenes, namely Time-lapse-D, which includes 16,874 video clips with over 10 million frames. Quantitative and qualitative experimental results demonstrate the superiority of our method. In particular, our method achieves relative improvements by 19% on LIPIS and 5.6% on FVD compared with state-of-the-art methods on our dataset. A user study carried out with 700 human subjects shows that our approach visually outperforms existing methods by a large margin.

The Challenge of Stochastic Motion

Landscape animation—creating a moving time-lapse from a single photo—is notoriously difficult because motion is "stochastic" (uncertain). For instance, a cloud in a static photo could move in any direction. Existing methods generally fall into two categories: implicit learning using 3D-CNNs and explicit learning using global latent spaces for optical flows.

However, these approaches often apply a "one-size-fits-all" motion to the entire frame. This lack of fine-grained control leads to artifacts where static objects, like mountains, appear to "drift" along with moving elements like clouds. The core insight of this research is that different objects in a landscape have distinct motion patterns that must be modeled separately to achieve realism.

The FGLA Framework

The proposed model, FGLA (Fine-Grained motion embedding for Landscape Animation), introduces a pipeline that decouples motion from appearance through four main stages:

Overview of the FGLA architecture, illustrating the four-stage pipeline from semantic extraction to motion generation.
  1. Semantic-Guided Encoding: The model utilizes a pre-trained segmentation network to identify distinct regions such as sky, grass, and water.
  2. Shared Partial Convolutions: To prevent motion "leakage" between regions (e.g., sky motion affecting trees), the authors employ Partial Convolutions. This ensures the motion embedding for a specific class is calculated only from pixels belonging to that class.
  3. Latent Mapping: Independent motion variables for each semantic class are reorganized into a 2D "latent map" spatially aligned with the original image.
  4. Motion Generation and Warping: A U-Net-based generator processes the input image and latent map to predict an optical flow. The final video is created by "warping" the original pixels, preserving the high-fidelity textures of the source photo.

Time-lapse-D: A New Benchmark

Existing datasets were found to be too limited in scope. To address this, the researchers introduced Time-lapse-D, currently the largest high-resolution time-lapse dataset. It contains 16,874 video clips with over 10 million frames. Unlike previous datasets that focused primarily on clouds, Time-lapse-D includes 13 categories, such as waterfalls, flowing rivers, swaying hayfields, and starry nights. Over 70% of the data is in 720p or 1080p resolution.

Experimental Results

FGLA was benchmarked against state-of-the-art models including MDGAN, DTVNet, and Animating-Landscape (AL).

Qualitative comparison of FGLA against state-of-the-art methods. Insets show the generated motion vectors, highlighting FGLA's ability to produce distinct, fine-grained motion for different semantic regions.
  • Quantitative Performance: FGLA achieved a 19% improvement in LPIPS (perceptual similarity) and a 5.6% improvement in FVD (Fréchet Video Distance) over previous best methods on the Time-lapse-D dataset.
  • Qualitative Realism: In a user study with 700 subjects, FGLA was preferred by a massive margin. Notably, 31% of users confused FGLA-generated videos with real ground-truth footage.
  • Controllability: Because motion is embedded semantically, users can "mix and match" motion, such as applying stormy cloud motion to a calm lake scene by referencing different source videos.

Limitations and Future Work

While FGLA represents a significant step forward, it faces challenges with occlusions, where warping can reveal "holes" in the background when objects move. Future work may involve integrating video inpainting to resolve these gaps. Additionally, the model currently focuses on physical pixel-warping and does not yet handle complex biological transitions like flowers blossoming or urban traffic flows. The quality of the output also remains dependent on the accuracy of the initial semantic segmentation masks.

Summary updated

BibTeX
@inproceedings{xue2021learning,
  author = {Hongwei Xue and Bei Liu and Huan Yang and Jianlong Fu and Houqiang Li and Jiebo Luo},
  title = {{Learning Fine-Grained Motion Embedding for Landscape Animation}},
  booktitle = {ACM Multimedia},
  year = {2021},
  doi = {10.1145/3474085.3475421},
}
Figure