Skip to content

request to have Static function to find the neighboring points for each point in the given point cloud. #4611

Open
@xleEmesent

Description

@xleEmesent

Checklist

Proposed new feature or change

In the latest version 1.4, we have a "Static function to compute the covariance matrix for each point in the given point cloud, doesn’t change the input". in pointcloud python class.
static estimate_point_covariances(input, search_param=KDTreeSearchParamKNN with knn = 30)
Can we also have another python api for "Static function to find the neighboring points for each point in the given point cloud, doesn’t change the input"? in open3d.geometry.KDTreeFlann class

static estimate_point_pcd_tree_search(input, search_param=KDTreeSearchParamKNN with knn = 30)
Currently in python, I loop each point in point cloud with function call such as following:

            [k,idx,_] = self.pcd_tree.search_radius_vector_3d(pcd.points[i], radius=radius)
            self.neighoursDic[i]=idx

Which is quite slow in python.

The reason for that is that some local features such as 1st order moments requires computation from neighbouring point per anchor point.

Many Thanks.

References

No response

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions