OTB
9.0.0
Orfeo Toolbox
|
#include <otbConfusionMatrixToMassOfBelief.h>
Public Types | |
typedef TLabel | ClassLabelType |
typedef otb::ConfusionMatrixMeasurements< ConfusionMatrixType, ClassLabelType > | ConfusionMatrixMeasurementsType |
typedef TConfusionMatrix | ConfusionMatrixType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::map< ClassLabelType, MassType > | LabelMassMapType |
typedef ConfusionMatrixMeasurementsType::MapOfClassesType | MapOfClassesType |
typedef ConfusionMatrixMeasurementsType::MapOfIndicesType | MapOfIndicesType |
enum | MassOfBeliefDefinitionMethod { PRECISION, RECALL, ACCURACY, KAPPA } |
typedef double | MassType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ConfusionMatrixToMassOfBelief | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | Update () override |
Static Public Member Functions | |
static Pointer | New () |
ConfusionMatrixType | m_ConfusionMatrix |
ConfusionMatrixMeasurementsType::Pointer | m_ConfMatMeasurements |
MapOfClassesType | m_MapOfClasses |
MapOfIndicesType | m_MapOfIndices |
MassOfBeliefDefinitionMethod | m_DefinitionMethod |
LabelMassMapType | m_MapMassOfBelief |
virtual void | SetConfusionMatrix (ConfusionMatrixType _arg) |
virtual void | SetDefinitionMethod (MassOfBeliefDefinitionMethod _arg) |
virtual void | SetMapOfClasses (const MapOfClassesType _arg) |
MapOfClassesType | GetMapOfClasses () const |
virtual void | SetMapOfIndices (const MapOfIndicesType _arg) |
MapOfIndicesType | GetMapOfIndices () const |
LabelMassMapType | GetMapMassOfBelief () const |
ConfusionMatrixToMassOfBelief () | |
~ConfusionMatrixToMassOfBelief () override | |
void | GenerateData (void) override |
ConfusionMatrixToMassOfBelief (const Self &)=delete | |
void | operator= (const Self &)=delete |
This class converts a confusion matrix into masses of belief for each label.
This class converts a confusion matrix into a std::map<ClassLabelType, MassType> with MassType being the type of the Mass of Belief of each label to be used in the Dempster-Shafer theory.
TConfusionMatrix is the type of the confusion matrix from which the measurements will be computed. N.B.: The confusion matrix indices are expected to be organized the following way: confusionMatrix[itReference][itClassified], with itClassified the indice over the columns representing the classified labels compared to the reference labels (i.e. the reference truth) organized over the lines of the confusion matrix.
The MassOfBeliefDefinitionMethod indicates which parameter of the confusion matrix will stand for the mass of belief of each label (PRECISION, RECALL, ACCURACY, KAPPA).
Definition at line 55 of file otbConfusionMatrixToMassOfBelief.h.
typedef TLabel otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::ClassLabelType |
Type for the labels
Definition at line 75 of file otbConfusionMatrixToMassOfBelief.h.
typedef otb::ConfusionMatrixMeasurements<ConfusionMatrixType, ClassLabelType> otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::ConfusionMatrixMeasurementsType |
Type for the confusion matrix measurements calculator
Definition at line 78 of file otbConfusionMatrixToMassOfBelief.h.
typedef TConfusionMatrix otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::ConfusionMatrixType |
Type for the confusion matrix
Definition at line 68 of file otbConfusionMatrixToMassOfBelief.h.
typedef itk::SmartPointer<const Self> otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::ConstPointer |
Definition at line 62 of file otbConfusionMatrixToMassOfBelief.h.
typedef std::map<ClassLabelType, MassType> otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::LabelMassMapType |
Definition at line 83 of file otbConfusionMatrixToMassOfBelief.h.
typedef ConfusionMatrixMeasurementsType::MapOfClassesType otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::MapOfClassesType |
Definition at line 79 of file otbConfusionMatrixToMassOfBelief.h.
typedef ConfusionMatrixMeasurementsType::MapOfIndicesType otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::MapOfIndicesType |
Definition at line 80 of file otbConfusionMatrixToMassOfBelief.h.
typedef double otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::MassType |
Definition at line 82 of file otbConfusionMatrixToMassOfBelief.h.
typedef itk::SmartPointer<Self> otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::Pointer |
Definition at line 61 of file otbConfusionMatrixToMassOfBelief.h.
typedef ConfusionMatrixToMassOfBelief otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::Self |
Standard class typedefs
Definition at line 59 of file otbConfusionMatrixToMassOfBelief.h.
typedef itk::ProcessObject otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::Superclass |
Definition at line 60 of file otbConfusionMatrixToMassOfBelief.h.
enum otb::ConfusionMatrixToMassOfBelief::MassOfBeliefDefinitionMethod |
Enumerator | |
---|---|
PRECISION | |
RECALL | |
ACCURACY | |
KAPPA |
Definition at line 85 of file otbConfusionMatrixToMassOfBelief.h.
|
protected |
Constructor
Definition at line 30 of file otbConfusionMatrixToMassOfBelief.hxx.
|
inlineoverrideprotected |
Destructor
Definition at line 150 of file otbConfusionMatrixToMassOfBelief.h.
|
privatedelete |
Accessors
virtual::itk::LightObject::Pointer otb::ConfusionMatrixToMassOfBelief< TConfusionMatrix, TLabel >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Triggers the computation of the confusion matrix
Definition at line 45 of file otbConfusionMatrixToMassOfBelief.hxx.
|
inline |
Accessors
Definition at line 139 of file otbConfusionMatrixToMassOfBelief.h.
|
inline |
Accessors
Definition at line 114 of file otbConfusionMatrixToMassOfBelief.h.
|
inline |
Accessors
Definition at line 133 of file otbConfusionMatrixToMassOfBelief.h.
|
virtual |
Run-time type information (and related methods).
|
static |
Method for creation through the object factory.
|
privatedelete |
Accessors
|
virtual |
Accessors
|
virtual |
Accessors
|
inlinevirtual |
Accessors
Definition at line 103 of file otbConfusionMatrixToMassOfBelief.h.
|
inlinevirtual |
Accessors
Definition at line 122 of file otbConfusionMatrixToMassOfBelief.h.
|
override |
Definition at line 39 of file otbConfusionMatrixToMassOfBelief.hxx.
|
private |
Accessors
Definition at line 160 of file otbConfusionMatrixToMassOfBelief.h.
|
private |
Accessors
Definition at line 159 of file otbConfusionMatrixToMassOfBelief.h.
|
private |
Accessors
Definition at line 165 of file otbConfusionMatrixToMassOfBelief.h.
|
private |
Accessors
Definition at line 166 of file otbConfusionMatrixToMassOfBelief.h.
|
private |
Accessors
Definition at line 162 of file otbConfusionMatrixToMassOfBelief.h.
|
private |
Accessors
Definition at line 163 of file otbConfusionMatrixToMassOfBelief.h.