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

edu.berkeley.guir.lib.gesture
Class HumanSimilarity

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

public class HumanSimilarity
extends Object

Determines if two gestures are very similar to a person. Based on a web survey done in Aug-Sep 2000 where people ranked the similarity of pairs of gestures. The equation is a result of logistic regression on the survey data.

NOTE This file was generated by make-similarity-equation.py and should not be hand edited.


Method Summary
static double absDiff(Class featureClass, GestureObject g1, GestureObject g2)
           
static double absDiffFraction(Class featureClass, GestureObject g1, GestureObject g2)
           
static boolean areVerySimilar(GestureObject g1, GestureObject g2)
          return whether g1 and g2 will be perceived by people as being very similar
static double logAbsDiff(Class featureClass, GestureObject g1, GestureObject g2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

absDiff

public static double absDiff(Class featureClass,
                             GestureObject g1,
                             GestureObject g2)

absDiffFraction

public static double absDiffFraction(Class featureClass,
                                     GestureObject g1,
                                     GestureObject g2)

logAbsDiff

public static double logAbsDiff(Class featureClass,
                                GestureObject g1,
                                GestureObject g2)

areVerySimilar

public static boolean areVerySimilar(GestureObject g1,
                                     GestureObject g2)
return whether g1 and g2 will be perceived by people as being very similar

Copyright Information