![]() |
OTB
9.1.1
Orfeo Toolbox
|
#include <otbContingencyTableCalculator.h>
Inheritance diagram for otb::ContingencyTableCalculator< TClassLabel >:
Collaboration diagram for otb::ContingencyTableCalculator< TClassLabel >:Public Types | |
| typedef itk::SmartPointer< const Self > | ConstPointer |
| typedef ContingencyTableType::Pointer | ContingencyTablePointerType |
| typedef ContingencyTable< TClassLabel > | ContingencyTableType |
| typedef std::map< TClassLabel, unsigned long > | CountMapType |
| typedef std::map< TClassLabel, CountMapType > | MapOfClassesType |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef ContingencyTableCalculator | Self |
| typedef itk::Object | Superclass |
Public Member Functions | |
| ContingencyTablePointerType | BuildContingencyTable () |
| void | Clear () |
| template<class TRefIterator , class TProdIterator > | |
| void | Compute (TRefIterator itRef, TProdIterator itProd, bool refHasNoData=false, typename TRefIterator::InternalPixelType refNoData=0, bool prodHasNoData=false, typename TProdIterator::InternalPixelType prodNoData=0) |
| template<class TRefIterator , class TProdIterator > | |
| void | Compute (TRefIterator refBegin, TRefIterator refEnd, TProdIterator prodBegin, TProdIterator prodEnd) |
| virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
| virtual const char * | GetNameOfClass () const |
| virtual unsigned long | GetNumberOfProdClasses () const |
| virtual unsigned long | GetNumberOfRefClasses () const |
| virtual unsigned long | GetNumberOfSamples () const |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| ContingencyTableCalculator () | |
| ~ContingencyTableCalculator () override | |
Private Member Functions | |
| ContingencyTableCalculator (const Self &)=delete | |
| void | operator= (const Self &)=delete |
Private Attributes | |
| MapOfClassesType | m_LabelCount |
| unsigned long | m_NumberOfProdClasses |
| unsigned long | m_NumberOfRefClasses |
| unsigned long | m_NumberOfSamples |
ContingencyTableCalculator provide facilities to compute ContingencyTable.
The ContingencyTableCalculator can be used with different structure type, the size of the label list should be the same for both list.
| TClassLabel | the label data type |
Definition at line 41 of file otbContingencyTableCalculator.h.
| typedef itk::SmartPointer<const Self> otb::ContingencyTableCalculator< TClassLabel >::ConstPointer |
Definition at line 49 of file otbContingencyTableCalculator.h.
| typedef ContingencyTableType::Pointer otb::ContingencyTableCalculator< TClassLabel >::ContingencyTablePointerType |
Definition at line 58 of file otbContingencyTableCalculator.h.
| typedef ContingencyTable<TClassLabel> otb::ContingencyTableCalculator< TClassLabel >::ContingencyTableType |
Definition at line 55 of file otbContingencyTableCalculator.h.
| typedef std::map<TClassLabel, unsigned long> otb::ContingencyTableCalculator< TClassLabel >::CountMapType |
Definition at line 60 of file otbContingencyTableCalculator.h.
| typedef std::map<TClassLabel, CountMapType> otb::ContingencyTableCalculator< TClassLabel >::MapOfClassesType |
Definition at line 61 of file otbContingencyTableCalculator.h.
| typedef itk::SmartPointer<Self> otb::ContingencyTableCalculator< TClassLabel >::Pointer |
Definition at line 48 of file otbContingencyTableCalculator.h.
| typedef ContingencyTableCalculator otb::ContingencyTableCalculator< TClassLabel >::Self |
Standard class typedefs
Definition at line 46 of file otbContingencyTableCalculator.h.
| typedef itk::Object otb::ContingencyTableCalculator< TClassLabel >::Superclass |
Definition at line 47 of file otbContingencyTableCalculator.h.
|
protected |
Definition at line 35 of file otbContingencyTableCalculator.hxx.
|
inlineoverrideprotected |
Definition at line 87 of file otbContingencyTableCalculator.h.
|
privatedelete |
| ContingencyTableCalculator< TClassLabel >::ContingencyTablePointerType otb::ContingencyTableCalculator< TClassLabel >::BuildContingencyTable |
Definition at line 87 of file otbContingencyTableCalculator.hxx.
| void otb::ContingencyTableCalculator< TClassLabel >::Clear |
Definition at line 40 of file otbContingencyTableCalculator.hxx.
| void otb::ContingencyTableCalculator< TClassLabel >::Compute | ( | TRefIterator | itRef, |
| TProdIterator | itProd, | ||
| bool | refHasNoData = false, |
||
| typename TRefIterator::InternalPixelType | refNoData = 0, |
||
| bool | prodHasNoData = false, |
||
| typename TProdIterator::InternalPixelType | prodNoData = 0 |
||
| ) |
Populate the confusion Matrix for a image iteration.
| TRefListLabel | data structure type which contain the reference labels. |
| TProdListLabel | data structure type which contain the produced labels. |
Definition at line 66 of file otbContingencyTableCalculator.hxx.
| void otb::ContingencyTableCalculator< TClassLabel >::Compute | ( | TRefIterator | refBegin, |
| TRefIterator | refEnd, | ||
| TProdIterator | prodBegin, | ||
| TProdIterator | prodEnd | ||
| ) |
Populate the confusion Matrix with input which provide GetMeasurementVector()[0] access
| TRefListLabel | data structure type which contain the reference labels. |
| TProdListLabel | data structure type which contain the produced labels. |
Definition at line 50 of file otbContingencyTableCalculator.hxx.
| virtual::itk::LightObject::Pointer otb::ContingencyTableCalculator< TClassLabel >::CreateAnother | ( | void | ) | const |
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
privatedelete |
|
private |
Definition at line 96 of file otbContingencyTableCalculator.h.
|
private |
Definition at line 98 of file otbContingencyTableCalculator.h.
|
private |
Definition at line 97 of file otbContingencyTableCalculator.h.
|
private |
Definition at line 99 of file otbContingencyTableCalculator.h.
1.8.17