Table of Contents

NAME

QccWAVSubbandPyramidIntShapeAdaptiveDWT, QccWAVSubbandPyramidIntInverseShapeAdaptiveDWT - separable 2D shape-adaptive discrete wavelet transform and inverse transform for integer-valued subband-pyramid data

SYNOPSIS

#include "libQccPack.h"

int QccWAVSubbandPyramidIntShapeAdaptiveDWT(QccWAVSubbandPyramidInt *subband_pyramid, QccWAVSubbandPyramidInt *mask, int num_levels, const QccWAVWavelet *wavelet);
int QccWAVSubbandPyramidIntInverseShapeAdaptiveDWT(QccWAVSubbandPyramidInt *subband_pyramid, QccWAVSubbandPyramidInt *mask, const QccWAVWavelet *wavelet);

DESCRIPTION

QccWAVSubbandPyramidIntShapeAdaptiveDWT() calls QccWAVWaveletShapeAdaptiveDWT2DInt(3) to perform a separable 2D shape-adaptive discrete wavelet transform (SA-DWT) on the matrix field of subband_pyramid. num_levels is the number of levels (scales) of decomposition to perform; the num_levels field of subband_pyramid is set to num_levels. mask is the transparency mask defining the shape of the data to be transformed; the matrix field of mask is passed as the transparency mask to QccWAVWaveletShapeAdaptiveDWT2DInt(3) . During the process of performing the 2D SA-DWT, the mask is transformed with a Lazy wavelet transform so as to correctly indicate where valid coefficients reside in the wavelet domain in the transformed subband_pyramid. The transformed mask is return in mask upon completion of QccWAVWaveletSubbandPyramidIntShapeAdaptiveDWT().

QccWAVSubbandPyramidIntInverseShapeAdaptiveDWT() calls QccWAVWaveletInverseShapeAdaptiveDWT2DInt(3) to perform a separable 2D inverse SA-DWT on the matrix field of subband_pyramid. The number of levels of the inverse transform is retrieved from the num_levels field of subband_pyramid; num_levels is set to 0 upon return of QccWAVSubbandPyramidIntInverseShapeAdaptiveDWT(). mask should be the Lazy-wavelet transformed mask that was output by QccWAVWaveletSubbandPyramidIntShapeAdaptiveDWT(). Upon return from QccWAVSubbandPyramidIntInverseShapeAdaptiveDWT(), mask is the original transparency mask; i.e., the mask that indicates where valid data resides in the original spatial domain.

RETURN VALUES

These routines return 0 on success and 1 on error.

SEE ALSO

QccWAVWaveletShapeAdaptiveDWT2DInt(3) , QccWAVWaveletInversShapeAdaptiveDWT2DInt(3) , QccWAVWavelet(3) , QccPackWAV(3) , QccPack(3)

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.

S. Li and W. Li, "Shape-Adaptive Discrete Wavelet Transforms for Arbitrarily Shaped Visual Object Coding," IEEE Transactions on Circuits and Systems for Video Coding, vol. 10, pp. 725-743, August 2000.

ISO/IEC 14496-2, "Information Technology -- Coding of audio-visual objects -- Part 2: Visual," MPEG-4 Standard, Amendment 1, July 2000.

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



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