I am working on a discrete wavelet compressor.
Using the CDF 5,3 wavelet transform with one level, I take the following
and I produce this image:
Now, the wavelet transform breaks an image into Low,Low, Low,High, High,Low and High,High bands where
each band has x,y dimensions equal to half of image. I am writing the bands linearly into the original image buffer,
so that is why the bands seem to be split in two.
The artifact can be seen at the bottom of the third band: it looks like part of LL band is being writting to HL band.
Any ideas on what could be causing this?
Also, any ideas on how to debug this?
Code can be found here: