ANIMA
4.0
|
#include <animaFuzzyCMeansFilter.h>
Public Types | |
enum | CentroidAverageType { Euclidean = 0, ApproximateSpherical, Spherical } |
typedef std::vector< VectorType > | DataHolderType |
typedef std::vector< ScalarType > | VectorType |
Public Member Functions | |
void | ComputeCentroids () |
bool | endConditionReached (DataHolderType &oldMemberships) |
FuzzyCMeansFilter () | |
VectorType & | GetCentroid (unsigned int i) |
VectorType & | GetClassesMembership (unsigned int i) |
void | InitializeClassesMemberships (DataHolderType &classM) |
void | InitializeCMeansFromData () |
void | ResetClassesMemberships () |
void | SetDataWeights (VectorType &val) |
void | SetFlagSpectralClustering (bool flag) |
void | SetInputData (DataHolderType &data) |
void | SetMaxIterations (unsigned int mIt) |
void | SetMValue (double mV) |
void | SetNbClass (unsigned int nbC) |
void | SetRelStopCriterion (double rC) |
void | SetSphericalAverageType (CentroidAverageType spher) |
void | SetVerbose (bool verb) |
void | Update () |
void | UpdateMemberships () |
virtual | ~FuzzyCMeansFilter () |
Provides an implementation of fuzzy c-means, as proposed in J. C. Bezdek (1981): "Pattern Recognition with Fuzzy Objective Function Algoritms", Plenum Press, New York. It contains flags for interfacing it with spectral clustering, and to compute spherical distances rather than Euclidean distances.
Definition at line 15 of file animaFuzzyCMeansFilter.h.
typedef std::vector<VectorType> anima::FuzzyCMeansFilter< ScalarType >::DataHolderType |
Definition at line 19 of file animaFuzzyCMeansFilter.h.
typedef std::vector<ScalarType> anima::FuzzyCMeansFilter< ScalarType >::VectorType |
Definition at line 18 of file animaFuzzyCMeansFilter.h.
enum anima::FuzzyCMeansFilter::CentroidAverageType |
Enumerator | |
---|---|
Euclidean | |
ApproximateSpherical | |
Spherical |
Definition at line 21 of file animaFuzzyCMeansFilter.h.
anima::FuzzyCMeansFilter< ScalarType >::FuzzyCMeansFilter | ( | ) |
Definition at line 15 of file animaFuzzyCMeansFilter.hxx.
|
inlinevirtual |
Definition at line 29 of file animaFuzzyCMeansFilter.h.
void anima::FuzzyCMeansFilter< ScalarType >::ComputeCentroids | ( | ) |
Definition at line 82 of file animaFuzzyCMeansFilter.hxx.
Referenced by anima::FuzzyCMeansFilter< double >::SetSphericalAverageType().
bool anima::FuzzyCMeansFilter< ScalarType >::endConditionReached | ( | DataHolderType & | oldMemberships | ) |
Definition at line 215 of file animaFuzzyCMeansFilter.hxx.
Referenced by anima::FuzzyCMeansFilter< double >::ResetClassesMemberships().
|
inline |
Definition at line 52 of file animaFuzzyCMeansFilter.h.
|
inline |
Definition at line 53 of file animaFuzzyCMeansFilter.h.
void anima::FuzzyCMeansFilter< ScalarType >::InitializeClassesMemberships | ( | DataHolderType & | classM | ) |
Definition at line 319 of file animaFuzzyCMeansFilter.hxx.
Referenced by anima::FuzzyCMeansFilter< double >::SetSphericalAverageType().
void anima::FuzzyCMeansFilter< ScalarType >::InitializeCMeansFromData | ( | ) |
Definition at line 238 of file animaFuzzyCMeansFilter.hxx.
Referenced by anima::FuzzyCMeansFilter< double >::SetSphericalAverageType().
|
inline |
Definition at line 45 of file animaFuzzyCMeansFilter.h.
|
inline |
Definition at line 32 of file animaFuzzyCMeansFilter.h.
|
inline |
Definition at line 34 of file animaFuzzyCMeansFilter.h.
void anima::FuzzyCMeansFilter< ScalarType >::SetInputData | ( | DataHolderType & | data | ) |
Definition at line 37 of file animaFuzzyCMeansFilter.hxx.
Referenced by anima::FuzzyCMeansFilter< double >::~FuzzyCMeansFilter().
|
inline |
Definition at line 35 of file animaFuzzyCMeansFilter.h.
|
inline |
Definition at line 37 of file animaFuzzyCMeansFilter.h.
|
inline |
Definition at line 33 of file animaFuzzyCMeansFilter.h.
|
inline |
Definition at line 36 of file animaFuzzyCMeansFilter.h.
|
inline |
Definition at line 38 of file animaFuzzyCMeansFilter.h.
|
inline |
Definition at line 48 of file animaFuzzyCMeansFilter.h.
void anima::FuzzyCMeansFilter< ScalarType >::Update | ( | ) |
Definition at line 50 of file animaFuzzyCMeansFilter.hxx.
Referenced by anima::FuzzyCMeansFilter< double >::SetVerbose().
void anima::FuzzyCMeansFilter< ScalarType >::UpdateMemberships | ( | ) |
Definition at line 162 of file animaFuzzyCMeansFilter.hxx.
Referenced by anima::FuzzyCMeansFilter< double >::SetSphericalAverageType().