Lulu smoothing
In signal processing, Lulu smoothing is a nonlinear mathematical technique for removing impulsive noise from a data sequence such as a time series. It is a nonlinear equivalent to taking a moving average (or other smoothing technique) of a time series, and is similar to other nonlinear smoothing techniques, such as Tukey or median smoothing.[1]
LULU smoothers are compared in detail to median smoothers by Jankowitz and found to be superior in some aspects, particularly in mathematical properties like idempotence.[2]
Properties
Lulu operators have a number of attractive mathematical properties, among them idempotence – meaning that repeated application of the operator yields the same result as a single application – and co-idempotence. An interpretation of idempotence is that: 'Idempotence means that there is no “noise” left in the smoothed data and co-idempotence means that there is no “signal” left in the residual.'[3]
When studying smoothers there are four properties that are useful to optimize:[4]
- Effectiveness
- Consistency
- Stability
- Efficiency
The operators can also be used to decompose a signal into various subcomponents similar to wavelet or Fourier decomposition.[5]
History
Lulu smoothers were discovered by C. H. Rohwer and have been studied for the last 30 years.[6][7] Their exact and asymptotic distributions have been derived.[3]
Operation
Applying a Lulu smoother consists of repeated applications of the min and max operators over a given subinterval of the data. As with other smoothers, a width or interval must be specified. The Lulu smoothers are composed of repeated applications of the L (lower) and U (Upper) operators, which are defined as follows:
L operator
For an L operator of width n over an infinite sequence of xs (..., xj, xj+1,...), the operation on xj is calculated as follows:
- Firstly we create (n + 1) mini-sequences of length (n + 1) each. Each of these mini-sequences contains the element xj. For example, for width 1, we create 2 mini-sequences of length 2 each. For width 1 these mini sequences are (xj−1, xj) and (xj, xj+1). For width 2, the mini-sequences are (xj−2, xj−1, xj), (xj−1, xj, xj+1) and (xj, xj+1, xj+2). For width 2, we refer to these mini-sequences as seq−1, seq0 and seq+1
- Then we take the minimum of each of the mini sequences. Again for width 2 this gives: (Min(seq−1), Min(seq0), Min(seq+1)). This gives us (n + 1) numbers for each point.
- Lastly we take the maximum of (the minimums of the mini sequences), or Max(Min(seq−1), Min(seq0), Min(seq+1)) and this becomes L(xj)
Thus for width 2, the L operator is:
- L(xj) = Max(Min(seq−1), Min(seq0), Min(seq+1))
U Operator
This is identical to the L operator, except that the order of Min and Max is reversed, i.e. for width 2:
- U(xj) = Min(Max(seq−1), Max(seq0), Max(seq+1))
Examples
Examples of the U and L operators, as well as combined UL and LU operators on a sample data set are shown in the following figures.
It can be seen that the results of the UL and LU operators can be different. The combined operators are very effective at removing impulsive noise, the only cases where the noise is not removed effectively is where we get multiple noise signals very close together, in which case the filter 'sees' the multiple noises as part of the signal.
References
- Tukey, JW (1974). "Nonlinear (nonsuperposable) methods for smoothing data". Cong. Rec. EASCON: 673.
- Jankowitz, M.D. (2007). Some statistical aspects of LULU smoothers (PhD Thesis). University of Stellenbosch.
- Conradie, WJ and de Wet, T. and Jankowitz, M. (2006). "Exact and asymptotic distributions of LULU smoothers". Journal of Computational and Applied Mathematics. 186 (1): 253–267. Bibcode:2006JCoAM.186..253C. doi:10.1016/j.cam.2005.03.073.CS1 maint: multiple names: authors list (link)
- Rohwer, Carl (2005). Nonlinear smoothing and multiresolution analysis. 150. Birkhauser Basel.
- Fabris-Rotelli, Inger Nicolette (2009). LULU operators on multidimensional arrays and applications (MSc Thesis). University of Pretoria.
- Rohwer, CH (1989). "Idempotent one-sided approximation of median smoothers". Journal of Approximation Theory. 58 (2): 151–163. doi:10.1016/0021-9045(89)90017-8.
- Rohwer, CH (1999). "Projections and separators". Quaestiones Mathematicae. 22 (2): 219–230. doi:10.1080/16073606.1999.9632077.