int QccWAVWaveletAnalysis1DInt(QccVectorInt signal, int signal_length,
int phase, const QccWAVWavelet *wavelet);
int QccWAVWaveletSynthesis1DInt(QccVectorInt
signal, int signal_length, int phase, const QccWAVWavelet *wavelet);
QccWAVWaveletSynthesis1DInt() performs one level of wavelet synthesis. The first half of signal is assumed to contain the lowpass subband while the second half contains the highpass subband. QccWAVWaveletSynthesis1DInt() calls QccWAVLiftingSynthesisInt(3) . phase indicates whether signal is to start with an odd- or even-indexed sample. signal_length can be even or odd.
Note: In general, you will probably want to use QccWAVWaveletDWT1DInt(3) and QccWAVWaveletInverseDWT1DInt(3) instead of these routines for implementing a discrete wavelet transform and its inverse since QccWAVWaveletDWT1DInt(3) and QccWAVWaveletInverseDWT1DInt(3) allow any number of scales, or levels, of decomposition to be performed.
In traditional floating-point lifting, the prediction and update steps are generally followed by a single application of scaling by a constant in order to produce the usual unitary normalization. This scaling step is somewhat problematic for integer-valued lifting since the scaling constant is usually not an integer. In applications wherein unitary scaling is not required (e.g., in some applications that process each subband completely independently), the scaling step is simply dropped in order to implement an integer-valued version of the transform. Alternatively, one can append three additional lifting steps to implement the scaling; these additional lifting steps can then be rendered integer-valued via appropriate rounding (e.g., Xiong et al.) making the transforms approximately normalized. This latter approach of scaling via additional lifting steps is employed in the integer-valued lifting schemes implemented in QccPack.
A. R. Calderbank, I. Daubechies, W. Sweldens, B.-L. Yeo, "Lossless Image Compression Using Integer to Integer Wavelet Transforms", in Proceedings of the International Conference on Image Processing, Lausanne, Switzerland, pp. 596-599, September 1997.
Z. Xiong, X. Wu, S. Cheng, J. Hua, "Lossy-to-Lossless Compression of Medical Volumetric Data Using Three-Dimensional Integer Wavelet Transforms," IEEE Transactions on Medical Imaging, vol. 22, pp. 459-470, March 2003.
I. Daubechies and W. Sweldens, "Factoring Wavelet Transforms Into Lifting Steps," J. Fourier Anal. Appl., vol. 4, no. 3, pp. 245-267, 1998.