File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
modules/flann/include/opencv2 Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -224,9 +224,9 @@ class GenericIndex
224
224
struct LshIndexParams : public IndexParams
225
225
{
226
226
LshIndexParams(
227
- unsigned int table_number,
228
- unsigned int key_size,
229
- unsigned int multi_probe_level );
227
+ int table_number,
228
+ int key_size,
229
+ int multi_probe_level );
230
230
};
231
231
@endcode
232
232
- **AutotunedIndexParams** When passing an object of this type the index created is
Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ namespace cvflann
58
58
59
59
struct LshIndexParams : public IndexParams
60
60
{
61
- LshIndexParams (unsigned int table_number = 12 , unsigned int key_size = 20 , unsigned int multi_probe_level = 2 )
61
+ LshIndexParams (int table_number = 12 , int key_size = 20 , int multi_probe_level = 2 )
62
62
{
63
63
(*this )[" algorithm" ] = FLANN_INDEX_LSH;
64
64
// The number of hash tables to use
65
- (*this )[" table_number" ] = static_cast < int >( table_number) ;
65
+ (*this )[" table_number" ] = table_number;
66
66
// The length of the key in the hash tables
67
- (*this )[" key_size" ] = static_cast < int >( key_size) ;
67
+ (*this )[" key_size" ] = key_size;
68
68
// Number of levels to use in multi-probe (0 for standard LSH)
69
- (*this )[" multi_probe_level" ] = static_cast < int >( multi_probe_level) ;
69
+ (*this )[" multi_probe_level" ] = multi_probe_level;
70
70
}
71
71
};
72
72
You can’t perform that action at this time.
0 commit comments