Denoising Experiment using Wavelet Transforms, Autocorrelation Wavelet Transforms, Stationary Wavelet Transforms
In this experiment, we observe the denoising capabilities of the different types of wavelet transforms on a group of signals. The following are the parameters we aim to understand:
- Best threshold determination method: Individual vs Average vs Median of a set of best threshold values.
- Denoising method: VisuShrink vs Threshold determination based on relative error curve
This experiment is conducted by Zeng Fung Liew and Shozen Dan under the supervision of Professor Naoki Saito at the University of California, Davis.
- Clone the repository by typing the following:
git clone https://github.com/UCD4IDS/WaveletsDenoisingExperiment.git
- Navigate to the WaveletsDenoisingExperiment directory and open up the Julia REPL.
- Ensure Julia is working on the current directory. This can be checked using the following commands:
# shows the current working directory
julia> pwd()
# change to the directory containing all the files from this repository. Eg:
julia> cd("C:/Users/USER/Documents/WaveletsDenoisingExperiment")
- Enter the package manager in the REPL by typing
]
. The following should be observed:
(@v1.6) pkg>
- Activate the current environment by typing the following.
Note: Steps 3-4 has to be done correctly for this step to work!
(@v1.6) pkg> activate ./notebooks
(@v1.6) pkg> instantiate
- Exit the package manager mode by hitting the backspace key. Then, type in the following commands:
julia> import Pluto; Pluto.run()
- Pluto should open up in the default browser. Open up the file by keying in the file path.
- Open up the Julia REPL.
- Manually install the required packages for running the notebooks. The list of required packages can be found in the Project.toml file under the notebook directory.
Install the packages in Julia using either the REPL or through the package manager. The package manager can be activated by hitting the]
key. Example:
# install on REPL
julia> using Pkg; Pkg.add("Pluto")
# install on package manager
(@v1.6) pkg> add Pluto
- Return to the REPL and type the command below. If you are currently at the package manager mode, you can return to the REPL by hitting the backspace key.
julia> import Pluto; Pluto.run()
- Pluto should open up in the default browser. Copy-paste the following URL into the file path:
https://github.com/zengfung/WaveletsDenoisingExperiment/blob/master/notebooks/denoising.jl
Note: When opening the notebooks using this method, Julia automatically downloads the notebook into the ~/.julia/pluto_notebooks
folder in your local machine. You may want to delete them once you are done.