org.ximtec.igesture.algorithm
Class SampleBasedAlgorithm
java.lang.Object
org.ximtec.igesture.algorithm.DefaultAlgorithm
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleBasedAlgorithm
public SampleBasedAlgorithm()
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.
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.