Groundtruth related functions. More...
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... | |
Groundtruth related functions.
Definition in file groundtruth.cpp.
Comparison function.
p1 | first PointPtr input |
p2 | second PointPtr input |
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.
points | incoming Laser Points |
clusters_GT | clusters output vector of clusters, these clusters use the Cluster class |
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.
data_gts | output x, y and labels from one iteration, it uses the C_DataFromFile class |
values_per_scan | Number of values per scan |
Definition at line 38 of file groundtruth.cpp.