diva.sketch.features
Interface FeatureExtractor

All Known Implementing Classes:
AreaRatioFE, AspectRatioFE, BBoxDiagonalAngleFE, BBoxDiagonalLengthFE, CornerFE, CosFirstLastPtsFE, CosInitAngleFE, DistanceStartEndPtsFE, DurationFE, MaxSpeedFE, PathLengthFE, PathRatioFE, SineFirstLastPtsFE, SineInitAngleFE, SumOfAbsDeltaRatioFE, SumOfAbsoluteAnglesFE, SumOfAnglesFE, SumOfSquaredAnglesFE

public interface FeatureExtractor

A feature extractor performs computation on a stroke and outputs a value that represents the stroke's feature. Example of features are the number of corners, aspect ratio, etc.

Version:
$Revision: 1.7 $
Author:
Heloise Hse (hwawen@eecs.berkeley.edu)

Method Summary
 double apply(TimedStroke s)
          Return the value of the feature extracted from the stroke.
 String getName()
          Return the name of the feature extractor.
 

Method Detail

apply

double apply(TimedStroke s)
Return the value of the feature extracted from the stroke.


getName

String getName()
Return the name of the feature extractor.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.