Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
laser_scan_utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
algorithms
laser_scan_utils
Merge requests
!4
Resolve "Implementation of Falko lib"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Implementation of Falko lib"
26-implementation-of-falko-lib
into
master
Overview
0
Commits
102
Pipelines
0
Changes
2
Merged
Sergi Pujol Badell
requested to merge
26-implementation-of-falko-lib
into
master
4 years ago
Overview
0
Commits
102
Pipelines
0
Changes
2
Expand
Closes
#26 (closed)
Edited
3 years ago
by
Joan Vallvé Navarro
0
0
Merge request reports
Viewing commit
cdbaaee8
Prev
Next
Show latest version
2 files
+
53
−
33
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
cdbaaee8
CornerFalko2d class refactorized with inheritances
· cdbaaee8
Sergi Pujol
authored
4 years ago
src/corner_falko_2d.cpp
+
23
−
22
Options
@@ -9,30 +9,31 @@
namespace
wolf
{
void
CornerFalko2d
::
extract
(
falkolib
::
LaserScan
scan
){
fe
.
setMinExtractionRange
(
0.25
);
fe
.
setMaxExtractionRange
(
25
);
fe
.
enableSubbeam
(
true
);
fe
.
setNMSRadius
(
0.1
);
fe
.
setNeighB
(
0.01
);
fe
.
setBRatio
(
4
);
fe
.
setGridSectors
(
16
);
std
::
vector
<
falkolib
::
FALKO
>
keypoints
;
/*
fe.extract(scan, keypoints);
falkolib::BSCExtractor<falkolib::FALKO> bsc(16,8);
std::vector<falkolib::BSC> bscDesc;
bsc.compute(scan, keypoints, bscDesc);
*/
CornerFalko2d
::
CornerFalko2d
(
int
_circularSectorNumber
,
int
_radialRingNumber
,
bool
_useKeypointRadius
,
double
_radius
)
:
BSCExtractor
(
_circularSectorNumber
,
_radialRingNumber
,
_useKeypointRadius
,
_radius
)
{
// FALKO EXTRACTOR PARAMS
setMinExtractionRange
(
0.25
);
setMaxExtractionRange
(
25
);
enableSubbeam
(
true
);
setNMSRadius
(
0.1
);
setNeighB
(
0.01
);
setBRatio
(
4
);
setGridSectors
(
16
);
}
void
CornerFalko2d
::
train
(
falkolib
::
LaserScan
scan
){
// Extract keypoints
lastKeypointSet
.
clear
();
extract
(
scan
,
lastKeypointSet
);
//Compute descriptors
lastDescriptorSet
.
clear
();
bsc
.
compute
(
scan
,
lastKeypointSet
,
lastDescriptorSet
);
}
}
// wolf namespace
Loading