22 #ifndef otbHooverMatrixFilter_h
23 #define otbHooverMatrixFilter_h
25 #include "itkLabelMapFilter.h"
26 #include "itkVariableSizeMatrix.h"
42 template <
class TLabelMap>
48 typedef itk::LabelMapFilter<TLabelMap, TLabelMap>
Superclass;
64 typedef typename LabelObjectType::IndexType
IndexType;
65 typedef typename LabelObjectType::LabelType
LabelType;
68 typedef itk::VariableSizeMatrix<CoefficientType>
MatrixType;
74 void SetMachineSegmentationLabelMap(
const LabelMapType* ms);
96 void BeforeThreadedGenerateData()
override;
101 void ThreadedProcessLabelObject(LabelObjectType* labelObject)
override;
118 #ifndef OTB_MANUAL_INSTANTIATION
This class computes the confusion matrix from two LabelMapObject.
itk::LabelMapFilter< TLabelMap, TLabelMap > Superclass
unsigned long m_NumberOfRegionsMS
LabelObjectType::IndexType IndexType
LabelMapType::LabelObjectType LabelObjectType
unsigned long m_NumberOfRegionsGT
itk::SmartPointer< const Self > ConstPointer
itk::VariableSizeMatrix< CoefficientType > MatrixType
unsigned long CoefficientType
LabelVectorType m_LabelsGT
itk::SmartPointer< Self > Pointer
~HooverMatrixFilter() override
LabelObjectType::LabelType LabelType
MatrixType & GetHooverConfusionMatrix()
LabelMapType::LabelVectorType LabelVectorType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.