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
f63324ac
Commit
f63324ac
authored
Sep 09, 2014
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed line_descriptor android build
parent
07a76464
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
binary_descriptor_matcher.cpp
modules/line_descriptor/src/binary_descriptor_matcher.cpp
+6
-6
No files found.
modules/line_descriptor/src/binary_descriptor_matcher.cpp
View file @
f63324ac
...
@@ -753,9 +753,9 @@ void BinaryDescriptorMatcher::Mihasher::query( UINT32* results, UINT32* numres,
...
@@ -753,9 +753,9 @@ void BinaryDescriptorMatcher::Mihasher::query( UINT32* results, UINT32* numres,
}
}
/* constructor 2 */
/* constructor 2 */
BinaryDescriptorMatcher
::
Mihasher
::
Mihasher
(
int
_B
,
int
_m
)
BinaryDescriptorMatcher
::
Mihasher
::
Mihasher
(
int
B_val
,
int
_m
)
{
{
B
=
_B
;
B
=
B_val
;
B_over_8
=
B
/
8
;
B_over_8
=
B
/
8
;
m
=
_m
;
m
=
_m
;
b
=
(
int
)
ceil
(
(
double
)
B
/
m
);
b
=
(
int
)
ceil
(
(
double
)
B
/
m
);
...
@@ -784,9 +784,9 @@ BinaryDescriptorMatcher::Mihasher::Mihasher( int _B, int _m )
...
@@ -784,9 +784,9 @@ BinaryDescriptorMatcher::Mihasher::Mihasher( int _B, int _m )
}
}
/* K setter */
/* K setter */
void
BinaryDescriptorMatcher
::
Mihasher
::
setK
(
int
_K
)
void
BinaryDescriptorMatcher
::
Mihasher
::
setK
(
int
K_val
)
{
{
K
=
_K
;
K
=
K_val
;
}
}
/* desctructor */
/* desctructor */
...
@@ -797,9 +797,9 @@ BinaryDescriptorMatcher::Mihasher::~Mihasher()
...
@@ -797,9 +797,9 @@ BinaryDescriptorMatcher::Mihasher::~Mihasher()
}
}
/* populate tables */
/* populate tables */
void
BinaryDescriptorMatcher
::
Mihasher
::
populate
(
cv
::
Mat
&
_codes
,
UINT32
_N
,
int
dim1codes
)
void
BinaryDescriptorMatcher
::
Mihasher
::
populate
(
cv
::
Mat
&
_codes
,
UINT32
N_val
,
int
dim1codes
)
{
{
N
=
_N
;
N
=
N_val
;
codes
=
_codes
;
codes
=
_codes
;
UINT64
*
chunks
=
new
UINT64
[
m
];
UINT64
*
chunks
=
new
UINT64
[
m
];
...
...
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