Ask Your Question

Elid's profile - activity

2016-01-20 04:10:37 -0600 commented question How can I get the actual neighbours using knn in opencv 3.0.0

neighborResponses is not the same as neighbors

2016-01-19 06:22:26 -0600 asked a question How can I get the actual neighbours using knn in opencv 3.0.0

I'm trying to adapt code using opencv 2.4.6 to use opencv 3.0.0. In 2.4.6 I could use : find_nearest(const Mat& samples, int k, Mat* results=0, const float* neighbors=0, Mat neighborResponses=0, Mat* dist=0 ) const to get the neighbors. How can I do it using opencv 3.0.0