|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.features.SumOfAbsoluteAnglesFE
public class SumOfAbsoluteAnglesFE
SumOfAbsoluteAnglesFE computes the sum of the absolute values of the angles along a stroke path. This is done by calculating the angles formed by every three consecutive data points in the path, taking the absolute values and summing them up. One of Rubine's features.
Constructor Summary | |
---|---|
SumOfAbsoluteAnglesFE()
|
Method Summary | |
---|---|
double |
apply(TimedStroke s)
Computes the sum of the absolute values of the angles along a stroke path. |
String |
getName()
Return the name of this feature extractor. |
static double |
sumOfAbsoluteAngles(TimedStroke s)
Computes the sum of the absolute values of the angles along a stroke path. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SumOfAbsoluteAnglesFE()
Method Detail |
---|
public double apply(TimedStroke s)
apply
in interface FeatureExtractor
public String getName()
getName
in interface FeatureExtractor
public static double sumOfAbsoluteAngles(TimedStroke s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |