Skip to content
Snippets Groups Projects
Commit 2a1cd985 authored by Ludovic Hussonnois's avatar Ludovic Hussonnois
Browse files

BUILD: Correct missing headers and remove ITK_OVERRIDE.

parent ecc8a003
No related branches found
No related tags found
No related merge requests found
......@@ -376,7 +376,7 @@ private:
writeContingencyTable(contingencyTable);
}
void DoExecuteConfusionMatrix(const StreamingInitializationData& sid) ITK_OVERRIDE
void DoExecuteConfusionMatrix(const StreamingInitializationData& sid)
{
// Extraction of the Class Labels from the Reference image/rasterized vector data + filling of m_Matrix
......
......@@ -24,6 +24,7 @@
#include <vector>
#include <iostream>
#include <iomanip>
#include <itkVariableSizeMatrix.h>
namespace otb
{
......@@ -34,6 +35,8 @@ public:
typedef itk::VariableSizeMatrix<unsigned long> MatrixType;
typedef std::vector<TClassLabel> LabelList;
MatrixType matrix;
ContingencyTable(LabelList referenceLabels, LabelList producedLabels) : refLabels( referenceLabels ),
prodLabels( producedLabels )
{
......@@ -43,8 +46,6 @@ public:
matrix.Fill( 0 );
}
MatrixType matrix;
friend std::ostream &operator<<(std::ostream &o, const ContingencyTable<TClassLabel> &contingencyTable)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment