Wavelet Toolbox |
One-Dimensional Local Thresholding for De-noising Using the Graphical Interface
The discrete stationary wavelet transform de-noising tool for one-dimensional signals appears.
When the Load Signal dialog box appears, select the MAT-file nblocr1.mat
, which should reside in the MATLAB directory toolbox/wavelet/wavedemo
. Click the OK button. The noisy blocks signal with two change points in the noise variance located at positions 200 and 600, is loaded into the SWT De-noising 1-D tool.
db1
wavelet from the Wavelet menu and select 5 from the Level menu, and then click the Decompose Signal button. After a pause for computation, the tool displays the stationary wavelet approximation and detail coefficients of the decomposition.
Accept the defaults of Fixed form soft thresholding and Unscaled white noise. Click the De-noise button.
The result is quite satisfactory, but seems to be oversmoothed when the signal is irregular.
Select hard for the thresholding mode instead of soft, and then click the De-noise button.
The result is not satisfactory. The de-noised signal remains noisy before position 200 and after position 700. This illustrates the limits of the classical de-noising strategies. In addition, the residuals obtained during the last trials clearly suggest to try a local thresholding strategy.
Click the Generate button. After a pause for computation, the tool displays the default intervals associated with adapted thresholds.
Three intervals are proposed. Since the variances for the three intervals are very different, the optimization program easily detects the correct structure. Nevertheless, you can visualize the intervals proposed for a number of intervals from 1 to 6 using the Select Number of Intervals menu (which replaces the Generate button). Using the default intervals automatically propagates the interval delimiters and associated thresholds to all levels.
De-noise with interval-dependent thresholds..
The result is quite satisfactory, but some unpleasant coefficients remain.
Modifying Interval Dependent Thresholds. . The thresholds can be increased to keep only the highest values of the wavelet coefficients at each level. Do this by dragging the yellow lines directly on the graphs on the left of the window, or using the View Axes button (located at the bottom of the screen near the Close button), which allows you to see each axis in full size. Another way is to edit the thresholds by selecting the interval number located near the sliders and typing the desired value.
You can also define your own interval dependent strategy. Click the Int. dependent threshold settings button. The Int. Dependent Threshold Settings for ... window appears again. We shall explore this window for a little while. Click the Delete button, so that the interval delimiters disappear. Double click the left mouse button to define new interval delimiters; for example at positions 300 and 500 and adjust the thresholds manually. Each level must be considered separately using the Level menu for adjusting the thresholds. The current interval delimiters can be propagated to all levels by clicking the Propagate button. So click the Propagate button. Adjust the thresholds for each level, one by one. At the end, click the Close button of the Int. Dependent Threshold settings for ... window. When the Update thresholds dialog box appears, click Yes. Then click the De-noise button.
Some Examples of De-noising with Interval Dependent Thresholds.
From the File menu, choose the Example AnalysisNoisy Signals - Dependent Noise Variance option. The proposed items contain, in addition to the usual information, the "true" number of intervals. You can then experiment with various signals for which local thresholding is needed.
For example, choose the last item, which is a real-world electrical signal. The entire process performed on steps 4, 5, 8, 9, and 10 is demonstrated.
One-Dimensional Variance Adaptive Thresholding of Wavelet Coefficients | Importing and Exporting Information from the Graphical Interface |
© 1994-2005 The MathWorks, Inc.