- Decompose the image into its wavelet coefficients based on the chosen level.
- Calculate the skewness and kurtosis of the wavelet coefficients.
- The thresholds can be defined in various ways depending on the skewness and kurtosis values. A simple approach is to set the threshold as a function of the standard deviation of the coefficients, modulated by the skewness and kurtosis as they are used identify how the coefficients' distribution deviates from a normal distribution.
- Use the thresholds to zero out coefficients that are considered insignificant.
- Additionally, after modifying the coefficients, we can reconstruct the image using the inverse wavelet transform.
- "wavedec2" function: https://www.mathworks.com/help/wavelet/ref/wavedec2.html
- "detcoef2" function; https://www.mathworks.com/help/wavelet/ref/detcoef2.html
- "skewness" function: https://www.mathworks.com/help/stats/skewness.html
- "kurtosis" function: https://www.mathworks.com/help/stats/kurtosis.html