/home/laradmin/lar/perception/planarobstacles/lidar_segmentation/src/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.
int convertPointsToCluster (vector< PointPtr > &points, vector< ClusterPtr > &clusters_GT)
 Performs Segmentation operation with the Adaptative Breakpoint Detector.
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.

Detailed Description

Groundtruth related functions.

Author:
Daniel Coimbra

Definition in file groundtruth.cpp.


Function Documentation

bool comparePoints ( PointPtr  p1,
PointPtr  p2 
)

Comparison function.

Parameters:
p1 first PointPtr input
p2 second 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:
points incoming Laser Points
clusters_GT clusters 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_gts output x, y and labels from one iteration, it uses the C_DataFromFile class
values_per_scan Number 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.

 All Classes Files Functions Variables Typedefs Defines


lidar_segmentation
Author(s): Daniel
autogenerated on Wed Jul 23 04:34:28 2014