📄 sfqencode.1
字号:
.TH SFQENCODE 1 "QCCPACK" "".SH NAMEsfqencode, sfqdecode \- encode/decode an image using the SFQ algorithm.SH SYNOPSIS.B sfqencode.RB "[\|" \-w.IR wavelet "\|]".RB "[\|" \-b.IR boundary "\|]".RB "[\|" \-l.IR lambda "\|]".RB "[\|" \-bbq.IR baseband\_quantizer\_stepsize "\|]".RB "[\|" \-hpq.IR highpass\_quantizer\_stepsize "\|]".RB "[\|" \-pw.IR pcpfile "\|]".RB "[\|" \-nl.IR levels "\|]".RB "[\|" \-vo "\|]".I imgfile.I bitstream.LP.B sfqdecode.RB "[\|" \-w.IR wavelet "\|]".RB "[\|" \-b.IR boundary "\|]".RB "[\|" \-pw.IR pcpfile "\|]".I bitstream.I imgfile.SH OPTIONS.TP.BI \-w " wavelet"String. Name of the wavelet file.RB ( FBKor.B LFTformat); default = "CohenDaubechiesFeauveau.9-7.lft".TP.BI \-b " boundary"String. Type of boundary extension; default = "symmetric"..TP.BI \-l " lambda"Float. Rate-distortion parameter. Default is 1.0..TP.BI \-bbq " baseband\_quantizer\_stepsize"Float. Default is to search all allowable stepsizes..TP.BI \-hpq " highpass\_quantizer\_stepsize"Float. Default is to search all allowable stepsizes..TP.BI \-pw " pcpfileString. Name of file containing perceptual weights..TP .BI \-nl " levels"Integer. Number of levels of dyadic decomposition.Default value is 3 levels..TP.B \-voPrint only the value of the rate to stdout (terse output).Default is verbose output..SH DESCRIPTION.LP.B sfqencodecodes an image,.IR imgfile ,using the space-frequency-quantization (SFQ) algorithm of Xiong.IR "et al" .The SFQ algorithm involves a 2D DWT followed by theidentification of zerotrees based on a rate-distortion criterion.The zerotree structure indicates which wavelet coefficients are "insignificant."Coding theseinsignificant coefficients costs more in bit ratethan the possible gain in distortion performance;consequently, these insignificant coefficients are set to zero.Uniform scalar quantization followed by arithmetic entropy codingis used to code all remaining significant coefficients..LPThe DWT is performed as described for.BR imgdwt (1).Option.B \-wspecifies the wavelet, option.B \-bspecifies the boundary extension, and option.B \-pwindicates whether perceptual weighting is to be used.See .BR imgdwt (1)for more details..LPThe SFQ algorithm operates using a Lagrangian cost formulationof the form.I "J = D + lambda * R"where .I Dis distortion,.I Ris rate,and.I lambdais the Lagrangian rate-distortion parameter given bythe.B \-loption..I lambda determines the balance between rate and distortion in thealgorithm: large values of.I lambdaemphasize reduction of bit rate over distortion; small values of.I lambdaproduce codings with lower distortion but at a consequently higher rate.Varying.I lambdafrom 0 to infinity will trace out the rate-distortion performance curveof the SFQ algorithm for a particular input image and for aparticular scalar-quantizer stepsize; a single.I lambdathus specifies an operating point on this rate-distortion curve..LPThe performance of the SFQ algorithm depends not only on .I lambdabut also on the chosen scalar-quantizer stepsizes.The option.B \-hpqspecifies the scalar-quantizer stepsize to be used in the codingof the highpass subbands; the baseband, coded independently from thehighpass subbands, uses the stepsize given by the.B \-bbqoption.If a highpass stepsize is not specified (i.e., no.B \-hpqoption given), .B sfqencodedetermines an "optimal" stepsize by searching ina set of 245 stepsizes between 7.6 and 32.The optimal stepsize is the one in the set found tominimize the rate-distortion cost criterion.I J(see above).Note: this search process essentially implies coding the highpasssubbands 245 times andchoosing the best coding; it is consequently quite slow.A similar search is performed for the baseband stepsize in thecase that the.B \-bbqoption is not given..LP.B sfqencodenormally prints to stdout a small amount of informationconcerning the encoding being performed, most notably the bit rate,expressed in bits per pixel,achieved by the program. If the .B \-vo(value-only) option is given, this printed output is suppressed except forthe bit rate..LPNote: the original presentation of SFQ given by Xiong .IR "et al" .describes a method for predicting portions of the zerotree forhigh-frequency subbands based on the zerotree forlower-frequency subbands..BR sfqencode ,as currently implemented, does not perform this zerotree prediction..LPNote: the original presentation of SFQ given by Xiong.IR "et al" .does not include perceptual weighting as allowed by.B sfqencode(the .B \-pwoption). Refer to.BR imgdwt (1)and.BR QccWAVPerceptualWeights (3)for details on the implementation of perceptual weighting..LPNote:.BR sfqencodecurrently achieves rate-distortion performance slightly below that reportedby Xiong.IR "et al" .For instance, when coding the "Barbara" image at 0.5 bits/pixel, .B sfqencode achieves a PSNR about 1dB below the reported figure.The reasons for this performance gap are currently being investigated,although it is probably due in part to the lack of tree predictionas described above..SH "SEE ALSO".BR imgdwt (1),.BR QccWAVPerceptualWeights (3),.BR QccWAVSubbandPyramid (3),.BR QccPackWAV (3),.BR QccPackIMG (3),.BR QccPack (3)Z. Xiong, K. Ramchandran, and M. T. Orchard,"Space-Frequency Quantization for Wavelet Image Coding,".IR "IEEE Transactions on Image Processing" ,vol. 6, no. 5, pp. 677-693, May 1997..SH AUTHORCopyright (C) 1997-2009 James E. Fowler.\" The programs herein are free software; you can redistribute them and/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 + -