Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkCostingStatistic.h>
Public Member Functions | |
void | SetCollection (DataCollection::Pointer collection) |
DataCollection::Pointer | GetCollection () |
void | SetMaskName (std::string name) |
void | SetCombinedA (std::string name) |
void | SetCombinedB (std::string name) |
void | SetCombinedLabel (std::string name) |
void | SetProbabilitiesA (std::vector< std::string > probA) |
void | SetProbabilitiesB (std::vector< std::string > probB) |
bool | UpdateCollection () |
bool | CalculateClass (double threshold) |
bool | WriteStatistic (std::ostream &out, std::ostream &sout, double stepSize, std::string shortLabel) |
Definition at line 23 of file mitkCostingStatistic.h.
bool mitk::CostingStatistic::CalculateClass | ( | double | threshold | ) |
Definition at line 158 of file mitkCostingStatistic.cpp.
References mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetVoxel(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::IsAtEnd(), and mitk::DataCollectionImageIterator< TDataType, ImageDimension >::SetVoxel().
Referenced by WriteStatistic().
mitk::DataCollection::Pointer mitk::CostingStatistic::GetCollection | ( | ) |
Definition at line 93 of file mitkCostingStatistic.cpp.
void mitk::CostingStatistic::SetCollection | ( | DataCollection::Pointer | collection | ) |
Definition at line 88 of file mitkCostingStatistic.cpp.
|
inline |
Definition at line 30 of file mitkCostingStatistic.h.
|
inline |
Definition at line 31 of file mitkCostingStatistic.h.
|
inline |
Definition at line 32 of file mitkCostingStatistic.h.
|
inline |
Definition at line 29 of file mitkCostingStatistic.h.
|
inline |
Definition at line 33 of file mitkCostingStatistic.h.
|
inline |
Definition at line 34 of file mitkCostingStatistic.h.
bool mitk::CostingStatistic::UpdateCollection | ( | ) |
Definition at line 98 of file mitkCostingStatistic.cpp.
References EnsureDataImageInCollection(), EnsureLabelImageInCollection(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::GetVoxel(), mitk::DataCollectionImageIterator< TDataType, ImageDimension >::IsAtEnd(), and mitk::DataCollectionImageIterator< TDataType, ImageDimension >::SetVoxel().
Referenced by WriteStatistic().
bool mitk::CostingStatistic::WriteStatistic | ( | std::ostream & | out, |
std::ostream & | sout, | ||
double | stepSize, | ||
std::string | shortLabel | ||
) |
Definition at line 187 of file mitkCostingStatistic.cpp.
References CalculateClass(), mitk::CollectionStatistic::Print(), mitk::CollectionStatistic::SetClassCount(), mitk::CollectionStatistic::SetCollection(), mitk::CollectionStatistic::SetGoldName(), mitk::CollectionStatistic::SetMaskName(), mitk::CollectionStatistic::SetTestName(), mitk::CollectionStatistic::Update(), and UpdateCollection().