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
b42fba07
Commit
b42fba07
authored
Apr 07, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #202 from cbalint13/agast
Fix (typo) bug in AGAST scoring routines.
parents
ae7e5a54
c3be5a0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
agast_score.cpp
modules/xfeatures2d/src/agast_score.cpp
+8
-8
No files found.
modules/xfeatures2d/src/agast_score.cpp
View file @
b42fba07
...
...
@@ -118,8 +118,8 @@ int agast_cornerScore<AgastFeatureDetector::OAST_9_16>(const uchar* ptr, const i
while
(
true
)
{
register
const
int
cb
=
*
p
ixel
+
b_test
;
register
const
int
c_b
=
*
p
ixel
-
b_test
;
register
const
int
cb
=
*
p
tr
+
b_test
;
register
const
int
c_b
=
*
p
tr
-
b_test
;
if
(
ptr
[
offset0
]
>
cb
)
if
(
ptr
[
offset2
]
>
cb
)
if
(
ptr
[
offset4
]
>
cb
)
...
...
@@ -2189,8 +2189,8 @@ int agast_cornerScore<AgastFeatureDetector::AGAST_7_12d>(const uchar* ptr, const
while
(
true
)
{
register
const
int
cb
=
*
p
ixel
+
b_test
;
register
const
int
c_b
=
*
p
ixel
-
b_test
;
register
const
int
cb
=
*
p
tr
+
b_test
;
register
const
int
c_b
=
*
p
tr
-
b_test
;
if
(
ptr
[
offset0
]
>
cb
)
if
(
ptr
[
offset5
]
>
cb
)
if
(
ptr
[
offset2
]
>
cb
)
...
...
@@ -3401,8 +3401,8 @@ int agast_cornerScore<AgastFeatureDetector::AGAST_7_12s>(const uchar* ptr, const
while
(
true
)
{
register
const
int
cb
=
*
p
ixel
+
b_test
;
register
const
int
c_b
=
*
p
ixel
-
b_test
;
register
const
int
cb
=
*
p
tr
+
b_test
;
register
const
int
c_b
=
*
p
tr
-
b_test
;
if
(
ptr
[
offset0
]
>
cb
)
if
(
ptr
[
offset5
]
>
cb
)
if
(
ptr
[
offset2
]
<
c_b
)
...
...
@@ -9031,8 +9031,8 @@ int agast_cornerScore<AgastFeatureDetector::AGAST_5_8>(const uchar* ptr, const i
while
(
true
)
{
register
const
int
cb
=
*
p
ixel
+
b_test
;
register
const
int
c_b
=
*
p
ixel
-
b_test
;
register
const
int
cb
=
*
p
tr
+
b_test
;
register
const
int
c_b
=
*
p
tr
-
b_test
;
if
(
ptr
[
offset0
]
>
cb
)
if
(
ptr
[
offset2
]
>
cb
)
if
(
ptr
[
offset3
]
>
cb
)
...
...
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