Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::CollectionStatistic Class Reference

#include <mitkCollectionStatistic.h>

Public Types

typedef std::vector< StatisticDataDataVector
 
typedef std::vector< DataVectorMultiDataVector
 

Public Member Functions

 CollectionStatistic ()
 
 ~CollectionStatistic ()
 
void SetCollection (DataCollection::Pointer collection)
 
DataCollection::Pointer GetCollection ()
 
void SetClassCount (vcl_size_t count)
 
vcl_size_t GetClassCount ()
 
void SetGoldName (std::string name)
 
std::string GetGoldName ()
 
void SetTestName (std::string name)
 
std::string GetTestName ()
 
void SetMaskName (std::string name)
 
void SetGroundTruthValueToIndexMapper (const ValueToIndexMapper *mapper)
 
const ValueToIndexMapperGetGroundTruthValueToIndexMapper (void) const
 
void SetTestValueToIndexMapper (const ValueToIndexMapper *mapper)
 
const ValueToIndexMapperGetTestValueToIndexMapper (void) const
 
void Print (std::ostream &out, std::ostream &sout=std::cout, bool withHeader=false, std::string label="None")
 
bool Update ()
 
int IsInSameVirtualClass (unsigned char gold, unsigned char test)
 
std::vector< StatisticDataGetStatisticData (unsigned char c) const
 mitk::CollectionStatistic::GetStatisticData More...
 
void ComputeRMSD ()
 Computes root-mean-square distance of two binary images. More...
 

Detailed Description

Definition at line 69 of file mitkCollectionStatistic.h.

Member Typedef Documentation

Definition at line 76 of file mitkCollectionStatistic.h.

Definition at line 77 of file mitkCollectionStatistic.h.

Constructor & Destructor Documentation

mitk::CollectionStatistic::CollectionStatistic ( )

Definition at line 13 of file mitkCollectionStatistic.cpp.

mitk::CollectionStatistic::~CollectionStatistic ( )

Definition at line 20 of file mitkCollectionStatistic.cpp.

Member Function Documentation

vcl_size_t mitk::CollectionStatistic::GetClassCount ( )

Definition at line 42 of file mitkCollectionStatistic.cpp.

mitk::DataCollection::Pointer mitk::CollectionStatistic::GetCollection ( )

Definition at line 32 of file mitkCollectionStatistic.cpp.

std::string mitk::CollectionStatistic::GetGoldName ( )

Definition at line 52 of file mitkCollectionStatistic.cpp.

const mitk::ValueToIndexMapper * mitk::CollectionStatistic::GetGroundTruthValueToIndexMapper ( void  ) const

Definition at line 72 of file mitkCollectionStatistic.cpp.

std::vector< mitk::StatisticData > mitk::CollectionStatistic::GetStatisticData ( unsigned char  c) const

mitk::CollectionStatistic::GetStatisticData

Parameters
cThe class for which to retrieve the statistic data.
Returns

Definition at line 375 of file mitkCollectionStatistic.cpp.

Referenced by main().

std::string mitk::CollectionStatistic::GetTestName ( )

Definition at line 62 of file mitkCollectionStatistic.cpp.

const mitk::ValueToIndexMapper * mitk::CollectionStatistic::GetTestValueToIndexMapper ( void  ) const

Definition at line 82 of file mitkCollectionStatistic.cpp.

int mitk::CollectionStatistic::IsInSameVirtualClass ( unsigned char  gold,
unsigned char  test 
)

Definition at line 87 of file mitkCollectionStatistic.cpp.

void mitk::CollectionStatistic::SetClassCount ( vcl_size_t  count)

Definition at line 37 of file mitkCollectionStatistic.cpp.

Referenced by main(), and mitk::CostingStatistic::WriteStatistic().

void mitk::CollectionStatistic::SetCollection ( DataCollection::Pointer  collection)

Definition at line 27 of file mitkCollectionStatistic.cpp.

Referenced by main(), and mitk::CostingStatistic::WriteStatistic().

void mitk::CollectionStatistic::SetGoldName ( std::string  name)

Definition at line 47 of file mitkCollectionStatistic.cpp.

Referenced by main(), and mitk::CostingStatistic::WriteStatistic().

void mitk::CollectionStatistic::SetGroundTruthValueToIndexMapper ( const ValueToIndexMapper mapper)

Definition at line 67 of file mitkCollectionStatistic.cpp.

Referenced by main().

void mitk::CollectionStatistic::SetMaskName ( std::string  name)
inline

Definition at line 91 of file mitkCollectionStatistic.h.

Referenced by main(), and mitk::CostingStatistic::WriteStatistic().

void mitk::CollectionStatistic::SetTestName ( std::string  name)

Definition at line 57 of file mitkCollectionStatistic.cpp.

Referenced by main(), and mitk::CostingStatistic::WriteStatistic().

void mitk::CollectionStatistic::SetTestValueToIndexMapper ( const ValueToIndexMapper mapper)

Definition at line 77 of file mitkCollectionStatistic.cpp.

Referenced by main().


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