1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 12:55:15 +08:00

Fixed number of neighbors not being passed to the flannquery in computeNormalsPC3d

This commit is contained in:
felix
2015-06-13 13:54:29 -04:00
parent 11f538856e
commit f8757c3fd4
2 changed files with 9 additions and 3 deletions

View File

@@ -93,6 +93,7 @@ void computeBboxStd(Mat pc, float xRange[2], float yRange[2], float zRange[2]);
void* indexPCFlann(Mat pc);
void destroyFlann(void* flannIndex);
void queryPCFlann(void* flannIndex, Mat& pc, Mat& indices, Mat& distances);
void queryPCFlann(void* flannIndex, Mat& pc, Mat& indices, Mat& distances, const int numNeighbors);
/**
* Mostly for visualization purposes. Normalizes the point cloud in a Hartley-Zissermann