ANIMA
4.0
|
Provides an implementation of spectral clustering, as proposed in A.Y. Ng, M.I. Jordan and Y. Weiss. "On Spectral Clustering: Analysis and an Algorithm." Advances in Neural Information Processing Systems 14. 2001. More...
#include <animaSpectralClusteringFilter.h>
Public Types | |
typedef CMeansFilterType::CentroidAverageType | CMeansAverageType |
typedef anima::FuzzyCMeansFilter< ScalarType > | CMeansFilterType |
typedef itk::SymmetricEigenAnalysis< MatrixType, vnl_diag_matrix< ScalarType >, MatrixType > | EigenAnalysisType |
typedef vnl_matrix< ScalarType > | MatrixType |
typedef std::vector< ScalarType > | VectorType |
Public Member Functions | |
double | ComputeClustersSpreading () |
void | ComputeSpectralVectors () |
VectorType & | GetCentroid (unsigned int i) |
VectorType & | GetClassesMembership (unsigned int i) |
std::vector< unsigned int > | GetClassMembers (unsigned int i) |
VectorType & | GetSpectralVector (unsigned int i) |
void | InitializeSigmaFromDistances () |
void | SetCMeansAverageType (CMeansAverageType val) |
void | SetDataWeights (VectorType &val) |
void | SetInputData (MatrixType &data) |
Input data: matrix of squared distances. More... | |
void | SetMaxIterations (unsigned int mIt) |
void | SetMValue (double mV) |
void | SetNbClass (unsigned int nbC) |
void | SetRelStopCriterion (double rC) |
void | SetSigmaWeighting (double sigma) |
void | SetVerbose (bool verb) |
SpectralClusteringFilter () | |
void | Update () |
virtual | ~SpectralClusteringFilter () |
Provides an implementation of spectral clustering, as proposed in A.Y. Ng, M.I. Jordan and Y. Weiss. "On Spectral Clustering: Analysis and an Algorithm." Advances in Neural Information Processing Systems 14. 2001.
Definition at line 20 of file animaSpectralClusteringFilter.h.
typedef CMeansFilterType::CentroidAverageType anima::SpectralClusteringFilter< ScalarType >::CMeansAverageType |
Definition at line 27 of file animaSpectralClusteringFilter.h.
typedef anima::FuzzyCMeansFilter<ScalarType> anima::SpectralClusteringFilter< ScalarType >::CMeansFilterType |
Definition at line 26 of file animaSpectralClusteringFilter.h.
typedef itk::SymmetricEigenAnalysis<MatrixType, vnl_diag_matrix<ScalarType>, MatrixType> anima::SpectralClusteringFilter< ScalarType >::EigenAnalysisType |
Definition at line 28 of file animaSpectralClusteringFilter.h.
typedef vnl_matrix<ScalarType> anima::SpectralClusteringFilter< ScalarType >::MatrixType |
Definition at line 24 of file animaSpectralClusteringFilter.h.
typedef std::vector<ScalarType> anima::SpectralClusteringFilter< ScalarType >::VectorType |
Definition at line 23 of file animaSpectralClusteringFilter.h.
anima::SpectralClusteringFilter< ScalarType >::SpectralClusteringFilter | ( | ) |
Definition at line 9 of file animaSpectralClusteringFilter.hxx.
|
inlinevirtual |
Definition at line 31 of file animaSpectralClusteringFilter.h.
double anima::SpectralClusteringFilter< ScalarType >::ComputeClustersSpreading | ( | ) |
Definition at line 192 of file animaSpectralClusteringFilter.hxx.
Referenced by anima::SpectralClusteringFilter< double >::SetCMeansAverageType().
void anima::SpectralClusteringFilter< ScalarType >::ComputeSpectralVectors | ( | ) |
Definition at line 98 of file animaSpectralClusteringFilter.hxx.
Referenced by anima::SpectralClusteringFilter< double >::SetCMeansAverageType().
|
inline |
Definition at line 56 of file animaSpectralClusteringFilter.h.
|
inline |
Definition at line 55 of file animaSpectralClusteringFilter.h.
Referenced by anima::MCMWeightedAverager::Update().
std::vector< unsigned int > anima::SpectralClusteringFilter< ScalarType >::GetClassMembers | ( | unsigned int | i | ) |
Definition at line 161 of file animaSpectralClusteringFilter.hxx.
Referenced by anima::SpectralClusteringFilter< double >::GetCentroid().
|
inline |
Definition at line 54 of file animaSpectralClusteringFilter.h.
void anima::SpectralClusteringFilter< ScalarType >::InitializeSigmaFromDistances | ( | ) |
Definition at line 79 of file animaSpectralClusteringFilter.hxx.
Referenced by anima::SpectralClusteringFilter< double >::SetCMeansAverageType(), and anima::MCMWeightedAverager::Update().
|
inline |
Definition at line 44 of file animaSpectralClusteringFilter.h.
Referenced by anima::MCMWeightedAverager::MCMWeightedAverager().
|
inline |
Definition at line 35 of file animaSpectralClusteringFilter.h.
Referenced by anima::MCMWeightedAverager::Update().
void anima::SpectralClusteringFilter< ScalarType >::SetInputData | ( | MatrixType & | data | ) |
Input data: matrix of squared distances.
Definition at line 31 of file animaSpectralClusteringFilter.hxx.
Referenced by anima::MCMEstimatorImageFilter< InputPixelType, OutputPixelType >::SparseInitializeSticks(), anima::MCMWeightedAverager::Update(), and anima::SpectralClusteringFilter< double >::~SpectralClusteringFilter().
|
inline |
Definition at line 40 of file animaSpectralClusteringFilter.h.
Referenced by anima::MCMWeightedAverager::MCMWeightedAverager().
|
inline |
Definition at line 42 of file animaSpectralClusteringFilter.h.
|
inline |
Definition at line 36 of file animaSpectralClusteringFilter.h.
Referenced by anima::MCMWeightedAverager::Update().
|
inline |
Definition at line 41 of file animaSpectralClusteringFilter.h.
|
inline |
Definition at line 37 of file animaSpectralClusteringFilter.h.
|
inline |
Definition at line 52 of file animaSpectralClusteringFilter.h.
Referenced by anima::MCMWeightedAverager::MCMWeightedAverager().
void anima::SpectralClusteringFilter< ScalarType >::Update | ( | ) |
Definition at line 42 of file animaSpectralClusteringFilter.hxx.
Referenced by anima::SpectralClusteringFilter< double >::SetCMeansAverageType(), and anima::MCMWeightedAverager::Update().