© 2006-2007 ETH Zurich

org.ximtec.igesture.algorithm
Class SampleBasedAlgorithm

java.lang.Object
  extended by org.ximtec.igesture.algorithm.DefaultAlgorithm
      extended by org.ximtec.igesture.algorithm.SampleBasedAlgorithm
All Implemented Interfaces:
Algorithm
Direct Known Subclasses:
Rubine3DAlgorithm, RubineAlgorithm, RubineAlgorithmBigDecimal, SiGridAlgorithm

public abstract class SampleBasedAlgorithm
extends DefaultAlgorithm

This is an abstract base class for sample based recognition algorithms. All implementations of this class use samples during the training or recognition process.

Version:
1.0 Dec 2006
Author:
Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch

Field Summary
 
Fields inherited from class org.ximtec.igesture.algorithm.DefaultAlgorithm
DEFAULT_CONFIGURATION
 
Constructor Summary
SampleBasedAlgorithm()
           
 
Method Summary
<T> List<Gesture<T>>
getSamples(GestureClass gestureClass, Class<? extends DefaultSampleDescriptor<T>> type)
          Returns the list of samples of a given gesture class.
 
Methods inherited from class org.ximtec.igesture.algorithm.DefaultAlgorithm
getDefaultParameterValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ximtec.igesture.algorithm.Algorithm
getConfigParameters, getType, init, recognise
 

Constructor Detail

SampleBasedAlgorithm

public SampleBasedAlgorithm()
Method Detail

getSamples

public <T> List<Gesture<T>> getSamples(GestureClass gestureClass,
                                       Class<? extends DefaultSampleDescriptor<T>> type)
Returns the list of samples of a given gesture class. The samples are extracted from the sample class descriptor.

Parameters:
gestureClass - the gesture class whose samples have to be returned.
Returns:
the samples for the given gesture class.

© 2006-2007 ETH Zurich

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