© 2006-2007 ETH Zurich

org.ximtec.igesture.algorithm.feature
Class F14

java.lang.Object
  extended by org.ximtec.igesture.algorithm.feature.F14
All Implemented Interfaces:
Feature

public class F14
extends Object
implements Feature

Feature representing the number of stop points.

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

Constructor Summary
F14()
           
 
Method Summary
 double compute(org.sigtec.ink.Note note)
          Computes the feature.
 double computeAverage(List<Double> list)
           
 int detectLocalMinima(List<Double> list)
           
 int getMinimalNumberOfPoints()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

F14

public F14()
Method Detail

compute

public double compute(org.sigtec.ink.Note note)
               throws FeatureException
Description copied from interface: Feature
Computes the feature.

Specified by:
compute in interface Feature
Parameters:
note - the note to be used.
Returns:
the value of the feature.
Throws:
FeatureException - if the feature cannot be computed.

detectLocalMinima

public int detectLocalMinima(List<Double> list)

computeAverage

public double computeAverage(List<Double> list)

getMinimalNumberOfPoints

public int getMinimalNumberOfPoints()
Specified by:
getMinimalNumberOfPoints in interface Feature

© 2006-2007 ETH Zurich

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