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.

Classes

struct  Candidate

Public Member Functions

 CandidateVector ()
 CandidateVector ()
Candidateoperator[] (int index)
Candidateoperator[] (int index)
int Size () const
int Size () const
virtual ~CandidateVector ()
virtual ~CandidateVector ()



void GetCentroids (InternalParametersType &centroids)
void GetCentroids (InternalParametersType &centroids)
void SetCentroids (InternalParametersType &centroids)
void SetCentroids (InternalParametersType &centroids)
void UpdateCentroids ()
void UpdateCentroids ()

Detailed Description

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

vector of k-means candidates

Definition at line 163 of file Numerics/Statistics/itkKdTreeBasedKmeansEstimator.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

gets the centroids (k-means)

Definition at line 208 of file Review/Statistics/itkKdTreeBasedKmeansEstimator.h.

template<class TKdTree >
void itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::GetCentroids ( InternalParametersType centroids  )  [inline]
template<class TKdTree >
Candidate& itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::operator[] ( int  index  )  [inline]

gets the index-th candidates

Definition at line 240 of file Review/Statistics/itkKdTreeBasedKmeansEstimator.h.

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

gets the index-th candidates

Definition at line 232 of file Numerics/Statistics/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 191 of file Review/Statistics/itkKdTreeBasedKmeansEstimator.h.

References itk::Statistics::MeasurementVectorTraits::GetLength(), and itk::Statistics::MeasurementVectorTraits::SetLength().

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

returns the number of candidate = k

Definition at line 184 of file Review/Statistics/itkKdTreeBasedKmeansEstimator.h.

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

returns the number of candidate = k

Definition at line 178 of file Numerics/Statistics/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 221 of file Review/Statistics/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 213 of file Numerics/Statistics/itkKdTreeBasedKmeansEstimator.h.


The documentation for this class was generated from the following files:

Generated at Sat Apr 17 02:04:08 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000