Method of orthogonal transform coding/decoding.
Abstract
There is provided the method of orthogonal transform coding/decoding to quantize/de-quantize transformed coefficients which are divided into a plurality of bands to which respective different numbers of coefficient are allotted. Quantization/de-quantization tables are arranged on the basis of a probability density function of the coefficient values designed on the assumption of a specified number of coefficients so as to correspond to the number of quantization/de-quantization bits. The values in the quantization/de-quantization tables selected according to the number of quantization/de-quantization bits are adaptivety compensated on the basis of an actual number of coefficients on each band to quantize/de-quantize the coefficient values.

Term
Term ended
Projected expiry passed 26 February 2011, 15.6 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
3 claims: 2 independent, 1 dependent
- 1A method of orthogonal transform coding to quantize transformed coefficients which are divided into a plurality of bands to which respective different numbers of coefficients are allotted, characterized by comprising the steps of:arranging a plurality of quantization threshold level-tables designed on the basis of a probability density function of coefficient value on the assumption of a pre-set number of coefficients, the quantization threshold level-tables corresponding to pre-pet plural numbers of quantization bits respectively, selecting a table among the quantization threshold level-tables in response to a number of bits which the quantization of coefficients on a band is to be performed, and compensating the quantization levels in the selected table with the square root of a ratio of the number of coefficients on the band to the pre-set number of coefficients, thus to compare the coefficient values and the compensated threshold levels with each other to quantize the coefficient values.
- 3A method of orthogonal transform decoding to de-quantize quantized values of transformed coefficients which are divided into a plurality of bands to which respective different number of coefficients are allotted, characterized by comprising the steps of:arranging a plurality of de-quantized value-tables designed on the basis of a probability density function of coefficient value on the assumption of a pre-set number of coefficients, the de-quantized value-tables corresponding to pre-set plural numbers of de-quantization bits, and the steps being the same as each other, selecting a table among the de-quantized value-tables in response to a number of bits by which the quantization of coefficients on a band was performed, and compensating the de-quantized values in the selected table with the square root of a ratio of the number of coefficients on the band to the pre-set number of coefficients, the de-quantized values corresponding to the quantized values of coefficients on the band.
Independent claims2
71 paragraphs in 4 sections, as filed
BACKGROUND OF THE INVENTION
0001The present invention relates to a method of orthogonal transform coding/decoding in which transformed coefficients are divided into a plurality of frequency bands, the numbers of coefficients on frequency bands being different from each other, to quantize/de-quantize the coefficients.
0002FIG. 1 shows a conventional orthogonal transform coding/decoding system which comprises a coding system 10 and a decoding system 17.
0003In the coding system 10, the data objective to quantization is fed to a front processor 11 and the data thus processed is coded via an orthogonal transformer 12, intermediate processor 13 and a quantizer 14. The data thus quantized is transmitted to the decoding system 17 by a transmitter 15.
0004More precisely, the data is processed by the front processor 11 with covering a window function. The processed data is transformed by the orthogonal transformer 12 with discrete fourier transformation or discrete cosine transformation.
0005The frequency band of the transformed data (coefficients) is divided into a plurality of bands by the intermediate processor 13 (sub-band division). The band-divided data is quantized by the quantizer 14.
0006The number of quantization steps is selected by an additional control processor 16 on the basis of an RMS power (a root-mean-square value), the processor 16 being responsible for other overall adaptative control.
0007The quantized data and supplementary data are transmitted to the decoding system 17 in the form of a bit stream. The quantized data is decoded via a receiver 18, de-quantizer 19, an intermediate processor 20, inverse orthogonal transformer 21, and a rear processor 22.
0008The number of de-quantization steps is selected by an additional control processor 23 on the basis of the supplementary data, the processor 23 being responsible for other averall adaptive control.
0009In such as a conventional orthogonal coding/decoding system, effective quantization methods with less distortion of quantized data such as non-uniform quantization, separate quantization in every divided-frequency band and separate quantization in which the number of steps is selected in every frequency band, etc., have been employed.
0010The above three quantization methods will be explained to start with non-uniform quantization. The probability density function of amplitude of coefficient transformed of an audio or video signal generally exhibits a Laplace or Gauss distribution in which the probability density becomes higher as the amplitude of the coefficient becomes smaller.
0011In the case of quantization of the transformed coefficients exhibiting those distribtuions with a constant number of quantization steps, as shown in FIG. 2, a larger number of quantization steps are alloted the region of higher probability density, while a smaller number of steps are alloted for the region of lower probability density to reduce distorsion due to quantization (non-uniform quantization). The probability density function and the number of quantization steps are supposed to be an even function and even number respectively in FIG. 2.
0012An orthoganal coding/decoding system adopting non-uniform quantization is generally desigend so as to have the function of minimizing the mean-square error of quantization when the probebility density function and the number of quantization steps are supposed.
0013Quantization per divided-frequency band is next explained. Transformed coefficients are divided into a plurality of bands and then quantized with the number of steps required for each divided band. The coefficient values should be normalized with an RMS value (a root-mean-square value) on each band.
0014For example, suppose that the number of coefficients per band is 16. When the coefficient values are normalized with the RMS value on the band, the normalized coefficient values are in the range of 0.0 to √16 = 4.0. This range is to be the domain of definition.
0015Accordingly, if quantization is to be conducted per block-length (The number of coefficients is 16.), a quantizer is designed under the condition that, for example,<maths id="math0001" num=""><math display="block"><mrow><msup><mrow><mtext>P(x) = c·e-</mtext></mrow><mrow><mtext>√2 x</mtext></mrow></msup></mrow></math><img file="EP0444884A2_D0001.tif" /></maths> as the probability density function, where, <chemistry id="chem0001" num="0001"><img file="EP0444884A2_D0002.tif" /></chemistry> and the domain of definition is 0.0 < x < 4.0.
0016If the number of coefficients per frequency band is constant, an adequate probability density function is set to design quantizing/de-quantizing systems having quantizing threshold level-tables/de-quantized value-tables corresponding to different numbers of quantization/de-quantization steps.
0017Quantization/de-quantization is performed by comparing coefficient values/quantized values with quantizing threshold levels/de-quantized values on each number of steps.
0018Quantization by selecting the number of steps per frequency band is explained. FIGS. 3 and 4 show a quantizing system 24 and de-quantizing system 29 respectively in which the number of quantization/de-quantization steps is selected on the basis of an RMS power (an RMS value).
0019In the quantizing system 24, the number of quantization steps is selected on the basis of the main data including values on each frequency band in a selector 25. The quantization table corresponding to the selected number of steps is selected from a quantization table array 27.
0020The coefficient values are normalized with the RMS value in a normalizer 26. Then, the normalized coefficient values are compared with quantization thershold levels in the selected quantization table respectively to quantize the normalized coefficient values in a quantizer 28.
0021The quantized main data and supplementary data including the data required for decoding are supplied to the de-quantizing system 29 from the quantizer 28 and selector 25.
0022In the de-quantizing system 29, the number of de-quantization steps is selected in a selector 30 on the basis of the supplementary data.
0023The de-quantization table corresponding to the selected de-quantization step is selected from a de-quantization table array 31.
0024The quantized main data is compared with de-quantized values in the selected de-quantization table to de-quantize the quantized main data in a de-quantizer 32.
0025The de-quantized main data is inverse-normalized with RMS values in an inverse normalizer 33.
0026Quantization on divided frequency band with a variable number of coefficients per band is explained. In the case of orthogonal transform and compression coding of audio signals, it is widely known that the audio signals are effectively processed by dividing the critical band known as auditory characteristics into several band. The domain of definition of the probability density function varie dependent on band.
0027The following methods have been known as to quantization method adopting quantization tables in the case where the number of coefficients is variable on each band. <ul id="ul0001" list-style="none"><li>(a) Quantization method wich a plurality of quantization tables and de-quantization tables designed according to the different numbers of coefficients for respective bands.</li><li>(b) Quantization method covering all bands with a quantization table and de-quantization table designed by supposing the mean number of coefficients.</li></ul>
0028However, (a) is not realistic because the number of quantization tables is increased as the number of bands is increased.
0029As to (b), quality of quantized data is greatly deteriorated if the number of coefficients varies largely dependent on band.
0030As shown in FIG. 5A, if the number of coefficients on a band is smaller than a mean value (assumed value), quantization is performed not with all quantization steps but a few steps corresponding to such a small number of coefficients. While is larger than the mean value, this results in lack of quantization steps which causes a large quantization error in the coefficient having a large amplitude on a band.
0031As understood from the foregoing, the conventional quantization method adopting quantization/de-quantization tables with a variable number of coefficient per band causes problems in construction and quality of the coding/decoding system.
SUMMARY OF THE INVENTION
0032The object of the present invention is to provide the method of orthogonal transform coding/decoding to quantize/de-quantize transformed coefficients which are divided into a plurality of bands to which respective different numbers of coefficients are allotted.
0033Quantization/de-quantization tables designed on the basis of a probability density function of coefficient value on the assumption of a specified number of coefficients are arranged so as to correspond to pre-set plural numbers of quantization/de-quantization bits, respectively.
0034The values in the quantization/de-quantization tables selected according to the number of quantization/de-quantization bits are adaptively compensated on each band.
0035According to the present invention there is provided a method of orthogonal transform coding to quantize transformed coefficients which are divided into a plurality of bands to which respective different numbers of coefficients are allotted.
0036The method comprises the steps of: arranging a plurality of quantization threshold level-tables designed on the basis of a probability density function of coefficient value on the assumption of a pre-set number of coefficients, the quantization threshold level-tables corresponding to pre-set plural numbers of quantization bits respectively, selecting a table among the quantization threshold level-tables in response to a number of bits by which the quantization of coefficient on a band is to be performed, and compensating the quantization levels in the selected table with the square root of a ratio of the number of coefficients on the band to the pre-set number of coefficients, thus to compare the coefficient values and the compensated threshold levels with each other to quantize the coefficient values.
0037There is also provided a method of orthogonal transform decoding to de-quantize quantized values of transformed coefficients which are divided into a plurality of bands to which respective different numbers of coefficients are allotted.
0038The method comprises the steps of: arranging a plurality of de-quantized value-tables designed on the basis of a probability density function of coefficient value on the assumption of a pre-set number of coefficients, the de-quantized value-tables corresponding to pre-set plural numbers of de-quantization bits, selecting a table among the de-quantized value-tables in response to a number of bits by which the quantization of coefficients on a band was performed, and compensating the de-quantized values in the selected table with the square root of a ratio of the number of coefficient on the band to the pre-set number of coefficient, the de-quantized values corresponding to the quantized values of coefficients on the band.
0039Accordingly, in quantization/de-quantization on each frequency band, the range of the values in the quantization/de-quantization tables is conpensated so as to be adjusted to the actual domain of definition of the probability density function on each band due to the number of coefficients on the band.
0040Therefore, the present invention is advantageous in that, a quantization/de-quantization table per number of quantization/de-quantization bits can be adopted to quantization/de-quantization on frequency bands to which respective different numbers of coefficients are alloted.
0041Furthermore, the error due to a difference of a number of coefficients is greatly reduced so that quantization/de-quantization of low distorsion can be realized with a simple construction.
0042The other objects and features of the present invention will be understood from the following description with reference to the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
0043<ul id="ul0002" list-style="none"><li>FIG. 1 is a diagram of a conventional orthogonal transform coding/decoding system;</li><li>FIG. 2 is a graph for explaining non-uniform quantization;</li><li>FIG. 3 is a diagram of a conventional quantization system;</li><li>FIG. 4 is a diagram of a conventional de-quantization system;</li><li>FIGS. 5A an 5B are graphs for explaining problems arising in the case of a number of transformed coefficients on a frequency band being different from the number of coefficients set when a quantizer is designed;</li><li>FIG. 6 is a diagram of a preferred embodiment of a quantization system adopting a method of orthogonal transform coding according to the present invention; and</li><li>FIG. 7 is a diagram of a preferred embodiment of a de-quantization system adopting a method of orthogonal transform decoding according to the present invention.</li></ul>
DESCRIPTION OF THE PREFERRED EMBODIMENTS
0044The present invention will be described in detail with reference to the accompanying drawings.
0045First in FIG. 6, a coding system 41 comprises a normalizer 45, quantization table array 42, compensater 43, quantizer 46 and an additional control processor 44. The processor 44 further comprises an RMS value calculator 44a, SNR calculator 44b and a selector 44c.
0046Next in FIG. 7, a decoding system 51 comprises a de-quantization table array 52, compensater 53, de-quantizer 55, inverse normalizer 56 and an additional control processor 54. The processor 54 further comprises an SNR calculator 54b and selector 54c.
0047The quantization table array 42 of the quantization system 41 and the de-quantization table array 52 of the de-quantization system 51 are explained first.
0048A quantization table is designed per number of quantization steps according to a probability density function of tranformed coefficient under a specific number of coefficients. A de-quantization table is also designed per number of de-quantization steps in the same manner.
0049In detail, the orthogonally-transformed coefficients are divided into "B" bands each having a number of coefficients "n<sub>i</sub>" (i = 1, 2, ..., B).
0050A number "n<sub>m</sub>" which is approximately equal to the mean value of the numbers of the coefficients "n<sub>i</sub>" is adopted as an assumed value to suppose the probability density function (domain of definition = [0, √n<sub>m</sub>]) to design the same number of the quantization tables having quantization threshold levels and de-quantization tables having de-quantized values (representative values) corresponding to the number of quantization and de-quantization steps (which corresponds in turn to a number of quantization bits). The quantization table array 42 and de-quantization table array 52 consist of the quantization tables and de-quantization tables, respectively.
0051It is supposed that a quantization threshold level in the quantization table corresponding to the number of quantization bits "b" is "xb<sub>j</sub>" (j = 0, ..., 2<sup>b-1</sup>-1) and a de-quantized value in the de-quantization table also corresponding to the number of bits "b" is "yd<sub>j</sub>" (j = 0, ..., 2<sup>b-1</sup>-1). It is also supposed that the probability density function is an even function.
0052Further, only positive component of the coefficients are only considered and 1 bit from among "b" bits is assigned to the positive/negative sign.
0053Next, the compensater 43 and additional control processor 44 of the quantization system 41 and also the compensater 53 and additional control processor 54 of the quantization system 51 are explained.
0054A noise-masking threshold level is calculated in the SNR calculator 44b on the basis of the RMS values of the coefficients on each band. The ratio of the calculated noise-masking threshold level and RMS value on each band is also calculated as SNR (signal-to-noise ratio) in the SNR calculator 44b.
0055The number of quantization bits "b" is selected in the selector 44c among plural number of bits arranged therein on the basis of the calculated SNR. Then, the quantization table corresponding to the number of bits "b" is selected from the quantization table array 42.
0056The quantization threshold levels in the selected quantization table are compensated so as to correspond with the number of coefficients "n<sub>i</sub>".
0057More specifically, based on the value "√n<sub>m</sub>" pre-set in the compensater 43, each quantization threshold level in the selected quantization table is multiplied by a compensation factor factor = √n<sub>i</sub>/√n<sub>m</sub> so as to make the domain of definition [0, √n<sub>m</sub>] of the assumed probability density function correspond to the actual domain of definition [0, √n<sub>i</sub>] of the probability density function on each band.
0058It is supposed that the compensated quantization threshold level is "xb<sub>j</sub>′". <dl id="dl0001"><dt>xb<sub>j</sub>′</dt><dd>=xb<sub>j</sub> x factor</dd><dt> </dt><dd>= xb<sub>j</sub> x √n<sub>i</sub>/√n<sub>m</sub></dd></dl>
0059Next, each coefficient value and the compensated quantization threshold level "xb<sub>j</sub>′" are compared with each other. If xb<sub>j</sub>′ < a coefficient value < xb<sub>j+1</sub>′, then the quantized value is "j".
0060Next in the decoding system 51, the number of de-quantization bits is selected in the selector 54c via the SNR calculator 54b on the basis of the RMS value on each band tranferred from the coding system 41 in the same manner with the additional control compressor 44.
0061A de-quantized value "yb<sub>j</sub>" in a selected de-quantizing table in the de-quantizing table array 52, corresponding to the selected number of the de-quantization bits is compensated in the same manner with the above, that is, yb<sub>j</sub>′ = yb<sub>j</sub> x factor =yb<sub>j</sub> x √n<sub>i</sub>/√n<sub>m</sub>
0062The conpensated de-quantized value "yb<sub>j</sub>′" is selected as the de-quantized value by referring to the selected de-quantizing table on the basis of the quantized value "j" in the de-quantizer 55. The de-quantized value "yb<sub>j</sub>′" is inverse-normalized in the inverse normalizer 56.
0063Next, in orthogonal transformation and compression of audio signals, a selection method of the number of quantization bits in the case of adopting the critical band of auditory characteristics to be divided is explained. It is supposed that the number of bands is 24.
0064The following selection method is performed by the RMS value calculator 44a, SNR calculator 44b and selector 44c of the additional control processor 44 of the coding system 41. <ul id="ul0003" list-style="none"><li>(a) Total power P(i) of the coefficient values on each band is calculated. (i = 1, ..., 24) <chemistry id="chem0002" num="0002"><img file="EP0444884A2_D0003.tif" /></chemistry> where, "li" is the first coefficient number on a band "i", "ui" the last, and "x(j)" is the coefficient value on the coefficient number "j".</li><li>(b) Convolution S(i) of the total power P(i) and the spreading function B(i) defined by 10 log₁₀B(i) = 15.81 + 7.5 (i+0.474) - 17.5 (1+(i+0.474)²)<sup>1/2</sup> [dB] is made. That is, S(i) = P(i) * B(i)</li><li>(c) Noise-masking threshold level Th(i) on each band is obtained by 10 log₁₀TH(i) = 10 log₁₀S(i) - (A+Bi) - D(i) where, A and B are contants an D(i) is the convolution gain.</li><li>(d) SNR (signal-to-noise ratio) on each band SNR(i) is obtained. SNR(i) = 10 log₁₀(P(i)/Th(i)) [dB]</li><li>(e) The number of quantization bits on each band is then selected in the selector 44c by referring to the SNR value pre-set in the selector 44c on the basis of the SNR value SNR(i).</li></ul>
0065An experiment on sound-adaptive orthogonal transform coding to which the present invention had been applied was made.
0066the length of orthogonal transformation is 1024 and the frequency band of the sound is ranged from 0 to 24 Hz. The transformed coefficients were divided into 24 bands and the number of coefficients on each band is as shown in TABLE 1. The frequency becomes higher as the band is higher numbered. <tables id="tabl0001" num="0001"><img file="EP0444884A2_D0004.tif" /></tables>
0067It is supposed that "n<sub>m</sub>" = 16. Then, the segmental SNR value for respective frequency bands of the decoded sound were calculated in the cases where factor = 1.0 that is, non compensation was made and factor = √n<sub>i</sub>/√n<sub>m</sub> = √n<sub>i</sub>/4.0 that is, compensation was made.
0068The calculated values are shown in TABLE 2. <tables id="tabl0002" num="0002"><img file="EP0444884A2_D0005.tif" /></tables>
0069The music adopted to the experiment were triangle solo (A; non-compensation made and B; compensation made) and glockenspiel solo (A′; non-compensation made and B′; compensation made).
0070As is obvious from TABLE 2, the SNR values were improved in almost all frequency bands when the compensation was made.
0071While the presently preferred embodiment of the present invention has been shown and described, it is to be understood this disclosure is for the purpose of illustration and that various changes and modifications may be made without departing from the scope of the invention as set forth in the appended claims.
Contents4
13 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| EP1434442A3 | Cited by | European Patent Office (EPO) | Search report |
| GB2398191B | Cited by | United Kingdom | Search report |
| EP0843481A4 | Cited by | European Patent Office (EPO) | Search report |
| GB2398191A | Cited by | United Kingdom | Search report |
| US5850484A | Cited by | United States of America | Search report |
| EP0843481A1 | Cited by | European Patent Office (EPO) | Search report |
| EP0735771A2 | Cited by | European Patent Office (EPO) | Search report |
| EP0735771A3 | Cited by | European Patent Office (EPO) | Search report |
| EP1434442A2 | Cited by | European Patent Office (EPO) | Search report |
| EP0217017A2 | Cites | European Patent Office (EPO) | Search report |
| EP0267344A1 | Cites | European Patent Office (EPO) | Search report |
| US4734767A | Cites | United States of America | Search report |
2 priority claims, no other members on record
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 4810690 | Japan | – | |
| 4810690 | Japan | A |
21 legal events, as 2 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Notification of lapseLapsedST | ST | FR | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Fr: translation filedET | ET | EP | |
| Corresponds to:REF | REF | EP | |
| Designated contracting statesAK | AK | EP | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 0444884
- Application
- 913015525
Titles3
- German
- Verfahren zur Kodierung und Dekodierung durch orthogonale Transformation
- English
- Method of orthogonal transform coding/decoding
- French
- Méthode de codage et de décodage par transformée orthogonale
Classification
- CPC, 4
- G06F17/14
- H04N19/60
- H04N19/124
- H04N19/126
- IPC, 3
- G06F17 14
- H03M1 00
- H03M7 30
Designated states3
- Contracting states, 3
- Germany
- France
- United Kingdom