Medical Imaging Interaction Toolkit  2018.4.99-ae21cdc4
Medical Imaging Interaction Toolkit
mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer > Class Template Reference

#include <mitkPUImpurityLoss.h>

Public Types

typedef TLabelContainer LabelContainerType
 
typedef TWeightContainer WeightContainerType
 

Public Member Functions

template<class T >
 PUImpurityLoss (TLabelContainer const &labels, vigra::ProblemSpec< T > const &ext, AdditionalRFDataAbstract *data)
 
void Reset ()
 
void UpdatePUCounts ()
 
template<class TDataIterator >
double Increment (TDataIterator begin, TDataIterator end)
 
template<class TDataIterator >
double Decrement (TDataIterator begin, TDataIterator end)
 
template<class TArray >
double Init (TArray initCounts)
 
vigra::ArrayVector< double > const & Response ()
 
void UsePointWeights (bool useWeights)
 
bool IsUsingPointWeights ()
 
void SetPointWeights (TWeightContainer weight)
 
WeightContainerType GetPointWeights ()
 

Detailed Description

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
class mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >

Definition at line 32 of file mitkPUImpurityLoss.h.

Member Typedef Documentation

◆ LabelContainerType

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
typedef TLabelContainer mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::LabelContainerType

Definition at line 35 of file mitkPUImpurityLoss.h.

◆ WeightContainerType

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
typedef TWeightContainer mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::WeightContainerType

Definition at line 36 of file mitkPUImpurityLoss.h.

Constructor & Destructor Documentation

◆ PUImpurityLoss()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
template<class T >
mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::PUImpurityLoss ( TLabelContainer const &  labels,
vigra::ProblemSpec< T > const &  ext,
AdditionalRFDataAbstract data 
)

Member Function Documentation

◆ Decrement()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
template<class TDataIterator >
double mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Decrement ( TDataIterator  begin,
TDataIterator  end 
)

◆ GetPointWeights()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
WeightContainerType mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::GetPointWeights ( )

◆ Increment()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
template<class TDataIterator >
double mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Increment ( TDataIterator  begin,
TDataIterator  end 
)

◆ Init()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
template<class TArray >
double mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Init ( TArray  initCounts)

◆ IsUsingPointWeights()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
bool mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::IsUsingPointWeights ( )

◆ Reset()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
void mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Reset ( )

◆ Response()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
vigra::ArrayVector<double> const& mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Response ( )

◆ SetPointWeights()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
void mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::SetPointWeights ( TWeightContainer  weight)

◆ UpdatePUCounts()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
void mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::UpdatePUCounts ( )

◆ UsePointWeights()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
void mitk::PUImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::UsePointWeights ( bool  useWeights)

The documentation for this class was generated from the following file: