Medical Imaging Interaction Toolkit  2016.11.0
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)
 
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 10 of file mitkImpurityLoss.h.

Member Typedef Documentation

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 13 of file mitkImpurityLoss.h.

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 14 of file mitkImpurityLoss.h.

Constructor & Destructor Documentation

template<class TLossFunction , class TLabelContainer, class TWeightContainer >
template<class T >
mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::ImpurityLoss ( TLabelContainer const &  labels,
vigra::ProblemSpec< T > const &  ext 
)

Definition at line 8 of file mitkImpurityLoss.cpp.

Member Function Documentation

template<class TLossFunction , class TLabelContainer , class TWeightContainer >
template<class TDataIterator >
double mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Decrement ( TDataIterator  begin,
TDataIterator  end 
)

Definition at line 47 of file mitkImpurityLoss.cpp.

template<class TLossFunction , class TLabelContainer , class TWeightContainer >
mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::WeightContainerType mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::GetPointWeights ( )

Definition at line 103 of file mitkImpurityLoss.cpp.

template<class TLossFunction , class TLabelContainer , class TWeightContainer >
template<class TDataIterator >
double mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Increment ( TDataIterator  begin,
TDataIterator  end 
)

Definition at line 29 of file mitkImpurityLoss.cpp.

template<class TLossFunction , class TLabelContainer , class TWeightContainer >
template<class TArray >
double mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Init ( TArray  initCounts)

Definition at line 65 of file mitkImpurityLoss.cpp.

template<class TLossFunction , class TLabelContainer , class TWeightContainer >
bool mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::IsUsingPointWeights ( )

Definition at line 89 of file mitkImpurityLoss.cpp.

template<class TLossFunction , class TLabelContainer , class TWeightContainer >
void mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Reset ( )

Definition at line 20 of file mitkImpurityLoss.cpp.

template<class TLossFunction , class TLabelContainer , class TWeightContainer >
vigra::ArrayVector< double > const & mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::Response ( )

Definition at line 75 of file mitkImpurityLoss.cpp.

template<class TLossFunction , class TLabelContainer , class TWeightContainer>
void mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::SetPointWeights ( TWeightContainer  weight)

Definition at line 96 of file mitkImpurityLoss.cpp.

template<class TLossFunction , class TLabelContainer , class TWeightContainer >
void mitk::ImpurityLoss< TLossFunction, TLabelContainer, TWeightContainer >::UsePointWeights ( bool  useWeights)

Definition at line 82 of file mitkImpurityLoss.cpp.


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