Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer > Class Template Reference

#include <mitkImpurityLoss.h>

Public Types

typedef TLabelContainer LabelContainerType
 
typedef TWeightContainer WeightContainerType
 

Public Member Functions

template<class T >
 ImpurityLoss (TLabelContainer const &labels, vigra::ProblemSpec< T > const &ext, AdditionalRFDataAbstract *data)
 
void Reset ()
 
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::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >

Definition at line 23 of file mitkImpurityLoss.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::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::LabelContainerType

Definition at line 26 of file mitkImpurityLoss.h.

◆ WeightContainerType

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

Definition at line 27 of file mitkImpurityLoss.h.

Constructor & Destructor Documentation

◆ ImpurityLoss()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
template<class T >
mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::ImpurityLoss ( 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::ImpurityLoss< 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::ImpurityLoss< 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::ImpurityLoss< 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::ImpurityLoss< 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::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::IsUsingPointWeights ( )

◆ Reset()

template<class TLossFunction = vigra::GiniCriterion, class TLabelContainer = vigra::MultiArrayView<2, int>, class TWeightContainer = vigra::MultiArrayView<2, double>>
void mitk::ImpurityLoss< 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::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Response ( )

◆ SetPointWeights()

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

◆ UsePointWeights()

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

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