public class Rubine3DAlgorithm extends SampleBasedAlgorithm
DEFAULT_CONFIGURATION| Constructor and Description |
|---|
Rubine3DAlgorithm()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Enum<?>[] |
getConfigParameters()
Returns an array of containing the configuration parameters.
|
String |
getDefaultParameterValue(String parameterName)
Returns the value of the default parameter.
|
int |
getType()
Get the type of algorithm
|
void |
init(Configuration configuration)
Initialises the algorithm.
|
ResultSet |
recognise(Gesture<?> gesture)
Recognizes a Gesture> if it is a GestureSample3D, otherwise it throws
an AlgorithmException
|
ResultSet |
recognise(GestureSample3D gesture)
Recognizes a GestureSample3D by splitting it up into three 2D-planes (XY,
YZ, ZX) and recognising these three 2D planes with the standard
RubineAlgorithm.
|
getSamplespublic Enum<?>[] getConfigParameters()
Algorithmpublic String getDefaultParameterValue(String parameterName)
DefaultAlgorithmgetDefaultParameterValue in interface AlgorithmgetDefaultParameterValue in class DefaultAlgorithmparameterName - the name of the parameter whose default value has to
be returned.public void init(Configuration configuration) throws AlgorithmException
Algorithmconfiguration - the configuration to be used for the initialisation of
the algorithm.AlgorithmException - if there is a problem in the algorithm's
initialisation phase.public ResultSet recognise(Gesture<?> gesture) throws AlgorithmException
gesture - the gesture to be recognised.AlgorithmException - if there was an exception while recognising the
note.public ResultSet recognise(GestureSample3D gesture) throws AlgorithmException
gesture - The GestureSample3D to be recognizedAlgorithmExceptionCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.