|
| void | AttributeClustersKHM (ClusteringTextures clusteringTextures, float p) |
| |
| void | AttributeClustersKM (ClusteringTextures clusteringTextures) |
| |
| | DispatcherKHMp (ComputeShader computeShader, int numIterations, bool doRandomizeEmptyClusters, bool useFullResTexRef, Parameters parameters, ClusteringRTsAndBuffers clusteringRTsAndBuffers) |
| |
| virtual void | Dispose () |
| |
| float? | GetVariance () |
| | 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. More...
|
| |
| override void | RunClustering (ClusteringTextures clusteringTextures) |
| | 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! More...
|
| |
| override void | SingleIteration (ClusteringTextures textures) |
| |
| void | UpdateClusterCenters (ClusteringTextures clusteringTextures, bool rejectOld) |
| |
|
| void | KHMiteration (ClusteringTextures textures) |
| | 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 6 of file DispatcherKHMp.cs.
◆ DispatcherKHMp()
| ClusteringAlgorithms.DispatcherKHMp.DispatcherKHMp |
( |
ComputeShader |
computeShader, |
|
|
int |
numIterations, |
|
|
bool |
doRandomizeEmptyClusters, |
|
|
bool |
useFullResTexRef, |
|
|
Parameters |
parameters, |
|
|
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.
◆ KHMiteration()
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 78 of file DispatcherKHMp.cs.
◆ RunClustering()
| override void ClusteringAlgorithms.DispatcherKHMp.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 64 of file DispatcherKHMp.cs.
◆ SingleIteration()
| override void ClusteringAlgorithms.DispatcherKHMp.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.DispatcherKHMp.doesReadback |
|
get |
◆ doRandomizeEmptyClusters
| bool ClusteringAlgorithms.ADispatcher.doRandomizeEmptyClusters |
|
getinherited |
◆ name
| override string ClusteringAlgorithms.DispatcherKHMp.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/DispatcherKHMp.cs