📄 qccwavwaveletshapeadaptivedwt1dint.3
字号:
.TH QCCWAVWAVELETSHAPEADAPTIVEDWT1DINT 3 "QCCPACK" "".SH NAMEQccWAVWaveletShapeAdaptiveDWT1DInt, QccWAVWaveletInverseShapeAdaptiveDWT1DInt \- integer-valued shape-adaptive discrete wavelet transform and inverse transform for a 1D signal.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccWAVWaveletShapeAdaptiveDWT1DInt(QccVectorInt " signal ", QccVectorInt " mask ", int " signal_length ", int " num_scales ", const QccWAVWavelet *" wavelet );.br.BI "int QccWAVWaveletInverseShapeAdaptiveDWT1DInt(QccVectorInt " signal ", QccVectorInt " mask ", int " signal_length ", int " num_scales ", const QccWAVWavelet *" wavelet );.SH DESCRIPTION.B QccWAVWaveletShapeAdaptiveDWT1DInt()performs an integer-valued shape-adaptive discretewavelet transform (SA-DWT) of a one-dimensional signal..I num_scalesgives the number of scales, or levels, of the decomposition..BR QccWAVWaveletShapeAdaptiveDWT1DInt()implements a dyadic decomposition of.IR signal ;that is, the lowpass subband is recursively decomposed into lowpass andhighpass bands for each level of decomposition.The output of the SA-DWT is returned in.IR signal ,overwriting the original input signal.The output subbands reside in .I signalstarting with the lowpass subband of the lowest (coarsest) level ofdecomposition (i.e., the baseband) with subsequent highpass subbandsof increasing resolution following..I waveletmust indicate an integer-valued lifting scheme (see.BR QccWAVLiftingSchemeInteger (3))..LP.I maskindicates where the original input.I signalexists. That is, .I maskindicates the intervals of support in the original input.IR signal .Where.I maskis less than or equal to.BR QCCALPHA_TRANSPARENT ,there is no signal, and where.I maskis greater than.BR QCCALPHA_TRANSPARENT ,the signal exists and is transformed(see.BR QccAlpha (3)).Essentially this shape-adaptive transform is performed by identifyingcontiguous non-transparent segments of the input signal, and transformingthese segments individually with a usual 1D DWT (via a call to.BR QccWAVWaveletDWT1DInt (3))with appropriateextension at the ends of each segment.Each segment is transformed so that the global subsampling scheme forthe signal is respected; that is, the starting index for each segment isdetermined to be either odd or even based upon its location relativeto the start of.IR signal ,and this determines whether odd or even subsampling is used in theDWT of the segment..LPThe transparency mask is transformed (with a Lazy wavelet transform)alongside the signal so that, at completion of the transform,.IR maskindicates where valid coefficients, i.e., coefficients resulting fromnon-transparent segments in the input signal,reside in the output.IR signal .The transformed mask is returned in.IR mask ,overwriting the original input mask..LPCurrently, .BR QccWAVWaveletShapeAdaptiveDWT1DInt()supports only integer-valued biorthogonal wavelets. These may beused with symmetric extension only..LPSegments within.I signalmay be of any length, odd or even.In the case of odd segment length, either the lowpass or highpasssubband at the next coarser scalewill be one sample longer thanthe other; which one is longer depends on whether the segmentstarts with an even- or odd-indexed sample relative to thestart of.IR signal .A segment of length one, i.e., an isolated signal sample,is somewhat of a degenerate case..BR QccWAVWaveletShapeAdaptiveDWT1DInt()handles a length-1 segment as follows.If the isolated sample is even-indexed relative to the start of.IR signal ,then the sample value is placed unchanged in thelowpass band. If the isolated sample is odd-index, it isplaced unchanged in the highpass band..LP.B QccWAVWaveletInverseShapeAdaptiveDWT1DInt()performs the inverse SA-DWT of.IR signalwhich is assumed to have been producedby.BR QccWAVWaveletShapeAdaptiveDWT1DInt() ..IR maskshould be the corresponding Lazy-wavelet transformed maskalso produced by.BR QccWAVWaveletShapeAdaptiveDWT1DInt() ..I num_scalesgives the number of levels of decomposition that exist in.IR signal ..SH "SHAPE-ADAPTIVE DWTS"SA-DWTs have been recently included in Version 2 of the MPEG-4standard, wherein they are used for texture coding of arbitrarily shaped still objects.Li and Li (see below) elaborate at length on the shape-adaptive DWTused in MPEG-4, and also consider some variants not includedin the MPEG-4 standard..LPThe SA-DWT implemented in QccPack differs slightlyfrom the transform specified by MPEG-4.The most significant difference is in the handling of isolated samples (i.e., segments with length one). In MPEG-4, isolated samples are alwaysplaced in the lowpass band regardless of theparity of the index of the sample. Another differenceis that the QccPack SA-DWTcan handle boundary-wavelet extension in addition to symmetric extensionfor lifting implementations of wavelets; MPEG-4 uses only symmetric extension.Finally, Li and Li describe several SA-DWT variants thatare currently not implemented in QccPack, namely, SA-DWTsusing orthonormal wavelets or biorthogonal wavelets with even-length symmetricfilters..SH "INTEGER-TO-INTEGER WAVELET TRANSFORMS"Transforms generally provide perfect reconstruction in that theinverse transform will perfectly invert transform coefficientsinto an exact representation of the original signal.However, when implemented in floating-point arithmetic, the potentialfor loss arises due to the limits of finite precision in both theforward and inverse transforms.On the other hand,transforms that map integer-valued signals into integer-valuedtransforms coefficients can guarantee perfect reconstruction, providedan inverse transform can be found.For this reason, lifting schemes, in which inverse transforms aretrivial, are favored for theimplementation of integer-valued wavelet transforms. Typically,the general approach proposed by Calderbank.IR "et al" .is followed wherein rounding of floating-point values to integers is performedat each prediction and update step in a lifting scheme.Integer versions of several popular biorthogonal wavelets werecreated in this manner by Calderbank.IR "et al" .,as well as by Xiong.IR "et al" ..LPIn traditional floating-point lifting, the prediction and update stepsare generally followed by a single application of scaling by a constantin order to produce the usual unitary normalization.This scaling step is somewhat problematic for integer-valued liftingsince 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 completelyindependently), the scaling step is simply dropped in orderto 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 renderedinteger-valued via appropriate rounding (e.g., Xiong.IR "et al" .)making the transforms approximately normalized.This latter approach of scaling via additional lifting stepsis employed in the integer-valuedlifting schemes implemented in QccPack..SH "RETURN VALUES"These routinesreturn 0 on success and 1 on error..SH "SEE ALSO".BR QccWAVWaveletDWT1DInt (3),.BR QccWAVWaveletInverseDWT1DInt (3),.BR QccWAVWavelet (3),.BR QccPackWAV (3),.BR QccPack (3).LPS. Li and W. Li, "Shape-Adaptive Discrete Wavelet Transforms forArbitrarily Shaped Visual Object Coding,".IR "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," .IR "MPEG-4 Standard" ,Amendment 1, July 2000.A. R. Calderbank, I. Daubechies, W. Sweldens, B.-L. Yeo, "LosslessImage Compression Using Integer to Integer Wavelet Transforms", in.IR "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 ofMedical Volumetric Data Using Three-Dimensional Integer Wavelet Transforms,".IR "IEEE Transactions on Medical Imaging" ,vol. 22, pp. 459-470, March 2003.I. Daubechies and W. Sweldens,"Factoring Wavelet Transforms Into Lifting Steps,".IR "J. Fourier Anal. Appl." ,vol. 4, no. 3, pp. 245-267, 1998..SH AUTHORCopyright (C) 1997-2009 James E. Fowler.\" The programs herein are free software; you can redistribute them an.or.\" modify them under the terms of the GNU General Public License.\" as published by the Free Software Foundation; either version 2.\" of the License, or (at your option) any later version..\" .\" These programs are distributed in the hope that they will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\" .\" You should have received a copy of the GNU General Public License.\" along with these programs; if not, write to the Free Software.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -