Table of Contents

NAME

QccWAVSubbandPyramid3DZeroSubband, QccWAVSubbandPyramid3DSubtractMean, QccWAVSubbandPyramid3DAddMean - operations on 3D subband pyramids

SYNOPSIS

#include "libQccPack.h"

int QccWAVSubbandPyramid3DZeroSubband(QccWAVSubbandPyramid3D *subband_pyramid, int subband);
int QccWAVSubbandPyramid3DSubtractMean(QccWAVSubbandPyramid3D *subband_pyramid, double *mean, const QccSQScalarQuantizer *quantizer);
int QccWAVSubbandPyramid3DAddMean(QccWAVSubbandPyramid3D *subband_pyramid, double mean);

DESCRIPTION

QccWAVSubbandPyramid3DZeroSubband() sets the coefficients of the specified subband in subband_pyramid to zero. subband is the subband number of the desired subband.

QccWAVSubbandPyramid3DSubtractMean() calculates the mean value of the coefficients of the baseband of subband_pyramid, optionally quantizes it with a scalar quantizer, and subtracts the result from the baseband coefficients. If quantizer is non-NULL, QccSQScalarQuantization(3) and QccSQScalarInverseQuantization(3) are called in succession to quantize the calculated mean, and this quantized mean is subtracted from the baseband coefficients in subband_pyramid. If quantizer is NULL, no quantization is performed so that the calculated mean is subtracted directly. If mean is non-NULL, the value subtracted from the coefficients (either the mean or the quantized mean) is returned as mean.

QccWAVSubbandPyramid3DAddMean() adds value mean to all baseband coefficients of subband_pyramid. It is intended to implement the reverse operation of QccWAVSubbandPyramid3DSubtractMean(), so mean would be returned from this latter routine in most cases.

RETURN VALUE

These routines return 0 on success, and 1 on failure.

SEE ALSO

QccSQScalarQuantization(3) , QccSQScalarInverseQuantization(3) , QccWAVSubbandPyramid3DDWT(3) , QccWAVSubbandPyramid3DInverseDWT(3) , QccWAVSubbandPyramid3D(3) , QccPackWAV(3) , QccPack(3)

B.-J. Kim, Z. Xiong, and W. A. Pearlman, "Low Bit-Rate Scalable Video Coding with 3-D Set Partitioning in Hierarchical Trees (3-D SPIHT)," IEEE Transactions on Circuits and Systems for Video Technology, vol. 10, no. 8, pp. 1374-1387, December 2000.

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.

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



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