Classes | Typedefs | Functions | Variables
evaluate_plane_segmentation.cpp File Reference

Description: More...

#include <map>
#include <iostream>
#include <iomanip>
#include <boost/program_options.hpp>
#include <pcl/io/pcd_io.h>
#include <pcl/common/eigen.h>
#include <pcl/filters/voxel_grid.h>
#include "cob_3d_mapping_common/label_defines.h"
#include "cob_3d_mapping_common/polygon.h"
#include "cob_3d_mapping_tools/io.h"
#include "cob_3d_segmentation/polygon_extraction/polygon_types.h"
#include "cob_3d_segmentation/polygon_extraction/polygon_extraction.h"
#include "cob_3d_segmentation/plane_extraction.h"
Include dependency graph for evaluate_plane_segmentation.cpp:

Go to the source code of this file.

Classes

class  Cluster

Typedefs

typedef std::map< int, ClusterClusterMap
typedef pcl::PointCloud< PointTPointCloud
typedef pcl::PointXYZRGB PointT

Functions

std::string colorHumanReadable (int)
void compare (std::map< int, Cluster > &, std::map< int, Cluster > &)
void createClusters (PointCloud::Ptr, std::map< int, Cluster > &)
void fillPolygonPtr (Cluster &c, cob_3d_segmentation::PolygonContours< cob_3d_segmentation::PolygonPoint > &contour)
void fillPolygonPtr (Cluster &c, cob_3d_segmentation::PolygonContours< cob_3d_segmentation::PolygonPoint > &contour, PointCloud::Ptr cloud)
int main (int argc, char **argv)
std::ostream & operator<< (std::ostream &, Cluster &)
void pca (PointCloud::Ptr, Cluster &)
void printForFile (ClusterMap &exp, ClusterMap &pred)
void printNoMatch (Cluster &)
void readOptions (int argc, char *argv[])

Variables

std::string pc_in
std::string ppm_exp
std::string ppm_pred

Detailed Description

Description:

Note:
Copyright (c) 2012
Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)

Project name: care-o-bot
ROS stack name: cob_environment_perception_intern
ROS package name: cob_3d_mapping_tools
Author:
Author: Steffen Fuchs, email:georg.arbeiter@ipa.fhg.de
Supervised by: Georg Arbeiter, email:georg.arbeiter@ipa.fhg.de
Date:
Date of creation: 08/2012

ToDo:

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License LGPL as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License LGPL for more details.

You should have received a copy of the GNU Lesser General Public License LGPL along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition in file evaluate_plane_segmentation.cpp.


Typedef Documentation

typedef std::map<int,Cluster> ClusterMap

Definition at line 86 of file evaluate_plane_segmentation.cpp.

Definition at line 81 of file evaluate_plane_segmentation.cpp.

typedef pcl::PointXYZRGB PointT

Definition at line 80 of file evaluate_plane_segmentation.cpp.


Function Documentation

std::string colorHumanReadable ( int  id)
void compare ( std::map< int, Cluster > &  exp,
std::map< int, Cluster > &  pred 
)

Definition at line 240 of file evaluate_plane_segmentation.cpp.

void createClusters ( PointCloud::Ptr  cloud,
std::map< int, Cluster > &  cmap 
)

Definition at line 341 of file evaluate_plane_segmentation.cpp.

void fillPolygonPtr ( Cluster c,
cob_3d_segmentation::PolygonContours< cob_3d_segmentation::PolygonPoint > &  contour,
PointCloud::Ptr  cloud 
)

Definition at line 311 of file evaluate_plane_segmentation.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 393 of file evaluate_plane_segmentation.cpp.

std::ostream & operator<< ( std::ostream &  out,
Cluster c 
)

Definition at line 161 of file evaluate_plane_segmentation.cpp.

void pca ( PointCloud::Ptr  cloud,
Cluster c 
)

Definition at line 290 of file evaluate_plane_segmentation.cpp.

void printForFile ( ClusterMap exp,
ClusterMap pred 
)

Definition at line 183 of file evaluate_plane_segmentation.cpp.

void printNoMatch ( Cluster c)

Definition at line 178 of file evaluate_plane_segmentation.cpp.

void readOptions ( int  argc,
char *  argv[] 
)

Definition at line 98 of file evaluate_plane_segmentation.cpp.


Variable Documentation

std::string pc_in

Definition at line 83 of file evaluate_plane_segmentation.cpp.

std::string ppm_exp

Definition at line 83 of file evaluate_plane_segmentation.cpp.

std::string ppm_pred

Definition at line 83 of file evaluate_plane_segmentation.cpp.



cob_3d_segmentation
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:03:03