This commit is contained in:
Ilya Lavrenov 2014-01-27 12:34:30 +04:00
parent 06acf7090c
commit c8f2050cc2

View File

@ -80,7 +80,7 @@ OCL_TEST_P( BRIEF, Accuracy )
brief.compute( img, keypoints, descriptorsGold );
Mat kpMat( 2, int( keypoints.size() ), CV_32FC1 );
for ( size_t i = 0; i < keypoints.size( ); ++i )
for ( int i = 0, size = (int)keypoints.size( ); i < size; ++i )
{
kpMat.col( i ).row( 0 ) = int( keypoints[i].pt.x );
kpMat.col( i ).row( 1 ) = int( keypoints[i].pt.y );
@ -112,4 +112,4 @@ OCL_TEST_P( BRIEF, Accuracy )
}
INSTANTIATE_TEST_CASE_P( OCL_Features2D, BRIEF, testing::Values( 16, 32, 64 ) );
#endif
#endif