Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends
BinaryClassification Class Reference

#include <eval.h>

List of all members.

Classes

struct  Data

Public Member Functions

void addLabelPoint (const int l)
void addMark (const int mark, const int l)
template<typename PointLabel >
void addPC (const boost::shared_ptr< const pcl::PointCloud< PointLabel > > &labeled_pc)
const BinaryClassificationfinish ()
void get_rate (double &true_positive, double &false_positive) const

Private Member Functions

bool isMarkMaxForLabel (int mark, int l)

Private Attributes

std::map< int, std::map< int,
size_t > > 
label_to_mark
std::map< int, std::map< int,
size_t > > 
mark_to_label
std::map< int, Datastat_label
std::map< int, Datastat_mark

Friends

std::ostream & operator<< (ostream &os, const BinaryClassification &bc)
 for debugging

Detailed Description

Definition at line 11 of file eval.h.


Member Function Documentation

void BinaryClassification::addLabelPoint ( const int  l) [inline]

Definition at line 50 of file eval.h.

void BinaryClassification::addMark ( const int  mark,
const int  l 
) [inline]

Definition at line 55 of file eval.h.

template<typename PointLabel >
void BinaryClassification::addPC ( const boost::shared_ptr< const pcl::PointCloud< PointLabel > > &  labeled_pc) [inline]

Definition at line 43 of file eval.h.

Definition at line 69 of file eval.h.

void BinaryClassification::get_rate ( double &  true_positive,
double &  false_positive 
) const [inline]

Definition at line 92 of file eval.h.

bool BinaryClassification::isMarkMaxForLabel ( int  mark,
int  l 
) [inline, private]

Definition at line 32 of file eval.h.


Friends And Related Function Documentation

std::ostream& operator<< ( ostream &  os,
const BinaryClassification bc 
) [friend]

for debugging

Definition at line 110 of file eval.h.


Member Data Documentation

std::map<int, std::map<int, size_t> > BinaryClassification::label_to_mark [private]

Definition at line 26 of file eval.h.

std::map<int, std::map<int, size_t> > BinaryClassification::mark_to_label [private]

Definition at line 29 of file eval.h.

std::map<int, Data> BinaryClassification::stat_label [private]

Definition at line 27 of file eval.h.

std::map<int, Data> BinaryClassification::stat_mark [private]

Definition at line 30 of file eval.h.


The documentation for this class was generated from the following file:


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