/python-poisson-reconstruction

Bindings to Rust implementation of poisson-reconstruction

Primary LanguageRustBSD 4-Clause "Original" or "Old" LicenseBSD-4-Clause

Poisson surface reconstruction in Python

Small Python package with bindings for poisson reconstruction written in Rust!

Install

pip install poisson-reconstruction

Usage

import numpy as np
import poisson_reconstruction

points: np.NDArray = np.array([1, 2, 3], [1, 1, 1], ...)
normals: np.NDArray = np.array([0, 1, 0], [1, 0, 0], ...)

poisson_reconstruction.reconstruct_surface(points, normals, screening=0.5, density_estimation_depth=9, max_depth=9, max_relaxation_iters=10)

Considerations

It is slow.

The Open3D implementation only exposes the max-depth parameter, while the Rust implementation exposes even more. No comparisons between the two algorithms yet.