org.ximtec.igesture.algorithm.rubinebd
Class GestureClassHelper
java.lang.Object
org.ximtec.igesture.algorithm.rubinebd.GestureClassHelper
- All Implemented Interfaces:
- Runnable
public class GestureClassHelper
- extends Object
- implements Runnable
Comment
- Version:
- 1.0 11.06.2008
- Author:
- Ueli Kurmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GestureClassHelper
public GestureClassHelper(GestureClass gestureClass,
RubineConfiguration configuration,
CountDownLatch latch)
run
public void run()
- Specified by:
run in interface Runnable
getCovarianceMatrix
public org.apache.commons.math.linear.BigMatrixImpl getCovarianceMatrix()
- Computes the covariance matrix for a given gesture class. The covariance
matrix is cached.
- Parameters:
gestureClass - the gesture class to compute the covariance matrix.
- Returns:
- the covariance matrix of the gesture class.
getMeanFeatureVector
public BigDecimalVector getMeanFeatureVector()
getNumberOfSamples
public int getNumberOfSamples()
computeWeights
public void computeWeights(org.apache.commons.math.linear.BigMatrix inverse)
getInitialWeight
public BigDecimal getInitialWeight()
getWeights
public BigDecimalVector getWeights()
getGestureClass
public GestureClass getGestureClass()
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.