UC Berkeley Group for User Interface Research
Updated November 17, 2000

edu.berkeley.guir.lib.gesture
Class HumanCoords

java.lang.Object
  |
  +--edu.berkeley.guir.lib.gesture.HumanCoords

public class HumanCoords
extends Object

Compute the coordinates of a gesture in human feature-space. Based on first similarity experiment.


Inner Class Summary
static class HumanCoords.DistanceInfo
           
 
Method Summary
static double[] averageCoords(GestureCategory gc)
           
static double[] computeCoords(Gesture gesture)
           
static double distanceSq(double[] x, double[] y)
           
static double distanceSq(GestureCategory gc1, GestureCategory gc2)
          computes the average coordinates of all gestures in each category, then computes the distance between the averages
static Class findPrincipleComponent(int dimension)
           
static double gestureValue(Class featureClass, Gesture g)
           
static HumanCoords.DistanceInfo getDistanceInfo(GestureCategory gc1, GestureCategory gc2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

computeCoords

public static double[] computeCoords(Gesture gesture)

gestureValue

public static double gestureValue(Class featureClass,
                                  Gesture g)

distanceSq

public static double distanceSq(double[] x,
                                double[] y)

averageCoords

public static double[] averageCoords(GestureCategory gc)

getDistanceInfo

public static HumanCoords.DistanceInfo getDistanceInfo(GestureCategory gc1,
                                                       GestureCategory gc2)

distanceSq

public static double distanceSq(GestureCategory gc1,
                                GestureCategory gc2)
computes the average coordinates of all gestures in each category, then computes the distance between the averages

findPrincipleComponent

public static Class findPrincipleComponent(int dimension)

Copyright Information