22 #ifndef otbConfusionMatrixCalculator_h
23 #define otbConfusionMatrixCalculator_h
57 template <
class TRefListLabel,
class TProdListLabel>
105 itkGetMacro(TruePositiveValue,
double);
106 itkGetMacro(TrueNegativeValue,
double);
107 itkGetMacro(FalsePositiveValue,
double);
108 itkGetMacro(FalseNegativeValue,
double);
109 itkGetMacro(KappaIndex,
double);
110 itkGetMacro(OverallAccuracy,
double);
114 itkGetMacro(Precision,
double);
115 itkGetMacro(Recall,
double);
116 itkGetMacro(FScore,
double);
117 itkGetMacro(NumberOfClasses,
unsigned short);
118 itkGetMacro(NumberOfSamples,
unsigned long);
127 return m_MapOfClasses;
135 return m_MapOfIndices;
143 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
148 void operator=(
const Self&) =
delete;
185 #ifndef OTB_MANUAL_INSTANTIATION