public class AspectRatioFE extends Object implements FeatureExtractor
Constructor and Description |
---|
AspectRatioFE() |
Modifier and Type | Method and Description |
---|---|
double |
apply(TimedStroke s)
Return the ratio of the width and height of the stroke's
bounding box.
|
static double |
aspectRatio(TimedStroke s)
Return the ratio of the width and height of the stroke's
bounding box.
|
String |
getName()
Return the name of the feature extractor.
|
public double apply(TimedStroke s)
apply
in interface FeatureExtractor
public static double aspectRatio(TimedStroke s)
public String getName()
getName
in interface FeatureExtractor
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.