Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
e5229a18
Commit
e5229a18
authored
Feb 20, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #556 from polarfuchs99:master
parents
5c673477
c2b55897
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
perf_matching.cpp
modules/line_descriptor/perf/perf_matching.cpp
+1
-1
test_matcher_regression.cpp
modules/line_descriptor/test/test_matcher_regression.cpp
+1
-1
No files found.
modules/line_descriptor/perf/perf_matching.cpp
View file @
e5229a18
...
...
@@ -101,7 +101,7 @@ uchar invertSingleBits( uchar dividend_char, int numBits )
/* reconvert to decimal */
uchar
result
=
0
;
for
(
int
i
=
(
int
)
bin_vector
.
size
()
-
1
;
i
>=
0
;
i
--
)
result
+=
(
uchar
)
(
bin_vector
[
i
]
*
pow
(
2
,
i
)
);
result
+=
(
uchar
)
(
bin_vector
[
i
]
*
(
1
<<
i
)
);
return
result
;
}
...
...
modules/line_descriptor/test/test_matcher_regression.cpp
View file @
e5229a18
...
...
@@ -123,7 +123,7 @@ uchar CV_BinaryDescriptorMatcherTest::invertSingleBits( uchar dividend_char, int
/* reconvert to decimal */
uchar
result
=
0
;
for
(
int
i
=
(
int
)
bin_vector
.
size
()
-
1
;
i
>=
0
;
i
--
)
result
+=
(
uchar
)
(
bin_vector
[
i
]
*
pow
(
2
,
i
)
);
result
+=
(
uchar
)
(
bin_vector
[
i
]
*
(
1
<<
i
)
);
return
result
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment