ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkKdTreeBasedKmeansEstimator.h>
Classes | |
struct | Candidate |
Public Member Functions | |
CandidateVector () | |
void | GetCentroids (InternalParametersType ¢roids) |
Candidate & | operator[] (int index) |
int | Size () const |
void | UpdateCentroids () |
virtual | ~CandidateVector () |
void | SetCentroids (InternalParametersType ¢roids) |
Private Attributes | |
std::vector< Candidate > | m_Candidates |
MeasurementVectorSizeType | m_MeasurementVectorSize |
Definition at line 178 of file itkKdTreeBasedKmeansEstimator.h.
itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::CandidateVector | ( | ) | [inline] |
Definition at line 181 of file itkKdTreeBasedKmeansEstimator.h.
virtual itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::~CandidateVector | ( | ) | [inline, virtual] |
Definition at line 189 of file itkKdTreeBasedKmeansEstimator.h.
void itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::GetCentroids | ( | InternalParametersType & | centroids | ) | [inline] |
gets the centroids (k-means)
Definition at line 217 of file itkKdTreeBasedKmeansEstimator.h.
References itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::Candidate::Centroid.
Candidate& itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::operator[] | ( | int | index | ) | [inline] |
gets the index-th candidates
Definition at line 249 of file itkKdTreeBasedKmeansEstimator.h.
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 199 of file itkKdTreeBasedKmeansEstimator.h.
References itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::Candidate::Centroid, itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::Candidate::Size, and itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::Candidate::WeightedCentroid.
int itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::Size | ( | void | ) | const [inline] |
returns the number of candidate = k
Definition at line 192 of file itkKdTreeBasedKmeansEstimator.h.
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.
std::vector< Candidate > itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::m_Candidates [private] |
internal storage for the candidates
Definition at line 256 of file itkKdTreeBasedKmeansEstimator.h.
MeasurementVectorSizeType itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::m_MeasurementVectorSize [private] |
Length of each measurement vector
Definition at line 259 of file itkKdTreeBasedKmeansEstimator.h.