Warp and Learn: Novel Views Generation for Vehicles and Other Objects

Andrea Palazzi, Luca Bergamini, Simone Calderara, Rita Cucchiara · DOI

TL;DR

This paper introduces "Warp and Learn," a novel self-supervised, semi-parametric approach for generating realistic novel views of objects from a single image. By combining geometric priors (like object symmetry and piece-wise planarity) with a deep learning Image Completion Network (ICN), the method excels at preserving high-frequency details and handling arbitrary 3D transformations, outperforming purely learning-based methods.

What Problem Does This Paper Address?

Generating realistic novel views of an object from a single input image is a challenging task. Traditional parametric (learning-based) methods often struggle to preserve fine-grained details like textures and can be limited in the range of viewpoints they can synthesize. Existing approaches often require large datasets of paired images or are restricted to synthetic data due to the difficulty of obtaining real-world data with precise viewpoint annotations. This paper aims to bridge this gap by leveraging geometric knowledge to guide a deep learning model, enabling more robust and detailed novel view synthesis, even for arbitrary 3D transformations and shape transfer.

Methods

The core of the "Warp and Learn" approach is its "semi-parametric" nature, blending geometric reasoning with deep learning.

  • Geometric Guidance: The method starts by extracting 2D keypoints from the input image. These keypoints are used to define piece-wise planar patches on the object's surface. Leveraging object symmetry and planarity, these patches are then "warped" to a target viewpoint using homography transformations. This warped patch set provides a geometrically principled initial guess for the novel view.
  • 2.5D Sketches: To further constrain the shape of the generated object, a 2.5D sketch is rendered from a 3D CAD model of the object (selected from a database or inferred) at the target viewpoint. This sketch provides explicit shape information.
  • Appearance Prior: A small central crop of the input image is used as an "appearance prior" to help the network capture low-frequency visual information, especially when viewpoints are very different and direct texture warping is less effective.
  • Image Completion Network (ICN): A fully convolutional network (encoder-decoder architecture) takes the warped patches, the 2.5D sketch, and the appearance prior as input. It is trained in a self-supervised manner to reconstruct the novel view.
  • Dewarping Trick: A crucial training technique involves warping patches to a random intermediate viewpoint and then back to the source viewpoint. This "dewarping" process forces the ICN to learn to reconstruct the image from potentially imperfect warped patches, improving robustness to homography errors and generalization to unseen viewpoints.
  • Self-Supervised Training: The ICN is trained using a combination of a perceptual loss (based on VGG features) and an adversarial loss, without requiring paired source-target images.

Datasets

  • Pascal3D+: This dataset, containing real-world images of objects (cars, chairs, etc.) with associated 3D annotations (CAD models, keypoints, pose), was used for training and evaluation.
  • ShapeNet: Synthetic data was generated from ShapeNet car models to augment the training set, particularly for balancing viewpoint distributions and improving performance on out-of-distribution viewpoints.

Key Insights and Ideas

  • Geometry as a "Soft Prior": The paper demonstrates that integrating geometric knowledge (like symmetry and planarity) as a "soft prior" into a deep learning framework is more effective than purely learning-based approaches for novel view synthesis. This geometric guidance helps avoid catastrophic failures and ensures consistency.
  • Semi-Parametric Advantage: The "semi-parametric" approach, where geometry is not learned but used as input, allows for better preservation of high-frequency details (textures) and enables handling arbitrary 3D transformations, which is difficult for purely parametric models.
  • Dewarping for Robustness: The dewarping training trick is essential for preventing the network from simply copying input patches and forcing it to learn robust reconstruction from potentially noisy warped data, leading to better generalization.
  • Shape Transfer Capability: The method naturally supports shape transfer by using a different 3D CAD model for rendering the 2.5D sketch, allowing the appearance from the original image to be applied to a new shape.

Key Results

  • Quantitative Performance: The method achieves state-of-the-art results on the Pascal3D+ dataset, outperforming competitors like VON, TVSN, and MV2NV in terms of Fréchet Inception Distance (FID) across various viewpoints. For instance, on the car dataset, their FID scores are consistently lower than competitors.
  • Qualitative Results: Visual results show high-quality novel views that preserve fine-grained textures and details. The method is resilient to large viewpoint variations, including arbitrary rotations, elevation changes, and zoom.
  • Perceptual Studies: Human A/B preference tests show that users significantly prefer the generated views from "Warp and Learn" over those from competing methods, especially for textured objects.
  • Generalization: The approach demonstrates generalization to other rigid object classes like chairs, and even to less common objects like buses, trains, and sofas, provided they exhibit similar geometric properties.
  • Real-time Performance: Inference is efficient, taking approximately 3ms on a GTX 1080, making it suitable for real-time applications.

Limitations and Future Work

  • CAD Model Dependency: The quality of the generated views is dependent on the availability and alignment of 3D CAD models. Misalignment between CAD models and real images can lead to artifacts, especially for objects with holes or complex structures like chairs.
  • Object Class Constraints: The method relies on geometric properties like symmetry and piece-wise planarity, which might not hold for all object categories.
  • Future Work: The authors suggest extending the analysis to a broader set of object categories and exploring more sophisticated ways to handle complex geometries and occlusions. They also mention that the approach can be complemented with synthetic data for improved performance on extreme viewpoint transformations.

Summary updated

BibTeX
@article{palazzi2022warp,
  author = {Andrea Palazzi and Luca Bergamini and Simone Calderara and Rita Cucchiara},
  title = {{Warp and Learn: Novel Views Generation for Vehicles and Other Objects}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
  doi = {10.1109/tpami.2020.3030701},
}
Figure