Paper commentary
Open3D: A Modern Library for 3D Data Processing
Open3D gives researchers a fast, easy C++ and Python library for 3D data
- Problem Writing 3D software is far more laborious than writing image code, and the Point Cloud Library has become bloated and largely dormant. Existing open-source tools each cover only part of the job.
- Method Open3D puts a heavily optimized C++ backend behind Python frontends. It keeps dependencies few, so it builds from source on platforms such as Windows.
- Results On the authors' own comparisons, Open3D's ICP runs up to 25 times faster than the ICP in PCL.
Why 3D software is slow to build
Point clouds, meshes and depth data come from LiDAR, depth cameras and reconstruction software, so many robotics and graphics projects must handle them. Yet writing code for them is far more laborious than for images, where a few lines of OpenCV can load and show a picture. The Point Cloud Library was the notable earlier effort, but after a burst of open-source contributions it became bloated and is now largely dormant.
Other open-source projects cover narrower ground, such as MeshLab for a graphical interface to mesh processing and libigl for discrete differential geometry. None of them is at once fast, easy to use, covering common 3D workflows and built with modern software practice. That gap is what the authors set out to fill with a library for rapid development of 3D software.
A C++ core behind a Python frontend
The core idea is to write the heavy computation in C++ and let Python act as the glue that assembles those components. This follows how popular computer vision and deep learning libraries are built, with a C++ backend exposed through Python frontends. The authors weigh two principles, usefulness and ease of use, and ease of use keeps dependencies and feature creep in check.
So the library supports popular representations and platforms, but it avoids heavyweight dependencies.
The dependency list stays short, with Eigen for linear algebra, GLFW for OpenGL windows and FLANN for nearest neighbor search. Heavy libraries such as Boost and Ceres are left out, and pybind11 takes the place of Boost.Python. Gauss-Newton and Levenberg-Marquardt graph optimization are written in-house. The dependency source ships with the code, so builds work on systems without a package manager, such as Windows.
The example workflow shows what this design buys in code length. The Python version is approximately half the length of the C++ version and about five times shorter than the PCL version. Python also lets the code be edited and debugged interactively in a Jupyter Notebook.
Geometry types and their master fields
Point clouds are stored in PointCloud, where points is the master field and normals and colors are optional. The optional fields count only when their number of records matches points, and the data is exposed as numpy arrays. TriangleMesh works the same way, with vertices and triangles as its two master fields and vertex and triangle auxiliary fields.
Image is a 2D or 3D array that converts directly to numpy, and a depth and color pair of equal resolution forms an RGBDImage. Since no depth format is standard, support covers the NYU, TUM, SUN3D and Redwood datasets. The TUM example reads a color and depth pair, builds an RGBDImage and converts it to a point cloud with PinholeCameraIntrinsic.prime_sense_default.
Pairwise registration in stages
The pairwise workflow aligns a source and a target cloud in a coarse global stage followed by a fine local stage. First both clouds are downsampled with voxel_down_sample at 0.05, and normals are estimated within radius = 0.1 with max_nn = 30. The same downsampled clouds then feed the feature step that follows.
FPFH features are computed on the downsampled clouds with radius = 0.25 and max_nn = 100. RANSAC-based global registration uses those features to find an initial transformation, with max_correspondence_distance = 0.075. The run stops under RANSACConvergenceCriteria with max_iteration = 4000000 and max_validation = 500.
Profiling showed that validating the matches is the most time-consuming part, so the authors let users set the termination criterion. They also added correspondence checkers that prune false matches early, based on edge length at 0.9 and on distance at 0.075. Finally, point-to-plane ICP refines the result on the original dense clouds with max_correspondence_distance = 0.02.
The global result supplies the starting pose for this local refinement.
Scene reconstruction in three steps
The reconstruction workflow is a Python script that uses many Open3D algorithms and runs in three major steps. It first builds fragments from short subsequences of the RGB-D sequence, using matching of RGB-D pairs, robust pose graph optimization and volumetric integration. It then aligns the fragments globally through global registration between fragment pairs, pose graph optimization, ICP registration and global non-rigid alignment.
Last, the RGB-D images are integrated into a mesh model of the scene.
A scene from the SceneNN dataset is reconstructed with this pipeline and visualized in Open3D.
Speed results and where they come from
The authors profiled each major function and tuned the C++ backend, which gave multiplicative gains on many functions. The optimized ICP runs up to 25 times faster than the ICP in PCL. These are the authors' own comparisons, and the paper gives no table or hardware detail for them.
Parallelism is the second source, and many functions such as normal estimation run OpenMP loops over data samples. The non-linear least-squares solvers minimize a sum of squared residuals, as in \[ L(x) = \sum_i r_i^2(x) \]. A Gauss-Newton step moves the current solution by \[ x_{k+1} = x_k - (J_r^\top J_r)^{-1} J_r^\top r \], with the Jacobian evaluated at x_k.
Forming \(J_r^\top J_r\) and \(J_r^\top r\) dominates the time, so these sums run as OpenMP reductions over the data records. On a modern CPU this sped up the most time-consuming functions by 3-6 times.
How changes enter the codebase
Open3D is released under the MIT license, and development runs on GitHub. A change starts with an issue, then a developer works on a branch in a personal fork and opens a pull request. Reviewers discuss the pull request and the author revises it, and an admin merges it into master and closes the issue. Pull requests are also checked automatically by a continuous integration service.
Limits of the evidence
The code-length comparison uses one workflow, downsampling and normal estimation on a point cloud. The speed comparisons are one ICP comparison with PCL, one reconstruction comparison with Choi et al. and one OpenMP measurement. The OpenMP gain was measured on a modern CPU, and no other hardware is named.
The paper reports no accuracy figures for the registration or reconstruction outputs, so speed and code length are the evidence it offers. Camera, Odometry and Integration are listed as modules but are not benchmarked.
Paper info
- Authors
- Qian-Yi Zhou, Jaesik Park, Vladlen Koltun
- Venue
- arXiv · Preprint
- First published
- 2018-1-30
- Added
- 2026-11-12
- Updated
- 2018-1-30
- Version
- v1
- arXiv
- 1801.09847
- Category
- cs.CV · cs.GR · cs.RO
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Qian-Yi Zhou, Jaesik Park, Vladlen Koltun (2018). Open3D: A Modern Library for 3D Data Processing. arXiv:1801.09847v1. https://arxiv.org/abs/1801.09847v1
BibTeX
@misc{zhou2018open3d,
title = {{Open3D: A Modern Library for 3D Data Processing}},
author = {Qian-Yi Zhou and Jaesik Park and Vladlen Koltun},
year = {2018},
eprint = {1801.09847},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1801.09847v1}
}