public class SweepClassifierWorker
extends java.lang.Object
Constructor and Description |
---|
SweepClassifierWorker(ClickControl clickControl,
SweepClassifier sweepClassifier) |
Modifier and Type | Method and Description |
---|---|
int[][] |
getLengthData(ClickDetection click,
SweepClassifierSet scs)
Creates a 2D array of length data[channels][start/end]
|
ZeroCrossingStats[] |
getZeroCrossingStats(ClickDetection click)
Returns the zeroCrossingStats variable, used as an identifier in the Rocca interface.
|
ClickIdInformation |
identify(ClickDetection click) |
boolean |
testZeroCrossingStat(ZeroCrossingStats zcStat,
SweepClassifierSet scs) |
public SweepClassifierWorker(ClickControl clickControl, SweepClassifier sweepClassifier)
public ClickIdInformation identify(ClickDetection click)
public boolean testZeroCrossingStat(ZeroCrossingStats zcStat, SweepClassifierSet scs)
public int[][] getLengthData(ClickDetection click, SweepClassifierSet scs)
Will only call getLengthData if it really has to. really has to.
click
- clickscs
- classifier settingspublic ZeroCrossingStats[] getZeroCrossingStats(ClickDetection click)
click
- the Click Detection