Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Commits
89be84a3
Commit
89be84a3
authored
Oct 12, 2011
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Linux build
parent
b74116e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
operations.hpp
modules/core/include/opencv2/core/operations.hpp
+3
-3
No files found.
modules/core/include/opencv2/core/operations.hpp
View file @
89be84a3
...
...
@@ -968,7 +968,7 @@ CV_EXPORTS int normL1_(const uchar* a, const uchar* b, int n);
CV_EXPORTS
int
normHamming
(
const
uchar
*
a
,
const
uchar
*
b
,
int
n
);
CV_EXPORTS
int
normHamming
(
const
uchar
*
a
,
const
uchar
*
b
,
int
n
,
int
cellSize
);
template
<>
static
inline
float
normL2Sqr
(
const
float
*
a
,
const
float
*
b
,
int
n
)
template
<>
inline
float
normL2Sqr
(
const
float
*
a
,
const
float
*
b
,
int
n
)
{
if
(
n
>=
8
)
return
normL2Sqr_
(
a
,
b
,
n
);
...
...
@@ -1000,7 +1000,7 @@ _AccTp normL1(const _Tp* a, const _Tp* b, int n)
return
s
;
}
template
<>
static
inline
float
normL1
(
const
float
*
a
,
const
float
*
b
,
int
n
)
template
<>
inline
float
normL1
(
const
float
*
a
,
const
float
*
b
,
int
n
)
{
if
(
n
>=
8
)
return
normL1_
(
a
,
b
,
n
);
...
...
@@ -1013,7 +1013,7 @@ template<> static inline float normL1(const float* a, const float* b, int n)
return
s
;
}
template
<>
static
inline
int
normL1
(
const
uchar
*
a
,
const
uchar
*
b
,
int
n
)
template
<>
inline
int
normL1
(
const
uchar
*
a
,
const
uchar
*
b
,
int
n
)
{
return
normL1_
(
a
,
b
,
n
);
}
...
...
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