org.ximtec.igesture.algorithm.signature
Class SiGridAlgorithm
java.lang.Object
org.ximtec.igesture.algorithm.DefaultAlgorithm
org.ximtec.igesture.algorithm.SampleBasedAlgorithm
org.ximtec.igesture.algorithm.signature.SiGridAlgorithm
- All Implemented Interfaces:
- Algorithm
public class SiGridAlgorithm
- extends SampleBasedAlgorithm
Implementation of the signature algorithm.
- 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 |
SiGridAlgorithm
public SiGridAlgorithm()
init
public void init(Configuration config)
- Description copied from interface:
Algorithm
- Initialises the algorithm.
- Parameters:
config - the configuration to be used for the initialisation of
the algorithm.
preprocess
public void preprocess(GestureSet gestureSet)
- Creates sample signatures.
- Parameters:
gestureSet - the gesture set.
recognise
public ResultSet recognise(Gesture<?> gesture)
- Description copied from interface:
Algorithm
- Runs the recogniser on a given set of strokes represented by a gesture.
- Parameters:
gesture - the gesture to be recognised.
- Returns:
- the result set containing the recognised gesture classes.
getConfigParameters
public Enum[] getConfigParameters()
- Description copied from interface:
Algorithm
- Returns an array of containing the configuration parameters.
- Returns:
- the configuration parameters.
getType
public int getType()
- Description copied from interface:
Algorithm
- Get the type of algorithm
- See Also:
Constant
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.