I tried to use ippi 2d wavelet transform. Following the example it works generally very good for different wavelets (Db2, Db4, Db6, etc.).
However, my problem is, when I change the values for anchorLow and anchorHigh in forward and inverse wavelet transformation then I cannot reconstruct the image correctly.
To explain the problem, first the original values from the example for Db4 (Pseudocode):
fwd_lenLow = 4, anchorLow = 2
fwd_lenHigh = 4, anchorHigh = 2
inv_lenLow = 4, anchorLow = 1
inv_lenHigh = 4, achorHigh = 1
I used the db4 wavelet values from the example!
In contrast to the example, often wavelet transform is performed with the following values:
fwd_lenLow = 4, anchorLow = 1
fwd_lenHigh = 4, anchorHigh = 1
inv_lenLow = 4, anchorLow = 0
inv_lenHigh = 4, achorHigh = 0
using the same db4 wavelet. In my opinion correct wavelet reconstruction should be still possible in this case. However, it fails in my implementation. What is the reason for this?
(Border pixel were calculated using BorderWraping and size of image border were calculated according to the ippi manual)
Thanx in advance