|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.features.PathRatioFE
public class PathRatioFE
PathRatioFE computes the ratio between a stroke's convex hull path length and its actual path length, (convex_hull/pathlen).
Constructor Summary | |
---|---|
PathRatioFE()
|
Method Summary | |
---|---|
double |
apply(TimedStroke s)
Return the ratio between the stroke's convex hull path length and the its path length. |
String |
getName()
Return the name of this feature extractor. |
static double |
pathRatio(TimedStroke s)
Return the ratio between the stroke's convex hull path length and the its path length. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathRatioFE()
Method Detail |
---|
public double apply(TimedStroke s)
apply
in interface FeatureExtractor
public String getName()
getName
in interface FeatureExtractor
public static double pathRatio(TimedStroke s)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |