Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkCollectionStatistic.h>
Public Types | |
typedef std::vector< StatisticData > | DataVector |
typedef std::vector< DataVector > | MultiDataVector |
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 ValueToIndexMapper * | GetGroundTruthValueToIndexMapper (void) const |
void | SetTestValueToIndexMapper (const ValueToIndexMapper *mapper) |
const ValueToIndexMapper * | GetTestValueToIndexMapper (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< StatisticData > | GetStatisticData (unsigned char c) const |
mitk::CollectionStatistic::GetStatisticData More... | |
void | ComputeRMSD () |
Computes root-mean-square distance of two binary images. More... | |
Definition at line 69 of file mitkCollectionStatistic.h.
typedef std::vector<StatisticData> mitk::CollectionStatistic::DataVector |
Definition at line 76 of file mitkCollectionStatistic.h.
typedef std::vector<DataVector> mitk::CollectionStatistic::MultiDataVector |
Definition at line 77 of file mitkCollectionStatistic.h.
mitk::CollectionStatistic::CollectionStatistic | ( | ) |
Definition at line 13 of file mitkCollectionStatistic.cpp.
mitk::CollectionStatistic::~CollectionStatistic | ( | ) |
Definition at line 20 of file mitkCollectionStatistic.cpp.
void mitk::CollectionStatistic::ComputeRMSD | ( | ) |
Computes root-mean-square distance of two binary images.
Definition at line 387 of file mitkCollectionStatistic.cpp.
References mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetImageIndex(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetImageIterator(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetVoxel(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::IsAtEnd(), and mitk::New().
Referenced by main().
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
c | The class for which to retrieve the statistic data. |
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::Print | ( | std::ostream & | out, |
std::ostream & | sout = std::cout , |
||
bool | withHeader = false , |
||
std::string | label = "None" |
||
) |
Definition at line 191 of file mitkCollectionStatistic.cpp.
References mitk::StatisticData::m_DICE, mitk::StatisticData::m_FalseNegative, mitk::StatisticData::m_FalsePositive, mitk::StatisticData::m_Jaccard, mitk::StatisticData::m_RMSD, mitk::StatisticData::m_Sensitivity, mitk::StatisticData::m_Specificity, mitk::StatisticData::m_TrueNegative, mitk::StatisticData::m_TruePositive, max(), and MITK_INFO.
Referenced by main(), and mitk::CostingStatistic::WriteStatistic().
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().
|
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().
bool mitk::CollectionStatistic::Update | ( | ) |
Definition at line 101 of file mitkCollectionStatistic.cpp.
References mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetFilePrefix(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetImageIndex(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetVoxel(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::IsAtEnd(), MITK_ERROR, and MITK_INFO.
Referenced by main(), and mitk::CostingStatistic::WriteStatistic().