All Projects → neka-nat → Probreg

neka-nat / Probreg

Licence: mit
Python package for point cloud registration using probabilistic model (Coherent Point Drift, GMMReg, SVR, GMMTree, FilterReg, Bayesian CPD)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Probreg

Cilantro
A lean C++ library for working with point cloud data
Stars: ✭ 577 (+88.56%)
Mutual labels:  3d, point-cloud, registration
Meshlab
The open source mesh processing system
Stars: ✭ 2,619 (+755.88%)
Mutual labels:  3d, point-cloud
Pangolin
Python binding of 3D visualization library Pangolin
Stars: ✭ 157 (-48.69%)
Mutual labels:  3d, point-cloud
Ndt omp
Multi-threaded and SSE friendly NDT algorithm
Stars: ✭ 291 (-4.9%)
Mutual labels:  point-cloud, registration
Votenet
Deep Hough Voting for 3D Object Detection in Point Clouds
Stars: ✭ 1,183 (+286.6%)
Mutual labels:  3d, point-cloud
3dhop
3D Heritage Online Presenter
Stars: ✭ 89 (-70.92%)
Mutual labels:  3d, point-cloud
Deepglobalregistration
[CVPR 2020 Oral] A differentiable framework for 3D registration
Stars: ✭ 222 (-27.45%)
Mutual labels:  3d, registration
OverlapPredator
[CVPR 2021, Oral] PREDATOR: Registration of 3D Point Clouds with Low Overlap.
Stars: ✭ 293 (-4.25%)
Mutual labels:  point-cloud, registration
DeepI2P
DeepI2P: Image-to-Point Cloud Registration via Deep Classification. CVPR 2021
Stars: ✭ 130 (-57.52%)
Mutual labels:  point-cloud, registration
YOHO
[ACM MM 2022] You Only Hypothesize Once: Point Cloud Registration with Rotation-equivariant Descriptors
Stars: ✭ 76 (-75.16%)
Mutual labels:  point-cloud, registration
Frustum Pointnets
Frustum PointNets for 3D Object Detection from RGB-D Data
Stars: ✭ 1,154 (+277.12%)
Mutual labels:  3d, point-cloud
Splatnet
SPLATNet: Sparse Lattice Networks for Point Cloud Processing (CVPR2018)
Stars: ✭ 259 (-15.36%)
Mutual labels:  3d, point-cloud
3d Bounding Boxes From Monocular Images
A two stage multi-modal loss model along with rigid body transformations to regress 3D bounding boxes
Stars: ✭ 24 (-92.16%)
Mutual labels:  3d, point-cloud
D3feat
[TensorFlow] Implementation of CVPR'20 oral paper - D3Feat: Joint Learning of Dense Detection and Description of 3D Local Features https://arxiv.org/abs/2003.03164
Stars: ✭ 143 (-53.27%)
Mutual labels:  3d, registration
3d Machine Learning
A resource repository for 3D machine learning
Stars: ✭ 7,405 (+2319.93%)
Mutual labels:  3d, point-cloud
3d Bat
3D Bounding Box Annotation Tool (3D-BAT) Point cloud and Image Labeling
Stars: ✭ 179 (-41.5%)
Mutual labels:  3d, point-cloud
Open3d
Open3D: A Modern Library for 3D Data Processing
Stars: ✭ 5,860 (+1815.03%)
Mutual labels:  3d, registration
3dmatch Toolbox
3DMatch - a 3D ConvNet-based local geometric descriptor for aligning 3D meshes and point clouds.
Stars: ✭ 571 (+86.6%)
Mutual labels:  3d, point-cloud
superpose3d
register 3D point clouds using rotation, translation, and scale transformations.
Stars: ✭ 34 (-88.89%)
Mutual labels:  point-cloud, registration
Pycpd
Pure Numpy Implementation of the Coherent Point Drift Algorithm
Stars: ✭ 255 (-16.67%)
Mutual labels:  point-cloud, registration

logo

Build Status Build status PyPI version MIT License Documentation Status Downloads

Probreg is a library that implements point cloud registration algorithms with probablistic model.

The point set registration algorithms using stochastic model are more robust than ICP(Iterative Closest Point). This package implements several algorithms using stochastic models and provides a simple interface with Open3D.

Core features

  • Open3D interface
  • Rigid and non-rigid transformation

Algorithms

Transformations

type CPD SVR, GMMReg GMMTree FilterReg BCPD (experimental)
Rigid Scale + 6D pose 6D pose 6D pose 6D pose (Point-to-point, Point-to-plane, FPFH-based) -
NonRigid Affine, MCT TPS - Deformable Kinematic (experimental) Combined model (Rigid + Scale + NonRigid-term)

CUDA support

You need to install cupy.

pip install cupy

Installation

You can install probreg using pip.

pip install probreg

Or install probreg from source.

git clone https://github.com/neka-nat/probreg.git --recursive
cd probreg
pip install -e .

Getting Started

This is a sample code that reads a PCD file and calls CPD registration. You can easily execute registrations from Open3D point cloud object and draw the results.

import copy
import numpy as np
import open3d as o3
from probreg import cpd

# load source and target point cloud
source = o3.io.read_point_cloud('bunny.pcd')
target = copy.deepcopy(source)
# transform target point cloud
th = np.deg2rad(30.0)
target.transform(np.array([[np.cos(th), -np.sin(th), 0.0, 0.0],
                           [np.sin(th), np.cos(th), 0.0, 0.0],
                           [0.0, 0.0, 1.0, 0.0],
                           [0.0, 0.0, 0.0, 1.0]]))
source = source.voxel_down_sample(voxel_size=0.005)
target = target.voxel_down_sample(voxel_size=0.005)

# compute cpd registration
tf_param, _, _ = cpd.registration_cpd(source, target)
result = copy.deepcopy(source)
result.points = tf_param.transform(result.points)

# draw result
source.paint_uniform_color([1, 0, 0])
target.paint_uniform_color([0, 1, 0])
result.paint_uniform_color([0, 0, 1])
o3.visualization.draw_geometries([source, target, result])

Resources

Results

Compare algorithms

CPD SVR GMMTree FilterReg

Noise test

ICP(Open3D) CPD FilterReg

Non rigid registration

CPD SVR Filterreg BCPD

Feature based registration

FPFH FilterReg

Time measurement

Execute an example script for measuring time.

OMP_NUM_THREADS=1 python time_measurement.py

# Results [s]
# ICP(Open3D):  0.02030642901081592
# CPD:  3.6435861150093842
# SVR:  0.5795929960149806
# GMMTree:  0.34479290700983256
# FilterReg:  0.039795294986106455

Citing

@software{probreg,
    author = {{Kenta-Tanaka et al.}},
    title = {probreg},
    url = {https://probreg.readthedocs.io/en/latest/},
    version = {0.1.6},
    date = {2019-9-29},
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].