Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector Class Reference

#include <itkKdTreeBasedKmeansEstimator.h>

List of all members.

Public Member Functions

 CandidateVector ()
virtual ~CandidateVector ()
int Size () const
Candidateoperator[] (int index)
void SetCentroids (InternalParametersType &centroids)
void GetCentroids (InternalParametersType &centroids)
void UpdateCentroids ()


Detailed Description

template<class TKdTree>
class itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector

vector of k-means candidates

Definition at line 144 of file itkKdTreeBasedKmeansEstimator.h.


Constructor & Destructor Documentation

template<class TKdTree>
itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::CandidateVector  )  [inline]
 

Definition at line 147 of file itkKdTreeBasedKmeansEstimator.h.

References itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CentroidType.

template<class TKdTree>
virtual itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::~CandidateVector  )  [inline, virtual]
 

Definition at line 156 of file itkKdTreeBasedKmeansEstimator.h.


Member Function Documentation

template<class TKdTree>
void itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::GetCentroids InternalParametersType centroids  )  [inline]
 

gets the centroids (k-means) Definition at line 179 of file itkKdTreeBasedKmeansEstimator.h.

template<class TKdTree>
Candidate& itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::operator[] int  index  )  [inline]
 

gets the index-th candidates Definition at line 211 of file itkKdTreeBasedKmeansEstimator.h.

template<class TKdTree>
void itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::SetCentroids InternalParametersType centroids  )  [inline]
 

Initialize the centroids with the argument. At each iteration, this should be called before filtering Definition at line 164 of file itkKdTreeBasedKmeansEstimator.h.

template<class TKdTree>
int itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::Size void   )  const [inline]
 

returns the number of candidate = k Definition at line 159 of file itkKdTreeBasedKmeansEstimator.h.

template<class TKdTree>
void itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::UpdateCentroids  )  [inline]
 

updates the centroids using the vector sum of measurement vectors that belongs to each centroid and the number of measurement vectors Definition at line 192 of file itkKdTreeBasedKmeansEstimator.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:24:19 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000