Two-dimensional subband extraction and insertion

get_subband2d(M,l,m,n) Returns the result of extracting the (m,n)th subband of wavelet packet coefficients at level l from the 2-dimensional wavelet packet transform M.

put_subband2d(M,l,m,n,N) Returns the result of inserting the matrix N into the (m,n)th subband of wavelet packet coefficients at level l of the 2-dimensional wavelet packet transform M.

Arguments:

Mathcad Example
Mathcad Example