JP2009156971A - Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program and recording medium - Google Patents

Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program and recording medium Download PDF

Info

Publication number
JP2009156971A
JP2009156971A JP2007332849A JP2007332849A JP2009156971A JP 2009156971 A JP2009156971 A JP 2009156971A JP 2007332849 A JP2007332849 A JP 2007332849A JP 2007332849 A JP2007332849 A JP 2007332849A JP 2009156971 A JP2009156971 A JP 2009156971A
Authority
JP
Japan
Prior art keywords
signal sequence
signal
integer
interval
digit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2007332849A
Other languages
Japanese (ja)
Other versions
JP4964114B2 (en
Inventor
Takehiro Moriya
健弘 守谷
Noboru Harada
登 原田
Masaru Kamamoto
優 鎌本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2007332849A priority Critical patent/JP4964114B2/en
Publication of JP2009156971A publication Critical patent/JP2009156971A/en
Application granted granted Critical
Publication of JP4964114B2 publication Critical patent/JP4964114B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce a coding amount by attaining a high encoding efficiency for a signal sequence. <P>SOLUTION: The encoding device of the invention includes at least a signal extraction section and a separation signal sequence generation section. A signal extraction section collects (P+n×T)-th signals from input signal sequence Z at an initial phase P and an interval T. The separation signal sequence generation section obtains a maximum digit A in the (P+n×T)-th signals in the signal sequence Z, and generates a sequence (a separation signal sequence X) of a signal composed of the digits of the maximum digit A or less of the (P+n×T)-th signals in the signal sequence Z. The decoding device of the invention receives at least the initial phase P, the interval T, the maximum digit A and the separation signal sequence X and includes at least a restoration section. The restoration section restores each signal of the separation signal sequence X to the (P+n×T)-th signals in the signal sequence Z to be decoded by using the maximum digit A. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、信号列の符号化方法、復号化方法、これらの方法を用いた装置、プログラム、記録媒体に関する。   The present invention relates to a signal sequence encoding method, decoding method, apparatus using these methods, a program, and a recording medium.

音声、画像などの情報を圧縮する方法として歪の無い可逆の符号化が知られている。また、波形をそのまま線形PCM信号として記録した場合には各種の圧縮符号化が考案されている(非特許文献1)。   As a method for compressing information such as sound and image, lossless encoding without distortion is known. In addition, when a waveform is recorded as a linear PCM signal as it is, various compression encodings have been devised (Non-Patent Document 1).

一方、電話の長距離伝送やVoIP用の音声伝送には、振幅をそのままの数値とする線形PCMではなく、振幅を対数に近似させた対数近似圧伸PCM(非特許文献2)などが使われている。また、代表的な対数近似圧伸PCM(非特許文献2)であるG.711の符号を、線形な数値(unsigned 8bit value)にマッピングして符号化する技術もある(非特許文献3)。さらに、音量が小さいときに、上位の桁の数値の多くが“0”となることを利用して符号量を削減する技術もある(特許文献1)。特許文献1では、フレームごとに絶対値の最大値を求め、最大値よりも大きい桁を省略し、有効な桁だけを符号化している。
Mat Hans, “Lossless Compression of Digital Audio”, IEEE SIGNAL PROCESSING MAGAZINE, July 2001, pp.21-32. ITU-T Recommendation G.711, “Pulse Code Modulation (PCM) of Voice Frequencies”. Florin Ghido, and Ioan Tabus, “ACCOUNTING FOR COMPANDING NONLINEARITIES IN LOSSLESS AUDIO COMPRESSION”, in ICASSP 2007 Proceedings, pp.I-261-I-264 IEEE, 2007. 特開2003−332914号公報
On the other hand, for long-distance transmission of telephones and voice transmission for VoIP, logarithmic approximate companding PCM (Non-patent Document 2) in which the amplitude is approximated to a logarithm is used instead of the linear PCM with the amplitude as it is. ing. In addition, G. is a typical logarithmic approximate companding PCM (Non-patent Document 2). There is also a technique for mapping the code of 711 to a linear numerical value (unsigned 8-bit value) (Non-Patent Document 3). Furthermore, there is a technique for reducing the code amount by utilizing the fact that many of the upper digits are “0” when the volume is low (Patent Document 1). In Patent Document 1, the maximum absolute value is obtained for each frame, digits larger than the maximum value are omitted, and only valid digits are encoded.
Mat Hans, “Lossless Compression of Digital Audio”, IEEE SIGNAL PROCESSING MAGAZINE, July 2001, pp.21-32. ITU-T Recommendation G.711, “Pulse Code Modulation (PCM) of Voice Frequencies”. Florin Ghido, and Ioan Tabus, “ACCOUNTING FOR COMPANDING NONLINEARITIES IN LOSSLESS AUDIO COMPRESSION”, in ICASSP 2007 Proceedings, pp.I-261-I-264 IEEE, 2007. JP 2003-332914 A

一般の電話に代わってVoIPシステムが普及してくると、VoIP用の音声伝送のために求められる伝送容量は増大する。たとえば、非特許文献2のITU−T G.711の場合であれば、1回線に対して64kbit/s×2の伝送容量が必要だが、回線数が増えれば求められる伝送容量も増大する。したがって、対数近似圧伸PCMなどの圧伸された信号列を圧縮符号化する技術(符号量を低減できる技術)が求められる。圧伸とは、元の信号の大小関係(大きさ)を番号系列で示すことを意味している。元の信号の大小関係(大きさ)を示す番号系列とは、大小関係を維持したまま、あるいは大小関係を反転して、均等間隔に付された数である。また、元の信号の大小関係(大きさ)を示す番号系列には、1つの元の信号の大きさ(例えば“0”)に対して2つの異なる番号を付与する場合も含まれる。図1は、第2信号列の振幅の例を示す図である。横軸は線形PCMの場合の値であり、縦軸は対数近似圧伸PCMの場合の対応する値である。図2は、8ビットのμ則の具体的な形式を示す図である。正負を示す1ビット(極性)、指数(傾き)を示す3ビット(指数部)、線形符号での増分を示す4ビット(線形部)から構成されている。この形式の対数近似圧伸PCMの場合、−127から127までの数値を表現できる。これは、線形PCMの−8158から8158までに相当する(図1)。なお、本明細書内で用いる「信号」とは、例えば図2に示されたような「ビット列」を意味しており、「信号列」とはこのような信号が複数個並んだ系列(例えば、160個の信号が並んだ系列)を指す。また、信号(ビット列)を構成する各ビットの中で、信号の振幅の絶対値を表現するビット数を「桁」で表現する。図2の例では、ビット番号8(Bit number 8)が1桁目であり、ビット番号2が最大の桁(7桁目)である。ビット番号1は、極性を表すビットなので、桁を考える上では考慮しない。   When a VoIP system becomes widespread instead of a general telephone, the transmission capacity required for voice transmission for VoIP increases. For example, ITU-T G. In the case of 711, a transmission capacity of 64 kbit / s × 2 is required for one line, but the required transmission capacity increases as the number of lines increases. Accordingly, there is a need for a technique (a technique that can reduce the amount of code) that compresses and encodes a stretched signal sequence such as logarithmic approximate companding PCM. The companding means that the magnitude relationship (magnitude) of the original signal is indicated by a number series. The number series indicating the magnitude relation (magnitude) of the original signal is a number given at equal intervals while maintaining the magnitude relation or inverting the magnitude relation. In addition, the number series indicating the magnitude relationship (magnitude) of the original signal includes a case where two different numbers are assigned to the magnitude (eg, “0”) of one original signal. FIG. 1 is a diagram illustrating an example of the amplitude of the second signal sequence. The horizontal axis is a value in the case of linear PCM, and the vertical axis is a corresponding value in the case of logarithmic approximate companding PCM. FIG. 2 is a diagram showing a specific form of the 8-bit μ-rule. It consists of 1 bit (polarity) indicating positive / negative, 3 bits (exponent part) indicating exponent (slope), and 4 bits (linear part) indicating increment in a linear code. In the case of this type of logarithmic approximate companding PCM, numerical values from −127 to 127 can be expressed. This corresponds to linear PCM from -8158 to 8158 (FIG. 1). The “signal” used in the present specification means, for example, a “bit string” as shown in FIG. 2, and the “signal string” is a series of a plurality of such signals (for example, , A series of 160 signals). In each bit constituting the signal (bit string), the number of bits expressing the absolute value of the amplitude of the signal is expressed by “digit”. In the example of FIG. 2, bit number 8 is the first digit, and bit number 2 is the largest digit (seventh digit). Since bit number 1 is a bit representing polarity, it is not considered when considering digits.

そこで、G.711などの圧伸された信号列を、可逆圧縮することが考えられる。しかし、圧伸された信号列を、単純に可逆圧縮しても圧縮効率が十分高いとは言えない。また、特許文献1の方法は、音量がある程度小さいときにのみ符号量を削減でき、一般的に適用できる訳ではない。   Therefore, G. It is conceivable to perform lossless compression on the expanded signal sequence such as 711. However, it cannot be said that the compression efficiency is sufficiently high even if the compressed signal train is simply reversibly compressed. Further, the method of Patent Document 1 can reduce the code amount only when the sound volume is low to some extent, and is not generally applicable.

本発明は、このような状況に鑑みてなされたものであり、信号列に対して高い符号化効率を実現し、符号量を削減することを目的とする。また、特に圧伸された信号列に対して、有効に符号量を削減することを目的とする。   The present invention has been made in view of such a situation, and an object of the present invention is to realize high coding efficiency and reduce the amount of codes for a signal sequence. It is another object of the present invention to effectively reduce the amount of codes, particularly for a signal train that has been companded.

本発明の符号化装置は、少なくとも信号抽出部と分離信号列生成部とを備える。信号抽出部は、初期位相P(ただし、Pは0以上の整数)と間隔T(ただし、Tは2以上の整数)で、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集める。分離信号列生成部は、信号列Zの(P+n×T)番目の信号の中の最大桁Aを求める。そして、信号列Zの(P+n×T)番目の信号の最大桁A以下の桁からなる信号の系列(分離信号列X)を生成する。また、本発明の復号化装置は、少なくとも初期位相P(ただし、Pは0以上の整数)と間隔T(ただし、Tは2以上の整数)と最大桁Aと分離信号列Xを入力とし、少なくとも復元部を具備する。復元部は、分離信号列Xの各信号を、最大桁Aを用いて復号したい信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)に復元する。なお、上述の符号化装置、復号化装置では、少なくとも1つの分離信号列Xを生成するために必要な構成のみを限定し、その他の構成については限定していない。   The encoding device of the present invention includes at least a signal extraction unit and a separated signal sequence generation unit. The signal extraction unit has an initial phase P (where P is an integer greater than or equal to 0) and an interval T (where T is an integer greater than or equal to 2), and the (P + n × T) th signal (where , N is an integer greater than or equal to 0 and P + n × T is smaller than the number of signals in the signal sequence Z). The separated signal sequence generation unit obtains the maximum digit A in the (P + n × T) th signal of the signal sequence Z. Then, a signal sequence (separated signal sequence X) composed of digits equal to or less than the maximum digit A of the (P + n × T) -th signal in the signal sequence Z is generated. The decoding apparatus of the present invention receives at least the initial phase P (where P is an integer greater than or equal to 0), the interval T (where T is an integer greater than or equal to 2), the maximum digit A, and the separated signal sequence X, At least a restoration unit is provided. The restoration unit (P + n × T) -th signal of the signal sequence Z to be decoded using the maximum digit A for each signal of the separated signal sequence X (where n is 0 or more and P + n × T is a signal sequence) To an integer smaller than the number of Z signals). In the above-described encoding device and decoding device, only the configuration necessary for generating at least one separated signal sequence X is limited, and the other configurations are not limited.

1つ以上の分離信号列を生成することや対象とならなかった信号(残った信号)の取り扱いも含めて限定した符号化装置、復号化装置としては、以下のものがある。符号化装置は、同じように信号抽出部と分離信号列生成部を備えればよい。信号抽出部は、M組(ただし、Mは1以上の整数)の初期位相P(ただし、mは1からMの整数)と間隔Tの組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集める。また、信号列Zからすべての(P+n×T)番目の信号を削除した残余信号列Yを生成する。分離信号列生成部は、初期位相Pと間隔Tの組み合わせごとに、前記信号列Zの(P+n×T)番目の信号の中の最大桁Aを求める。そして、信号列Zの(P+n×T)番目の信号の最大桁A以下の桁からなる信号の系列(分離信号列X)を生成する。復号化装置は、残余信号列Yと、M組の初期位相Pと間隔Tと最大桁Aと分離信号列Xを入力とし、信号列Zを復号化する。復号化装置は、復元部と挿入部とを備える。復元部は、分離信号列Xを、最大桁Aを用いて前記信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)に復元する。挿入部は、復元された信号を、信号列Zの(P+n×T)番目の信号となるように、残余信号列Yに挿入し、信号列Zを求める。 Examples of the encoding device and decoding device that are limited to include generation of one or more separated signal sequences and handling of signals that are not targeted (remaining signals) include the following. Similarly, the encoding device may include a signal extraction unit and a separated signal sequence generation unit. For each combination of M phases (where M is an integer of 1 or more) initial phase P m (where m is an integer from 1 to M) and interval T m , the signal extraction unit ( P m + n × T m ) th signal (where n is 0 or more and P m + n × T m is an integer smaller than the number of signals in the signal sequence Z). Further, a residual signal sequence Y is generated by deleting all (P m + n × T m ) th signals from the signal sequence Z. Separation signal string generating unit, for each combination of initial phase P m and intervals T m, obtains the most significant A m in the (P m + n × T m ) th signal of the signal sequence Z. Then, to produce a (P m + n × T m ) th most significant A m consisting of the following digit signal sequence of the signal (separated signal sequence X m) of the signal sequence Z. The decoding apparatus receives the residual signal sequence Y, M sets of initial phases P m , interval T m , maximum digit Am, and separated signal sequence X m , and decodes the signal sequence Z. The decoding device includes a restoration unit and an insertion unit. Recovery unit, a separation signal sequence X m, the most significant with A m of the signal sequence Z (P m + n × T m) th signal (where, n is an 0 or more, P m + n × T m is an integer smaller than the number of signals in the signal sequence Z). The inserting unit inserts the restored signal into the residual signal sequence Y so as to be the (P m + n × T m ) th signal of the signal sequence Z, and obtains the signal sequence Z.

なお、初期位相Pと間隔Tの組み合わせは、あらかじめ定めておいても良い。また、あらかじめ定めた何種類かの中から符号化効率が良いと推定される組み合わせを選択しても良い。あるいは、入力された信号列Zを分析することで、初期位相Pと間隔Tの組み合わせを求めても良い。 Note that the combination of the initial phase P m and the interval T m may be determined in advance. Moreover, you may select the combination estimated that encoding efficiency is good from several types defined beforehand. Alternatively, a combination of the initial phase P m and the interval T m may be obtained by analyzing the input signal sequence Z.

また、初期位相Pと間隔Tの組み合わせによって、信号列Z中の最大桁を含む信号をすべて抽出してしまい、信号列Z中の最大桁よりも桁の小さい信号を残しても良い。この場合は、残余信号列Yを最大桁A以下の桁からなる信号の系列とすれば良い。 Further, all the signals including the maximum digit in the signal sequence Z may be extracted by the combination of the initial phase P m and the interval T m , and a signal having a digit smaller than the maximum digit in the signal sequence Z may be left. In this case, the residual signal sequence Y may be a signal sequence composed of digits of the maximum digit A or less.

本発明の符号化装置と復号化装置によれば、最大桁が小さい信号を集め、有効な桁(最大桁以下の桁)のみからなる信号の系列を作る。つまり、有効桁より大きい桁(ビット)を削除できるので、符号量を削減できる。   According to the encoding device and the decoding device of the present invention, signals having a small maximum digit are collected, and a signal sequence including only valid digits (digits less than the maximum digit) is created. That is, since a digit (bit) larger than an effective digit can be deleted, the code amount can be reduced.

まず、図3と図4を用いて、本発明の原理を説明する。図3は本発明の原理のイメージを示す図であり、図4は本発明によって生成される符号のイメージである。図3の中の丸は各信号を意味しており、黒丸の信号は、信号列Zと同じ形式の信号であり、白丸はその信号列に属する信号の最大桁以下の桁のみからなる信号である。   First, the principle of the present invention will be described with reference to FIGS. FIG. 3 is a diagram showing an image of the principle of the present invention, and FIG. 4 is an image of a code generated by the present invention. The circles in FIG. 3 mean each signal, the black circle signal is a signal of the same format as the signal sequence Z, and the white circle is a signal consisting only of digits less than the maximum digit of the signal belonging to the signal sequence. is there.

図3(A)は、信号列Zから、初期位相1、間隔4で信号を集めた例である。分離信号列Xは、集められた信号の中の最大桁以下の桁のみからなる信号を並べた信号列である。また、残余信号列Yは、信号列Zから分離信号列Xを取り除いた残りの信号列である。図3(B)は、信号列Zから、{初期位相、間隔}の組み合わせとして、{2,3}と{1,6}をそれぞれ集めた場合である。分離信号列Xは、初期位相2、間隔3で集められた信号の中の最大桁数以下の桁のみからなる信号を並べた信号列である。分離信号列Xは、初期位相1、間隔6で集められた信号の中の最大桁数以下の桁のみからなる信号を並べた信号列である。残余信号列Yは、信号列Zから分離信号列Xと分離信号列Xを取り除いた残りの信号列である。 FIG. 3A shows an example in which signals are collected from the signal sequence Z at an initial phase 1 and an interval 4. The separated signal sequence X is a signal sequence in which signals composed of only digits less than the maximum digit in the collected signals are arranged. The residual signal sequence Y is a remaining signal sequence obtained by removing the separated signal sequence X from the signal sequence Z. FIG. 3B shows a case where {2, 3} and {1, 6} are collected from the signal sequence Z as combinations of {initial phase, interval}, respectively. The separated signal string X 1 is a signal string in which signals composed of only digits less than the maximum number of the signals collected at the initial phase 2 and the interval 3 are arranged. Separation signal sequence X 2 are initial phases 1, a signal sequence arranged the maximum number of digits signal consisting only of digits in the collected signal at intervals 6. Residual signal sequence Y is the remainder of the signal sequence removed separation signal sequence X 1 and the separation signal sequence X 2 from the signal sequence Z.

分離信号列を元の信号列に復元するためには、分離の有無、分離された信号列の個数、及び、分離された信号列ごとの初期位相、間隔、最大桁、分離された信号列の符号が必要である。なお、分離された信号列の個数が0の場合に分離がないことにすれば、分離の有無の信号は省略できる。これらの情報を、図4のように可変長符号化すればよい。   In order to restore the separated signal string to the original signal string, the presence / absence of separation, the number of separated signal strings, the initial phase for each separated signal string, the interval, the maximum digit, and the separated signal string A sign is required. If there is no separation when the number of separated signal sequences is 0, the signal indicating the presence or absence of separation can be omitted. These pieces of information may be variable length encoded as shown in FIG.

本発明の原理であれば、最大桁が小さい信号を周期的に集め、有効な桁(最大桁以下の桁)のみからなる信号の系列(分離信号列)を作る。つまり、有効桁より大きい桁(ビット)を削除できるので、符号量を削減できる。具体的には、分離信号列を復元するために必要な補助情報(初期位相と間隔と最大桁)の符号量よりも多くの符号量を削減できれば、全体の符号量を削減できる。   According to the principle of the present invention, signals having a small maximum digit are periodically collected, and a signal sequence (separated signal sequence) consisting only of valid digits (digits below the maximum digit) is created. That is, since a digit (bit) larger than an effective digit can be deleted, the code amount can be reduced. Specifically, if the amount of codes larger than the amount of codes of auxiliary information (initial phase, interval, and maximum digit) necessary for restoring the separated signal sequence can be reduced, the overall code amount can be reduced.

例えば、160サンプル(1フレーム)からなる信号列Zを間隔4で分離した場合、分離信号列Xの信号の数は40である。この分離信号列内の信号の最大桁が、信号全部の最大桁よりも1桁小さい場合、40ビットの節約となる。一方、初期位相、間隔、最大桁の情報のために8ビットが必要だとすると、差し引き32ビットを削減できる。このように、分離信号列を構成する信号を分析することで、符号量削減の効果が得られるかの判断もできる。   For example, when a signal sequence Z consisting of 160 samples (one frame) is separated at an interval of 4, the number of signals in the separated signal sequence X is 40. When the maximum digit of the signal in this separated signal sequence is one digit smaller than the maximum digit of all signals, 40 bits are saved. On the other hand, if 8 bits are required for the initial phase, interval, and maximum digit information, the subtraction of 32 bits can be reduced. In this way, it is possible to determine whether the effect of reducing the code amount can be obtained by analyzing the signals constituting the separated signal sequence.

また、符号量削減の効果が得られるか否かの推定の方法として、以下のような方法もある。フレーム内の信号で、最大桁の位置に“1”(ビットが反転されている符号の場合は“0”)が何個あるかを調べ、閾値(例えば10%)以下であれば、分離信号列Xを生成することで効果が得られると推定し、閾値より大きければ効果が得られないと推定する。   Further, as a method for estimating whether or not the effect of code amount reduction can be obtained, there is the following method. In the signal in the frame, the number of “1” (“0” in the case of a code with an inverted bit) is checked in the maximum digit position. It is estimated that an effect can be obtained by generating the column X, and if it is larger than the threshold value, it is estimated that the effect cannot be obtained.

以下に具体的な実施形態を示す。なお、以下では、説明の重複を避けるため同じ機能を有する構成部や同じ処理を行う処理ステップには同一の番号を付与し、説明を省略する。   Specific embodiments are shown below. In the following description, components having the same function and process steps for performing the same process are assigned the same number to avoid duplication of description, and description thereof is omitted.

[第1実施形態]
図5に第1実施形態の符号化装置の機能構成例を、図6に第1実施形態の符号化装置の処理フロー例を示す。符号化装置100は、信号抽出部110と分離信号列生成部120,…,120を備える。信号抽出部110は、あらかじめ決めておいたM組(ただし、Mは1以上の整数)の初期位相P(ただし、Pは0以上の整数、mは1からMの整数)と間隔T(ただし、Tは2以上の整数)の組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集めて出力する。また、信号列Zからすべての(P+n×T)番目の信号を削除した残余信号列Yを生成する(S110)。分離信号列生成部120は、信号列Zの(P+n×T)番目の信号の中の最大桁Aを求める。そして、信号列Zの(P+n×T)番目の信号の最大桁A以下の桁からなる信号の系列(分離信号列X)を生成する(S120)。符号化装置100は、分離信号列Xの数Mと、残余信号列Yと、前記分離信号列Xごとの初期位相Pと間隔Tと最大桁Aと各分離信号列Xを出力すればよい。具体的な初期位相Pと間隔Tの組み合わせとしては、例えば、{P,T}={0,4}、{1,4}、{2,4}、{3,4}のように間隔Tを固定した4組(M=4)でもよい。あるいは、{P,T}={0,2}、{1,2}、{0,3}、{1,3}、{2,3}、{0,4}、{1,4}、{2,4}、{3,4}、{0,5}、{1,5}、{2,5}、{3,5}、{4,5}のように初期位相Pも間隔Tも変更した14組(M=14)でもよい。
[First Embodiment]
FIG. 5 shows an example of a functional configuration of the encoding apparatus according to the first embodiment, and FIG. 6 shows an example of a processing flow of the encoding apparatus according to the first embodiment. Encoding apparatus 100 includes a signal extraction unit 110 separates the signal sequence generation unit 120 1, ..., and a 120 M. The signal extraction unit 110 has predetermined M sets (where M is an integer of 1 or more) of initial phases P m (where P is an integer of 0 or more, m is an integer from 1 to M) and an interval T m. For each combination (where T is an integer of 2 or more), the (P m + n × T m ) th signal from the input signal sequence Z (where n is 0 or more and P m + n × T m Are integers smaller than the number of signals in the signal sequence Z) and output. Further, a residual signal sequence Y is generated by deleting all (P m + n × T m ) th signals from the signal sequence Z (S110). Separating the signal sequence generation unit 120 m determines the maximum digit A m in the (P m + n × T m ) th signal of the signal sequence Z. Then, to produce a (P m + n × T m ) th most significant A m consisting of the following digit signal sequence of the signal (separated signal sequence X m) of the signal sequence Z (S120 m). Encoding apparatus 100, the number M of the separated signal sequence X m, the residual signal sequence Y and the separated signal sequence X m for each of the initial phase P m and the interval T m and maximum length A m and the separated signal sequence X m Should be output. As specific combinations of the initial phase P m and the interval T m , for example, {P m , T m } = {0, 4}, {1, 4}, {2, 4}, {3,4} It may be four sets to fix the interval T m (M = 4) as. Alternatively, {P m , T m } = {0, 2}, {1, 2}, {0, 3}, {1, 3}, {2, 3}, {0, 4}, {1, 4 }, {2,4}, {3,4}, {0,5}, {1,5}, {2,5}, {3,5}, the initial phase P m as {4,5} And 14 sets (M = 14) in which the interval Tm is also changed.

図7に第1実施形態の復号化装置の機能構成例を、図8に第1実施形態の復号化装置の処理フロー例を示す。復号化装置700は、残余信号列Yと、M組の初期位相Pと間隔Tと最大桁Aと分離信号列Xを入力とし、信号列Zを復号化する。復号化装置700は、復元部720,…,720と挿入部710とを備える。復元部720は、分離信号列Xを、最大桁Aを用いて前記信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)に復元する(S720)。挿入部710は、復元された信号を、信号列Zの(P+n×T)番目の信号となるように、残余信号列Yに挿入し、信号列Zを求める(S710)。 FIG. 7 shows an example of a functional configuration of the decoding apparatus according to the first embodiment, and FIG. 8 shows an example of a processing flow of the decoding apparatus according to the first embodiment. Decoding apparatus 700 receives residual signal sequence Y, M sets of initial phases P m , interval T m , maximum digit Am, and separated signal sequence X m as input, and decodes signal sequence Z. The decryption apparatus 700 includes a restoration unit 720 1 ,..., 720 M and an insertion unit 710. Restorer 720 m is a separation signal sequence X m, the most significant with A m of the signal sequence Z (P m + n × T m) th signal (where, n is an 0 or more, P m + n × T m is restored to an integer) which is smaller than the number of signal signal sequence Z (S720 m). The insertion unit 710 inserts the restored signal into the residual signal sequence Y so as to be the (P m + n × T m ) th signal of the signal sequence Z, and obtains the signal sequence Z (S710).

本実施形態の符号化装置と復号化装置によれば、最大桁が小さい信号を周期的に集め、有効な桁(最大桁以下の桁)のみからなる信号の系列(分離信号列)を作る。つまり、有効桁より大きい桁(ビット)を削除できるので、符号量を削減できる。具体的には、分離信号列を復元するために必要な補助情報(初期位相Pと間隔Tと最大桁A)の符号量よりも多くの符号量を削減できれば、全体の符号量を削減できる。 According to the encoding device and the decoding device of the present embodiment, signals having a small maximum digit are periodically collected, and a signal sequence (separated signal sequence) including only valid digits (digits less than the maximum digit) is created. That is, since a digit (bit) larger than an effective digit can be deleted, the code amount can be reduced. Specifically, if the amount of codes larger than the amount of auxiliary information (initial phase P m , interval T m, and maximum digit A m ) necessary for restoring the separated signal sequence can be reduced, the overall code amount is reduced. Can be reduced.

[変形例]
第1実施形態のように本発明の効果が得られるために必要な構成は、1つ目の分離信号列を生成するために必要な構成である。2つ目以降の分離信号列を生成するための構成は無くても効果が得られる。また、残余信号の取り扱いも上述の方法に限定する必要はない。したがって、本発明の効果を得るために必要な最低限の構成部に対する限定は、以下のとおりである。
[Modification]
The configuration necessary for obtaining the effect of the present invention as in the first embodiment is a configuration necessary for generating the first separated signal sequence. Even if there is no configuration for generating the second and subsequent separated signal sequences, the effect can be obtained. Further, the handling of the residual signal need not be limited to the above-described method. Therefore, the limitations on the minimum components necessary for obtaining the effects of the present invention are as follows.

符号化装置は、信号抽出部と分離信号列生成部とを備える。信号抽出部は、初期位相P(ただし、Pは0以上の整数)と間隔T(ただし、Tは2以上の整数)で、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集める。分離信号列生成部は、信号列Zの(P+n×T)番目の信号の中の最大桁Aを求める。そして、信号列Zの(P+n×T)番目の信号の最大桁A以下の桁からなる信号の系列(分離信号列X)を生成する。また、本発明の復号化装置は、少なくとも初期位相P(ただし、Pは0以上の整数)と間隔T(ただし、Tは2以上の整数)と最大桁Aと分離信号列Xを入力とし、復元部を具備する。復元部は、分離信号列Xの各信号を、最大桁Aを用いて復号したい信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)に復元する。   The encoding device includes a signal extraction unit and a separated signal sequence generation unit. The signal extraction unit has an initial phase P (where P is an integer greater than or equal to 0) and an interval T (where T is an integer greater than or equal to 2), and the (P + n × T) th signal (where , N is an integer greater than or equal to 0 and P + n × T is smaller than the number of signals in the signal sequence Z). The separated signal sequence generation unit obtains the maximum digit A in the (P + n × T) th signal of the signal sequence Z. Then, a signal sequence (separated signal sequence X) composed of digits equal to or less than the maximum digit A of the (P + n × T) -th signal in the signal sequence Z is generated. The decoding apparatus of the present invention receives at least the initial phase P (where P is an integer greater than or equal to 0), the interval T (where T is an integer greater than or equal to 2), the maximum digit A, and the separated signal sequence X, A restoration unit is provided. The restoration unit (P + n × T) -th signal of the signal sequence Z to be decoded using the maximum digit A for each signal of the separated signal sequence X (where n is 0 or more and P + n × T is a signal sequence) To an integer smaller than the number of Z signals).

[第2実施形態]
図9に第2実施形態の符号化装置の機能構成例を、図10に第2実施形態の符号化装置の処理フロー例を示す。符号化装置200は、信号抽出部210、分離信号列生成部120,…,120、選択部240を備える。
[Second Embodiment]
FIG. 9 shows a functional configuration example of the encoding apparatus of the second embodiment, and FIG. 10 shows an example of a processing flow of the encoding apparatus of the second embodiment. The encoding apparatus 200 includes a signal extraction unit 210, a separated signal sequence generation unit 120 1 ,..., 120 M , and a selection unit 240.

選択部240は、あらかじめV個の分離方法(M組の初期位相と間隔の組み合わせ{Pv1,Tv1},…,{PvM,TvM})を記録しておく(ただし、vは1以上のV以下の整数、Vは2以上の整数)。選択部240は、1つずつ分離方法を選択する(S241)。例えば、V=2とし、1個目の分離方法を{P1m,T1m}={0,4}、{1,4}、{2,4}、{3,4}、2個目の分離方法を{P2m,T2m}={{0,5}、{1,5}、{2,5}、{3,5}、{4,5}とする。そして、信号列Zを分析し、符号量削減の効果を推定する(S242)。選択部240は、全ての分離方法に対して効果を推定すると、最も効果があると推定された分離方法を、M組の初期位相と間隔の組み合わせ{P,T},…,{P,T}として出力する(S245)。なお、ステップS242の符号量削減の効果の推定は、実際に分離信号列を構成する信号を集め、最大桁を求めることで実現できる。例えば、160サンプル(1フレーム)からなる信号列Zを間隔4で分離した場合、分離信号列Xの信号の数は40である。この分離信号列内の信号の最大桁が、信号全部の最大桁よりも1桁小さい場合、40ビットの節約となる。一方、初期位相、間隔、最大桁の情報のために8ビットが必要だとすると、差し引き32ビットを削減できる。このように、分離信号列を構成する信号を分析することで、符号量削減の効果を推定できる。 The selection unit 240 records in advance V separation methods (combination of M v sets of initial phases and intervals {P v1 , T v1 }, ..., {P vM , T vM }) (where v is An integer of 1 or more and V or less, V is an integer of 2 or more). The selection unit 240 selects a separation method one by one (S241). For example, V = 2, and the first separation method is {P 1m , T 1m } = {0, 4}, {1, 4}, {2, 4}, {3,4]} The separation method is {P 2m , T 2m } = {{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}. Then, the signal sequence Z is analyzed to estimate the effect of code amount reduction (S242). When the selection unit 240 estimates the effects for all the separation methods, the separation method that is estimated to be most effective is the combination of M sets of initial phases and intervals {P 1 , T 1 },. M , T M } is output (S245). Note that the estimation of the effect of code amount reduction in step S242 can be realized by collecting the signals that actually constitute the separated signal sequence and obtaining the maximum digit. For example, when a signal sequence Z consisting of 160 samples (one frame) is separated at an interval of 4, the number of signals in the separated signal sequence X is 40. When the maximum digit of the signal in this separated signal sequence is one digit smaller than the maximum digit of all signals, 40 bits are saved. On the other hand, if 8 bits are required for the initial phase, interval, and maximum digit information, the subtraction of 32 bits can be reduced. Thus, by analyzing the signals constituting the separated signal sequence, the effect of reducing the code amount can be estimated.

信号抽出部210は、選択部240が出力したM組の初期位相Pと間隔Tの組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号を集めて出力する。また、信号列Zからすべての(P+n×T)番目の信号を削除した残余信号列Yを生成する(S210)。分離信号列生成部120の処理は、第1実施形態と同じである。また、第2実施形態の復号化装置は、第1実施形態の復号化装置(図7、図8)と同じである。 The signal extraction unit 210 collects and outputs the (P m + n × T m ) th signal from the input signal sequence Z for each combination of the M sets of initial phases P m and intervals T m output by the selection unit 240. To do. Further, a residual signal sequence Y is generated by deleting all (P m + n × T m ) th signals from the signal sequence Z (S210). The processing of the separation signal sequence generation unit 120 m is the same as that in the first embodiment. Further, the decoding device of the second embodiment is the same as the decoding device (FIGS. 7 and 8) of the first embodiment.

第2実施形態の符号化装置と復号化装置はこのような構成なので、第1実施形態よりも、効率の良い分離方法を選択でき、符号量を削減できる。   Since the encoding device and the decoding device according to the second embodiment have such a configuration, a more efficient separation method than that of the first embodiment can be selected, and the amount of codes can be reduced.

[変形例]
第2実施形態の符号化装置は、選択部240で選択した分離方法で分離信号列Xを生成した。しかし、分離信号列Xを生成しない方が、符号量が少ない場合もあり得る。本変形例の符号化装置は、分離信号列Xを生成するか否かの判断も行う。図9に第2実施形態変形例の符号化装置の機能構成例を、図11に第2実施形態変形例の符号化装置の処理フロー例を示す。符号化装置300は、信号抽出部310、分離信号列生成部120,…,120、選択部240を備える。選択部240の処理は、符号化装置200と同じである。信号抽出部310は、選択部240が最も効果があると推定したM組の初期位相と間隔の組み合わせ{P,T},…,{P,T}で符号量削減の効果が得られるのかを判断する(S311)。効果があるか否かの判断は、ステップS242の符号量削減の効果の推定と同じ方法で行っても良いし、ステップS242の推定結果を利用しても良い。効果が得られる場合には、信号抽出部310は、選択部240が出力したM組の初期位相Pと間隔Tの組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号を集めて出力する。また、信号列Zからすべての(P+n×T)番目の信号を削除した残余信号列Yを生成する(S210)。効果が得られない場合には、信号抽出部310は、信号列Zから(P+n×T)番目の信号を集める処理は行わず、信号列Zをそのまま出力する(S315)。この場合、符号化装置300は、Mに0を代入して出力しても良いし、図4の分割の有無のビットに“分割なし”を示す符号を付けて出力しても良い。
[Modification]
Encoding apparatus of the second embodiment, to produce a separated signal sequence X m separation method selected by the selection unit 240. However, it does not generate a separate signal sequence X m, can in some cases the code amount is small. Encoding apparatus of the present modification also performs determination of whether to generate a separated signal sequence X m. FIG. 9 shows a functional configuration example of the encoding apparatus according to the second embodiment, and FIG. 11 shows a processing flow example of the encoding apparatus according to the second embodiment. The encoding apparatus 300 includes a signal extraction unit 310, a separated signal sequence generation unit 120 1 ,..., 120 M , and a selection unit 240. The processing of the selection unit 240 is the same as that of the encoding device 200. The signal extraction unit 310 has the effect of reducing the code amount with the combination {P 1 , T 1 },..., {P M , T M } of M sets of initial phases and intervals estimated by the selection unit 240 to be most effective. It is determined whether it can be obtained (S311). The determination of whether or not there is an effect may be performed by the same method as the estimation of the effect of code amount reduction in step S242, or the estimation result in step S242 may be used. When the effect is obtained, the signal extraction unit 310 calculates (P m + n × T m) from the input signal sequence Z for each combination of the M sets of initial phases P m and intervals T m output from the selection unit 240. ) Collect and output the 2nd signal. Further, a residual signal sequence Y is generated by deleting all (P m + n × T m ) th signals from the signal sequence Z (S210). When the effect cannot be obtained, the signal extraction unit 310 does not perform the process of collecting the (P m + n × T m ) th signal from the signal sequence Z, and outputs the signal sequence Z as it is (S315). In this case, the encoding apparatus 300 may output by substituting 0 for M, or may be output with a code indicating “no division” added to the bit indicating whether there is division in FIG.

分離信号列生成部120の処理は、第1実施形態と同じである。また、第2実施形態の復号化装置は、第1実施形態の復号化装置(図7、図8)と同じである。 The processing of the separation signal sequence generation unit 120 m is the same as that in the first embodiment. Further, the decoding device of the second embodiment is the same as the decoding device (FIGS. 7 and 8) of the first embodiment.

第2実施形態変形例の符号化装置と復号化装置はこのような構成なので、分離によって符号量を削減できる場合には第2実施形態と同じ効果が得られ、分割によって効果が得られない場合には分割しない。したがって、第2実施形態よりも、効率良く符号量を削減できる。   Since the encoding device and the decoding device according to the modification of the second embodiment have such a configuration, when the code amount can be reduced by separation, the same effect as the second embodiment can be obtained, and the effect cannot be obtained by the division. Do not divide. Therefore, the amount of codes can be reduced more efficiently than in the second embodiment.

[第3実施形態]
図12に第3実施形態の符号化装置の機能構成例を、図13に第3実施形態の符号化装置の処理フロー例を示す。符号化装置400は、信号抽出部410、分離信号列生成部120,…,120、分析部440を備える。図14に、分析部440の処理フロー例を示す。分析部440は、あらかじめ初期位相と間隔の組み合わせ{P,T}を記録しておく(ただし、hは1以上H以下の整数、Hは1以上の整数)。分析部440は、まず、信号列Z内の最大桁と、最大桁の信号の位置U(ただし、jは1以上J以下の整数、Jは当該最大桁を有する信号の数)を求める(S441)。次に、あらかじめ記録している初期位相と間隔の組み合わせ{P,T}の中にある1つの間隔Tを選択する(S442)。j=1とする(S443)。位置UをTで割り、あまりを求め、初期位相Pとする(S445)。あらかじめ記録している初期位相と間隔の組み合わせ{P,T}の中に、ステップS445で求めた初期位相と間隔の組み合わせ{P,T}と一致するものがあった場合には、あらかじめ記録している初期位相と間隔の組み合わせ{P,T}の中からその組み合わせを削除する(S446)。j=Jかを確認する(S447)。ステップS447がNoの場合には、jにj+1を代入して(S448)、ステップS445に戻る。ステップS447がYesの場合には、あらかじめ記録している初期位相と間隔の組み合わせ{P,T}の中にある全ての間隔Tを選択したかを確認する(S449)。ステップS449がNoの場合には、ステップS442に戻り、選択していない間隔Tを選択する(S442)。ステップS449がYesの場合には、残った初期位相と間隔の組み合わせの数Mと組み合わせ{P,T}とを出力する(S450)。残った初期位相と間隔の組み合わせが無い場合(M=0)は、分離による効果がないときである。
[Third Embodiment]
FIG. 12 shows an example of a functional configuration of the encoding apparatus according to the third embodiment, and FIG. 13 shows an example of a processing flow of the encoding apparatus according to the third embodiment. The encoding apparatus 400 includes a signal extraction unit 410, a separated signal sequence generation unit 120 1 ,..., 120 M , and an analysis unit 440. FIG. 14 shows a processing flow example of the analysis unit 440. The analysis unit 440 records the combination of the initial phase and the interval {P h , T h } in advance (where h is an integer from 1 to H, and H is an integer from 1). The analysis unit 440 first obtains the maximum digit in the signal sequence Z and the position U j of the signal of the maximum digit (where j is an integer between 1 and J, and J is the number of signals having the maximum digit) ( S441). Next, select the one interval The T g is in the combination of initial phase and interval are pre-recorded {P, T} (S442) . j = 1 is set (S443). The position U j is divided by T g to obtain the excess and set as the initial phase P g (S445). When there is a combination of the initial phase and interval {P h , T h } recorded in advance that matches the combination {P g , T g } of the initial phase and interval obtained in step S445. The combination is deleted from the combination {P h , T h } of the initial phase and interval recorded in advance (S446). It is confirmed whether j = J (S447). If step S447 is No, j + 1 is substituted for j (S448), and the process returns to step S445. If step S447 is Yes, it is checked whether the select all intervals The T g is in the combination of initial phase and interval are pre-recorded {P, T} (S449) . Step S449 is No, the process returns to step S442, selects an interval The T g not selected (S442). If step S449 is Yes, the number M of remaining initial phase and interval combinations and the combination {P m , T m } are output (S450). When there is no combination of the remaining initial phase and interval (M = 0), there is no effect due to separation.

信号抽出部410は、分離による効果があるかを確認する(S411)。具体的には、残った初期位相と間隔の組み合わせがあるかを確認する。効果がある場合には、分析部440が出力したM組の初期位相Pと間隔Tの組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号を集める。また、信号列Zからすべての(P+n×T)番目の信号を削除した残余信号列Yを生成する(S110)。効果がない場合には、その後の処理は、第2実施形態変形例と同じである。また、復号化装置は第1実施形態と同じである。 The signal extraction unit 410 confirms whether there is an effect due to the separation (S411). Specifically, it is confirmed whether there is a combination of the remaining initial phase and interval. If there is an effect, the (P m + n × T m ) -th signal is collected from the input signal sequence Z for each combination of the M sets of initial phases P m and intervals T m output from the analysis unit 440. Further, a residual signal sequence Y is generated by deleting all (P m + n × T m ) th signals from the signal sequence Z (S110). If there is no effect, the subsequent processing is the same as that of the second embodiment. The decoding device is the same as that in the first embodiment.

第3実施形態の符号化装置によれば、符号量削減の効果が得られる初期位相Pと間隔Tの組み合わせを探し出せる。したがって、より効率よく符号量を削減できる。 According to the encoding apparatus of the third embodiment, it is possible to find a combination of the initial phase P m and the interval T m from which the effect of reducing the code amount can be obtained. Therefore, the code amount can be reduced more efficiently.

[第4実施形態]
図12に第4実施形態の符号化装置の機能構成例を、図13に第4実施形態の符号化装置の処理フロー例を示す。符号化装置500は、信号抽出部510、分離信号列生成部120,…,120、分析部540を備える。分析部540は、信号列Zを分析する(S440)。例えば、フレーム内の信号で、最大桁の位置に“1”(ビットが反転されている符号の場合は“0”)が何個あるかを調べる。信号抽出部410は、最大桁の位置に“1”がある割合が、閾値(例えば10%)以下であれば効果が得られると判断し、閾値より大きければ効果が得られないと判断する。(S511)。効果があると判断された場合のその後の処理は、第1実施形態と同じである。また、効果がないと判断された場合のその後の処理は、第2実施形態変形例と同じである。また、復号化装置は第1実施形態と同じである。第4実施形態の符号化装置は、このように簡単に分離の効果を判断できる。
[Fourth Embodiment]
FIG. 12 shows an example of a functional configuration of the encoding apparatus of the fourth embodiment, and FIG. 13 shows an example of a processing flow of the encoding apparatus of the fourth embodiment. The encoding apparatus 500 includes a signal extraction unit 510, a separated signal sequence generation unit 120 1 ,..., 120 M , and an analysis unit 540. The analysis unit 540 analyzes the signal sequence Z (S440). For example, in the signal in the frame, the number of “1” (“0” in the case of a code with inverted bits) is checked at the position of the maximum digit. The signal extraction unit 410 determines that an effect is obtained if the ratio of “1” in the position of the maximum digit is equal to or less than a threshold (for example, 10%), and determines that the effect cannot be obtained if the ratio is greater than the threshold. (S511). Subsequent processing when it is determined that there is an effect is the same as in the first embodiment. Further, the subsequent processing when it is determined that there is no effect is the same as that of the second embodiment modification. The decoding device is the same as that in the first embodiment. The encoding device of the fourth embodiment can easily determine the effect of separation in this way.

[第5実施形態]
第5実施形態は、ロスレスの線形予測符号化の予測残差列の符号化と復号化に第1実施形態から第4実施形態の符号化装置と復号化装置を用いた例である。図15に第5実施形態の符号化装置の機能構成例を、図16に第5実施形態の符号化装置の処理フロー例を示す。符号化装置600は、線形予測部610、量子化部620、予測値算出部630、減算部640、係数符号化部650、符号化装置100(または、200、300、400、500)を備える。
[Fifth Embodiment]
The fifth embodiment is an example in which the encoding device and the decoding device of the first to fourth embodiments are used for encoding and decoding of a prediction residual sequence of lossless linear prediction encoding. FIG. 15 shows a functional configuration example of the encoding apparatus according to the fifth embodiment, and FIG. 16 shows an example of a processing flow of the encoding apparatus according to the fifth embodiment. The encoding device 600 includes a linear prediction unit 610, a quantization unit 620, a predicted value calculation unit 630, a subtraction unit 640, a coefficient encoding unit 650, and the encoding device 100 (or 200, 300, 400, 500).

符号化装置600に、フレーム単位に分割された信号列S={s(1),s(2),…,s(L)}が入力されると、線形予測部610は、フレーム単位に分割された信号列Sから線形予測係数K={k(1),k(2),…,k(P)}を求める(S610)。なお、Pは予測次数である。量子化部620は、線形予測係数Kを量子化して量子化線形予測係数K’={k’(1),k’(2),…,k’(P)}を求める(S620)。予測値算出部630は、第2信号列Xと量子化線形予測係数K’を用いて、次式のように第2予測値列Y={y(1),y(2),…,y(L)}を求める(S630)。

Figure 2009156971
When the signal sequence S = {s (1), s (2),..., S (L)} divided into frames is input to the encoding apparatus 600, the linear prediction unit 610 divides into frames. The linear prediction coefficient K = {k (1), k (2),..., K (P)} is obtained from the signal sequence S (S610). Note that P is the predicted order. The quantization unit 620 quantizes the linear prediction coefficient K to obtain a quantized linear prediction coefficient K ′ = {k ′ (1), k ′ (2),..., K ′ (P)} (S620). The predicted value calculation unit 630 uses the second signal sequence X and the quantized linear prediction coefficient K ′ to generate the second predicted value sequence Y = {y (1), y (2),. (L)} is obtained (S630).
Figure 2009156971

ただし、jは1以上L以下の整数である。減算部640は、信号列Sと予測値列Yとの差の信号列(予測残差列)X={x(1),x(2),…,x(L)}を求める(S640)。係数符号化部650は、量子化線形予測係数K’を符号化し、予測係数符号Cを出力する(S650)。符号化装置100(または、200、300、400、500)は、信号列Xを符号化し、分離信号列Xの数Mと、残余信号列Yと、前記分離信号列Xごとの初期位相Pと間隔Tと最大桁Aと各分離信号列Xを出力する(S100)。 However, j is an integer of 1 or more and L or less. The subtraction unit 640 obtains a signal sequence (predicted residual sequence) X = {x (1), x (2),..., X (L)} between the signal sequence S and the predicted value sequence Y (S640). . The coefficient encoding unit 650 encodes the quantized linear prediction coefficient K ′ and outputs a prediction coefficient code C k (S650). Encoding apparatus 100 (or, 200, 300, 400, 500) encodes the signal sequence X, and the number M of the separated signal sequence X m, the residual signal sequence Y and the initial phase of each of the separation signal sequence X m P m , interval T m , maximum digit A m, and each separated signal sequence X m are output (S100).

図17に第5実施形態の復号化装置の機能構成例を、図18に第5実施形態の復号化装置の処理フロー例を示す。復号化装置800は、復号化装置700、係数復号化部820、予測値算出部830、加算部840を備える。復号化装置700は、分離信号列Xの数Mと、残余信号列Yと、前記分離信号列Xごとの初期位相Pと間隔Tと最大桁Aと各分離信号列Xを入力とし、予測残差列に該当する信号列X={x(1),x(2),…,x(L)}を求める(S700)。係数復号化部820は、予測係数符号Cを復号化して量子化線形予測係数K’を求める(S820)。予測値算出部830は、復号化された信号列Xと量子化線形予測係数K’を用いて、次式のように予測値列Yを求める(S830)。 FIG. 17 shows a functional configuration example of the decoding apparatus of the fifth embodiment, and FIG. 18 shows an example of a processing flow of the decoding apparatus of the fifth embodiment. The decoding apparatus 800 includes a decoding apparatus 700, a coefficient decoding unit 820, a predicted value calculation unit 830, and an addition unit 840. The decoding apparatus 700 includes the number M of the separated signal sequences X m , the residual signal sequence Y, the initial phase P m for each of the separated signal sequences X m , the interval T m , the maximum digit Am, and each separated signal sequence X m. , And a signal sequence X = {x (1), x (2),..., X (L)} corresponding to the prediction residual sequence is obtained (S700). The coefficient decoding unit 820 decodes the prediction coefficient code C k to obtain a quantized linear prediction coefficient K ′ (S820). The predicted value calculation unit 830 obtains the predicted value sequence Y using the decoded signal sequence X and the quantized linear prediction coefficient K ′ as in the following equation (S830).

Figure 2009156971
加算部840は、予測値列Yと信号列Xとを加算して信号列Sを求める(S840)。
Figure 2009156971
The adding unit 840 adds the predicted value sequence Y and the signal sequence X to obtain the signal sequence S (S840).

符号化装置600と復号化装置800は、ロスレスの線形予測符号化の予測残差列の符号化と復号化に、符号化装置100(または、200、300、400、500)と復号化装置700を用いた例である。符号化の対象となる信号列が予測残差列であるから、0近傍の発生確率が高い。したがって、最大桁が小さい可能性が高いので、本発明を適用することで符号量を削減できる可能性も高い。   The encoding device 600 and the decoding device 800 use the encoding device 100 (or 200, 300, 400, 500) and the decoding device 700 to encode and decode a prediction residual sequence of lossless linear prediction encoding. It is an example using. Since the signal sequence to be encoded is a prediction residual sequence, the probability of occurrence near 0 is high. Therefore, since there is a high possibility that the maximum digit is small, there is a high possibility that the code amount can be reduced by applying the present invention.

[第6実施形態]
図19に第6実施形態の符号化装置の機能構成例を、図20に第6実施形態の符号化装置の処理フロー例を示す。本実施形態では、初期位相Pと間隔Tの組み合わせによって、信号列Z中の最大桁を含む信号をすべて抽出してしまい、信号列Z中の最大桁よりも桁の小さい信号を残す。符号化装置1100は、信号抽出部1110と残余信号列生成部1120を備える。信号抽出部1110は、M組(ただし、Mは1以上の整数)の初期位相P(ただし、Pは0以上の整数、mは1からMの整数)と間隔T(ただし、Tは2以上の整数)の組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集める(S1110)。残余信号列生成部1120は、信号列Zからすべての(P+n×T)番目の信号を削除して残った信号の中の最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)を求め、残った信号の最大桁A以下の桁からなる信号の系列(残余信号列Y)を生成する(S1120)。
[Sixth Embodiment]
FIG. 19 shows a functional configuration example of the encoding apparatus according to the sixth embodiment, and FIG. 20 shows a processing flow example of the encoding apparatus according to the sixth embodiment. In the present embodiment, all signals including the maximum digit in the signal sequence Z are extracted by the combination of the initial phase P m and the interval T m , and a signal having a digit smaller than the maximum digit in the signal sequence Z is left. The encoding apparatus 1100 includes a signal extraction unit 1110 and a residual signal sequence generation unit 1120. The signal extraction unit 1110 includes M groups (where M is an integer of 1 or more) initial phases P m (where P is an integer of 0 or more, m is an integer from 1 to M) and an interval T m (where T is For each combination of two or more integers, the (P m + n × T m ) th signal from the input signal sequence Z (where n is 0 or more and P m + n × T m is equal to the signal sequence Z) (An integer smaller than the number of signals) is collected (S1110). The residual signal sequence generation unit 1120 deletes all (P m + n × T m ) th signals from the signal sequence Z, and the maximum digit A in the remaining signal (however, the digit is the absolute value of the amplitude of the signal) And a signal sequence (residual signal sequence Y) composed of digits less than the maximum digit A of the remaining signal is generated (S1120).

図21に第6実施形態の復号化装置の機能構成例を、図22に第6実施形態の復号化装置の処理フロー例を示す。復号化装置1700は、残余信号列Yと最大桁Aと、M組の初期位相Pと間隔Tと分離信号列Xを入力とし、信号列Zを復号化する。復号化装置1700は、復元部1720と挿入部1710とを備える。復元部1720は、残余信号列Yを、最大桁Aを用いて前記信号列Zの(P+n×T)番目の信号以外の信号に復元する(S1720)。挿入部1710は、復元された信号に、信号列Zの(P+n×T)番目の信号となるように分離信号列Xを挿入する(S1710)。 FIG. 21 shows a functional configuration example of the decoding apparatus according to the sixth embodiment, and FIG. 22 shows a processing flow example of the decoding apparatus according to the sixth embodiment. Decoding apparatus 1700 receives residual signal sequence Y, maximum digit A, M sets of initial phases P m , interval T m and separated signal sequence X m and decodes signal sequence Z. Decoding apparatus 1700 includes restoration unit 1720 and insertion unit 1710. The restoration unit 1720 restores the residual signal sequence Y to a signal other than the (P m + n × T m ) th signal in the signal sequence Z using the maximum digit A (S1720). Insertion portion 1710, the reconstructed signal, inserts a separate signal sequence X m so that (P m + n × T m ) th signal of the signal sequence Z (S1710).

このように本実施形態の符号化装置と復号化装置でも、残余信号列側に桁の小さい信号を集めることができ、他の実施形態と同じように符号量を削減できる。つまり、第1実施形態から第5実施形態のように最大桁が小さい信号を周期的に集めても良いし、第6実施形態のように最大桁が大きい信号を周期的に集め、最大桁が小さい信号を残しても良い。結局、どちらの場合も、最大桁が小さい信号を集めたことになり、有効桁より大きい桁(ビット)を削除できるので、符号量を削減できる。   As described above, the encoding device and the decoding device of the present embodiment can collect signals with small digits on the residual signal sequence side, and can reduce the amount of codes as in the other embodiments. That is, signals with a small maximum digit may be collected periodically as in the first to fifth embodiments, or signals with a large maximum digit are collected periodically as in the sixth embodiment, and the maximum digit is You may leave a small signal. Eventually, in both cases, signals with a small maximum digit are collected, and digits (bits) larger than the effective digits can be deleted, so that the amount of codes can be reduced.

なお、最大桁が小さい信号を残す方法の場合でも、第2実施形態から第5実施形態に示した変形が可能である。   Even in the case of a method for leaving a signal having a small maximum digit, the modifications shown in the second to fifth embodiments are possible.

図23に、コンピュータの機能構成例を示す。本発明の符号化方法、復号化方法は、コンピュータ2000の記録部2020に、本発明の各構成部としてコンピュータ2000を動作させるプログラムを読み込ませ、制御部2010、入力部2030、出力部2040などを動作させることで、コンピュータに実行させることができる。また、コンピュータに読み込ませる方法としては、プログラムをコンピュータ読み取り可能な記録媒体に記録しておき、記録媒体からコンピュータに読み込ませる方法、サーバ等に記録されたプログラムを、電気通信回線等を通じてコンピュータに読み込ませる方法などがある。   FIG. 23 shows a functional configuration example of a computer. In the encoding method and decoding method of the present invention, the recording unit 2020 of the computer 2000 reads a program for operating the computer 2000 as each component of the present invention, and the control unit 2010, the input unit 2030, the output unit 2040, etc. By operating, it can be executed by a computer. In addition, as a method of causing the computer to read, the program is recorded on a computer-readable recording medium, and the program recorded on the server or the like is read into the computer through a telecommunication line or the like. There is a method to make it.

圧伸された信号列の振幅の例を示す図。The figure which shows the example of the amplitude of the signal train which was drawn. 8ビットのμ則の具体的な形式を示す図。The figure which shows the specific format of 8-bit micro rule. 本発明の原理のイメージを示す図。The figure which shows the image of the principle of this invention. 本発明によって生成される符号のイメージを示す図。The figure which shows the image of the code | symbol produced | generated by this invention. 第1実施形態の符号化装置の機能構成例を示す図。The figure which shows the function structural example of the encoding apparatus of 1st Embodiment. 第1実施形態の符号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the encoding apparatus of 1st Embodiment. 第1実施形態の復号化装置の機能構成例を示す図。The figure which shows the function structural example of the decoding apparatus of 1st Embodiment. 第1実施形態の復号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the decoding apparatus of 1st Embodiment. 第2実施形態と第2実施形態変形例の符号化装置の機能構成例を示す図。The figure which shows the function structural example of the encoding apparatus of 2nd Embodiment and 2nd Embodiment modification. 第2実施形態の符号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the encoding apparatus of 2nd Embodiment. 第2実施形態変形例の符号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the encoding apparatus of 2nd Embodiment modification. 第3実施形態と第4実施形態の符号化装置の機能構成例を示す図。The figure which shows the function structural example of the encoding apparatus of 3rd Embodiment and 4th Embodiment. 第3実施形態と第4実施形態の符号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the encoding apparatus of 3rd Embodiment and 4th Embodiment. 分析部440の処理フロー例を示す図。The figure which shows the example of a processing flow of the analysis part 440. FIG. 第5実施形態の符号化装置の機能構成例を示す図。The figure which shows the function structural example of the encoding apparatus of 5th Embodiment. 第5実施形態の符号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the encoding apparatus of 5th Embodiment. 第5実施形態の復号化装置の機能構成例を示す図。The figure which shows the function structural example of the decoding apparatus of 5th Embodiment. 第5実施形態の復号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the decoding apparatus of 5th Embodiment. 第6実施形態の符号化装置の機能構成例を示す図。The figure which shows the function structural example of the encoding apparatus of 6th Embodiment. 第6実施形態の符号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the encoding apparatus of 6th Embodiment. 第6実施形態の復号化装置の機能構成例を示す図。The figure which shows the function structural example of the decoding apparatus of 6th Embodiment. 第6実施形態の復号化装置の処理フロー例を示す図。The figure which shows the example of a processing flow of the decoding apparatus of 6th Embodiment. コンピュータの機能構成例を示す図。The figure which shows the function structural example of a computer.

符号の説明Explanation of symbols

100、200、300、400、500、600、1100 符号化装置
110、210、310、410、510、1110 信号抽出部
120、1120 分離信号列生成部 240 選択部
440、540 分析部 610 線形予測部
620 量子化部 630 予測値算出部
640 減算部 650 係数符号化部
700、800、1700 復号化装置 710、1710 挿入部
720、1720 復元部 820 係数復号化部
830 予測値算出部 840 加算部
100, 200, 300, 400, 500, 600, 1100 Encoder 110, 210, 310, 410, 510, 1110 Signal extraction unit 120, 1120 Separated signal sequence generation unit 240 Selection unit 440, 540 Analysis unit 610 Linear prediction unit 620 Quantization unit 630 Predicted value calculation unit 640 Subtraction unit 650 Coefficient encoding unit 700, 800, 1700 Decoding device 710, 1710 Insertion unit 720, 1720 Restoration unit 820 Coefficient decoding unit 830 Prediction value calculation unit 840 Addition unit

Claims (20)

M組(ただし、Mは1以上の整数)の初期位相P(ただし、Pは0以上の整数、mは1からMの整数)と間隔T(ただし、Tは2以上の整数)の組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集めるとともに、前記信号列Zからすべての(P+n×T)番目の信号を削除した残余信号列Yを生成する信号抽出部と、
初期位相Pと間隔Tの組み合わせごとに、前記信号列Zの(P+n×T)番目の信号の中の最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)を求め、前記信号列Zの(P+n×T)番目の信号の最大桁A以下の桁からなる信号の系列(分離信号列X)を生成する分離信号列生成部と
を備える符号化装置。
The initial phase P m (where P is an integer greater than or equal to 0, m is an integer from 1 to M) and the interval T m (where T is an integer greater than or equal to 2) of M pairs (where M is an integer greater than or equal to 1) For each combination, the (P m + n × T m ) th signal from the input signal sequence Z (where n is 0 or more and P m + n × T m is smaller than the number of signals in the signal sequence Z). And a signal extraction unit that generates a residual signal sequence Y in which all (P m + n × T m ) th signals are deleted from the signal sequence Z.
For each combination of the initial phase P m and the interval T m , the maximum digit A m in the (P m + n × T m ) th signal of the signal sequence Z (where the digit represents the absolute value of the amplitude of the signal) the bits) determined, the signal sequence Z (P m + n × T m) th most significant a m consisting of the following digit signal sequence of the signal (separated signal sequence X m) separated signal sequence generation unit which generates a An encoding device comprising:
請求項1記載の符号化装置であって、
組(ただし、vは1以上のV以下の整数、Vは2以上の整数)の初期位相Pvmと間隔Tvmの組み合わせを、あらかじめV種類記録しておき、
入力される信号列Zを用いて、V種類の中で最も符号化効率の良いと推定されるM組の初期位相Pvmと間隔Tvmの組み合わせを求め、それらを、前記M組の初期位相Pと間隔Tの組み合わせとする選択部も
備える符号化装置。
The encoding device according to claim 1, comprising:
A combination of the initial phase P vm and the interval T vm of the M v group (where v is an integer of 1 or more and V or less and V is an integer of 2 or more) is recorded in advance in V types.
Using the input signal sequence Z, a combination of M v sets of initial phases P vm and intervals T vm estimated to have the best coding efficiency among the V types is obtained, and these are determined as the initial values of the M sets. An encoding device that also includes a selection unit that is a combination of the phase P m and the interval T m .
請求項1または2記載の符号化装置であって、
前記信号抽出部は、入力された信号列Zを分離しない方が符号化効率が良い場合には、信号列Zを出力する
ことを特徴とする符号化装置。
The encoding device according to claim 1 or 2, comprising:
The signal extraction unit outputs the signal sequence Z when the encoding efficiency is better when the input signal sequence Z is not separated.
請求項1記載の符号化装置であって、
信号列Z内の最大桁と、当該最大桁を有する信号の位置U(ただし、jは1以上J以下の整数、Jは当該最大桁を有する信号の数)を求め、
あらかじめ定めたtごとに、順次位置Uを割って余りpを求め、あらかじめ定めた複数の初期位相と間隔の組み合わせ{P,T}の中で、組み合わせ{p,t}に一致するものは削除していき、
初期位相と間隔の組み合わせ{P,T}が残った場合には、残った初期位相と間隔の組み合わせ{P,T}を、前記M組の初期位相Pと間隔Tの組み合わせとする
分析部も備え、
初期位相と間隔の組み合わせ{P,T}が残らなかった場合には、前記信号抽出部は信号列Zを出力する
ことを特徴とする符号化装置。
The encoding device according to claim 1, comprising:
Obtaining the maximum digit in the signal sequence Z and the position U j of the signal having the maximum digit (where j is an integer from 1 to J and J is the number of signals having the maximum digit);
For each predetermined t, the position U j is sequentially divided to obtain a remainder p, and among a plurality of predetermined initial phase / interval combinations {P, T}, those that match the combination {p, t} Delete it,
When the combination {P, T} of the initial phase and the interval remains, the remaining combination {P, T} of the initial phase and the interval is set as a combination of the M sets of initial phases P m and the interval T m. The department also has
When the combination {P, T} of the initial phase and the interval does not remain, the signal extraction unit outputs a signal sequence Z.
初期位相P(ただし、Pは0以上の整数)と間隔T(ただし、Tは2以上の整数)で、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集める信号抽出部と、
前記信号列Zの(P+n×T)番目の信号の中の最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)を求め、前記信号列Zの(P+n×T)番目の信号の最大桁A以下の桁からなる信号の系列(分離信号列X)を生成する分離信号列生成部と
を備える符号化装置。
An initial phase P (where P is an integer greater than or equal to 0) and an interval T (where T is an integer greater than or equal to 2) and the (P + n × T) th signal from the input signal sequence Z (where n is greater than or equal to 0) A signal extraction unit that collects (P + n × T is an integer smaller than the number of signals in the signal sequence Z);
The maximum digit A in the (P + n × T) th signal of the signal sequence Z (where the digit is a bit representing the absolute value of the amplitude of the signal) is obtained, and the (P + n × T) th digit of the signal sequence Z is obtained. And a separated signal sequence generation unit that generates a signal sequence (separated signal sequence X) composed of digits less than or equal to the maximum digit A of the signal.
残余信号列Yと、M組(ただし、Mは1以上の整数)の初期位相P(ただし、Pは0以上の整数、mは1からMの整数)と間隔T(ただし、Tは2以上の整数)と最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)と分離信号列Xを入力とし、信号列Zを復号化する復号化装置であって、
分離信号列Xを、最大桁Aを用いて前記信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)に復元する復元部と、
前記復元された信号を、前記信号列Zの(P+n×T)番目の信号となるように、前記残余信号列Yに挿入する挿入部と、
を備える復号化装置。
Residual signal sequence Y, M phases (where M is an integer greater than or equal to 1), initial phase P m (where P is an integer greater than or equal to 0, m is an integer between 1 and M), and interval T m (where T is 2 is a decoding device for decoding a signal sequence Z by inputting a maximum digit A m (where a digit is a bit representing the absolute value of the amplitude of a signal) and a separated signal sequence X m. ,
The separated signal sequence X m, the most significant A m by using the signal sequence Z (P m + n × T m) th signal (where, n is an 0 or more, P m + n × T m is the signal sequence A restoring unit that restores to an integer smaller than the number of Z signals,
An insertion unit that inserts the restored signal into the residual signal sequence Y so as to be the (P m + n × T m ) th signal of the signal sequence Z;
A decoding device comprising:
初期位相P(ただし、Pは0以上の整数)と間隔T(ただし、Tは2以上の整数)と最大桁Aと分離信号列Xを入力とする復号化装置であって、
分離信号列Xの各信号を、最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)を用いて復号したい信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)に復元する復元部
を備える復号化装置。
A decoding device that receives an initial phase P (where P is an integer greater than or equal to 0), an interval T (where T is an integer greater than or equal to 2), a maximum digit A, and a separated signal sequence X;
Each signal of the separated signal sequence X is the (P + n × T) th signal (however, n) of the signal sequence Z to be decoded using the maximum digit A (where the digit is a bit representing the absolute value of the amplitude of the signal). Is a decoding unit provided with a restoration unit for restoring P + n × T to an integer smaller than the number of signals in the signal sequence Z).
M組(ただし、Mは1以上の整数)の初期位相P(ただし、Pは0以上の整数、mは1からMの整数)と間隔T(ただし、Tは2以上の整数)の組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集めるとともに、前記信号列Zからすべての(P+n×T)番目の信号を削除した残余信号列Yを生成する信号抽出ステップと、
初期位相Pと間隔Tの組み合わせごとに、前記信号列Zの(P+n×T)番目の信号の中の最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)を求め、前記信号列Zの(P+n×T)番目の信号の最大桁A以下の桁からなる信号の系列(分離信号列X)を生成する分離信号列生成ステップと
を有する符号化方法。
The initial phase P m (where P is an integer greater than or equal to 0, m is an integer from 1 to M) and the interval T m (where T is an integer greater than or equal to 2) of M pairs (where M is an integer greater than or equal to 1) For each combination, the (P m + n × T m ) th signal from the input signal sequence Z (where n is 0 or more and P m + n × T m is smaller than the number of signals in the signal sequence Z). And a signal extraction step of generating a residual signal sequence Y in which all (P m + n × T m ) th signals are deleted from the signal sequence Z,
For each combination of the initial phase P m and the interval T m , the maximum digit A m in the (P m + n × T m ) th signal of the signal sequence Z (where the digit represents the absolute value of the amplitude of the signal) separation signal sequence generating step of bit) is obtained, to produce a (P m + n × T m ) th most significant a m consist of digits signal sequence of the signal (separated signal sequence X m) of the signal sequence Z for An encoding method comprising:
請求項8記載の符号化方法であって、
組(ただし、vは1以上のV以下の整数、Vは2以上の整数)の初期位相Pvmと間隔Tvmの組み合わせを、あらかじめV種類記録しておき、
入力される信号列Zを用いて、V種類の中で最も符号化効率の良いと推定されるM組の初期位相Pvmと間隔Tvmの組み合わせを求め、それらを、前記M組の初期位相Pと間隔Tの組み合わせとする選択ステップも
有する符号化方法。
The encoding method according to claim 8, comprising:
A combination of the initial phase P vm and the interval T vm of the M v group (where v is an integer of 1 or more and V or less and V is an integer of 2 or more) is recorded in advance in V types.
Using the input signal sequence Z, a combination of M v sets of initial phases P vm and intervals T vm estimated to have the best coding efficiency among the V types is obtained, and these are determined as the initial values of the M sets. coding method also has selection step of a combination of the phase P m and intervals T m.
請求項8または9記載の符号化方法であって、
前記信号抽出ステップは、入力された信号列Zを分離しない方が符号化効率が良い場合には、信号列Zを出力する
ことを特徴とする符号化方法。
The encoding method according to claim 8 or 9, comprising:
In the encoding method, the signal extraction step outputs the signal sequence Z when the encoding efficiency is better when the input signal sequence Z is not separated.
請求項8記載の符号化方法であって、
信号列Z内の最大桁と、当該最大桁を有する信号の位置U(ただし、jは1以上J以下の整数、Jは当該最大桁を有する信号の数)を求め、
あらかじめ定めたtごとに、順次位置Uを割って余りpを求め、あらかじめ定めた複数の初期位相と間隔の組み合わせ{P,T}の中で、組み合わせ{p,t}に一致するものは削除していき、
初期位相と間隔の組み合わせ{P,T}が残った場合には、残った初期位相と間隔の組み合わせ{P,T}を、前記M組の初期位相Pと間隔Tの組み合わせとする
分析ステップも備え、
初期位相と間隔の組み合わせ{P,T}が残らなかった場合には、前記信号抽出ステップは信号列Zを出力する
ことを特徴とする符号化方法。
The encoding method according to claim 8, comprising:
Obtaining the maximum digit in the signal sequence Z and the position U j of the signal having the maximum digit (where j is an integer from 1 to J and J is the number of signals having the maximum digit);
For each predetermined t, the position U j is sequentially divided to obtain a remainder p, and among a plurality of predetermined initial phase / interval combinations {P, T}, those that match the combination {p, t} Delete it,
When the combination {P, T} of the initial phase and the interval remains, the remaining combination {P, T} of the initial phase and the interval is set as a combination of the M sets of initial phases P m and the interval T m. With steps,
An encoding method, wherein if the combination of the initial phase and the interval {P, T} does not remain, the signal extraction step outputs a signal sequence Z.
初期位相P(ただし、Pは0以上の整数)と間隔T(ただし、Tは2以上の整数)で、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集める信号抽出ステップと、
前記信号列Zの(P+n×T)番目の信号の中の最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)を求め、前記信号列Zの(P+n×T)番目の信号の最大桁A以下の桁からなる信号の系列(分離信号列X)を生成する分離信号列生成ステップと
を有する符号化方法。
An initial phase P (where P is an integer greater than or equal to 0) and an interval T (where T is an integer greater than or equal to 2) and the (P + n × T) th signal from the input signal sequence Z (where n is greater than or equal to 0) And a signal extraction step of collecting an integer) in which P + n × T is smaller than the number of signals in the signal sequence Z;
The maximum digit A in the (P + n × T) th signal of the signal sequence Z (where the digit is a bit representing the absolute value of the amplitude of the signal) is obtained, and the (P + n × T) th digit of the signal sequence Z is obtained. And a separated signal sequence generation step of generating a signal sequence (separated signal sequence X) composed of digits less than or equal to the maximum digit A of the signal.
M組(ただし、Mは1以上の整数)の初期位相P(ただし、Pは0以上の整数、mは1からMの整数)と間隔T(ただし、Tは2以上の整数)の組み合わせごとに、入力された信号列Zから(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)を集める信号抽出ステップと、
前記信号列Zからすべての(P+n×T)番目の信号を削除して残った信号の中の最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)を求め、残った信号の最大桁A以下の桁からなる信号の系列(残余信号列Y)を生成する残余信号列生成ステップと
を有する符号化方法。
The initial phase P m (where P is an integer greater than or equal to 0, m is an integer from 1 to M) and the interval T m (where T is an integer greater than or equal to 2) of M pairs (where M is an integer greater than or equal to 1) For each combination, the (P m + n × T m ) th signal from the input signal sequence Z (where n is 0 or more and P m + n × T m is smaller than the number of signals in the signal sequence Z). Signal extraction step to collect an integer),
All the (P m + n × T m ) th signals are deleted from the signal sequence Z, and the maximum digit A (where the digit is a bit representing the absolute value of the amplitude of the signal) is obtained. And a residual signal sequence generation step of generating a signal sequence (residual signal sequence Y) composed of digits less than or equal to the maximum digit A of the remaining signal.
残余信号列Yと、M組(ただし、Mは1以上の整数)の初期位相P(ただし、Pは0以上の整数、mは1からMの整数)と間隔T(ただし、Tは2以上の整数)と最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)と分離信号列Xを入力とし、信号列Zを復号化する復号化方法であって、
分離信号列Xを、最大桁Aを用いて前記信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)に復元する復元ステップと、
前記復元された信号を、前記信号列Zの(P+n×T)番目の信号となるように、前記残余信号列Yに挿入する挿入ステップと、
を有する復号化方法。
Residual signal sequence Y, M phases (where M is an integer greater than or equal to 1), initial phase P m (where P is an integer greater than or equal to 0, m is an integer between 1 and M), and interval T m (where T is 2 is a decoding method for decoding a signal sequence Z by inputting a maximum digit A m (where a digit is a bit representing the absolute value of the amplitude of a signal) and a separated signal sequence X m. ,
The separated signal sequence X m, the most significant A m by using the signal sequence Z (P m + n × T m) th signal (where, n is an 0 or more, P m + n × T m is the signal sequence A restoration step to restore to an integer smaller than the number of signals of Z;
An insertion step of inserting the restored signal into the residual signal sequence Y so as to be the (P m + n × T m ) th signal of the signal sequence Z;
A decoding method comprising:
初期位相P(ただし、Pは0以上の整数)と間隔T(ただし、Tは2以上の整数)と最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)と分離信号列Xを入力とする復号化方法であって、
分離信号列Xの各信号を、最大桁Aを用いて復号したい信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)に復元する復元ステップ
を有する復号化方法。
Initial phase P (where P is an integer greater than or equal to 0), interval T (where T is an integer greater than or equal to 2), maximum digit A (where digit is a bit representing the absolute value of the amplitude of the signal) and separated signal A decoding method with a column X as input,
Each signal of the separated signal sequence X is the (P + n × T) th signal of the signal sequence Z to be decoded using the maximum digit A (where n is 0 or more and P + n × T is the signal sequence Z signal) A decoding step having a restoration step of restoring to an integer smaller than a number).
残余信号列Yと最大桁A(ただし、桁とは信号の振幅の絶対値を表現するビット)と、M組(ただし、Mは1以上の整数)の初期位相P(ただし、Pは0以上の整数、mは1からMの整数)と間隔T(ただし、Tは2以上の整数)と分離信号列Xを入力とし、信号列Zを復号化する復号化方法であって、
残余信号列Yを、最大桁Aを用いて前記信号列Zの(P+n×T)番目の信号(ただし、nは0以上であって、P+n×Tが信号列Zの信号の数より小さくなる整数)以外の信号に復元する復元ステップと、
前記復元された信号に、前記信号列Zの(P+n×T)番目の信号となるように分離信号列Xを挿入する挿入ステップと、
を有する復号化方法。
Residual signal sequence Y and maximum digit A (where the digit is a bit representing the absolute value of the amplitude of the signal) and M phases (where M is an integer equal to or greater than 1) initial phase P m (where P is 0) A decoding method for decoding a signal sequence Z by inputting the above integer, m is an integer from 1 to M), an interval T m (where T is an integer of 2 or more) and a separated signal sequence X m ,
The remaining signal sequence Y is the (P m + n × T m ) th signal of the signal sequence Z using the maximum digit A (where n is 0 or more and P m + n × T m is equal to the signal sequence Z). A restoration step for restoring to a signal other than an integer smaller than the number of signals,
An insertion step of inserting a separated signal sequence X m into the restored signal so as to be the (P m + n × T m ) th signal of the signal sequence Z;
A decoding method comprising:
請求項8から13のいずれかに記載の符号化方法の各ステップをコンピュータにより実行させる符号化プログラム。   An encoding program for causing a computer to execute each step of the encoding method according to claim 8. 請求項14から16のいずれかに記載の復号化方法の各ステップをコンピュータにより実行させる復号化プログラム。   A decoding program for causing a computer to execute each step of the decoding method according to claim 14. 請求17記載の符号化プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the encoding program according to claim 17 is recorded. 請求18記載の復号化プログラムを記録したコンピュータ読み取り可能な記録媒体。
A computer-readable recording medium on which the decryption program according to claim 18 is recorded.
JP2007332849A 2007-12-25 2007-12-25 Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program, and recording medium Active JP4964114B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007332849A JP4964114B2 (en) 2007-12-25 2007-12-25 Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007332849A JP4964114B2 (en) 2007-12-25 2007-12-25 Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program, and recording medium

Publications (2)

Publication Number Publication Date
JP2009156971A true JP2009156971A (en) 2009-07-16
JP4964114B2 JP4964114B2 (en) 2012-06-27

Family

ID=40961094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007332849A Active JP4964114B2 (en) 2007-12-25 2007-12-25 Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program, and recording medium

Country Status (1)

Country Link
JP (1) JP4964114B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012102149A1 (en) 2011-01-25 2012-08-02 日本電信電話株式会社 Encoding method, encoding device, periodic feature amount determination method, periodic feature amount determination device, program and recording medium
WO2013176177A1 (en) 2012-05-23 2013-11-28 日本電信電話株式会社 Encoding method, decoding method, encoding device, decoding device, program and recording medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02183638A (en) * 1989-01-10 1990-07-18 Fujitsu Ltd Voice transmission system
JP2005151327A (en) * 2003-11-18 2005-06-09 Nec Micro Systems Ltd Pcm data compressing/decompressing method and apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02183638A (en) * 1989-01-10 1990-07-18 Fujitsu Ltd Voice transmission system
JP2005151327A (en) * 2003-11-18 2005-06-09 Nec Micro Systems Ltd Pcm data compressing/decompressing method and apparatus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012102149A1 (en) 2011-01-25 2012-08-02 日本電信電話株式会社 Encoding method, encoding device, periodic feature amount determination method, periodic feature amount determination device, program and recording medium
KR20160080115A (en) 2011-01-25 2016-07-07 니폰 덴신 덴와 가부시끼가이샤 Encoding method, encoder, periodic feature amount determination method, periodic feature amount determination apparatus, program and recording medium
US9711158B2 (en) 2011-01-25 2017-07-18 Nippon Telegraph And Telephone Corporation Encoding method, encoder, periodic feature amount determination method, periodic feature amount determination apparatus, program and recording medium
WO2013176177A1 (en) 2012-05-23 2013-11-28 日本電信電話株式会社 Encoding method, decoding method, encoding device, decoding device, program and recording medium
KR20160087394A (en) 2012-05-23 2016-07-21 니폰 덴신 덴와 가부시끼가이샤 Encoding method, decoding method, encoder, decoder, program and recording medium
KR20160100411A (en) 2012-05-23 2016-08-23 니폰 덴신 덴와 가부시끼가이샤 Encoding method, decoding method, frequency-domain pitch period analyzing method, encoder, decoder, frequency-domain pitch period analyzer and recording medium
US9947331B2 (en) 2012-05-23 2018-04-17 Nippon Telegraph And Telephone Corporation Encoding method, decoding method, encoder, decoder, program and recording medium
US10083703B2 (en) 2012-05-23 2018-09-25 Nippon Telegraph And Telephone Corporation Frequency domain pitch period based encoding and decoding in accordance with magnitude and amplitude criteria
US10096327B2 (en) 2012-05-23 2018-10-09 Nippon Telegraph And Telephone Corporation Long-term prediction and frequency domain pitch period based encoding and decoding
EP3385950A1 (en) 2012-05-23 2018-10-10 Nippon Telegraph and Telephone Corporation Audio decoding methods, audio decoders and corresponding program and recording medium
EP3576089A1 (en) 2012-05-23 2019-12-04 Nippon Telegraph And Telephone Corporation Encoding of an audio signal

Also Published As

Publication number Publication date
JP4964114B2 (en) 2012-06-27

Similar Documents

Publication Publication Date Title
KR101176691B1 (en) Efficient coding and decoding of transform blocks
CN102449689B (en) Coding method, decoding method, coding apparatus, decoding apparatus, coding program, decoding program and recording medium therefor
JP4482237B2 (en) Efficient coding of side information in lossless encoders
JP4825916B2 (en) Encoding method, decoding method, apparatus using these methods, program, and recording medium
JPH0695645B2 (en) Encoding device, encoding method, decoding device, and decoding method
JP4359312B2 (en) Signal encoding apparatus, decoding apparatus, method, program, recording medium, and signal codec method
KR101798079B1 (en) Method and apparatus for encoding video frame using difference between pixels
KR101365989B1 (en) Apparatus and method and for entropy encoding and decoding based on tree structure
KR20110043684A (en) Method, system, and apparatus for compression or decompression of digital signals
JP4964114B2 (en) Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program, and recording medium
JP5013293B2 (en) Encoding device, decoding device, encoding method, decoding method, program, recording medium
JP4016662B2 (en) Encoding processing device, decoding processing device and method, and computer program
JP4170795B2 (en) Time-series signal encoding apparatus and recording medium
JP2003133963A (en) Encoding/decoding apparatus and method for graphic animation data
JP4971965B2 (en) Encoding device, decoding device, encoding method, decoding method, encoding program, decoding program, and recording medium
JP2924416B2 (en) High efficiency coding method
JP2004258059A (en) Compression analyzing device and converting device for time-series signal
CN111788628A (en) Encoding device, encoding method, program, and recording medium
JP4705685B2 (en) Signal encoding apparatus, decoding apparatus, method, program, and recording medium
CN113345446B (en) Audio processing method, device, electronic equipment and computer readable storage medium
JP4109124B2 (en) Time series signal encoding device
EP3902141B1 (en) Encoding device, decoding device, encoding method and decoding method, and program
JP4348324B2 (en) Signal encoding apparatus, method, program, and recording medium
JP2005269184A (en) Data compressing process, program, data recovery method, and apparatus
JP4184817B2 (en) Time series signal encoding method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100818

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110812

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120227

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120321

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120327

R150 Certificate of patent or registration of utility model

Ref document number: 4964114

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150406

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350