一、CPD点云刚性配准
Python
这是github上一位大佬写的Python包,链接:neka-nat/probreg: Python package for point cloud registration using probabilistic model (Coherent Point Drift, GMMReg, SVR, GMMTree, FilterReg, Bayesian CPD) (github.com)你要安装open3d、probreg和cupy
import open3d as o3d
from probreg import cpd
import numpy as np
def view_show(point1, point2):
# 关键点绿色
point1.paint_uniform_color([0, 1, 0])
# 点云红色
point2.paint_uniform_color([1, 0, 0])
# 可视化
vis = o3d.visualization.Visualize