Backward Moving Average

Local Algorithm - One-Dimensional Algorithm

Backward Moving Average algorithm replaces each original data value by the average over its neighbor values. The choice of filter width has a great impact on the final results. The basic formula (for filter width L=M+1) is stated as follows:

ˆx[n]=1M+10k=Mx[n+k],

where x[n] and ˆx[n] denote raw data and processed data, respectively.

Input Parameters

Parameter Type Constraint Description Remarks
x[n] x[n]RN NN Input data sequence of length N The algorithm assumes that input data contains no outliers and improper values such as ‘nan’, ‘inf’, ‘null’.
L LN L=M+1,MN    

Output Parameters

Parameter Type Constraint Description Remarks
ˆx[n] ˆx[n]RN NN Output data sequence of length N  

Tool Support

Single Steps using the Algorithm

References

  • B. Jaehne, Digitale Bildverarbeitung, 5th ed. Berlin: Springer Verlag, 2002.
  • K.D. Kammeyer and K. Kroschel, Digitale Signalverarbeitung, 5th ed. Stuttgart: Teubner, 2002.