
public class MaximumFilter extends SampleBuffer
| Modifier and Type | Field and Description |
|---|---|
(package private) float[] |
buf |
(package private) float[] |
max |
(package private) float[] |
oldest |
actualSize, bufferSize, currentPos, sampleBuffersampleSize, source| Constructor and Description |
|---|
MaximumFilter(SampleProvider source,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
fetchSample(float[] sample,
int off)
Fetches a sample from a sensors or filter.
|
getActualSize, getBufferSize, getOldest, toPossampleSizepublic MaximumFilter(SampleProvider source, int bufferSize)
public void fetchSample(float[] sample,
int off)
SampleProviderfetchSample in interface SampleProviderfetchSample in class SampleBuffersample - The array to store the sample in.off - The elements of the sample are stored in the array starting at the offset position.