ITK  4.2.0
Insight Segmentation and Registration Toolkit
Classes | Public Member Functions | Private Attributes
itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector Class Reference

#include <itkKdTreeBasedKmeansEstimator.h>

+ Collaboration diagram for itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector:

List of all members.

Classes

struct  Candidate

Public Member Functions

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

Private Attributes

std::vector< Candidatem_Candidates
MeasurementVectorSizeType m_MeasurementVectorSize

Detailed Description

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

Candidate Vector

.

Definition at line 178 of file itkKdTreeBasedKmeansEstimator.h.


Constructor & Destructor Documentation

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

Definition at line 181 of file itkKdTreeBasedKmeansEstimator.h.

template<class TKdTree >
virtual itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::~CandidateVector ( )
inlinevirtual

Definition at line 189 of file itkKdTreeBasedKmeansEstimator.h.


Member Function Documentation

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

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


Member Data Documentation

template<class TKdTree >
std::vector< Candidate > itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::m_Candidates
private

internal storage for the candidates

Definition at line 256 of file itkKdTreeBasedKmeansEstimator.h.

template<class TKdTree >
MeasurementVectorSizeType itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::m_MeasurementVectorSize
private

Length of each measurement vector

Definition at line 259 of file itkKdTreeBasedKmeansEstimator.h.


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