groundtruth.h
Go to the documentation of this file.
1 /**************************************************************************************************
2  Software License Agreement (BSD License)
3 
4  Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
5  All rights reserved.
6 
7  Redistribution and use in source and binary forms, with or without modification, are permitted
8  provided that the following conditions are met:
9 
10  *Redistributions of source code must retain the above copyright notice, this list of
11  conditions and the following disclaimer.
12  *Redistributions in binary form must reproduce the above copyright notice, this list of
13  conditions and the following disclaimer in the documentation and/or other materials provided
14  with the distribution.
15  *Neither the name of the University of Aveiro nor the names of its contributors may be used to
16  endorse or promote products derived from this software without specific prior written permission.
17 
18  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
19  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ***************************************************************************************************/
33 #ifndef _COIMBRA_GROUNDTRUTH_H_
34 #define _COIMBRA_GROUNDTRUTH_H_
35 
36 #include <vector>
37 
38 
48 {
49 
50 public:
51 
52  int iteration;
54  vector<double> x_valuesf;
56  vector<double> y_valuesf;
58  vector<int> labels;
59 };
60 
61 //Shared pointer to the C_DataFromFile class
62 typedef boost::shared_ptr<C_DataFromFile> C_DataFromFilePtr;
63 
64 
72 int readDataFile( vector<C_DataFromFilePtr>& data_gts , int values_per_scan);
73 
74 
82 int convertPointsToCluster(vector<PointPtr>& points, vector<ClusterPtr>& clusters_GT);
83 
84 #endif
vector< int > labels
Definition: groundtruth.h:58
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.
Definition: groundtruth.cpp:38
vector< double > y_valuesf
Definition: groundtruth.h:56
vector< double > x_valuesf
Definition: groundtruth.h:54
int convertPointsToCluster(vector< PointPtr > &points, vector< ClusterPtr > &clusters_GT)
Performs Segmentation operation with the Adaptative Breakpoint Detector.
boost::shared_ptr< C_DataFromFile > C_DataFromFilePtr
Definition: groundtruth.h:62


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