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
cdfcd0bd
Commit
cdfcd0bd
authored
Jan 29, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1531 from terfendail:ld_matcher
parents
41a5a5ea
2d65a14c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
binary_descriptor_matcher.cpp
modules/line_descriptor/src/binary_descriptor_matcher.cpp
+2
-3
No files found.
modules/line_descriptor/src/binary_descriptor_matcher.cpp
View file @
cdfcd0bd
...
...
@@ -758,9 +758,8 @@ BinaryDescriptorMatcher::Mihasher::Mihasher( int B_val, int _m )
m
=
_m
;
b
=
(
int
)
ceil
(
(
double
)
B
/
m
);
/* assuming that B/2 is large enough radius to include
all of the k nearest neighbors */
D
=
(
int
)
ceil
(
B
/
2.0
);
/* set radius to search for nearest neighbors to size of descriptor */
D
=
(
int
)
ceil
(
B
);
d
=
(
int
)
ceil
(
(
double
)
D
/
m
);
/* mplus is the number of chunks with b bits
...
...
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