Description
Checklist
- I have searched for similar issues.
- For Python issues, I have tested with the latest development wheel.
- I have checked the release documentation and the latest documentation (for
master
branch).
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