diva.sketch.features
Class BBoxDiagonalAngleFE

java.lang.Object
  extended by diva.sketch.features.BBoxDiagonalAngleFE
All Implemented Interfaces:
FeatureExtractor

public class BBoxDiagonalAngleFE
extends Object
implements FeatureExtractor

BBoxDiagonalAngleFE computes the angle between the diagonal and the base of a stroke's bounding box. One of Rubine's features.

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

Constructor Summary
BBoxDiagonalAngleFE()
           
 
Method Summary
 double apply(TimedStroke s)
          Return the angle between the diagonal and the base of the stroke's bounding box.
static double bboxDiagonalAngle(TimedStroke s)
          Return the angle between the diagonal and the base of the stroke's bounding box.
 String getName()
          Return the name of the feature extractor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BBoxDiagonalAngleFE

public BBoxDiagonalAngleFE()
Method Detail

apply

public double apply(TimedStroke s)
Return the angle between the diagonal and the base of the stroke's bounding box.

Specified by:
apply in interface FeatureExtractor

bboxDiagonalAngle

public static double bboxDiagonalAngle(TimedStroke s)
Return the angle between the diagonal and the base of the stroke's bounding box.


getName

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

Specified by:
getName in interface FeatureExtractor


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