Hi,
I have been working on the implementation of the wavelet transform in 2D and I am quite surprised to see that the reconstruction does not give the same result as the original image when I do a decomposition followed by a reconstruction, using Haar or DB4 wavelet. In Matlab the reconstruction is almost perfect so I was expecting the same here.
The main issue I have is that my reconstructed image looks shifted by 1 pixel in both dimensions. I have checked my pointers and they look correct.
I wondered if it was due to my implementation or if it is an expected behavior.
I can provide my code if needed.
Thanks,
Thomas