Joint Prediction of Depths, Normals and Surface Curvature from RGB Images using CNNs

Thanuja Dharmasiri, Andrew Spek, Tom Drummond

Introduction

Extracting detailed 3D geometric information from a single 2D image is a fundamental challenge in computer vision. While many models predict depth or surface orientation (normals), this research, presented at CVPR 2017, introduces the prediction of surface curvature. By training a Convolutional Neural Network (CNN) to jointly estimate depth, normals, and curvature, the authors demonstrate that these geometrically linked tasks provide mutual guidance, leading to superior performance across all metrics compared to training them individually.

Methodology

The researchers developed a multi-scale CNN framework based on the VGG16 architecture designed for multitask learning.

Architecture and Joint Prediction

The network architecture, shown in Figure 1, utilizes a coarse-to-fine approach. The model features three distinct prediction stacks that output depth maps, surface normal maps, and principal curvature maps ($\kappa_1$ and $\kappa_2$).

The multi-scale CNN architecture for joint prediction of depth, normals, and curvature.

The process involves two main stages:

  1. Scale 2: Produces low-resolution global predictions.
  2. Scale 3: Refines these initial estimates by incorporating the coarse maps as additional feature inputs to capture fine-grained geometric details.

Training and Loss Functions

Since no standard curvature dataset existed, the authors derived ground truth curvature from the NYUv2 dataset using quadric surface fitting on raw depth data. To manage sensor noise, they implemented a depth-weighted loss function. This function penalizes the network more for errors on nearby objects (where data is reliable) and less for distant objects (where sensor noise is high).

Key Insights: Geometric Coupling

The core innovation lies in the "geometric coupling" of the tasks. Depth, normals, and curvature are mathematically linked; a change in one implies specific constraints on the others. By forcing the network to learn these relationships simultaneously, the authors provide a "geometry lesson" that helps the model build a more robust internal representation of the 3D world. Curvature maps serve as excellent descriptors for object edges and surface types that are often invisible in standard depth maps but crucial for robotic manipulation.

Results and Discussion

Joint training significantly improved the accuracy of both depth and normal estimation. For example, the Root Mean Square Error (RMSE) for depth dropped from 0.646 (depth-only) to 0.624 (full joint model).

Qualitatively, the model successfully produces curvature maps from RGB images that closely match ground truth, effectively "seeing" the bends and folds of objects. Figure 2 illustrates the refinement process, showing how the Scale 3 predictions capture significantly more detail than the initial Scale 2 estimates.

Comparison of coarse (Scale 2) and fine (Scale 3) curvature predictions derived from RGB input images.

The authors also demonstrated that combining predicted depth and curvature allows for sharper scene segmentation than using color alone, particularly at object boundaries.

Conclusion

This work establishes the feasibility of estimating second-order geometric features like curvature directly from RGB images. While the current implementation uses a VGG16 backbone, the multitask approach is architecture-agnostic and could be further enhanced by more modern backbones. Future work involves integrating these high-fidelity geometric predictions into robotic grasping and navigation pipelines.

Summary updated

BibTeX
@inproceedings{dharmasiri2017joint,
  author = {Thanuja Dharmasiri and Andrew Spek and Tom Drummond},
  title = {{Joint Prediction of Depths, Normals and Surface Curvature from RGB Images using CNNs}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2017},
  doi = {10.1109/iros.2017.8205954},
}
Figure