📄 qcchyprklt.3
字号:
.TH QCCHYPRKLT 3 "QCCPACK" "".SH NAMEQccHYPrklt \- data structure.B QccHYPrkltspectral reversible KLT transform.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccHYPrkltInitialize(QccHYPrklt *" rklt );.br.BI "int QccHYPrkltAlloc(QccHYPrklt *" rklt );.br.BI "void QccHYPrkltFree(QccHYPrklt *" rklt );.SH DESCRIPTIONQccPack provides data structure.B QccHYPrkltfor representing a reversible KLT transform..LPThe components of a.B QccHYPrkltstructure are a vector representing the dataset mean anda matrix representing the transform itself, as determinedby a singular value decomposition of the dataset's covariancematrix..SH "DATA STRUCTURE"The.B QccHYPrkltdata structure is defined as:.RS.nftypedef struct{ int num_bands; QccVectorInt mean; QccMatrix matrix; QccMatrix P; QccMatrix L; QccMatrix U; QccMatrix S; int factored;} QccHYPrklt;.fi.RE.LPThe fields of.B QccHYPrkltare as follows:.TP.IR num_bandsThe number of spectral bands the reversible KLT is designed for..TP.IR meanThe mean vector (length =.IR num_bands )..TP.IR matrixThe transform matrix (size = .IR num_bands " x " num_bands ).This is the original KLT matrix as trained on the data.TP.IR P ", " L ", " U ", " SThese matrices are the KLT matrix factored intoreversible lifting steps..TP.IR factoredIndicates whether.I matrixhas be factored into.IR P ", " L ", " U ", " S.SH "ROUTINES".B QccHYPrkltInitialize()should be called before any use of a.B QccHYPrkltstructure..B QccHYPrkltInitialize()initializes the fields of.I rkltto the following values:.RS.IR num_bands :0.br.IR mean :.B NULL.br.IR matrix :.B NULL.br.IR P :.B NULL.br.IR L :.B NULL.br.IR U :.B NULL.br.IR S :.B NULL.br.RE.LP.B QccHYPrkltAlloc()allocates the.IR mean ,.IR matrix ,.IR P ,.IR L ,.IR U ,and.IR Sfields of the reversible KLT..IR num_bandsmust be set prior to calling.BR QccHYPrkltAlloc() ..LP.B QccHYPrkltFree()frees the .IR mean ,.IR matrix ,.IR P ,.IR L ,.IR U ,and.IR Sfields of.IR rklt ..SH "THEORY"The Karhunen-Lo鑦e transform (KLT) is a data-dependent lineartransform that is optimal in the sense that itpacks the most signal energy into a given number oftransform coefficients.The usual KLT is an irreversible transform.A reversible KLT, on the other hand,maps integers to integers. Such a reversible integerKLT was proposed Hao and Shi (2003) based on reversible matrixfactorizations originating with Hao and Shi (2001)..LPIn Hao and Shi (2001), a square transform matrix.IR Awith determinant equal to +1 or -1 is factored as.IR A " = " P * L * U * Swhere.IR Land.IR Sare lower triangular,.IR Uis upper triangular,and.IR Pis a reversible permutation matrix. Implementing the.IR Utransform using upper-triangular lifting steps and the.IR Land.IR Stransforms usingcorresponding lower-triangular counterparts results in areversible calculation of.IR A .Since the KLT is an orthonormaltransform (i.e., its determinant is 1), this factorization was usedin Hao and Shi (2003) to obtain a reversibleinteger transform that approximatesthe KLT. Here, we employ the variant using quasi-completepivoting proposed by Galli and Salzo..SH "RETURN VALUE"These routines return 0 on success, and 1 on failure..SH "SEE ALSO".BR QccHYPrkltTrain (3),.BR QccHYPrkltTransform (3),.BR QccHYPrkltInverseTransform (3),.BR QccIMGImageCube (3),.BR QccPackHYP (3),.BR QccPackIMG (3),.BR QccPack (3)P. Hao and Q. Shi, "Matrix factorization for reversible integer mapping,".IR "IEEE Transactions on Signal Processing" ,vol. 49, no. 10, pp. 2314-2324, October 2001.P. Hao and Q. Shi,"Reversible integer KLT for progressive-to-lossless compressionof multiple component images," in.IR "Proceedings of the International Conference on Image Processing" ,vol. 1, Barcelona, Spain, September 2003, pp. 633-636.L. Galli and S. Salzo, "Lossless hyperspectral compression using KLT,"in.IR "Proceedings of the International Geoscience and Remote Sensing Symposium" ,vol. 1, Anchorage, AK, September 2004, pp. 313-316..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 + -