Open3D (C++ API)  0.18.0
Functions
open3d::t::geometry::kernel::pcapartition Namespace Reference

Functions

std::tuple< int, core::TensorPCAPartition (core::Tensor &points, int max_points)
 

Function Documentation

◆ PCAPartition()

std::tuple< int, core::Tensor > open3d::t::geometry::kernel::pcapartition::PCAPartition ( core::Tensor points,
int  max_points 
)

Partition the point cloud by recursively doing PCA.

Parameters
pointsPoints tensor with shape (N,3).
max_pointsThe maximum allowed number of points in a partition.
Returns
The number of partitions and an int32 tensor with the partition id for each point. The output tensor uses always the CPU device.