Commit 07a76464 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #86 from ubisum/line_descriptor_module

Removed optim dependence
parents ad5de309 b0cb1c0d
set(the_description "Line descriptor") set(the_description "Line descriptor")
ocv_define_module(line_descriptor opencv_features2d opencv_imgproc opencv_optim) ocv_define_module(line_descriptor opencv_features2d opencv_imgproc opencv_highgui)
...@@ -871,7 +871,7 @@ BinaryDescriptorMatcher::BucketGroup::~BucketGroup() ...@@ -871,7 +871,7 @@ BinaryDescriptorMatcher::BucketGroup::~BucketGroup()
{ {
} }
void BinaryDescriptorMatcher::BucketGroup::insert_value( std::vector<uint32_t>& vec, int index, UINT32 data ) void BinaryDescriptorMatcher::BucketGroup::insert_value( std::vector<uint32_t>& vec, int index, UINT32 data )
{ {
if( vec.size() > 1 ) if( vec.size() > 1 )
{ {
...@@ -915,7 +915,7 @@ void BinaryDescriptorMatcher::BucketGroup::push_value( std::vector<uint32_t>& ve ...@@ -915,7 +915,7 @@ void BinaryDescriptorMatcher::BucketGroup::push_value( std::vector<uint32_t>& ve
else else
{ {
vec = std::vector < uint32_t > ( 2 + ARRAY_RESIZE_ADD_FACTOR, 0 ); vec = std::vector < uint32_t > ( 2 + (uint32_t) ARRAY_RESIZE_ADD_FACTOR, 0 );
vec[0] = 1; vec[0] = 1;
vec[1] = 1; vec[1] = 1;
vec[2] = Data; vec[2] = Data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment