Revision history [back]

How to use the LshIndexParams?

I want to try out the new matching algorithm in flann, with LSH. But there is no info available.

What is the significance of the parameters in the LshIndexParams constructor?

LshIndexParams(int table_number, int key_size, int multi_probe_level);


Also, can you suggest some default values to start with? For a better context, I want to replace the BruteForceMatcher<> in the FREAK sample.

How to use the LshIndexParams?

I want to try out the new matching algorithm in flann, with LSH. But there is no info available.

What is the significance of the parameters in the LshIndexParams constructor?

LshIndexParams(int table_number, int key_size, int multi_probe_level);


Also, can you suggest some default values to start with? For a better context, I want to replace the BruteForceMatcher<> in the FREAK sample.

I would also want to know whether I should instantiate the matcher with a custom SearchParams.

How to use the LshIndexParams?

I want to try out the new matching algorithm in flann, with LSH. But there is no info available.

What is the significance of the parameters in the LshIndexParams constructor?

LshIndexParams(int table_number, int key_size, int multi_probe_level);


Also, can you suggest some default values to start with? For a better context, I want to replace the BruteForceMatcher<> in the FREAK sample.

I would also want to know whether I should instantiate the matcher with a custom SearchParams.

Edit

I have tried to set the parameters recommended by docs:

FlannBasedMatcher matcher2(new flann::LshIndexParams(20,10,2));


but it throws an error inside miniflann : cvflann::anyimpl::bad_any_cast

How to use the LshIndexParams?

I want to try out the new matching algorithm in flann, with LSH. But there is no info available.

What is the significance of the parameters in the LshIndexParams constructor?

LshIndexParams(int table_number, int key_size, int multi_probe_level);


Also, can you suggest some default values to start with? For a better context, I want to replace the BruteForceMatcher<>BruteForceMatcher<Hamming> in the FREAK sample.

I would also want to know whether I should instantiate the matcher with a custom SearchParams.

Edit

I have tried to set the parameters recommended by docs:

FlannBasedMatcher matcher2(new flann::LshIndexParams(20,10,2));


but it throws an error inside miniflann : cvflann::anyimpl::bad_any_cast

How to use the LshIndexParams?

I want to try out the new matching algorithm in flann, with LSH. But there is no info available.

What is the significance of the parameters in the LshIndexParams constructor?

LshIndexParams(int table_number, int key_size, int multi_probe_level);


Also, can you suggest some default values to start with? For a better context, I want to replace the BruteForceMatcher<Hamming> in the FREAK sample.

I would also want to know whether I should instantiate the matcher with a custom SearchParams.

Edit

I have tried to set the parameters recommended by docs: docs (and some random combinations):

FlannBasedMatcher matcher2(new flann::LshIndexParams(20,10,2));


but it throws an error inside miniflann : cvflann::anyimpl::bad_any_cast