Table of Contents

NAME

QccWAVWaveletAnalysis1D, QccWAVWaveletSynthesis1D - wavelet analysis/synthesis of a 1D signal

SYNOPSIS

#include "libQccPack.h"

int QccWAVWaveletAnalysis1D(QccVector signal, int signal_length, int phase, const QccWAVWavelet *wavelet);
int QccWAVWaveletSynthesis1D(QccVector signal, int signal_length, int phase, const QccWAVWavelet *wavelet);

DESCRIPTION

QccWAVWaveletAnalysis1D() performs one level of a wavelet decomposition for a one-dimensional signal. Essentially, QccWAVWaveletAnalysis1D() calls either QccWAVFilterBankAnalysis(3) or QccWAVLiftingAnalysis(3) depending on whether wavelet specifies a filter-bank or lifting implementation. phase indicates whether signal is to start with an odd- or even-indexed sample; that is, whether odd- or even-phase subsampling is employed after filtering. phase can be either QCCWAVWAVELET_PHASE_EVEN or QCCWAVWAVELET_PHASE_ODD. Additionally, signal_length can be even or odd.

QccWAVWaveletSynthesis1D() 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. QccWAVWaveletSynthesis1D() calls either QccWAVFilterBankSynthesis(3) or QccWAVLiftingSynthesis(3) depending on whether wavelet specifies a filter-bank or lifting implementation. 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 QccWAVWaveletDWT1D(3) and QccWAVWaveletInverseDWT1D(3) instead of these routines for implementing a discrete wavelet transform and its inverse since QccWAVWaveletDWT1D(3) and QccWAVWaveletInverseDWT1D(3) allow any number of scales, or levels, of decomposition to be performed.

RETURN VALUES

These routines return 0 on success and 1 on error.

SEE ALSO

QccWAVFilterBank(3) , QccWAVFilterBankAnalysis(3) , QccWAVLiftingScheme(3) , QccWAVLiftingAnalysis(3) , QccWAVWavelet(3) , QccWAVWaveletDWT1D(3) , QccWAVWaveletInverseDWT1D(3) , QccPackWAV(3) , QccPack(3)

M. Antonini, M. Barlaud, P. Mathieu, and I. Daubechies, "Image Coding Using Wavelet Transform," IEEE Transactions on Image Processing, vol. 1, pp. 205-220, April 1992.

I. Daubechies and W. Sweldens, "Factoring Wavelet Transforms Into Lifting Steps," J. Fourier Anal. Appl., vol. 4, no. 3, pp. 245-267, 1998.

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



Get QccPack at SourceForge.net. Fast, secure and Free Open Source software downloads