Binary STAPLE label combination. More...
#include <cmtkLabelCombinationSTAPLE.h>
Public Member Functions | |
LabelCombinationSTAPLE (const std::vector< TypedArray::SmartPtr > &data, const int maxIterations, const ScalarDataType resultType=TYPE_FLOAT) | |
Constructor: compute label combination. | |
TypedArray::SmartPtr & | GetResult () |
Get result. | |
float | GetPValue (const size_t i) const |
Get one p value. | |
float | GetQValue (const size_t i) const |
Get one q value. | |
Private Attributes | |
TypedArray::SmartPtr | m_Result |
Resulting data array. | |
std::vector< float > | m_VecP |
p-Values. | |
std::vector< float > | m_VecQ |
q-Values. |
Binary STAPLE label combination.
This class implements combination of binary images using the binary STAPLE algorithm. If multi-class images are provided as inputs, all values other than zero are interpreted as binary "1" for the purpose of the algorithm.
Definition at line 55 of file cmtkLabelCombinationSTAPLE.h.