Ask Your Question

godricly's profile - activity

2013-03-15 11:38:12 -0600 received badge  Nice Question (source)
2013-03-15 11:25:44 -0600 received badge  Student (source)
2013-03-15 10:59:03 -0600 asked a question Indexing hazard in OpenCV tutorial

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