有限領域上の関数に作用するフーリエ変換(DFT、DCT、フーリエ級数など)は、暗黙のうちにその関数の領域外への拡張を定義していると考えることができます。つまり、関数を記述すると、正弦波の和として、任意の点でその和を評価できますたとえ元の was not specified. The DFT, like the Fourier series, implies a periodic extension of the original function. A DCT, like a cosine transform, implies an even extension of the original function.
Illustration of the implicit even/odd extensions of DCT input data, for N=11 data points (red dots), for the four most common types of DCT (types I-IV). Note the subtle differences at the interfaces between the data and the extensions: in DCT-II and DCT-IV both the end points are replicated in the extensions but not in DCT-I or DCT-III (and a zero point is inserted at the sign reversal extension in DCT-III).
However, because DCTs operate on finite, discrete sequences, two issues arise that do not apply for the continuous cosine transform. First, one has to specify whether the function is even or odd at both the left and right boundaries of the domain (i.e. the min-n and max-n boundaries in the definitions below, respectively). Second, one has to specify around what point the function is even or odd. In particular, consider a sequence abcd of four equally spaced data points, and say that we specify an even left boundary. There are two sensible possibilities: either the data are even about the sample a, in which case the even extension is dcbabcd, or the data are even about the point halfway between a and the previous point, in which case the even extension is dcbaabcd (a is repeated).
Each boundary can be either even or odd (2 choices per boundary) and can be symmetric about a data point or the point halfway between two data points (2 choices per boundary), for a total of 2 × 2 × 2 × 2 = 16 possibilities. These choices lead to all the standard variations of DCTs and also discrete sine transforms (DSTs). Half of these possibilities, those where the left boundary is even, correspond to the 8 types of DCT; the other half are the 8 types of DST.
これらの異なる境界条件は、変換の適用に大きな影響を与え、さまざまな DCT タイプに特有の有用な特性をもたらします。最も直接的な例として、スペクトル法を用いて偏微分方程式を解く際にフーリエ変換を用いる場合、境界条件は解くべき問題の一部として直接指定されます。また、MDCT (タイプ IV DCT に基づく) の場合、境界条件は、MDCT の重要な特性である時間領域エイリアシングの除去に深く関わっています。さらに微妙な形では、境界条件は、フーリエ級数のような級数の収束速度に影響を与えるため、DCT を画像や音声の圧縮に有用なものにするエネルギー圧縮特性の原因となっています。
特に、関数に不連続性があるとフーリエ級数の収束速度が低下し、所定の精度で関数を表現するにはより多くの正弦波が必要になることはよく知られています。同じ原理が、信号圧縮における DFT やその他の変換の有用性にも当てはまります。関数が滑らかであればあるほど、それを正確に表現するために必要な DFT または DCT の項が少なくなり、圧縮率が高くなります。[ a ]ただし、DFT の暗黙の周期性により、不連続性は通常境界で発生します。信号の任意のセグメントが左右の境界で同じ値を持つことはまずありません。[ b ]対照的に、両方の境界が偶数である DCT は常に境界で連続的な拡張が得られます (ただし、傾きは一般的に不連続です)。これが、DCT、特にタイプ I、II、V、および VI (2 つの偶数境界を持つタイプ) の DCT が、一般的に DFT や DST よりも信号圧縮において優れた性能を発揮する理由です。実際には、このような用途では、計算上の利便性などの理由から、通常、タイプII DCTが好まれる。
↑ Püschel, Markus; Moura, José MF (2008). "代数的信号処理理論: 1次元空間". IEEE Transactions on Signal Processing . 56 (8): 3586–3599 . doi : 10.1109/TSP.2008.925259 .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 Stanković, Radomir S.; Astola, Jaakko T. (2012). "Reminiscences of the Early Work in DCT: Interview with KR Rao" (PDF) . Reprints from the Early Days of Information Sciences . 60 . Tampere International Center for Signal Processing. ISBN978-952-15-2818-7ISSN 1456-2774。 2021年12月30日にオリジナルからアーカイブ(PDF)。2021年12月30日にETHW経由で取得。
↑ Roese, John A.; Robinson, Guner S. (1975 年 10 月 30 日). Tescher, Andrew G. (編). "デジタル画像シーケンスの空間的および時間的符号化の組み合わせ". Efficient Transmission of Pictorial Information . 0066 . International Society for Optics and Photonics: 172– 181. Bibcode : 1975SPIE...66..172R . doi : 10.1117/12.965361 . S2CID 62725808 .
↑ Cianci, Philip J. (2014). High Definition Television: The Creation, Development and Implementation of HDTV Technology . McFarland. p. 63. ISBN978-0-7864-8797-4。
1 2 3 Ghanbari, Mohammed ( 2003).標準コーデック:画像圧縮から高度なビデオコーディングまで。工学技術協会。pp. 1–2。ISBN978-0-85296-710-2。
↑李建平 (2006).ウェーブレットアクティブメディア技術と情報処理に関する国際コンピュータ会議2006議事録:中国重慶、2006年8月29日~31日. World Scientific . p. 847. ISBN978-981-270-999-8。
↑ Princen, John P.; Johnson, AW; Bradley, Alan B. (1987). "Subband/Transform coding using filter bank designs based on time domain aliasing cancellation". ICASSP '87. IEEE International Conference on Acoustics, Speech, and Signal Processing . Vol. 12. pp. 2161–2164 . doi : 10.1109/ICASSP.1987.1169405 . S2CID 58446992 .
↑ Princen, J.; Bradley, A. (1986). "時間領域エイリアシングキャンセルに基づく分析/合成フィルタバンク設計". IEEE Transactions on Acoustics, Speech, and Signal Processing . 34 (5): 1153– 1161. Bibcode : 1986ITASS..34.1153P . doi : 10.1109/TASSP.1986.1164954 .
1 2 Xiph.Org Foundation (2009-06-02). "Vorbis I 仕様 - 1.1.2 分類" . Xiph.Org Foundation . 2009-09-22に取得.
↑ Mandyam, Giridhar D. ; Ahmed, Nasir; Magotra, Neeraj (1995 年 4 月 17 日). Rodriguez, Arturo A.; Safranek, Robert J.; Delp, Edward J. (編). "DCT に基づくロスレス画像圧縮方式". Digital Video Compression: Algorithms and Technologies 1995 . 2419 . International Society for Optics and Photonics: 474– 478. Bibcode : 1995SPIE.2419..474M . doi : 10.1117/12.206386 . S2CID 13894279 .
↑小松和也、瀬崎薫(1998)「可逆離散コサイン変換」 . 1998年IEEE国際音響・音声・信号処理会議(ICASSP '98)論文集(カタログ番号98CH36181) . 第3巻. pp. 1769–1772 vol.3. doi : 10.1109/ICASSP.1998.681802 . ISBN0-7803-4428-6. S2CID 17045923 .
↑ Muchahary, D.; Mondal, AJ; Parmar, RS; Borah, AD; Majumder, A. (2015). "A Simplified Design Approach for Efficient Computation of DCT". 2015 Fifth International Conference on Communication Systems and Network Technologies . pp. 483–487 . doi : 10.1109/CSNT.2015.134 . ISBN978-1-4799-1797-6. S2CID 16411333 .
↑ Chen, Wai Kai (2004). The Electrical Engineering Handbook . Elsevier . p. 906. ISBN978-0-08-047748-0。
123Lee, Jack (2005). Scalable Continuous Media Streaming Systems: Architecture, Design, Analysis and Implementation. John Wiley & Sons. p.25. ISBN978-0-470-85764-9.
123Shishikui, Yoshiaki; Nakanishi, Hiroshi; Imaizumi, Hiroyuki (October 26–28, 1993). "An HDTV Coding Scheme using Adaptive-Dimension DCT". Signal Processing of HDTV. Elsevier. pp.611–618. doi:10.1016/B978-0-444-81844-7.50072-3. ISBN978-1-4832-9851-1.
12Ochoa-Dominguez, Humberto; Rao, K. R. (2019). Discrete Cosine Transform, Second Edition. CRC Press. pp.1–3, 129. ISBN978-1-351-39648-6.
12345Britanak, Vladimir; Rao, K. R. (2017). Cosine-/Sine-Modulated Filter Banks: General Properties, Fast Algorithms and Integer Approximations. Springer. p.478. ISBN978-3-319-61080-1.
12Jones, Graham A.; Layer, David H.; Osenkowsky, Thomas G. (2013). National Association of Broadcasters Engineering Handbook: NAB Engineering Handbook. Taylor & Francis. pp.558–9. ISBN978-1-136-03410-7.
123Hersent, Olivier; Petit, Jean-Pierre; Gurle, David (2005). Beyond VoIP Protocols: Understanding Voice Technology and Networking Techniques for IP Telephony. John Wiley & Sons. p.55. ISBN978-0-470-02363-1.
12345Dilger, Daniel Eran (June 8, 2010). "Inside iPhone 4: FaceTime video calling". AppleInsider. Retrieved June 9, 2010.
↑ベルタルミオ、マルセロ (2014)。映画用の画像処理。CRC を押します。 p. 95.ISBN978-1-4398-9928-1。
↑ Zhang, HongJiang (1998). "Content-Based Video Browsing And Retrieval" . In Furht, Borko (ed.). Handbook of Internet and Multimedia Systems and Applications . CRC Press . pp. 83–108 (89) . ISBN978-0-8493-1858-0。
↑ Yeo, B.; Liu, B. (1995年5月)、「DCTベースの圧縮3Dスカラーデータのボリュームレンダリング」、IEEE Transactions on Visualization and Computer Graphics、1 (1): 29–43、Bibcode : 1995ITVCG...1...29B、doi : 10.1109/2945.468390
↑ Chan, SC; Liu, W.; Ho, KI (2000). "Perfect reconstruction modulated filter banks with sum of powers-of-two coefficients". 2000 IEEE International Symposium on Circuits and Systems. Emerging Technologies for the 21st Century. Proceedings (IEEE Cat No.00CH36353) . Vol. 2. pp. 73–76 . doi : 10.1109/ISCAS.2000.856261 . hdl : 10722/46174 . ISBN0-7803-5482-6. S2CID 1757438 .
↑ Queiroz, RL; Nguyen, TQ (1996). "効率的な変換/サブバンド符号化のためのラップ変換". IEEE Trans. Signal Process . 44 (5): 497–507 .
↑ Chan, SC; Ho, KL (1990). "離散正弦波変換を計算するための直接法". IEE Proceedings F - Radar and Signal Processing . 137 (6): 433. doi : 10.1049/ip-f-2.1990.0063 .
1 2 Alshibami, O.; Boussakta, S. (2001年7月). 「3次元DCT-IIIのための3次元アルゴリズム」.第6回国際シンポジウム「コミュニケーション、理論、応用」論文集: 104–107 .
↑ Guoan Bi; Gang Li; Kai-Kuang Ma; Tan, TC (2000). "2次元DCTの計算について". IEEE Transactions on Signal Processing . 48 (4): 1171– 1183. Bibcode : 2000ITSP...48.1171B . doi : 10.1109/78.827550 .
↑ Feig, E.; Winograd, S. (1992年7月a). 「離散コサイン変換の乗法複雑性について」. IEEE Transactions on Information Theory . 38 (4): 1387–1391 . Bibcode : 1992ITIT...38.1387F . doi : 10.1109/18.144722 .
↑ Shao, Xuancheng; Johnson, Steven G. (2008). "算術演算回数を削減したタイプII/III DCT/DSTアルゴリズム". Signal Processing . 88 (6): 1553– 1564. arXiv : cs/0703150 . Bibcode : 2008SigPr..88.1553S . doi : 10.1016/j.sigpro.2008.01.004 . S2CID 986733 .
さらに読む
Narasimha, M.; Peterson, A. (1978年6月). 「離散コサイン変換の計算について」. IEEE Transactions on Communications . 26 (6): 934–936 . Bibcode : 1978ITCom..26..934N . doi : 10.1109/TCOM.1978.1094144 .
Makhoul, J. (1980年2月). 「1次元および2次元における高速コサイン変換」. IEEE Transactions on Acoustics, Speech, and Signal Processing . 28 (1): 27–34 . Bibcode : 1980ITASS..28...27M . doi : 10.1109/TASSP.1980.1163351 .
Sorensen, H.; Jones, D.; Heideman, M.; Burrus, C. (1987年6月). "実数値高速フーリエ変換アルゴリズム". IEEE Transactions on Acoustics, Speech, and Signal Processing . 35 (6): 849– 863. Bibcode : 1987ITASS..35..849S . CiteSeerX 10.1.1.205.4523 . doi : 10.1109/TASSP.1987.1165220 .
Plonka, G. ; Tasche, M. (2005年1月). 「離散コサイン変換のための高速かつ数値的に安定したアルゴリズム」 .線形代数とその応用. 394 (1): 309– 345. doi : 10.1016/j.laa.2004.07.015 .
Martucci, SA (1994 年 5 月)「対称畳み込みと離散正弦変換および余弦変換」IEEE Transactions on Signal Processing . 42 (5): 1038–1051 . Bibcode : 1994ITSP...42.1038M . doi : 10.1109 /78.295213 .
Oppenheim, Alan; Schafer, Ronald; Buck, John (1999), Discrete-Time Signal Processing (第 2版), Upper Saddle River, NJ: Prentice Hall, ISBN978-0-13-754920-7
Frigo, M.; Johnson, S. G. (February 2005). "The Design and Implementation of FFTW3"(PDF). Proceedings of the IEEE. 93 (2): 216–231. Bibcode:2005IEEEP..93..216F. CiteSeerX10.1.1.66.3097. doi:10.1109/JPROC.2004.840301. S2CID6644892.
Boussakta, Said.; Alshibami, Hamoud O. (April 2004). "Fast Algorithm for the 3-D DCT-II"(PDF). IEEE Transactions on Signal Processing. 52 (4): 992–1000. Bibcode:2004ITSP...52..992B. doi:10.1109/TSP.2004.823472. S2CID3385296.
Cheng, L. Z.; Zeng, Y. H. (2003). "New fast algorithm for multidimensional type-IV DCT". IEEE Transactions on Signal Processing. 51 (1): 213–220. doi:10.1109/TSP.2002.806558.
Wen-Hsiung Chen; Smith, C.; Fralick, S. (September 1977). "A Fast Computational Algorithm for the Discrete Cosine Transform". IEEE Transactions on Communications. 25 (9): 1004–1009. Bibcode:1977ITCom..25.1004W. doi:10.1109/TCOM.1977.1093941.
Press, WH; Teukolsky, SA; Vetterling, WT; Flannery, BP (2007), "Section 12.4.2. Cosine Transform", Numerical Recipes: The Art of Scientific Computing (3rded.), New York: Cambridge University Press, ISBN978-0-521-88068-8, archived from the original on 2011-08-11, retrieved 2011-08-13
External links
Syed Ali Khayam: The Discrete Cosine Transform (DCT): Theory and Application
Implementation of MPEG integer approximation of 8x8 IDCT (ISO/IEC 23002-2)
Matteo Frigo and Steven G. Johnson: FFTW, FFTW Home Page. A free (GPL) C library that can compute fast DCTs (types I-IV) in one or more dimensions, of arbitrary size.
Takuya Ooura: General Purpose FFT Package, FFT Package 1-dim / 2-dim. Free C & FORTRAN libraries for computing fast DCTs (types II–III) in one, two or three dimensions, power of 2 sizes.
Tim Kientzle: Fast algorithms for computing the 8-point DCT and IDCT, Algorithm Alley.