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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)