|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openuat.authentication.accelerometer.MarinPerianuComparison
public class MarinPerianuComparison
This class implements comparison of accelerometer time series based on their correlation coefficient. It uses the parameters suggested in R. Marin-Perianu, M. Marin-Perianu, P. Havinga, and H. Scholten, “Movement-based group awareness with wireless sensor networks,” in Proc. Pervasive 2007. Springer-Verlag, May 2007, pp. 298–315. Inputs, i.e. the time series to be compared, are acceleration magnitudes sampled at 8Hz.
| Field Summary | |
|---|---|
static int |
bitsPerSample
Samples are represented by just 1 Byte. |
static float |
correlationCoefficientThreshold
For correlation coefficients > 0.5, the devices are assumed to be together, for correlation coefficients <= 0.5, they are assumed to be separate. |
static int |
sampleRate
With a sample rate of 8Hz. |
static int |
stepSize
But compute correlation coefficients every 16 samples (i.e. every 2s). |
static int |
windowSize
Use the last 128 samples (i.e. the last 16s). |
| Constructor Summary | |
|---|---|
MarinPerianuComparison()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int windowSize
public static final int stepSize
public static final int sampleRate
public static final int bitsPerSample
public static final float correlationCoefficientThreshold
| Constructor Detail |
|---|
public MarinPerianuComparison()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||