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