📄 gla.1
字号:
.TH GLA 1 "QCCPACK" "".SH NAMEgla \- train codebooks for vector quantization using the generalized Lloydalgorithm.SH SYNOPSIS.B gla.RB "[\|" \-i.IR initialcodebookfile "\|]".RB "[\|" \-s.IR codebooksize "\|]".RB "[\|" \-I .IR iterations "\|]".RB "[\|" \-t.IR threshold "\|]".I trainingfile.I codebookfile.SH DESCRIPTION.LP.B glaimplements the generalized Lloyd algorithmfor training codebooks to be used in vector quantization (see.BR vqencode (1)and.BR vqdecode (1))..I trainingfileis an input data file in DATformat which contains training vectors. .I codebookfileis the output file in CBKformat which contains the codewords which form the codebook. Initial codewords are chosen at random, unless .I initialcodebookfileis specified. The distortion measure which.B glaattempts to minimize is the squared error..SH OPTIONS.TP.BI \-i " initialcodebookfile"String. Initial codebook.Note: one (and only one) of .B \-i and .B \-smust be given. .TP.BI \-s " codebooksize"Integer. Number of codewords to create for random initial codebook.Note: one (and only one) of .B \-i and .B \-smust be given. .TP.BI \-I " iterations"Integer. Traininging stops after.I iterations iterationsof the generalized Lloyd algorithm through the training data.Note: one (and only one) of .B \-tand .B \-Imust be given. .TP .BI \-t " threshold"Float. Stop the training process when the average distortion changes by lessthan .I thresholdfrom one iteration to the next; that is, stop if(D(i-1) - D(i))/D(i) <.IR threshold ,where D(i) is the average distortion for the ith iteration and isaveraged over the entire training set. Note: one (and only one) of .B \-tand .B \-Imust be given. .SH "SEE ALSO".BR vqencode (1),.BR vqdecode (1),.BR QccPackVQ (3),.BR QccPack (3)A. Gersho and R. Gray, .IR "Vector Quantization and Signal Compression" .Norwell, MA: Kluwer Academic Publishers, 1992..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 + -