C# Class CCT.NUI.Core.Clustering.KMeans

Show file Open project: an83/KinectTouch2 Class Usage Examples

Public Methods

Method Description
Initialize ( IList points ) : void
IterateOnce ( ) : void
IterateUntilStable ( ) : void
KMeans ( int numberOfClusters, Range zRange, IntSize size ) : System

Private Methods

Method Description
AddToMinimalDistanceCluster ( System.Point point ) : void
CalcDistance ( int clusterIndex, System.Point point ) : double
ClearPoints ( ) : void
DetectCountChange ( int counts ) : bool
DistributePointsToClusters ( ) : void
FinishDistribution ( ) : void
SetCenterRandomlyForEmptyCluster ( ClusterPrototype cluster ) : void

Method Details

Initialize() public method

public Initialize ( IList points ) : void
points IList
return void

IterateOnce() public method

public IterateOnce ( ) : void
return void

IterateUntilStable() public method

public IterateUntilStable ( ) : void
return void

KMeans() public method

public KMeans ( int numberOfClusters, Range zRange, IntSize size ) : System
numberOfClusters int
zRange Range
size IntSize
return System