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
006a4ba5
Commit
006a4ba5
authored
Oct 10, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gcc build error introduced in
a9f36dfc
parent
cabddaeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
fast_score.cpp
modules/features2d/src/fast_score.cpp
+8
-4
No files found.
modules/features2d/src/fast_score.cpp
View file @
006a4ba5
...
...
@@ -45,7 +45,9 @@ The references are:
#define VERIFY_CORNERS 0
void
cv
::
makeOffsets
(
int
pixel
[
25
],
int
rowStride
,
int
patternSize
)
namespace
cv
{
void
makeOffsets
(
int
pixel
[
25
],
int
rowStride
,
int
patternSize
)
{
static
const
int
offsets16
[][
2
]
=
{
...
...
@@ -115,7 +117,7 @@ static void testCorner(const uchar* ptr, const int pixel[], int K, int N, int th
#endif
template
<>
int
c
v
::
c
ornerScore
<
16
>
(
const
uchar
*
ptr
,
const
int
pixel
[],
int
threshold
)
int
cornerScore
<
16
>
(
const
uchar
*
ptr
,
const
int
pixel
[],
int
threshold
)
{
const
int
K
=
8
,
N
=
K
*
3
+
1
;
int
k
,
v
=
ptr
[
0
];
...
...
@@ -205,7 +207,7 @@ int cv::cornerScore<16>(const uchar* ptr, const int pixel[], int threshold)
}
template
<>
int
c
v
::
c
ornerScore
<
12
>
(
const
uchar
*
ptr
,
const
int
pixel
[],
int
threshold
)
int
cornerScore
<
12
>
(
const
uchar
*
ptr
,
const
int
pixel
[],
int
threshold
)
{
const
int
K
=
6
,
N
=
K
*
3
+
1
;
int
k
,
v
=
ptr
[
0
];
...
...
@@ -289,7 +291,7 @@ int cv::cornerScore<12>(const uchar* ptr, const int pixel[], int threshold)
}
template
<>
int
c
v
::
c
ornerScore
<
8
>
(
const
uchar
*
ptr
,
const
int
pixel
[],
int
threshold
)
int
cornerScore
<
8
>
(
const
uchar
*
ptr
,
const
int
pixel
[],
int
threshold
)
{
const
int
K
=
4
,
N
=
K
*
3
+
1
;
int
k
,
v
=
ptr
[
0
];
...
...
@@ -354,3 +356,5 @@ int cv::cornerScore<8>(const uchar* ptr, const int pixel[], int threshold)
return
threshold
;
}
}
// namespace cv
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