OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
otb::ContingencyTable< TClassLabel > Class Template Reference

#include <otbContingencyTable.h>

+ Inheritance diagram for otb::ContingencyTable< TClassLabel >:
+ Collaboration diagram for otb::ContingencyTable< TClassLabel >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef std::vector< TClassLabel > LabelList
 
typedef itk::VariableSizeMatrix< unsigned long > MatrixType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ContingencyTable Self
 
typedef itk::Object Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetLabels (const LabelList &referenceLabels, const LabelList &producedLabels)
 
std::string ToCSV () const
 

Static Public Member Functions

static Pointer New ()
 

Public Attributes

MatrixType matrix
 

Protected Member Functions

 ContingencyTable ()
 
void PrintSelf (std::ostream &os, itk::Indent) const override
 
 ~ContingencyTable () override
 

Private Member Functions

 ContingencyTable (const Self &)=delete
 
void operator= (const Self &)=delete
 

Static Private Member Functions

static vcl_size_t GetLabelsMaximumLength (const LabelList &labels, vcl_size_t maxWidth)
 

Private Attributes

LabelList m_ProdLabels
 
LabelList m_RefLabels
 

Friends

std::ostream & operator<< (std::ostream &o, const ContingencyTable< TClassLabel > &contingencyTable)
 

Detailed Description

template<class TClassLabel>
class otb::ContingencyTable< TClassLabel >

Definition at line 34 of file otbContingencyTable.h.

Member Typedef Documentation

◆ ConstPointer

template<class TClassLabel >
typedef itk::SmartPointer<const Self> otb::ContingencyTable< TClassLabel >::ConstPointer

Definition at line 41 of file otbContingencyTable.h.

◆ LabelList

template<class TClassLabel >
typedef std::vector<TClassLabel> otb::ContingencyTable< TClassLabel >::LabelList

Definition at line 50 of file otbContingencyTable.h.

◆ MatrixType

template<class TClassLabel >
typedef itk::VariableSizeMatrix<unsigned long> otb::ContingencyTable< TClassLabel >::MatrixType

Definition at line 47 of file otbContingencyTable.h.

◆ Pointer

template<class TClassLabel >
typedef itk::SmartPointer<Self> otb::ContingencyTable< TClassLabel >::Pointer

Definition at line 40 of file otbContingencyTable.h.

◆ Self

template<class TClassLabel >
typedef ContingencyTable otb::ContingencyTable< TClassLabel >::Self

Standard class typedefs

Definition at line 38 of file otbContingencyTable.h.

◆ Superclass

template<class TClassLabel >
typedef itk::Object otb::ContingencyTable< TClassLabel >::Superclass

Definition at line 39 of file otbContingencyTable.h.

Constructor & Destructor Documentation

◆ ContingencyTable() [1/2]

template<class TClassLabel >
otb::ContingencyTable< TClassLabel >::ContingencyTable ( )
inlineprotected

◆ ~ContingencyTable()

template<class TClassLabel >
otb::ContingencyTable< TClassLabel >::~ContingencyTable ( )
inlineoverrideprotected

Definition at line 140 of file otbContingencyTable.h.

◆ ContingencyTable() [2/2]

template<class TClassLabel >
otb::ContingencyTable< TClassLabel >::ContingencyTable ( const Self )
privatedelete

Member Function Documentation

◆ CreateAnother()

template<class TClassLabel >
virtual::itk::LightObject::Pointer otb::ContingencyTable< TClassLabel >::CreateAnother ( void  ) const

◆ GetLabelsMaximumLength()

template<class TClassLabel >
static vcl_size_t otb::ContingencyTable< TClassLabel >::GetLabelsMaximumLength ( const LabelList labels,
vcl_size_t  maxWidth 
)
inlinestaticprivate

Definition at line 152 of file otbContingencyTable.h.

◆ GetNameOfClass()

template<class TClassLabel >
virtual const char* otb::ContingencyTable< TClassLabel >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ New()

template<class TClassLabel >
static Pointer otb::ContingencyTable< TClassLabel >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TClassLabel >
void otb::ContingencyTable< TClassLabel >::operator= ( const Self )
privatedelete

◆ PrintSelf()

template<class TClassLabel >
void otb::ContingencyTable< TClassLabel >::PrintSelf ( std::ostream &  os,
itk::Indent   
) const
inlineoverrideprotected

Definition at line 143 of file otbContingencyTable.h.

◆ SetLabels()

template<class TClassLabel >
void otb::ContingencyTable< TClassLabel >::SetLabels ( const LabelList referenceLabels,
const LabelList producedLabels 
)
inline

◆ ToCSV()

template<class TClassLabel >
std::string otb::ContingencyTable< TClassLabel >::ToCSV ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

template<class TClassLabel >
std::ostream& operator<< ( std::ostream &  o,
const ContingencyTable< TClassLabel > &  contingencyTable 
)
friend

Definition at line 64 of file otbContingencyTable.h.

Member Data Documentation

◆ m_ProdLabels

template<class TClassLabel >
LabelList otb::ContingencyTable< TClassLabel >::m_ProdLabels
private

◆ m_RefLabels

template<class TClassLabel >
LabelList otb::ContingencyTable< TClassLabel >::m_RefLabels
private

◆ matrix

template<class TClassLabel >
MatrixType otb::ContingencyTable< TClassLabel >::matrix

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