ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkKdTreeBasedKmeansEstimator.h>
Definition at line 175 of file itkKdTreeBasedKmeansEstimator.h.
Classes | |
struct | Candidate |
Public Member Functions | |
CandidateVector () | |
void | GetCentroids (InternalParametersType ¢roids) |
Candidate & | operator[] (int index) |
int | Size () const |
void | UpdateCentroids () |
virtual | ~CandidateVector ()=default |
void | SetCentroids (InternalParametersType ¢roids) |
Private Attributes | |
std::vector< Candidate > | m_Candidates |
MeasurementVectorSizeType | m_MeasurementVectorSize {0} |
|
inline |
Definition at line 178 of file itkKdTreeBasedKmeansEstimator.h.
|
virtualdefault |
|
inline |
gets the centroids (k-means)
Definition at line 214 of file itkKdTreeBasedKmeansEstimator.h.
|
inline |
gets the index-th candidates
Definition at line 246 of file itkKdTreeBasedKmeansEstimator.h.
|
inline |
Initialize the centroids with the argument. At each iteration, this should be called before filtering.
Definition at line 196 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.
|
inline |
returns the number of candidate = k
Definition at line 189 of file itkKdTreeBasedKmeansEstimator.h.
|
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 227 of file itkKdTreeBasedKmeansEstimator.h.
|
private |
internal storage for the candidates
Definition at line 253 of file itkKdTreeBasedKmeansEstimator.h.
|
private |
Length of each measurement vector
Definition at line 256 of file itkKdTreeBasedKmeansEstimator.h.