Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kf_based_terrain_analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Iván del Pino
kf_based_terrain_analysis
Commits
51a4257e
Commit
51a4257e
authored
3 years ago
by
Iván del Pino
Browse files
Options
Downloads
Patches
Plain Diff
added fast labelling mode, to enable it just set the number_of_reference_used_for_labelling to zero
parent
8c34a7c8
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/kf_based_terrain_analysis.h
+8
-0
8 additions, 0 deletions
include/kf_based_terrain_analysis.h
include/structs_definitions.h
+3
-1
3 additions, 1 deletion
include/structs_definitions.h
src/kf_based_terrain_analysis.cpp
+384
-16
384 additions, 16 deletions
src/kf_based_terrain_analysis.cpp
with
395 additions
and
17 deletions
include/kf_based_terrain_analysis.h
+
8
−
0
View file @
51a4257e
...
...
@@ -87,6 +87,14 @@ private:
const
std
::
vector
<
std
::
vector
<
int
>>
&
edges
,
pcl
::
PointCloud
<
pcl
::
PointXYZRGBNormal
>::
Ptr
pcl_cloud_ptr
);
void
fastLabelPointcloudUsingGroundModel
(
const
kf_based_terrain_analysis_lib
::
FilteringConfiguration
filtering_configuration
,
const
pcl
::
PointCloud
<
pcl
::
PointXYZRGBNormal
>::
Ptr
elevation_cloud_ptr
,
const
std
::
vector
<
std
::
vector
<
int
>
>
&
correspondence_indexes
,
const
pcl
::
PointCloud
<
pcl
::
PointXYZRGBNormal
>::
Ptr
ground_reference_cloud_ptr
,
const
std
::
vector
<
std
::
vector
<
int
>>
&
edges
,
pcl
::
PointCloud
<
pcl
::
PointXYZRGBNormal
>::
Ptr
pcl_cloud_ptr
);
void
ensureThatConnectionsAreReflectedInBothEnds
(
const
pcl
::
PointCloud
<
pcl
::
PointXYZRGBNormal
>::
Ptr
ground_reference_cloud_ptr
,
std
::
vector
<
std
::
vector
<
int
>>
edges
);
...
...
This diff is collapsed.
Click to expand it.
include/structs_definitions.h
+
3
−
1
View file @
51a4257e
...
...
@@ -20,9 +20,11 @@ const int DATA_N_3_Z_VARIANCE = 3;
const
int
DATA_C_0_RGB_CAST_INTO_FLOAT
=
0
;
const
int
DATA_C_1_ID_CLASS
=
1
;
const
int
DATA_C_2_
CAR_PROB
=
2
;
const
int
DATA_C_2_
INDEX_OF_GROUND_REF_THAT_MADE_THE_LABEL
=
2
;
const
int
DATA_C_3_ORIGINAL_INDEX
=
3
;
const
int
DATA_C_2_CAR_PROB
=
2
;
// TODO: remove this
const
int
GRND_REF_DATA_C_0_RGB_CAST_INTO_FLOAT
=
0
;
const
int
GRND_REF_DATA_C_1_ROLL
=
1
;
const
int
GRND_REF_DATA_C_2_PITCH
=
2
;
...
...
This diff is collapsed.
Click to expand it.
src/kf_based_terrain_analysis.cpp
+
384
−
16
View file @
51a4257e
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment