Functions
groundtruth.cpp File Reference

Groundtruth related functions. More...

#include "lidar_segmentation.h"
#include "clustering.h"
#include "groundtruth.h"
Include dependency graph for groundtruth.cpp:

Go to the source code of this file.

Functions

bool comparePoints (PointPtr p1, PointPtr p2)
 Comparison function. More...
 
int convertPointsToCluster (vector< PointPtr > &points, vector< ClusterPtr > &clusters_GT)
 Performs Segmentation operation with the Adaptative Breakpoint Detector. More...
 
int readDataFile (vector< C_DataFromFilePtr > &data_gts, int values_per_scan)
 Reads from a file the x, y and labels values from all the laser points from one iteration. More...
 

Detailed Description

Groundtruth related functions.

Author
Daniel Coimbra

Definition in file groundtruth.cpp.

Function Documentation

bool comparePoints ( PointPtr  p1,
PointPtr  p2 
)

Comparison function.

Parameters
p1first PointPtr input
p2second PointPtr input
Returns
the input with belonging to the lowest iteration and lowest label, else return false

Definition at line 163 of file groundtruth.cpp.

int convertPointsToCluster ( vector< PointPtr > &  points,
vector< ClusterPtr > &  clusters_GT 
)

Performs Segmentation operation with the Adaptative Breakpoint Detector.

Parameters
pointsincoming Laser Points
clusters_GTclusters output vector of clusters, these clusters use the Cluster class
Returns
Number of clusters resulted from the Adaptative Breakpoint Detector

Definition at line 168 of file groundtruth.cpp.

int readDataFile ( vector< C_DataFromFilePtr > &  data_gts,
int  values_per_scan 
)

Reads from a file the x, y and labels values from all the laser points from one iteration.

Parameters
data_gtsoutput x, y and labels from one iteration, it uses the C_DataFromFile class
values_per_scanNumber of values per scan
Returns
The x, y and labels values from all the laser points from one iteration

Definition at line 38 of file groundtruth.cpp.



lidar_segmentation
Author(s): Daniel Coimbra
autogenerated on Mon Mar 2 2015 01:32:12