User:Panjasan/MMWA
From Wikipedia, the free encyclopedia
this section is supposed to be inserted in the article on "moving average" after the sub-section "Weighted moving average".
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
- Matched Moving Average
When periodic patterns (temporal or spatial ones) are sampled with small sampling rates (temporal case) or low sampling ratios (spatial case) and the task is to suppress that periodic component by moving window averaging of the sampled signal (e.g. for identification of superimposed information), the width of the averaging window has to be adapted to the periodicity of the periodic pattern. If we assume a sampling rate/ratio of e.g. 2.4, application of standard moving window averaging methods is providing wrong results since only integer window widths are available [1]. A method to achieve suppression of periodic patterns in the case of non-integer (fractional) sampling ratios/rates above 2 is introduced in this paper [2] of which this article summarizes the procedure.
We construct a series of weights for averaging one-dimensional (equally spaced) data sets, shown as a row vector, k, comprising M weighting elements with the fractional ones () located at the periphery and all other elements being 1:
With the sampling ratio of the periodic modulation, Rs, the order of the next larger odd integer kernel, M, is: M = 2 · ceiling[Rs/2 + 0.5] - 1.
The fractional elements, r, are obtained as:[2]
- with f being the inverse of the sampling ratio of the periodic modulation, Rs,
The kernel (i.e. its elements, weights) should be normalized by dividing them by the sum of all weights
In case of 2-dimensional data-sets (images) filtering can be carried out individually for both dimensions in a sequence, alternatively a 2-dimensional kernel, K, can be constructed from the row-vector :
The normalized kernel matrix, being:
The method is simple and can easily be implemented in spreadsheet software for filtering of one-dimensional data. In the case of 2-dimensional data sets (e.g. images) filtering can separated, i.e. it can be carried out sequentially for each of both dimensions. Compare the articles on kernel (image processing) and on convolution.
- Moving_average
- Becker, M.E. and Steinel, T. (2025), 30-3: Matched Moving-Window Averaging Filter. SID Symposium Digest of Technical Papers, 56: 397-400. https://doi.org/10.1002/sdtp.18176