|
| void | KMiteration (ClusteringTextures textures, bool rejectOld) |
| | First attributes pixels to clusters. Then updates cluster centers. In order to use the resulting cluster centers, one final cluster attribution is required! More...
|
| |
Definition at line 5 of file DispatcherKM.cs.
◆ DispatcherKM()
| ClusteringAlgorithms.DispatcherKM.DispatcherKM |
( |
ComputeShader |
computeShader, |
|
|
int |
numIterations, |
|
|
bool |
doRandomizeEmptyClusters, |
|
|
bool |
useFullResTexRef, |
|
|
ClusteringRTsAndBuffers |
clusteringRTsAndBuffers |
|
) |
| |
|
inline |
◆ AttributeClustersKHM()
| void ClusteringAlgorithms.ADispatcher.AttributeClustersKHM |
( |
ClusteringTextures |
clusteringTextures, |
|
|
float |
p |
|
) |
| |
|
inlineinherited |
◆ AttributeClustersKM()
| void ClusteringAlgorithms.ADispatcher.AttributeClustersKM |
( |
ClusteringTextures |
clusteringTextures | ) |
|
|
inlineinherited |
◆ Dispose()
| virtual void ClusteringAlgorithms.ADispatcher.Dispose |
( |
| ) |
|
|
inlinevirtualinherited |
◆ GetVariance()
| float? ClusteringAlgorithms.ADispatcher.GetVariance |
( |
| ) |
|
|
inlineinherited |
Computes variance for the current cluster centers. Depending on this.useFullResTexRef uses either working resolution (this.clusteringRTsAndBuffers.texturesWorkRes), or full resolution (this.clusteringRTsAndBuffers.texturesFullRes) input.
Sets incorrect attribution. Does not restore to save performance.
Implements ClusteringAlgorithms.IDispatcher.
Definition at line 152 of file ADispatcher.cs.
◆ KMiteration()
| void ClusteringAlgorithms.DispatcherKM.KMiteration |
( |
ClusteringTextures |
textures, |
|
|
bool |
rejectOld |
|
) |
| |
|
inlineprotected |
First attributes pixels to clusters. Then updates cluster centers. In order to use the resulting cluster centers, one final cluster attribution is required!
Definition at line 46 of file DispatcherKM.cs.
◆ RunClustering()
| override void ClusteringAlgorithms.DispatcherKM.RunClustering |
( |
ClusteringTextures |
clusteringTextures | ) |
|
|
inlinevirtual |
Each iteration first attributes pixels to clusters, then updates cluster centers. In order to use the resulting cluster centers, one final cluster attribution is required!
Implements ClusteringAlgorithms.ADispatcher.
Definition at line 32 of file DispatcherKM.cs.
◆ SingleIteration()
| override void ClusteringAlgorithms.DispatcherKM.SingleIteration |
( |
ClusteringTextures |
textures | ) |
|
|
inlinevirtual |
◆ UpdateClusterCenters()
| void ClusteringAlgorithms.ADispatcher.UpdateClusterCenters |
( |
ClusteringTextures |
clusteringTextures, |
|
|
bool |
rejectOld |
|
) |
| |
|
inlineinherited |
◆ computeShader
| readonly ComputeShader ClusteringAlgorithms.ADispatcher.computeShader |
|
inherited |
◆ abstractParameters
◆ clusteringRTsAndBuffers
◆ doesReadback
| override bool ClusteringAlgorithms.DispatcherKM.doesReadback |
|
get |
◆ doRandomizeEmptyClusters
| bool ClusteringAlgorithms.ADispatcher.doRandomizeEmptyClusters |
|
getinherited |
◆ name
| override string ClusteringAlgorithms.DispatcherKM.name |
|
get |
◆ numIterations
| int ClusteringAlgorithms.ADispatcher.numIterations |
|
getinherited |
◆ useFullResTexRef
| bool ClusteringAlgorithms.ADispatcher.useFullResTexRef |
|
getinherited |
◆ usesStopCondition
| override bool ClusteringAlgorithms.ASimpleDispatcer.usesStopCondition |
|
getinherited |
◆ warningCounter
| int ClusteringAlgorithms.ADispatcher.warningCounter |
|
getinherited |
The documentation for this class was generated from the following file:
- Assets/Code/ClusteringTest/ClusteringAlgorithms/Concrete/Simple/Concrete/DispatcherKM.cs