Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
algorithms
Falkolib
Commits
327bafa8
Commit
327bafa8
authored
Jan 26, 2021
by
Joan Vallvé Navarro
Browse files
Update FALKOExtractor.cpp
parent
7e410d1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Feature/FALKOExtractor.cpp
View file @
327bafa8
...
...
@@ -172,7 +172,7 @@ namespace falkolib {
oriL
/=
midIndex
;
oriR
/=
(
size
-
(
midIndex
+
1
));
Point2d
ori
=
oriL
+
oriR
;
double
theta
=
atan2
(
ori
(
1
),
ori
(
0
));
return
atan2
(
ori
(
1
),
ori
(
0
));
}
void
FALKOExtractor
::
NMSKeypoint
(
const
std
::
vector
<
int
>&
scores
,
const
LaserScan
&
scan
,
unsigned
int
ibeg
,
unsigned
int
iend
,
double
radius
,
int
minval
,
std
::
vector
<
int
>&
peaks
)
{
...
...
@@ -328,4 +328,4 @@ namespace falkolib {
x
[
1
]
=
(
A
[
0
]
*
b
[
1
]
-
b
[
0
]
*
A
[
2
])
/
det
;
return
true
;
}
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
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