public class MeanFilter extends SumFilter
sampleSize, source
Constructor and Description |
---|
MeanFilter(SampleProvider source,
int length) |
Modifier and Type | Method and Description |
---|---|
void |
fetchSample(float[] sample,
int off)
Fetches a sample from a sensor or filter.
|
getActualSize
sampleSize
public MeanFilter(SampleProvider source, int length)
public void fetchSample(float[] sample, int off)
SampleProvider
fetchSample
in interface SampleProvider
fetchSample
in class SumFilter
sample
- The array to store the sample in.off
- The elements of the sample are stored in the array starting at the offset position.