GMMReducer Class Reference

#include <MemoryX/libraries/helpers/GaussianMixtureHelpers/GMMReducer.h>

+ Inheritance diagram for GMMReducer:

Public Member Functions

 GMMReducer ()
 Creates a new GMMReducer. More...
 
virtual GaussianMixtureDistributionBasePtr reduceByComponentCount (const GaussianMixtureDistributionBasePtr &fullGMM, int countComp)
 
virtual GaussianMixtureDistributionBasePtr reduceByMaxAABB (const GaussianMixtureDistributionBasePtr &fullGMM, float maxSideLength)
 
virtual GaussianMixtureDistributionBasePtr reduceByMaxDeviation (const GaussianMixtureDistributionBasePtr &fullGMM, float maxDeviation, DeviationMeasure devMeasure)
 
virtual GaussianMixtureDistributionBasePtr reduceByMaxEqualSphere (const GaussianMixtureDistributionBasePtr &fullGMM, float maxSphereRadius)
 
virtual GaussianMixtureDistributionBasePtr reduceByMaxOrientedBBox (const GaussianMixtureDistributionBasePtr &fullGMM, float maxSideLength)
 

Protected Member Functions

virtual void fillMergingCostVector (const GaussianMixtureDistributionBasePtr &gmm, GMMCompPairDistanceVector &costVec)
 
virtual float getMergingCost (const GaussianMixtureDistributionBasePtr &gmm, int c1, int c2)
 
void mergeGMMComponents (const GaussianMixtureComponent &comp1, const GaussianMixtureComponent &comp2, GaussianMixtureComponent &mergedComp)
 
void mergeGMMComponents (GaussianMixtureDistributionPtr &gmm, int index1, int index2)
 
void replaceComponentsWithMerged (GaussianMixtureDistributionPtr &gmm, int index1, int index2, const GaussianMixtureComponent &mergedComp)
 

Protected Attributes

GMMDistancePtr gmmDistance
 

Detailed Description

Definition at line 51 of file GMMReducer.h.

Constructor & Destructor Documentation

◆ GMMReducer()

GMMReducer ( )
inline

Creates a new GMMReducer.

Definition at line 57 of file GMMReducer.h.

Member Function Documentation

◆ fillMergingCostVector()

void fillMergingCostVector ( const GaussianMixtureDistributionBasePtr &  gmm,
GMMCompPairDistanceVector costVec 
)
protectedvirtual

Reimplemented in WilliamsGMMReducer.

Definition at line 236 of file GMMReducer.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMergingCost()

float getMergingCost ( const GaussianMixtureDistributionBasePtr &  gmm,
int  c1,
int  c2 
)
protectedvirtual

Reimplemented in WilliamsGMMReducer.

Definition at line 231 of file GMMReducer.cpp.

+ Here is the caller graph for this function:

◆ mergeGMMComponents() [1/2]

void mergeGMMComponents ( const GaussianMixtureComponent &  comp1,
const GaussianMixtureComponent &  comp2,
GaussianMixtureComponent &  mergedComp 
)
protected

Definition at line 192 of file GMMReducer.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mergeGMMComponents() [2/2]

void mergeGMMComponents ( GaussianMixtureDistributionPtr gmm,
int  index1,
int  index2 
)
protected

Definition at line 221 of file GMMReducer.cpp.

+ Here is the call graph for this function:

◆ reduceByComponentCount()

GaussianMixtureDistributionBasePtr reduceByComponentCount ( const GaussianMixtureDistributionBasePtr &  fullGMM,
int  countComp 
)
virtual

Definition at line 32 of file GMMReducer.cpp.

+ Here is the call graph for this function:

◆ reduceByMaxAABB()

GaussianMixtureDistributionBasePtr reduceByMaxAABB ( const GaussianMixtureDistributionBasePtr &  fullGMM,
float  maxSideLength 
)
virtual

Definition at line 71 of file GMMReducer.cpp.

+ Here is the call graph for this function:

◆ reduceByMaxDeviation()

GaussianMixtureDistributionBasePtr reduceByMaxDeviation ( const GaussianMixtureDistributionBasePtr &  fullGMM,
float  maxDeviation,
DeviationMeasure  devMeasure 
)
virtual

Definition at line 86 of file GMMReducer.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reduceByMaxEqualSphere()

GaussianMixtureDistributionBasePtr reduceByMaxEqualSphere ( const GaussianMixtureDistributionBasePtr &  fullGMM,
float  maxSphereRadius 
)
virtual

Definition at line 81 of file GMMReducer.cpp.

+ Here is the call graph for this function:

◆ reduceByMaxOrientedBBox()

GaussianMixtureDistributionBasePtr reduceByMaxOrientedBBox ( const GaussianMixtureDistributionBasePtr &  fullGMM,
float  maxSideLength 
)
virtual

Definition at line 76 of file GMMReducer.cpp.

+ Here is the call graph for this function:

◆ replaceComponentsWithMerged()

void replaceComponentsWithMerged ( GaussianMixtureDistributionPtr gmm,
int  index1,
int  index2,
const GaussianMixtureComponent &  mergedComp 
)
protected

Definition at line 215 of file GMMReducer.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ gmmDistance

GMMDistancePtr gmmDistance
protected

Definition at line 77 of file GMMReducer.h.


The documentation for this class was generated from the following files: