Can anyone explain to me how to make a computer do a 2D discreet wavelet transform on an image. I've searched the internet and I know exactly what it is, and what it is supposed to look like, but I've found no algorithm or mathematical formula to actually do it. So, if anyone can give me a simple algorithm to get me started, I would greatly appreciate it.

Thanks in advance.