1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-16 22:35:51 +08:00

Converted KeyLine from class to struct

This commit is contained in:
biagio montesano
2014-07-31 11:56:58 +02:00
parent 421b093f7b
commit d1265a9d94
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ namespace cv
CV_EXPORTS bool initModule_line_descriptor();
class CV_EXPORTS_W KeyLine
struct CV_EXPORTS_W_SIMPLE KeyLine
{
public:
/* orientation of the line */

View File

@@ -105,7 +105,7 @@ void BinaryDescriptorMatcher::checkKDistances( UINT32 * numres, int k, std::vect
{
if( ( * ( numres_tmp + j ) ) > 0 )
{
for ( int i = 0; i < ( * ( numres_tmp + j ) ) && k_to_found > 0; i++ )
for ( int i = 0; i < (int)( * ( numres_tmp + j ) ) && k_to_found > 0; i++ )
{
k_distances.push_back( j );
k_to_found--;