ANIMA
4.0
|
#include <animaKMeansFilter.h>
Public Types | |
typedef std::vector< VectorType > | DataHolderType |
typedef std::vector< unsigned int > | MembershipType |
typedef DataType | VectorType |
Public Member Functions | |
void | ComputeCentroids () |
bool | endConditionReached (MembershipType &oldMemberships) |
VectorType | GetCentroid (unsigned int i) |
MembershipType & | GetClassesMemberships () |
unsigned int | GetClassMembership (unsigned int i) |
unsigned int | GetNumberPerClass (unsigned int i) |
void | InitializeClassesMemberships (MembershipType &classM) |
void | InitializeKMeansFromData () |
KMeansFilter () | |
void | ResetClassesMemberships () |
void | SetInputData (DataHolderType &data) |
void | SetMaxIterations (unsigned int mIt) |
void | SetNumberOfClasses (unsigned int nbC) |
void | SetVerbose (bool verb) |
void | Update () |
void | UpdateMemberships () |
virtual | ~KMeansFilter () |
Definition at line 8 of file animaKMeansFilter.h.
typedef std::vector< VectorType > anima::KMeansFilter< DataType, PointDimension >::DataHolderType |
Definition at line 12 of file animaKMeansFilter.h.
typedef std::vector< unsigned int > anima::KMeansFilter< DataType, PointDimension >::MembershipType |
Definition at line 13 of file animaKMeansFilter.h.
typedef DataType anima::KMeansFilter< DataType, PointDimension >::VectorType |
Definition at line 11 of file animaKMeansFilter.h.
anima::KMeansFilter< DataType, PointDimension >::KMeansFilter | ( | ) |
Definition at line 8 of file animaKMeansFilter.hxx.
|
virtual |
Definition at line 24 of file animaKMeansFilter.hxx.
void anima::KMeansFilter< DataType, PointDimension >::ComputeCentroids | ( | ) |
Definition at line 71 of file animaKMeansFilter.hxx.
Referenced by anima::KMeansFilter< DataType, PointDimension >::SetMaxIterations().
bool anima::KMeansFilter< DataType, PointDimension >::endConditionReached | ( | MembershipType & | oldMemberships | ) |
Definition at line 121 of file animaKMeansFilter.hxx.
Referenced by anima::KMeansFilter< DataType, PointDimension >::ResetClassesMemberships().
|
inline |
Definition at line 39 of file animaKMeansFilter.h.
|
inline |
Definition at line 41 of file animaKMeansFilter.h.
|
inline |
Definition at line 40 of file animaKMeansFilter.h.
|
inline |
Definition at line 43 of file animaKMeansFilter.h.
void anima::KMeansFilter< DataType, PointDimension >::InitializeClassesMemberships | ( | MembershipType & | classM | ) |
Definition at line 155 of file animaKMeansFilter.hxx.
Referenced by anima::KMeansFilter< DataType, PointDimension >::SetMaxIterations().
void anima::KMeansFilter< DataType, PointDimension >::InitializeKMeansFromData | ( | ) |
Definition at line 135 of file animaKMeansFilter.hxx.
Referenced by anima::KMeansFilter< DataType, PointDimension >::SetMaxIterations().
|
inline |
Definition at line 32 of file animaKMeansFilter.h.
References anima::KMeansFilter< DataType, PointDimension >::endConditionReached().
void anima::KMeansFilter< DataType, PointDimension >::SetInputData | ( | DataHolderType & | data | ) |
Definition at line 31 of file animaKMeansFilter.hxx.
|
inline |
Definition at line 25 of file animaKMeansFilter.h.
References anima::KMeansFilter< DataType, PointDimension >::ComputeCentroids(), anima::KMeansFilter< DataType, PointDimension >::InitializeClassesMemberships(), anima::KMeansFilter< DataType, PointDimension >::InitializeKMeansFromData(), and anima::KMeansFilter< DataType, PointDimension >::UpdateMemberships().
|
inline |
Definition at line 19 of file animaKMeansFilter.h.
|
inline |
Definition at line 35 of file animaKMeansFilter.h.
References anima::KMeansFilter< DataType, PointDimension >::Update().
void anima::KMeansFilter< DataType, PointDimension >::Update | ( | ) |
Definition at line 43 of file animaKMeansFilter.hxx.
Referenced by anima::KMeansFilter< DataType, PointDimension >::SetVerbose().
void anima::KMeansFilter< DataType, PointDimension >::UpdateMemberships | ( | ) |
Definition at line 95 of file animaKMeansFilter.hxx.
Referenced by anima::KMeansFilter< DataType, PointDimension >::SetMaxIterations().