Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag > Class Template Reference

#include <mitkThresholdSplit.h>

Inheritance diagram for mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >:
Collaboration diagram for mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >:

Public Member Functions

 ThresholdSplit ()
 
void SetFeatureCalculator (TFeatureCalculator processor)
 
TFeatureCalculator GetFeatureCalculator () const
 
void SetCalculatingFeature (bool calculate)
 
bool IsCalculatingFeature () const
 
void UsePointBasedWeights (bool weightsOn)
 
bool IsUsingPointBasedWeights () const
 
void UseRandomSplit (bool split)
 
bool IsUsingRandomSplit () const
 
void SetPrecision (double value)
 
double GetPrecision () const
 
void SetMaximumTreeDepth (int value)
 
virtual int GetMaximumTreeDepth () const
 
void SetWeights (vigra::MultiArrayView< 2, double > weights)
 
vigra::MultiArrayView< 2, double > GetWeights () const
 
double minGini () const
 
int bestSplitColumn () const
 
double bestSplitThreshold () const
 
template<class T >
void set_external_parameters (vigra::ProblemSpec< T > const &in)
 
template<class T , class C , class T2 , class C2 , class Region , class Random >
int findBestSplit (vigra::MultiArrayView< 2, T, C > features, vigra::MultiArrayView< 2, T2, C2 > labels, Region &region, vigra::ArrayVector< Region > &childRegions, Random &randint)
 

Public Attributes

double region_gini_
 

Detailed Description

template<class TColumnDecisionFunctor, class TFeatureCalculator, class TTag = vigra::ClassificationTag>
class mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >

Definition at line 10 of file mitkThresholdSplit.h.

Constructor & Destructor Documentation

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::ThresholdSplit ( )

Definition at line 7 of file mitkThresholdSplit.cpp.

Member Function Documentation

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
int mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::bestSplitColumn ( ) const

Definition at line 124 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
double mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::bestSplitThreshold ( ) const

Definition at line 131 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
template<class T , class C , class T2 , class C2 , class Region , class Random >
int mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::findBestSplit ( vigra::MultiArrayView< 2, T, C >  features,
vigra::MultiArrayView< 2, T2, C2 >  labels,
Region &  region,
vigra::ArrayVector< Region > &  childRegions,
Random &  randint 
)

Definition at line 155 of file mitkThresholdSplit.cpp.

References swap().

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
TFeatureCalculator mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::GetFeatureCalculator ( ) const

Definition at line 37 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
int mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::GetMaximumTreeDepth ( ) const
virtual

Definition at line 94 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
double mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::GetPrecision ( ) const

Definition at line 80 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
vigra::MultiArrayView< 2, double > mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::GetWeights ( ) const

Definition at line 110 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
bool mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::IsCalculatingFeature ( ) const

Definition at line 51 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
bool mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::IsUsingPointBasedWeights ( ) const

Definition at line 66 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag = vigra::ClassificationTag>
bool mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::IsUsingRandomSplit ( ) const
inline

Definition at line 26 of file mitkThresholdSplit.h.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
double mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::minGini ( ) const

Definition at line 117 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
template<class T >
void mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::set_external_parameters ( vigra::ProblemSpec< T > const &  in)

Definition at line 139 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
void mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::SetCalculatingFeature ( bool  calculate)

Definition at line 44 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
void mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::SetFeatureCalculator ( TFeatureCalculator  processor)

Definition at line 30 of file mitkThresholdSplit.cpp.

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
void mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::SetMaximumTreeDepth ( int  value)

Definition at line 87 of file mitkThresholdSplit.cpp.

Referenced by mitk::VigraRandomForestClassifier::Train().

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
void mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::SetPrecision ( double  value)

Definition at line 73 of file mitkThresholdSplit.cpp.

Referenced by mitk::VigraRandomForestClassifier::Train().

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
void mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::SetWeights ( vigra::MultiArrayView< 2, double >  weights)

Definition at line 101 of file mitkThresholdSplit.cpp.

Referenced by mitk::VigraRandomForestClassifier::Train().

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag >
void mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::UsePointBasedWeights ( bool  weightsOn)

Definition at line 58 of file mitkThresholdSplit.cpp.

Referenced by mitk::VigraRandomForestClassifier::Train().

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag = vigra::ClassificationTag>
void mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::UseRandomSplit ( bool  split)
inline

Definition at line 25 of file mitkThresholdSplit.h.

References split().

Referenced by mitk::VigraRandomForestClassifier::Train().

Member Data Documentation

template<class TColumnDecisionFunctor , class TFeatureCalculator , class TTag = vigra::ClassificationTag>
double mitk::ThresholdSplit< TColumnDecisionFunctor, TFeatureCalculator, TTag >::region_gini_

Definition at line 52 of file mitkThresholdSplit.h.


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