Hi ALL, I find a indexing problem in the tuitoral "Feature Matching with FLANN"Link is here
at the step //-- Quick calculation of max and min distances between keypoints
for( int i = 0; i < descriptors_1.rows; i++ )
{ if( matches[i].distance < 2*min_dist )
{ good_matches.push_back( matches[i]); }
}
the author uses the size of keypoints in the loop while indexing matching vector. This approach is not safe.
I changed the FLANN into BFmatcher,and the size of keypoints and match are different.
I don't know where to report this issue and the homepage of OpenCV leads me here. Any suggestion is appreciated.
Best