|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.features.SumOfAbsDeltaRatioFE
public class SumOfAbsDeltaRatioFE
SumOfAbsDeltaRatioFE computes the ratio of the sum of the absolute values of the delta y's and the sum of the absolute values of the delta x's (sum of |delta y|)/(sum of |delta x|).
Constructor Summary | |
---|---|
SumOfAbsDeltaRatioFE()
|
Method Summary | |
---|---|
double |
apply(TimedStroke s)
Return the ratio of the sum of the absolute values of the delta y's and the sum of the absolute values of the delta x's. |
String |
getName()
Return the name of this feature extractor. |
static double |
sumOfAbsDeltaRatio(TimedStroke s)
Return the ratio of the sum of the absolute values of the delta y's and the sum of the absolute values of the delta x's. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SumOfAbsDeltaRatioFE()
Method Detail |
---|
public double apply(TimedStroke s)
apply
in interface FeatureExtractor
public String getName()
getName
in interface FeatureExtractor
public static double sumOfAbsDeltaRatio(TimedStroke s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |