Abstract
Knowledge of 3D properties of objects is a necessity in order to build effective computer vision systems. However, lack of large scale 3D datasets can be a major constraint for data-driven approaches in learning such properties. We consider the task of single image 3D point cloud reconstruction, and aim to utilize multiple foreground masks as our supervisory data to alleviate the need for large scale 3D datasets. A novel differentiable projection module, called 'CAPNet', is introduced to obtain such 2D masks from a predicted 3D point cloud. The key idea is to model the projections as a continuous approximation of the points in the point cloud. To overcome the challenges of sparse projection maps, we propose a loss formulation termed 'affinity loss' to generate outlier-free reconstructions. We significantly outperform the existing projection based approaches on a large-scale synthetic dataset. We show the utility and generalizability of such a 2D supervised approach through experiments on a real-world dataset, where lack of 3D data can be a serious concern. To further enhance the reconstructions, we also propose a test stage optimization procedure to obtain reconstructions that display high correspondence with the observed input image.
Introduction
Reconstructing 3D shapes from single 2D images is a fundamental challenge in computer vision. While deep learning has advanced this field, most high-performing models rely on large-scale 3D datasets (voxels or point clouds), which are difficult to acquire. Weakly supervised methods attempt to use 2D projections (masks) for training, but they face two primary hurdles: the non-differentiability of the projection process and the "hole" problem, where sparse point clouds project into incomplete silhouettes.
CAPNet (Continuous Approximation Projection) addresses these issues by introducing a differentiable projection module and a specialized loss function, enabling high-quality 3D reconstruction using only 2D mask supervision.
Methodology
The CAPNet framework consists of three core components designed to bridge the gap between 2D supervision and 3D geometry.
Continuous Approximation Projection
To enable backpropagation, CAPNet treats the projection of 3D points onto a 2D grid as a continuous process. Each 3D point is modeled as a 2D Gaussian kernel on the image plane. By summing these kernels and applying a smoothing function (tanh), the model generates a continuous, differentiable 2D mask. This approach effectively "fills in" gaps in sparse point clouds, allowing the network to learn from 2D silhouettes without requiring dense 3D data.
Affinity Loss
Standard loss functions like Binary Cross-Entropy (BCE) often fail when predicted points are far from the target mask, as gradients become negligible. The proposed Affinity Loss calculates the distance between non-zero pixels in the predicted mask and the nearest non-zero pixels in the ground truth. This geometric constraint "pulls" outlier points toward the target shape, ensuring cleaner reconstructions.
Test-Stage Optimization (TSO)
At inference time, CAPNet can further refine reconstructions if a mask for the specific test image is available. By fine-tuning the model's weights or the point coordinates for a few iterations to match the observed 2D mask, the system can capture intricate details, such as the thin slats of a chair back.
Experiments and Results
The model was evaluated on the synthetic ShapeNet dataset and the real-world Pix3D dataset.
Quantitative Performance
On ShapeNet, CAPNet achieved a mean Chamfer distance of 2.69, significantly outperforming existing 2D-supervised baselines like DRC-Mask (13.26) and the depth-fusion approach by Lin et al. (3.62). Remarkably, CAPNet's performance approached that of fully 3D-supervised models (e.g., PSGN-FC at 2.25), demonstrating the effectiveness of the continuous projection module.
Qualitative Analysis
Qualitative results highlight CAPNet's ability to reconstruct complex geometries, including hollow regions and thin structures that are often problematic for voxel-based or even some 3D-supervised point cloud methods.
Real-World Generalization
Experiments on Pix3D showed that CAPNet generalizes well to real-world images. The model's ability to be fine-tuned using only 2D masks makes it particularly valuable for domains where 3D ground truth is unavailable.
Conclusion
CAPNet demonstrates that high-fidelity 3D point cloud reconstruction is possible using only 2D mask supervision. By transforming discrete projections into a continuous optimization problem and introducing Affinity Loss, the method overcomes the limitations of previous weakly supervised approaches. Future work may explore incorporating additional 2D signals, such as depth or color, to further enhance reconstruction fidelity.
Summary updated