*2.2.2 Average filter*

In practice, operators morphologic are based on different application scenarios in signal processing [37–42]. Sometimes it is difficult to obtain prior knowledge of the positive (positive peak) or negative (negative peak) pulse characteristics of the signal, especially when both positive and negative pulses are used. We can make by the combination of the four operators an average filter presented by the following formula:

$$\text{AVG}(f) = (f \bullet \text{g} + f \text{g})/2 \tag{5}$$

**Figure 4** illustrates the results obtained not used to flatten the positive and negative peaks.
