Package boofcv.misc
Class MovingAverage
- java.lang.Object
-
- boofcv.misc.MovingAverage
-
public class MovingAverage extends java.lang.ObjectComputes a moving average with a decay function decay variable sets how quickly the average is updated. 1.0 = static and no change. 0.0 = sets to most recent sample.
-
-
Constructor Summary
Constructors Constructor Description MovingAverage()MovingAverage(double decay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAverage()doublegetDecay()booleanisFirst()voidreset()voidsetDecay(double decay)doubleupdate(double sample)
-