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 162 of file itkKdTreeBasedKmeansEstimator.h.


Constructor & Destructor Documentation

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

Definition at line 165 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 174 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 199 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 231 of file itkKdTreeBasedKmeansEstimator.h.

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

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 182 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 177 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 212 of file itkKdTreeBasedKmeansEstimator.h.


The documentation for this class was generated from the following file:
Generated at Thu May 25 03:06:56 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000