Configuration: Opencv2.4.10+Ubuntu14.04+QT5.8
I want to use cv::flann::KmeansIndexParams to cluster the descriptors.The storage of all descriptors is all_descriptors,as follow:all_descriptors=cv::Mat(total_descriptors_count,descriptor_length,CV_32FC1); When I used KMeansIndexParams clustering it,the code just stopped there,I think there must be something wrong,but I can't find the solution.
line108:tree=cv::flann::Index(all_descriptors,cv::flann::KMeansIndexParams(16,11,cvflann::FLANN_CENTERS_KMEANSPP,0.2);
)