Algorithm Views of Discrete Wavelet Transform