I am running a stationary wavelet transformation on a brain image. I can't understand why it shifts with each level so that the image is no longer centered. You can see that the X component shifts to the right, the Y to the bottom, the diags up and to the left. This makes it hard to reach my goal of using the SWT to detect edge activity at each scale, as it looks like I will have to re-align the images to do the calculation. Why is it like this?