Car-Studio: Learning Car Radiance Fields From Single-View and Unlimited In-the-Wild Images

Tianyu Liu, Hao Zhao, Yang Yu, Guyue Zhou, Ming Liu

Introduction

High-fidelity 3D vehicle assets are essential for the development of realistic autonomous driving (AD) simulators. Traditionally, these assets are reconstructed from egocentric video streams captured by vehicle-mounted cameras. However, this approach suffers from a "constrained view" problem: most vehicles in these datasets are observed only from the front or the rear. Consequently, when a simulator attempts to render these vehicles from novel angles, such as the side, the results are often blurry or geometrically distorted.

Car-Studio addresses this challenge by leveraging the "endless" supply of unconstrained car images available on the internet. By mapping these "in-the-wild" photos into a shared canonical coordinate system and employing mask-guided learning, Car-Studio reconstructs high-quality, 3D-aware Neural Radiance Fields (NeRFs) that remain sharp and realistic from any perspective.

Methodology

The Car-Studio pipeline is divided into three primary phases designed to transform messy internet data into clean 3D assets:

1. Preprocessing and Data Cleaning

Since internet images lack camera intrinsics and precise 3D poses, the pipeline utilizes a suite of off-the-shelf tools to extract necessary metadata. This includes Detectron2 for 2D object detection, DD3D for estimating rough 3D bounding boxes and camera focal lengths, and Segment Anything (SAM) to generate high-fidelity pixel-level masks.

2. Canonical Normalization

A core innovation of Car-Studio is the transformation of all car instances into a car-centric canonical coordinate system. By scaling every detected vehicle into a normalized 3D box ([-1, 1]³), the network can learn across thousands of different images simultaneously. This normalization allows the model to develop a robust "category-level" prior for car geometry, enabling it to understand the general shape of sedans, SUVs, and trucks.

3. Car-NeRF Architecture

The underlying architecture, termed Car-NeRF, incorporates several advanced features:

  • Encoder-Decoder Framework: A ResNet-34 encoder extracts global latent codes for both shape and texture from a single input image, allowing the model to generalize to unseen vehicles.
  • Anti-Aliasing via Cone Tracing: To handle the wide variety of resolutions found in internet imagery, the model adopts cone tracing and Integrated Positional Encoding (IPE) from Mip-NeRF. This prevents the "shimmering" artifacts common in standard NeRF implementations.
  • Mask-Guided Loss: By incorporating segmentation loss from SAM masks, the model is forced to maintain sharp contours. This is vital for ensuring that reconstructed cars can be seamlessly "cut and pasted" into new simulated environments without visual artifacts.

The CarPatch3D Dataset

To train the model, the authors introduced CarPatch3D, a curated dataset comprising hundreds of thousands of car patches. It merges standard autonomous driving benchmarks (KITTI-MOT and KITTI-DET) with DVM-Cars, a massive dataset from online car marketplaces. The inclusion of DVM-Cars provides the critical side-view diversity that egocentric datasets lack.

Key Insights and Results

Hallucinating the Unseen

Because Car-Studio learns in a shared canonical space, it can effectively "hallucinate" the hidden sides of a vehicle. Even if the input image only shows the front of a car, the model uses its learned category priors to generate a plausible and consistent rear and side view.

Quantitative Performance

Car-Studio significantly outperforms existing single-view 3D reconstruction baselines like PixelNeRF and AutoRF. On zero-shot evaluations using the KITTI-DET dataset, Car-Studio achieved:

  • PSNR: 20.23 (vs. 17.87 for PixelNeRF-MLP).
  • SSIM: 0.6209 (nearly doubling the 0.1948 achieved by ResNet-based PixelNeRF).

Sim-to-Real Editing

Beyond simple viewing, these learned NeRFs are highly editable. The separation of shape and texture into distinct latent codes allows users to change a car's color, modify its position within a 3D scene, or remove it entirely, facilitating the creation of dynamic and diverse simulation scenarios.

Limitations and Future Directions

While Car-Studio represents a significant step forward, it remains dependent on the accuracy of initial 3D detectors and segmenters; errors in the preprocessing stage can lead to reconstruction failures. Furthermore, the current model focuses on static car instances. Future work will likely explore integrating these assets into "Neural Scene Graphs" to handle complex lighting interactions between the vehicles and their environments.

Summary updated

BibTeX
@article{liu2024car,
  author = {Tianyu Liu and Hao Zhao and Yang Yu and Guyue Zhou and Ming Liu},
  title = {{Car-Studio: Learning Car Radiance Fields From Single-View and Unlimited In-the-Wild Images}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2024},
  url = {https://openreview.net/forum?id=seuKlQLSDq},
}
Figure