Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 90 of file mitkCollectionStatistic.h.

Member Typedef Documentation

◆ DataVector

Definition at line 97 of file mitkCollectionStatistic.h.

◆ MultiDataVector

Definition at line 98 of file mitkCollectionStatistic.h.

Constructor & Destructor Documentation

◆ CollectionStatistic()

mitk::CollectionStatistic::CollectionStatistic ( )

Definition at line 25 of file mitkCollectionStatistic.cpp.

◆ ~CollectionStatistic()

mitk::CollectionStatistic::~CollectionStatistic ( )

Definition at line 32 of file mitkCollectionStatistic.cpp.

Member Function Documentation

◆ ComputeRMSD()

◆ GetClassCount()

vcl_size_t mitk::CollectionStatistic::GetClassCount ( )

Definition at line 54 of file mitkCollectionStatistic.cpp.

◆ GetCollection()

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

Definition at line 44 of file mitkCollectionStatistic.cpp.

◆ GetGoldName()

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

Definition at line 64 of file mitkCollectionStatistic.cpp.

◆ GetGroundTruthValueToIndexMapper()

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

Definition at line 84 of file mitkCollectionStatistic.cpp.

◆ GetStatisticData()

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 386 of file mitkCollectionStatistic.cpp.

◆ GetTestName()

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

Definition at line 74 of file mitkCollectionStatistic.cpp.

◆ GetTestValueToIndexMapper()

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

Definition at line 94 of file mitkCollectionStatistic.cpp.

◆ IsInSameVirtualClass()

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

Definition at line 99 of file mitkCollectionStatistic.cpp.

◆ Print()

◆ SetClassCount()

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

Definition at line 49 of file mitkCollectionStatistic.cpp.

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

◆ SetCollection()

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

Definition at line 39 of file mitkCollectionStatistic.cpp.

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

◆ SetGoldName()

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

Definition at line 59 of file mitkCollectionStatistic.cpp.

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

◆ SetGroundTruthValueToIndexMapper()

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

Definition at line 79 of file mitkCollectionStatistic.cpp.

Referenced by main().

◆ SetMaskName()

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

Definition at line 112 of file mitkCollectionStatistic.h.

References Update().

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

◆ SetTestName()

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

Definition at line 69 of file mitkCollectionStatistic.cpp.

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

◆ SetTestValueToIndexMapper()

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

Definition at line 89 of file mitkCollectionStatistic.cpp.

Referenced by main().

◆ Update()


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