- Load the image.
- Convert the image to grayscale.
- Perform wavelet decomposition.
- Extract the LL and HH sub bands from the decomposition.
- dwt2: https://www.mathworks.com/help/wavelet/ref/dwt2.html
- LL,LH,HL,HH decomposition: https://www.mathworks.com/matlabcentral/answers/634054-what-are-ll-lh-hl-hh-in-dwt
- MATLAB code for third level DWT: https://www.mathworks.com/matlabcentral/answers/163844-how-to-write-matlab-code-for-third-level-dwt