© 2006-2007 ETH Zurich

org.ximtec.igesture.algorithm.rubinebd
Class GestureClassHelper

java.lang.Object
  extended by 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

Constructor Summary
GestureClassHelper(GestureClass gestureClass, RubineConfiguration configuration, CountDownLatch latch)
           
 
Method Summary
 void computeWeights(org.apache.commons.math.linear.BigMatrix inverse)
           
 org.apache.commons.math.linear.BigMatrixImpl getCovarianceMatrix()
          Computes the covariance matrix for a given gesture class.
 GestureClass getGestureClass()
           
 BigDecimal getInitialWeight()
           
 BigDecimalVector getMeanFeatureVector()
           
 int getNumberOfSamples()
           
 BigDecimalVector getWeights()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GestureClassHelper

public GestureClassHelper(GestureClass gestureClass,
                          RubineConfiguration configuration,
                          CountDownLatch latch)
Method Detail

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()

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.