JP2963958B2 - High efficiency coding device - Google Patents

High efficiency coding device

Info

Publication number
JP2963958B2
JP2963958B2 JP22667491A JP22667491A JP2963958B2 JP 2963958 B2 JP2963958 B2 JP 2963958B2 JP 22667491 A JP22667491 A JP 22667491A JP 22667491 A JP22667491 A JP 22667491A JP 2963958 B2 JP2963958 B2 JP 2963958B2
Authority
JP
Japan
Prior art keywords
circuit
variable
data
encoding
quantization
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.)
Expired - Fee Related
Application number
JP22667491A
Other languages
Japanese (ja)
Other versions
JPH0549021A (en
Inventor
学 塚本
吉範 浅村
喜子 幡野
俊 伊藤
健 大西
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP22667491A priority Critical patent/JP2963958B2/en
Publication of JPH0549021A publication Critical patent/JPH0549021A/en
Application granted granted Critical
Publication of JP2963958B2 publication Critical patent/JP2963958B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、デジタルビデオテープ
レコーダ等のようにディジタル画像データを記録する装
置において用いられ、ディジタル画像データをそのデー
タ量を圧縮して符号化する高能率符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-efficiency encoding apparatus used in an apparatus for recording digital image data, such as a digital video tape recorder, for compressing digital image data by compressing the data amount. .

【0002】[0002]

【従来の技術】アナログの画像データをデジタル信号に
変換した画像データを、テープ等の記録媒体にそのまま
記録すると、データ量は膨大であって、一般的には記録
媒体に記録できる限界のデータ量を超えてしまう。従っ
て、デジタルの画像データをテープ等に記録する場合に
は、データ量がその限界を超えないように、画像データ
を圧縮する必要があり、従来から高能率符号化装置を用
いて画像データの圧縮が行われている。
2. Description of the Related Art When image data obtained by converting analog image data into a digital signal is directly recorded on a recording medium such as a tape, the amount of data is enormous, and generally the maximum data amount that can be recorded on the recording medium. Will be exceeded. Therefore, when recording digital image data on a tape or the like, it is necessary to compress the image data so that the data amount does not exceed the limit. Has been done.

【0003】図1は、例えばIEEE Transactions on Con
sumer Electronics,Vol.34,No.3 (AUGUSUT,1988 )の
“AN EXPERIMENTAL DIGITAL VCR WITH 40MM DRUM,SINGL
E ACTUATOR AND DCT-BASED BIT-RATE REDUCTION ”に示
されている従来の高能率符号化装置の構成を示すブロッ
ク図である。図において121 は、入力されるディジタル
画像信号を複数のブロックに分割するブロック化回路で
あり、ブロック化回路121 は、各ブロックの画像信号を
DCT 回路122 へ出力する。DCT 回路122 は、ブロック化
回路121 から出力される画像信号の各ブロックに対して
DCT(DiscreteCosine Transform)を施して、変換係
数をウエイティング回路123 へ出力する。ウエイティン
グ回路123 は、各変換係数に対してウエイティング(重
み付け)を施した後、重み付けされた変換係数を適応量
子化回路124 へ出力する。適応量子化回路124 は、量子
化ステップ幅が異なる複数の量子化テーブルを有し、重
み付けした変換係数を最適の量子化ステップ幅により量
子化し、量子化した変換係数を可変長符号化回路125 へ
出力する。可変長符号化回路125は、量子化された変換
係数を可変長符号化し、可変長符号化したデータをバッ
ファメモリ126 へ出力する。バッファメモリ126 は、可
変長符号化されたデータを固定レートに変換して記憶
し、固定の出力レートにて出力する。バッファ制御器12
7 は、バッファメモリ126 がオーバフローしないように
適応量子化回路124 での量子化ステップ幅を切り換える
と共に可変長符号化回路125 で符号化される変換係数を
選定する。
FIG. 1 shows, for example, IEEE Transactions on Con
sumer Electronics, Vol.34, No.3 (AUGUSUT, 1988) “AN EXPERIMENTAL DIGITAL VCR WITH 40MM DRUM, SINGL
E ACTUATOR AND DCT-BASED BIT-RATE REDUCTION "is a block diagram showing a configuration of a conventional high-efficiency encoding apparatus. In the figure, reference numeral 121 denotes a digital image signal to be divided into a plurality of blocks. This is a blocking circuit, and the blocking circuit 121 converts the image signal of each block.
Output to the DCT circuit 122. The DCT circuit 122 performs DCT (Discrete Cosine Transform) on each block of the image signal output from the blocking circuit 121, and outputs a transform coefficient to the weighting circuit 123. The weighting circuit 123 weights each transform coefficient, and outputs the weighted transform coefficient to the adaptive quantization circuit 124. The adaptive quantization circuit 124 has a plurality of quantization tables with different quantization step widths, quantizes the weighted transform coefficients with the optimal quantization step width, and sends the quantized transform coefficients to the variable length coding circuit 125. Output. The variable length coding circuit 125 performs variable length coding on the quantized transform coefficients, and outputs the variable length coded data to the buffer memory 126. The buffer memory 126 converts the variable-length coded data into a fixed rate, stores it, and outputs it at a fixed output rate. Buffer controller 12
7 switches the quantization step width in the adaptive quantization circuit 124 so that the buffer memory 126 does not overflow, and selects a transform coefficient to be encoded in the variable length encoding circuit 125.

【0004】次に、具体的な動作について説明する。入
力されるディジタル画像信号は例えば輝度信号と2つの
色差信号とからなり、これらの信号はブロック化回路12
1 において、時分割され後、例えば8画素×8ライン
のブロックに分割されてDCT回路122 へ出力される。DCT
回路122 では、各ブロックの画像信号に対して、水平
方向,垂直方向の8点離散的コサイン変換が施される。
まず、画像信号をx(i,j)(i,j=0,1,…,
7)と表すと、次式による水平方向の8点DCTが施さ
れる。
Next, a specific operation will be described. The input digital image signal is composed of, for example, a luminance signal and two color difference signals.
In 1, after the time division, and output example are divided into 8 pixels × 8 lines blocks to DCT circuit 122. DCT
In the circuit 122, the image signal of each block is subjected to 8-point discrete cosine transform in the horizontal and vertical directions.
First, the image signal is represented by x (i, j) (i, j = 0,1,...,
When expressed as 7), a horizontal 8-point DCT is performed by the following equation.

【0005】[0005]

【数1】 (Equation 1)

【0006】変換された画像信号f(0,j), f
(m,j)に対して次式による垂直方向の8点DCTが
施されて、画像信号は変換係数F(m,n)(m,n=
0,1,…,7)として表され、ウエイティング回路12
3 へ出力される。
[0006] The converted image signal f (0, j), f
(M, j) is subjected to a vertical 8-point DCT according to the following equation, and the image signal is transformed into a transform coefficient F (m, n) (m, n =
0, 1,..., 7), and the weighting circuit 12
Output to 3.

【0007】[0007]

【数2】 (Equation 2)

【0008】ウエイティング回路123 に入力された各変
換係数はウエイティングを施される。具体的には、8画
素×8ラインの各ブロックに対するDCT演算の結果を
図2に示すような4つの領域に分割した場合、高い空間
周波数に対して人間の視覚が鈍いことを利用して、図3
に示すように、高い空間周波数成分が含まれる領域F4
には小さなウエイティングを行い、低い空間周波数成分
が含まれる領域F1 には大きなウエイティングを行う。
ここで、ウエイティング係数W(m,n)は、以下のよ
うな式で表される。
Each transform coefficient input to the weighting circuit 123 is subjected to weighting. Specifically, when the result of the DCT operation for each block of 8 pixels × 8 lines is divided into four regions as shown in FIG. FIG.
As shown in FIG. 7, the region F 4 including the high spatial frequency component
Perform a small weighting to performs a large weighting in the area F 1 which contains low spatial frequency components.
Here, the weighting coefficient W (m, n) is represented by the following equation.

【0009】[0009]

【数3】 (Equation 3)

【0010】ウエイティング回路123 の出力は、適応量
子化回路124 にて量子化される。各ブロックにおける変
換係数とバッファ制御器127 からの量子化パラメータと
に基づいて、適応量子化回路124において最適な量子化
ステップ幅が選定され、その最適な量子化ステップ幅に
より、ウエイティングされた変換係数が量子化される。
具体的には、高いコントラストの立上がり部分のビデオ
データである場合には粗い量子化ステップ幅が選定さ
れ、小振幅のディテール部分のビデオデータである場合
には細かい量子化ステップ幅が選定される。
The output of the weighting circuit 123 is quantized by an adaptive quantization circuit 124. An optimal quantization step width is selected in the adaptive quantization circuit 124 based on the transform coefficient in each block and the quantization parameter from the buffer controller 127, and the weighted transform is selected by the optimal quantization step width. The coefficients are quantized.
More specifically, a coarse quantization step width is selected when the video data is a high-contrast rising portion, and a fine quantization step width is selected when the video data is a small-amplitude detail portion.

【0011】量子化された変換係数は、可変長符号化回
路125 において可変長符号化された後、バッファメモリ
126 に蓄えられる。バッファメモリ126 に蓄えられられ
ているデータ量は、バッファメモリ126 がオーバフロー
しないようにバッファ制御器127 により検知されてい
る。バッファ制御器127 は、バッファメモリ126 に蓄え
られられているデータ量に応じて量子化パラメータを決
定し、この量子化パラメータに基づいて適応量子化回路
124 における量子化ステップ幅を切り換えると共に、こ
のデータ量に応じて可変長符号化回路125 で符号化され
る変換係数を選定する。つまり、バッファ制御器127
は、バッファメモリ126 に蓄えられられているデータ量
が多い場合にはデータ圧縮率を高め、このデータ量が少
ない場合にはデータ圧縮率を低めるように調節し、バッ
ファメモリ126 がオーバフローすることを防止してい
る。バッファメモリ126 に蓄えられたデータは、固定の
出力レートで読出される。
The quantized transform coefficients are subjected to variable-length encoding in a variable-length encoding circuit 125, and then to a buffer memory.
126. The amount of data stored in the buffer memory 126 is detected by the buffer controller 127 so that the buffer memory 126 does not overflow. The buffer controller 127 determines a quantization parameter according to the amount of data stored in the buffer memory 126, and based on the quantization parameter, an adaptive quantization circuit
In addition to switching the quantization step width at 124, the transform coefficient to be encoded by the variable length encoding circuit 125 is selected according to the data amount. That is, the buffer controller 127
If the amount of data stored in the buffer memory 126 is large, the data compression ratio is increased, and if the amount of data is small, the data compression ratio is adjusted to be lower. Preventing. The data stored in buffer memory 126 is read at a fixed output rate.

【0012】[0012]

【発明が解決しようとする課題】従来の高能率符号化装
置は以上のような構成をなしており、バッファメモリ12
6 に蓄積されているデータの量によって、画像データの
圧縮率を制御している。従って、圧縮率が高くなりすぎ
ると、背景などのように復号器側で画質劣化が目立つ画
像データについても高度に圧縮してしまう虞がある。こ
のような場合には、再生した際に画質の劣化が目立つこ
とになる。このような難点を解消するためには、決して
オーバフローしないような大きな容量のバッファメモリ
を備えておかなければならない。
The conventional high-efficiency coding apparatus has the above-described configuration, and the buffer memory 12
The compression ratio of the image data is controlled by the amount of data stored in 6. Therefore, if the compression ratio is too high, there is a possibility that image data, such as a background, where the image quality is conspicuous on the decoder side is highly compressed. In such a case, the deterioration of the image quality becomes remarkable when reproduced. In order to solve such a difficulty, a buffer memory having a large capacity that never overflows must be provided.

【0013】本発明はかかる事情に鑑みてなされたもの
であり、不必要に画質を劣化させず、記録媒体からデー
タがオーバーフローすることなくなるべく多くのデータ
を記録できる高能率符号化装置を提供することを目的と
する。
The present invention has been made in view of the above circumstances, and provides a high-efficiency encoding apparatus capable of recording as much data as possible without unnecessarily deteriorating image quality and preventing data from overflowing from a recording medium. The purpose is to:

【0014】[0014]

【課題を解決するための手段】本願に係る第1発明の高
能率符号化装置は、量子化手段,可変長符号化手段によ
り1つのデジタルデータを圧縮し、圧縮後の可変長符号
化されたデータの符号量に基づいて、記録媒体における
記録密度が最大となるような最適の量子化レベルを選定
手段にて選定し、前記デジタルデータに近接する後のデ
ジタルデータをこの最適の量子化レベルにより量子化し
た後、可変長符号化するように構成したことを特徴とす
る。
According to the first aspect of the present invention, there is provided a high-efficiency encoding apparatus comprising a quantizing unit and a variable-length encoding unit.
One digital data is compressed and the compressed variable length code
Based on the amount of encoded data
Select the optimal quantization level to maximize the recording density
Means and select the data after it approaches the digital data.
Digital data is quantized using this optimal quantization level.
After that, it is configured to perform variable length coding.

【0015】[0015]

【0016】[0016]

【0017】[0017]

【0018】本願に係る第発明の高能率符号化装置
は、デジタル画像データを一旦圧縮符号化する第1の量
子化手段及び第1の可変長符号化手段と、圧縮後の可変
長符号のビット数と以前に圧縮して得られた他のデジタ
ル画像データの可変長符号のビット数とに基づいて、記
録媒体における記録密度が最大となるような最適の量子
化レベルを選定する選定手段と、選定した量子化レベル
に従って前記デジタル画像データを再度圧縮符号化する
第2の量子化手段及び第2の可変長符号化手段とを備え
ることを特徴とする。
A high-efficiency encoding apparatus according to a second aspect of the present invention includes a first quantizing unit and a first variable-length encoding unit for compressing and encoding digital image data once, and a variable-length code after compression. Selecting means for selecting an optimum quantization level such that the recording density on the recording medium is maximized based on the number of bits and the number of bits of the variable-length code of the other digital image data obtained by compression before. , A second quantization means and a second variable length coding means for re-compressing and coding the digital image data according to the selected quantization level.

【0019】本願に係る第発明の高能率符号化装置
は、デジタル画像データを一旦圧縮符号化する第1の量
子化手段及び第1の可変長符号化手段と、圧縮後の可変
長符号のビット数に基づいて、記録媒体における記録密
度が最大となるような最適の量子化レベルを選定する選
定手段と、圧縮後の可変長符を復号化する復号化手段
と、選定した最適の量子化レベルに従って復号化手段か
らの出力を再度圧縮符号化する第2の量子化手段及び第
2の可変長符号化手段とを備えることを特徴とする。
A high-efficiency encoding apparatus according to a third aspect of the present invention includes a first quantizing unit and a first variable-length encoding unit for compressing and encoding digital image data once, and a variable-length code after compression. based on the number of bits, and selection means for recording density of the recording medium to select the optimum quantization levels such that the maximum, and decoding means for decoding the variable length sign of compressed, the selected optimum quantum A second quantization unit and a second variable length encoding unit for compressing and encoding the output from the decoding unit again according to the encoding level.

【0020】本願に係る第発明の高能率符号化装置
は、デジタル画像データを一旦圧縮符号化する第1の量
子化手段,第1の可変長符号化手段及び第2の可変長符
号化手段と、圧縮後の可変長符号のビット数に基づい
て、記録媒体における記録密度が最大となるような最適
の量子化レベルを選定する選定手段と、第1の可変長符
号化手段の出力を保持する保持手段と、選定した最適の
量子化レベルに従って保持手段からの出力を再度圧縮符
号化する第2の量子化手段及び第3の可変長符号化手段
とを備えることを特徴とする。
A high-efficiency encoding apparatus according to a fourth aspect of the present invention includes a first quantizing unit, a first variable length encoding unit, and a second variable length encoding unit for compressing and encoding digital image data once. Holding means for selecting an optimum quantization level for maximizing the recording density in the recording medium based on the number of bits of the variable length code after compression, and holding the output of the first variable length coding means. And a second variable length encoding means for compressing and encoding the output from the holding means again according to the selected optimal quantization level.

【0021】[0021]

【作用】第1発明では、一度可変長符号化して得られた
可変長符号のビット数から、できるだけ多くの可変長符
号が記録媒体に記録可能なように最適な量子化レベルを
選定し、この最適な量子化レベルを用いて、先に処理し
たデータに近接する後のデータの量子化,可変長符号化
を行うようにしたので、記録媒体内からデータがオーバ
ーフローすることなくなるべく多くのデータを記録する
ことができる。従って、バッファメモリの容量を小さく
しても、画質劣化は目立たない。また、第4発明では、
第3発明に比べて、データを保持する保持手段と量子化
手段及び可変長符号化手段の1系統とを削減できる。
According to the first aspect of the present invention, the variable length coding is performed once.
As many variable length codes as possible from the number of bits of the variable length code
The optimal quantization level so that the signal can be recorded on the recording medium.
Select and use this optimal quantization level to process first
Quantization and variable-length coding of data after being close to the data
Data is overwritten from within the recording medium.
-Record as much data as possible without flowing
be able to. Therefore, the capacity of the buffer memory can be reduced.
Even so, the image quality degradation is not noticeable. In the fourth invention,
Compared with the third invention, the holding means for holding data and the quantization
Means and one system of the variable length coding means.

【0022】[0022]

【0023】[0023]

【0024】[0024]

【0025】第発明では、一度可変長符号化して得ら
れた可変長符号のビット数と以前に得られた他のデータ
の可変長符号のビット数とから最適な量子化レベルを選
定し、この最適な量子化レベルを用いて、もう一度同一
データの量子化,可変長符号化を行うようにしたので、
記録媒体内からデータがオーバーフローすることなくな
るべく多くのデータを記録することができる。画面上で
近接する画像データまたは画面上で同じ位置にあって時
間的に連続する画像データは相関が強いので、これらの
可変長符号のビット数を参考にして最適な量子化レベル
を選定すると、より精度良く記録エリア内になるべく多
くのデータを記録できる。
In the second invention, an optimal quantization level is selected from the number of bits of the variable length code obtained by performing the variable length coding once and the number of bits of the variable length code of other data obtained before. Using the optimal quantization level, quantization and variable length encoding of the same data are performed again.
It is possible to record as much data as possible so that data does not overflow from within the recording medium. Since image data that is close on the screen or image data that is temporally continuous at the same position on the screen have a strong correlation, if the optimal quantization level is selected by referring to the number of bits of these variable-length codes, As much data as possible can be recorded in the recording area with higher accuracy.

【0026】第発明では、一度可変長符号化して得ら
れた可変長符号を保持手段に保持しておき、保持した可
変長符号を復号化した後、この復号化データを選定され
た最適の量子化レベルに従って再度量子化,可変長符号
化を行うようにしたので、保持手段には圧縮後のデータ
が保持されることになり、元のデジタルデータを保持す
るようにした従来の装置に比べて、保持手段の容量が少
なくて良い。
According to the third aspect of the present invention, the variable length code obtained by performing the variable length coding once is held in the holding means, and the held variable length code is decoded. Since the quantization and variable length coding are performed again according to the quantization level, the holding means holds the data after compression, which is smaller than that of the conventional device which holds the original digital data. Thus, the capacity of the holding means may be small.

【0027】第発明では、可変長符号化を2段階に分
けて行うこととし、前段の第1の可変長符号化手段の出
力を保持手段に保持しておき、この保持されたデータを
選定された最適の量子化レベルに従って再度量子化,可
変長符号化を行うようにしたので、保持手段には圧縮後
のデータが保持されることになり、元のデジタルデータ
を保持するようにした従来の装置に比べて、保持手段の
容量が少なくて良い。
In the fourth invention, the variable length coding is performed in two stages, the output of the first variable length coding means at the preceding stage is held in the holding means, and the held data is selected. Since the quantization and the variable length coding are performed again according to the optimum quantization level obtained, the compressed data is held in the holding means, and the original digital data is held. The capacity of the holding means may be smaller than that of the above device.

【0028】[0028]

【実施例】以下、本発明をその実施例を示す図面に基づ
いて詳述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings showing the embodiments.

【0029】(第1実施例)まず、第1実施例について
説明する。第1実施例の高能率符号化装置の構成を示す
図4において11は、入力されるデジタル画像データを、
複数の周波数帯域に分割するサブバンド分割回路であ
り、サブバンド分割回路11は分割後の画像データをブロ
ック化回路1へ出力する。ブロック化回路1は、各周波
数帯域において画像データを複数のブロックに分割し、
各ブロックの画像データをDCT 回路2へ出力する。DCT
回路2は、ブロック化回路1から出力される画像データ
の各ブロックに対してDiscrete Cosine Transform(D
CT)を施して、変換係数をウエイティング回路3へ出
力する。ウエイティング回路3は、各変換係数に対して
ウエイティングを施した後、ウエイティングした変換係
数を量子化回路4へ出力する。量子化回路4は、ウエイ
ティングされた変換係数を量子化し、量子化した変換係
数を可変長符号化回路5へ出力する。可変長符号化回路
5は、量子化された変換係数を可変長符号化し、可変長
符号化して得られるデータ(可変長符号)を選定回路10
へ出力する。選定回路10は、入力された可変長符号の符
号量(ビット数)を求め、このビット数に基づいて最適
のウエイティング係数を選定し、そのウエイティング係
数を適応ウエイティング回路12へ出力する。
(First Embodiment) First, a first embodiment will be described. In FIG. 4 showing the configuration of the high-efficiency encoding apparatus of the first embodiment, reference numeral 11 denotes input digital image data.
The sub-band dividing circuit 11 divides the image data into a plurality of frequency bands, and outputs the divided image data to the blocking circuit 1. The blocking circuit 1 divides image data into a plurality of blocks in each frequency band,
The image data of each block is output to the DCT circuit 2. DCT
The circuit 2 applies Discrete Cosine Transform (D) to each block of the image data output from the blocking circuit 1.
CT), and outputs the transform coefficients to the weighting circuit 3. The weighting circuit 3 performs weighting on each transform coefficient, and outputs the weighted transform coefficient to the quantization circuit 4. The quantization circuit 4 quantizes the weighted transform coefficients, and outputs the quantized transform coefficients to the variable length coding circuit 5. The variable-length coding circuit 5 performs variable-length coding on the quantized transform coefficients, and selects data (variable-length code) obtained by variable-length coding.
Output to The selection circuit 10 obtains the code amount (bit number) of the input variable-length code, selects an optimum weighting coefficient based on the bit number, and outputs the weighting coefficient to the adaptive weighting circuit 12.

【0030】一方、DCT 回路2の出力は遅延回路6によ
り1ブロック分遅延されて適応ウエイティング回路12へ
入力される。適応ウエイティング回路12は、遅延回路6
からの出力(変換係数)に選定回路10からの最適のウエ
イティング係数に従ってウエイティングを施し、ウエイ
ティングした変換係数を、量子化回路13へ出力する。量
子化回路13は、ウエイティングされた変換係数を量子化
し、量子化した変換係数を可変長符号化回路8へ出力す
る。可変長符号化回路8は、量子化された変換係数を可
変長符号化し、可変長符号化して得られるデータ(可変
長符号)をバッファメモリ9へ出力する。バッファメモ
リ9は、可変長符号化されたデータを固定レートに変換
して記憶し、固定の出力レートにて出力する。
On the other hand, the output of the DCT circuit 2 is delayed by one block by the delay circuit 6 and input to the adaptive weighting circuit 12. The adaptive weighting circuit 12 includes a delay circuit 6
The output (transformation coefficient) from is weighted according to the optimum weighting coefficient from the selection circuit 10, and the weighted transformation coefficient is output to the quantization circuit 13. The quantization circuit 13 quantizes the weighted transform coefficient, and outputs the quantized transform coefficient to the variable length coding circuit 8. The variable-length coding circuit 8 performs variable-length coding on the quantized transform coefficient, and outputs data (variable-length code) obtained by performing variable-length coding to the buffer memory 9. The buffer memory 9 converts the variable-length coded data into a fixed rate, stores it, and outputs it at a fixed output rate.

【0031】次に、動作について説明する。Next, the operation will be described.

【0032】サブバンド分割回路11へ入力されるデジタ
ル画像データは例えば輝度信号と2つの色差信号とから
なり、これらの信号は、例えば水平及び垂直方向の周波
数に応じて夫々に2分割され、LL,LH,HL,HH
の4個の周波数帯域(サブバンド)に分割される。サブ
バンド分割された各帯域の信号は、ブロック化回路1に
おいて、例えば8画素×8ラインのブロックに分割され
てDCT 回路2へ出力される。DCT 回路2では、各ブロッ
クの画像データに対して、水平方向,垂直方向の8点D
CTが施される。DCT 回路2から出力された各変換係数
は、ウエイティング回路3にて、従来例と同様なウエイ
ティングが施される。ウエイティング回路3の出力は量
子化回路4にて量子化され、可変長符号化回路5にて可
変長符号化される。可変長符号化回路5から出力される
各ブロックの可変長符号のビット数が選定回路10にて算
出され、この算出したビット数に応じて最適のウエイテ
ィング係数が選定されて適応ウエイティング回路12へ出
力される。
The digital image data input to the sub-band division circuit 11 is composed of, for example, a luminance signal and two color difference signals. These signals are divided into two according to, for example, horizontal and vertical frequencies, and LL. , LH, HL, HH
Are divided into four frequency bands (sub-bands). The signal of each sub-band is divided into blocks of, for example, 8 pixels × 8 lines in the blocking circuit 1 and output to the DCT circuit 2. In the DCT circuit 2, eight points D in the horizontal and vertical directions are added to the image data of each block.
CT is performed. Each transform coefficient output from the DCT circuit 2 is subjected to weighting in the weighting circuit 3 in the same manner as in the conventional example. The output of the weighting circuit 3 is quantized by the quantization circuit 4 and is variable-length coded by the variable-length coding circuit 5. The number of bits of the variable-length code of each block output from the variable-length encoding circuit 5 is calculated by the selection circuit 10, and an optimum weighting coefficient is selected according to the calculated number of bits, and the adaptive weighting circuit 12 is selected. Output to

【0033】DCT 回路2から遅延回路6により1ブロッ
ク分遅延されて適応ウエイティング回路12へ入力された
変換係数は、この最適のウエイティング係数に従ってウ
エイティングが施される。例えば、8ビットに量子化さ
れた入力信号を約1/8に圧縮する場合、8画素×8ラ
インのブロックの符号量(ビット数)は約70ビットにす
る必要がある。そこで、選定回路10にて算出した符号量
が70ビット以下の場合、適応ウエイティング回路12は、
ウエイティング回路3と同じウエイティングを選択し、
70ビットを超える場合、適応ウエイティング回路12は、
ウエイティング回路3よりも急峻なウエイティングを施
す。具体的に述べるために、ウエイティング回路3が下
記のようなウエイティング係数W(m,n)により1〜
0.9 のウエイティングを行うとする。
The transform coefficient input from the DCT circuit 2 to the adaptive weighting circuit 12 after being delayed by one block by the delay circuit 6 is subjected to weighting according to the optimum weighting coefficient. For example, when compressing an input signal quantized to 8 bits to about 8, the code amount (bit number) of a block of 8 pixels × 8 lines needs to be about 70 bits. Therefore, when the code amount calculated by the selection circuit 10 is 70 bits or less, the adaptive weighting circuit 12
Select the same weighting as the weighting circuit 3,
If it exceeds 70 bits, the adaptive weighting circuit 12
Weighting that is steeper than the weighting circuit 3 is performed. In order to specifically describe, the weighting circuit 3 has a weighting coefficient W (m, n) of 1 to
Assume 0.9 weighting.

【0034】[0034]

【数4】 (Equation 4)

【0035】このとき、選定回路10にて算出した符号量
が70ビット以下であれば、適応ウエイティング回路12は
ウエイティング回路3と同じウエイティング係数W
(m,n)を用いる。選定回路10にて算出した符号量が
70ビットより多く 150ビット以下の場合には、適応ウエ
イティング回路12は下記のようなウエイティング係数
W′(m,n)に従って1〜0.85のウエイティングを行
う。
At this time, if the code amount calculated by the selection circuit 10 is 70 bits or less, the adaptive weighting circuit 12 has the same weighting coefficient W as the weighting circuit 3.
(M, n) is used. The code amount calculated by the selection circuit 10 is
In the case of more than 70 bits and 150 bits or less, the adaptive weighting circuit 12 performs weighting of 1 to 0.85 according to the following weighting coefficient W '(m, n).

【0036】[0036]

【数5】 (Equation 5)

【0037】また、符号量が 150ビットを超える場合に
は、適応ウエイティング回路12は下記のようなウエイテ
ィング係数W″(m,n)に従って1〜0.75のウエイテ
ィングを行う。
When the code amount exceeds 150 bits, the adaptive weighting circuit 12 performs weighting of 1 to 0.75 in accordance with the following weighting coefficient W ″ (m, n).

【0038】[0038]

【数6】 (Equation 6)

【0039】適応ウエイティング回路12の出力は量子化
回路13にて量子化され、可変長符号化回路8にて可変長
符号化されて、バッファメモリ9に入力され、固定レー
トにて読み出される。
The output of the adaptive weighting circuit 12 is quantized by the quantization circuit 13, is variable-length coded by the variable-length coding circuit 8, is input to the buffer memory 9, and is read out at a fixed rate.

【0040】なお、適応ウエイティング回路12が3種類
のウエイティング係数を切り換える場合について説明し
たが、何種類のウエイティング係数を切り換える場合も
良く、またそのウエイティング係数は任意に設定して良
い。
Although the case where the adaptive weighting circuit 12 switches the three kinds of weighting coefficients has been described, any number of kinds of weighting coefficients may be switched, and the weighting coefficients may be set arbitrarily.

【0041】(第2実施例)次に、第2実施例について
説明する。第2実施例の高能率符号化装置の構成を示す
図5において、1,2,3,4,5,8,9,11は、夫
々ブロック化回路,DCT 回路,ウエイティング回路,量
子化回路,可変長符号化回路,可変長符号化回路,バッ
ファメモリ,サブバンド分割回路であり、これらは図4
に示すものと同様のものであるので、説明は省略する。
遅延回路6はウエイティング回路3の出力端に接続さ
れ、ウエイティング回路3の出力が1ブロック分遅延さ
れて、適応量子化回路7へ入力される。適応量子化回路
7は量子化ステップ幅が異なる複数の量子化テーブルを
有している。選定回路20は可変長符号の符号量(ビット
数)を求め、このビット数に基づいて最適の量子化レベ
ル(量子化ステップ幅)を選定し、それを適応量子化回
路7へ出力する。適応量子化回路7はこの最適な量子化
レベルに従って変換係数を量子化して、量子化したデー
タを可変長符号化回路8へ出力する。
(Second Embodiment) Next, a second embodiment will be described. In FIG. 5 showing the configuration of the high-efficiency encoder of the second embodiment, 1, 2, 3, 4, 5, 8, 9, and 11 denote block circuits, DCT circuits, weighting circuits, and quantization circuits, respectively. , A variable-length coding circuit, a variable-length coding circuit, a buffer memory, and a sub-band division circuit.
And the description is omitted.
The delay circuit 6 is connected to the output terminal of the weighting circuit 3, and the output of the weighting circuit 3 is delayed by one block and input to the adaptive quantization circuit 7. The adaptive quantization circuit 7 has a plurality of quantization tables having different quantization step widths. The selection circuit 20 obtains the code amount (bit number) of the variable length code, selects the optimum quantization level (quantization step width) based on the bit number, and outputs it to the adaptive quantization circuit 7. The adaptive quantization circuit 7 quantizes the transform coefficient according to the optimum quantization level, and outputs the quantized data to the variable length coding circuit 8.

【0042】次に、動作について説明する。Next, the operation will be described.

【0043】サブバンド分割回路11から可変長符号化回
路5までの動作は、第1実施例と同じであるので説明を
省略する。選定回路20において、可変長符号のビット数
に基づいて最適な量子化レベルが選定され、この最適な
量子化レベルに従って、適応量子化回路7にてウエイテ
ィング後の変換係数が量子化される。例えば、8ビット
に量子化された入力信号を約1/8に圧縮する場合、8
画素×8ラインのブロックの符号量(ビット数)は約70
ビットにする必要がある。そこで、選定回路20にて算出
した符号量が70ビット以下の場合、適応量子化回路7
は、量子化回路4と同じ量子化テーブルを選択し、70ビ
ットを超える場合、適応量子化回路7は、量子化回路4
よりも粗い量子化ステップ幅の量子化テーブルに切り換
える。適応量子化回路7の出力は、可変長符号化回路8
にて可変長符号化されて、バッファメモリ9に入力さ
れ、固定レートにて読み出される。
The operation from the sub-band dividing circuit 11 to the variable length coding circuit 5 is the same as that of the first embodiment, and the description is omitted. The selection circuit 20 selects an optimum quantization level based on the number of bits of the variable length code, and the adaptive quantization circuit 7 quantizes the transformed coefficients after weighting according to the optimum quantization level. For example, when compressing an input signal quantized to 8 bits to about 1/8,
The code amount (number of bits) of a block of pixels × 8 lines is about 70
Must be a bit. Therefore, when the code amount calculated by the selection circuit 20 is 70 bits or less, the adaptive quantization circuit 7
Selects the same quantization table as that of the quantization circuit 4, and when the number of bits exceeds 70 bits, the adaptive quantization circuit 7
The quantization table is switched to a quantization table having a coarser quantization step width. The output of the adaptive quantization circuit 7 is
Is input to the buffer memory 9 and read at a fixed rate.

【0044】第1,2実施例において、選定回路10, 20
は1ブロックの可変長符号の符号量を求めているが、複
数ブロックの符号量を求めるように構成し、遅延回路6
を複数ブロック分遅延するように構成しても良い。ま
た、選定回路10, 20の入力を可変長符号としたが、選定
回路10, 20は符号量のみを必要とするので、可変長符号
化回路5が各可変長符号のビット数のみを選定回路10,
20へ出力するように構成しても良い。更に、圧縮率を1
/8としたが、何等これに限るものではない。
In the first and second embodiments, the selection circuits 10, 20
Calculates the code amount of the variable-length code of one block, but is configured to calculate the code amount of a plurality of blocks.
May be delayed by a plurality of blocks. The input of the selection circuits 10 and 20 is a variable length code. However, since the selection circuits 10 and 20 require only the code amount, the variable length coding circuit 5 selects only the number of bits of each variable length code. Ten,
It may be configured to output to 20. Furthermore, if the compression ratio is 1
/ 8, but is not limited to this.

【0045】(第3実施例)次に、第3実施例について
説明する。第3実施例の高能率符号化装置の構成を示す
図6において、1,2,3,4,5,7,8,9,11
は、夫々ブロック化回路,DCT 回路,ウエイティング回
路,量子化回路,可変長符号化回路,適応量子化回路,
可変長符号化回路,バッファメモリ,サブバンド分割回
路であり、これらは図5に示すものと同様のものである
ので、説明は省略する。図中14は、ウエイティング回路
3の出力であるウエイティング後の変換係数を保持する
メモリであり、保持したデータが必要に応じてメモリ14
から適応量子化回路7へ読み出される。選定回路30は、
入力されたデータ(可変長符号)のビット数とテープ等
の記録媒体の記録エリア内に記録可能なビット数とを比
較して、記録媒体における記録密度が最大となるよう
に、言い換えると、所定の記録エリア(例えば1トラッ
ク)内にできるだけ多くのデータを記録できるように最
適の量子化レベル(量子化ステップ幅)を選定し、選定
した量子化レベルを適応量子化回路7へ出力する。
(Third Embodiment) Next, a third embodiment will be described. In FIG. 6 showing the configuration of the high-efficiency encoding apparatus according to the third embodiment, 1, 2, 3, 4, 5, 7, 8, 9, 11
Are the block circuit, DCT circuit, weighting circuit, quantization circuit, variable length coding circuit, adaptive quantization circuit,
A variable length coding circuit, a buffer memory, and a subband division circuit are the same as those shown in FIG. In the figure, reference numeral 14 denotes a memory for holding a weighted conversion coefficient which is an output of the weighting circuit 3;
To the adaptive quantization circuit 7. Selection circuit 30
By comparing the number of bits of input data (variable length code) with the number of bits recordable in a recording area of a recording medium such as a tape, the recording density on the recording medium is maximized, in other words, a predetermined The optimum quantization level (quantization step width) is selected so that as much data as possible can be recorded in the recording area (for example, one track), and the selected quantization level is output to the adaptive quantization circuit 7.

【0046】次に、動作について説明する。Next, the operation will be described.

【0047】サブバンド分割回路11からウエイティング
回路3までの動作は、第1実施例と同じであるので説明
を省略する。以下、ウエイティング回路3から以降の動
作について、データタイミングを示す図7を参照して説
明する。図7において、t0 〜t1 ,t1 〜t2 ,t2
〜t3 ,t3 〜t4 に挟まれている部分は、夫々1つの
記録エリア内に記録するデータの固定したブロックを示
す。まず、時刻t0 〜t1 の間にウエイティング回路3
から出力される変換係数A1 は、量子化回路4にて量子
化されると同時に、メモリ14に保持される。量子化回路
4にて所定のビット数に量子化されたデータは、可変長
符号化回路5において可変長符号化され、そのデータB
1 は選定回路30へ出力される。この際、可変長符号化回
路5における可変長符号化には、ハフマン符号またはラ
ンレングス符号が用いられ、出現頻度が高いデータにつ
いてはビット数が短い符号が割り当てられ、出現頻度が
低いデータについてはビット数が長い符号が割り当てら
れる。時刻t0 〜t1 の間に可変長符号化されて得られ
たデータB1 は選定回路30へ入力され、そのデータB1
のビット数と記録エリア内に記録可能なビット数とが比
較され、記録エリア内にできるだけ多くのデータを記録
できるような最適の量子化レベルC1 が選定される。こ
の量子化レベルC1 は、時刻t0 〜t1 の間にウエイテ
ィング回路3から出力された変換係数A1 を符号化する
にあたっての最適の量子化レベルである。この量子化レ
ベルC1 が適応量子化回路7へ出力される。
The operation from the sub-band division circuit 11 to the weighting circuit 3 is the same as that of the first embodiment, and the description is omitted. Hereinafter, the operation after the weighting circuit 3 will be described with reference to FIG. 7 showing data timing. In FIG. 7, t 0 ~t 1, t 1 ~t 2, t 2
~t 3, t 3 portions sandwiched ~t 4 shows a fixed block of data to be recorded in each one recording area. First, the weighting circuit 3 between times t 0 ~t 1
The conversion coefficient A1 output from the memory is quantized by the quantization circuit 4 and is simultaneously stored in the memory 14. The data quantized to a predetermined number of bits by the quantization circuit 4 is subjected to variable-length encoding in the variable-length encoding circuit 5 and the data B
1 is output to the selection circuit 30. At this time, Huffman code or run-length code is used for variable-length coding in the variable-length coding circuit 5, a code with a small number of bits is assigned to data with a high appearance frequency, and A code with a long number of bits is assigned. Data B1 obtained variable-length coding between times t 0 ~t 1 is inputted to the selection circuit 30, the data B1
Is compared with the number of bits that can be recorded in the recording area, and the optimum quantization level C1 for recording as much data as possible in the recording area is selected. The quantization level C1 is the time t 0 ~t transform coefficients A1 outputted from the weighting circuit 3 during one which is optimum quantization levels when coding. This quantization level C1 is output to the adaptive quantization circuit 7.

【0048】図8は、記録エリア内に記録可能なビット
数に対する可変長符号化されたデータのビット数の割合
と、選定される量子化レベルとの関係を示している。図
8における量子化レベルは、記録エリア内にできるだけ
多くのデータを記録できるように設定された最適な量子
化レベルを表しており、可変長符号化されたデータのビ
ット数の割合が大きいほど小さい量子化レベルを選定す
る。
FIG. 8 shows the relationship between the ratio of the number of bits of the variable-length coded data to the number of bits recordable in the recording area and the selected quantization level. The quantization level in FIG. 8 indicates an optimal quantization level set so that as much data as possible can be recorded in the recording area, and is smaller as the ratio of the number of bits of the variable-length encoded data is larger. Select a quantization level.

【0049】適応量子化回路7において、選定回路30に
て選定された最適の量子化レベルC1 に従って、時刻t
0 〜t1 の間にメモリ4に入力されて保持された変換係
数D1 が量子化される。適応量子化回路7にて所定のビ
ット数に量子化されたデータは、可変長符号化回路8に
おいて可変長符号化回路5と同様の符号化方法により可
変長符号化され、そのデータE1 はバッフアメモリ9へ
出力される。そして、バッフアメモリ9から固定の出力
レートにて可変長符号が出力される。
In the adaptive quantization circuit 7, at time t according to the optimum quantization level C1 selected by the selection circuit 30,
0 ~t transform coefficients D1 held is inputted to the memory 4 during one are quantized. The data quantized to a predetermined number of bits by the adaptive quantization circuit 7 is subjected to variable-length encoding in a variable-length encoding circuit 8 by the same encoding method as the variable-length encoding circuit 5, and the data E1 is stored in a buffer memory. 9 is output. Then, the variable length code is output from the buffer memory 9 at a fixed output rate.

【0050】次いで、時刻t1 〜t2 の間にウエイティ
ング回路3から変換係数A2 が量子化回路4及びメモリ
14へ出力されると、全く同様にして、可変長符号化デー
タB2 に基づいて選定回路30にて最適の量子化レベルC
2 が選定され、メモリ14からの出力D2 がこの量子化レ
ベルC2 にて量子化され、可変長符号化データE2 が得
られる。その後、以上述べたような動作が、ウエイティ
ング回路3から変換係数A3 ,A4 ,A5 …が出力され
る度に行われ、すべての画像データが可変長符号化され
る。
[0050] Subsequently, conversion coefficient A2 from weighting circuit 3 between times t 1 ~t 2 the quantization circuit 4 and the memory
14, the selection circuit 30 performs the same operation on the basis of the variable-length coded data B 2 in the same manner.
2 is selected, the output D2 from the memory 14 is quantized at this quantization level C2, and the variable length coded data E2 is obtained. Thereafter, the above-described operation is performed every time the conversion coefficients A3, A4, A5,... Are output from the weighting circuit 3, and all the image data is subjected to variable-length coding.

【0051】以上のように、第3実施例では、所定の記
録エリア内に記録するブロック数を固定すると共に、一
度得られた可変長符号化データのビット数に基づいて最
適の量子化レベルを選定し、この量子化レベルによりも
う一度可変長符号化するようにしている。従って、所定
の記録エリア内にそこをオーバーフローしないようにで
きるだけ多くのデータを記録することができる。
As described above, in the third embodiment, the number of blocks to be recorded in a predetermined recording area is fixed, and the optimal quantization level is determined based on the number of bits of the variable-length encoded data obtained once. Then, variable-length coding is performed once again according to the quantization level. Therefore, as much data as possible can be recorded in a predetermined recording area so as not to overflow there.

【0052】(第4実施例)次に、第4実施例について
説明する。第4実施例の高能率符号化装置の構成を示す
図9において、1,2,3, 11は、夫々ブロック化回
路,DCT 回路,ウエイティング回路, サブバンド分割回
路であり、これらは図6に示すものと同様のものであ
る。ウエイティング回路3は、ウエイティングした変換
係数を適応量子化回路37へ出力する。適応量子化回路37
は、量子化ステップ幅が異なる複数の量子化テーブルを
有し、ウエイティングされた変換係数を選定回路40にて
選定された量子化レベルにより量子化し、量子化した変
換係数を可変長符号化回路38へ出力する。可変長符号化
回路38は、量子化された変換係数を可変長符号化し、可
変長符号化して得られたデータをバッファメモリ39へ出
力する。バッファメモリ39は、可変長符号化されたデー
タを固定レートに変換して記憶し、固定の出力レートに
て出力する。選定回路40は、バッファメモリ39に記憶さ
れた可変長符号化データのビット数に基づいて、テープ
等の記録媒体における記録密度が最大となるように、言
い換えると、所定の記録エリア(例えば1トラック)内
にできるだけ多くのデータを記録できるように最適の量
子化レベルを選定し、選定した量子化レベルを適応量子
化回路37へ出力すると共に、可変長符号化回路38で可変
長符号化される変換係数を選定する。
(Fourth Embodiment) Next, a fourth embodiment will be described. In FIG. 9 showing the configuration of the high-efficiency encoding apparatus of the fourth embodiment, reference numerals 1, 2, 3, and 11 denote a block circuit, a DCT circuit, a weighting circuit, and a sub-band division circuit, respectively. Are similar to those shown in FIG. The weighting circuit 3 outputs the weighted transform coefficient to the adaptive quantization circuit 37. Adaptive quantization circuit 37
Has a plurality of quantization tables with different quantization step widths, quantizes the weighted transform coefficients according to the quantization level selected by the selection circuit 40, and converts the quantized transform coefficients into a variable length coding circuit. Output to 38. The variable length coding circuit 38 performs variable length coding on the quantized transform coefficients, and outputs data obtained by performing the variable length coding to the buffer memory 39. The buffer memory 39 converts the variable-length coded data into a fixed rate, stores it, and outputs it at a fixed output rate. The selection circuit 40 determines, based on the number of bits of the variable-length encoded data stored in the buffer memory 39, that the recording density on a recording medium such as a tape is maximized, in other words, a predetermined recording area (for example, one track). The optimal quantization level is selected so that as much data as possible can be recorded in the parentheses), and the selected quantization level is output to the adaptive quantization circuit 37, and the variable-length encoding circuit 38 performs variable-length encoding. Select a conversion factor.

【0053】次に、動作について説明する。Next, the operation will be described.

【0054】サブバンド分割回路11からウエイティング
回路3までの動作は、第3実施例と同じであるので、そ
の説明は省略する。以下、ウエイティング回路3から以
降の動作について、データタイミングを示す図10を参照
して説明する。図10において、t0 〜t1 ,t1
2 ,t2 〜t3 ,t3 〜t4 に挟まれている部分は、
夫々1つの記録エリア内に記録するデータの固定したブ
ロックを示す。まず、時刻t0 〜t1 の間にウエイティ
ング回路3から出力される変換係数A1 は、選定回路40
にて選定された量子化レベルC0 により適応量子化回路
37にて量子化される。量子化されたデータは、可変長符
号化回路38において可変長符号化され、そのデータB1
はバッファメモリ39へ出力される。この際、可変長符号
化回路38における可変長符号化には、第3実施例の可変
長符号化回路5, 8と同様に、ハフマン符号またはラン
レングス符号が用いられ、出現頻度が高いデータについ
てはビット数が短い符号が割り当てられ、出現頻度が低
いデータについてはビット数が長い符号が割り当てられ
る。可変長符号化データB1 はバッファメモリ39内に保
持され、固定の出力レートにて出力される。
The operation from the sub-band division circuit 11 to the weighting circuit 3 is the same as that of the third embodiment, and the description is omitted. Hereinafter, the operation after the weighting circuit 3 will be described with reference to FIG. 10 showing data timing. In Fig 10, t 0 ~t 1, t 1 ~
t 2, t 2 ~t 3, t 3 portions sandwiched ~t 4 is
Each shows a fixed block of data to be recorded in one recording area. First, the conversion coefficient A1 outputted from the weighting circuit 3 between times t 0 ~t 1 is selected circuit 40
Adaptive quantization circuit based on quantization level C0 selected in
It is quantized at 37. The quantized data is subjected to variable length encoding in a variable length encoding circuit 38, and the data B1
Is output to the buffer memory 39. At this time, a Huffman code or a run-length code is used for the variable length coding in the variable length coding circuit 38, as in the variable length coding circuits 5 and 8 of the third embodiment. Is assigned a code with a short number of bits, and a code with a long number of bits is assigned to data with a low appearance frequency. The variable length coded data B1 is held in the buffer memory 39 and output at a fixed output rate.

【0055】選定回路40にバッファメモリ39から可変長
符号化データB1 が入力され、その可変長符号化データ
B1 のビット数が計数され、計数されたビット数に基づ
いて記録エリア内にできるだけ多くのデータを記録でき
るような最適の量子化レベルC1 が選定される。なお、
この際の選定基準は、第3実施例と同様な図8に示す例
を採用できる。選定された量子化レベルC1 は選定回路
40から適応量子化回路37へ出力される。
The variable length coded data B1 is input from the buffer memory 39 to the selection circuit 40, the number of bits of the variable length coded data B1 is counted, and as much as possible in the recording area based on the counted number of bits. The optimum quantization level C1 at which data can be recorded is selected. In addition,
As the selection criterion at this time, an example shown in FIG. 8 similar to the third embodiment can be adopted. The selected quantization level C1 is determined by the selection circuit.
The signal is output from 40 to the adaptive quantization circuit 37.

【0056】時刻t1 〜t2 の間にウエイティング回路
3から変換係数A2 が適応量子化回路37へ出力される。
適応量子化回路37において、この変換係数A2 は、選定
回路40にて選定された最適の量子化レベルC1 にて量子
化される。量子化された変換係数は、可変長符号化回路
38にて可変長符号化され、可変長符号化データB2 が得
られる。ここで、量子化レベルC1 は、時刻t0 〜t1
の間にウエイティング回路3から出力された変換係数A
1 に対して最適の量子化レベルであるが、近接する画像
データ同士、ここでは変換係数A1 とA2 との間には相
関があり、データ量の変化は少ないと考えられる。従っ
て、変換係数A1 に対して最適である量子化レベルC1
は隣合う変換係数A2 に対しても最適である考えられ、
この量子化レベルC1 を用いて変換係数A2 を量子化し
ても、何等問題はない。
The transform coefficient A 2 is output from the weighting circuit 3 to the adaptive quantization circuit 37 between times t 1 and t 2 .
In the adaptive quantization circuit 37, the transform coefficient A2 is quantized at the optimum quantization level C1 selected by the selection circuit 40. The quantized transform coefficients are stored in a variable-length coding circuit.
At 38, variable-length coding is performed to obtain variable-length coded data B2. Here, the quantization level C1, the time t 0 ~t 1
The conversion coefficient A output from the weighting circuit 3 during
1 is the optimum quantization level, but there is a correlation between adjacent image data, here, the transform coefficients A1 and A2, and it is considered that the change in the data amount is small. Therefore, the optimal quantization level C1 for the transform coefficient A1
Is considered to be optimal for the adjacent conversion coefficient A2,
There is no problem if the transform coefficient A2 is quantized using the quantization level C1.

【0057】変換係数A2 を可変長符号化して得られた
データB2のビット数に基づいて、最適の量子化レベル
C2 が選定され、この量子化レベルC2 により次の変換
係数A3 が量子化される。その後、以上述べたような動
作が、繰り返して行われ、すべての画像データが可変長
符号化される。
The optimum quantization level C2 is selected based on the number of bits of the data B2 obtained by performing variable length coding on the conversion coefficient A2, and the next conversion coefficient A3 is quantized by the quantization level C2. . Thereafter, the above-described operation is repeatedly performed, and all image data is subjected to variable-length coding.

【0058】以上のように、第4実施例では、第3実施
例に比べて、ウエイティング回路3からの出力を保持す
る回路(図6のメモリ14)及び1系統の量子化,可変長
符号化機構(図6の量子化回路4, 可変長符号化回路
5)を削減することができる。
As described above, in the fourth embodiment, as compared with the third embodiment, a circuit (memory 14 in FIG. 6) for holding the output from the weighting circuit 3 and one system of quantization and variable length code are used. It is possible to reduce the number of coding mechanisms (the quantization circuit 4 and the variable length coding circuit 5 in FIG. 6).

【0059】(第5実施例)次に、第5実施例について
説明する。上述した第3,4実施例では、一度可変長符
号化して得られるデータのビット数のみを利用して、記
録エリア内に記録可能なできるだけ情報量が多い符号を
得るような最適な量子化レベルを選定しているので、2
度目の可変長符号化の結果の精度が十分でなく、記録エ
リアが十分余っていたり、記録エリアをオーバーフロー
してしまったりする可能性がある。このような点を改良
すべく考案されたのが第5実施例である。
(Fifth Embodiment) Next, a fifth embodiment will be described. In the above-described third and fourth embodiments, the optimum quantization level for obtaining a code having the largest possible amount of information that can be recorded in a recording area by using only the number of bits of data obtained by once performing variable-length coding. Is selected, so 2
The accuracy of the result of the second variable length encoding is not sufficient, and there is a possibility that a sufficient recording area is left or the recording area overflows. The fifth embodiment is designed to improve such a point.

【0060】第5実施例の高能率符号化装置の構成を示
す図11において、1,2,3,4,5,7,8,9,1
1, 14は、夫々ブロック化回路,DCT 回路,ウエイティ
ング回路,量子化回路,可変長符号化回路,適応量子化
回路,可変長符号化回路,バッファメモリ,サブバンド
分割回路, メモリであり、これらは図6に示すものと同
様のものである。選定回路50は、入力された可変長符号
のビット数及び前のブロックにおける可変長符号のビッ
ト数に基づいて求められるビット数と記録エリア内に記
録可能なビット数とを比較して、テープ等の記録媒体に
おける記録密度が最大となるように、言い換えると、所
定の記録エリア(例えば1トラック)内にできるだけ多
くのデータを記録できるように最適の量子化レベル(量
子化ステップ幅)を選定し、選定した量子化レベルを適
応量子化回路7へ出力する。
In FIG. 11 showing the configuration of the high efficiency coding apparatus according to the fifth embodiment, 1, 2, 3, 4, 5, 7, 8, 9, 1
Reference numerals 1 and 14 denote a block circuit, a DCT circuit, a weighting circuit, a quantization circuit, a variable length coding circuit, an adaptive quantization circuit, a variable length coding circuit, a buffer memory, a subband division circuit, and a memory, respectively. These are similar to those shown in FIG. The selection circuit 50 compares the number of bits of the input variable-length code and the number of bits obtained based on the number of bits of the variable-length code in the previous block with the number of bits recordable in the recording area, and performs tape or the like. The optimum quantization level (quantization step width) is selected so that the recording density in the recording medium of the above is maximized, in other words, so that as much data as possible can be recorded in a predetermined recording area (for example, one track). , And outputs the selected quantization level to the adaptive quantization circuit 7.

【0061】次に、動作について説明する。Next, the operation will be described.

【0062】サブバンド分割回路11からウエイティング
回路3までの動作は、前述した第1実施例と同じである
ので、その説明は省略する。以下、ウエイティング回路
3から以降の動作について、データタイミングを示す図
12、及びフローチャートを示す図13を参照して説明す
る。図12において、t0 〜t1 ,t1 〜t2 ,t2 〜t
3 ,t3 〜t4 に挟まれている部分は、夫々1つの記録
エリア内に記録するデータの固定したブロックを示す。
まず、時刻t0 〜t1 の間にウエイティング回路3から
出力される変換係数A1 は、量子化回路4にて量子化さ
れる(S1)と同時に、メモリ14に保持される。量子化
回路4にて所定のビット数に量子化されたデータは、可
変長符号化回路5において可変長符号化され(S2)、
そのデータB1 は選定回路50へ出力される。この際、可
変長符号化回路5における可変長符号化には、ハフマン
符号またはランレングス符号が用いられ、出現頻度が高
いデータについてはビット数が短い符号が割り当てら
れ、出現頻度が低いデータについてはビット数が長い符
号が割り当てられる。時刻t0〜t1 の間に可変長符号
化されて得られたデータB1 は選定回路50へ入力され、
そのデータB1 のビット数が計数される(S3)。次い
で、この現データにおけるビット数の計数値と可変長符
号化回路8で可変長符号化された時刻t1 以前のブロッ
クにおける可変長符号のビット数を計数した値とに基づ
いてあるビット数Fが設定され、このビット数Fと記録
エリア内に記録可能なビット数Gとが比較され(S
4)、記録エリア内にできるだけ多くのデータを記録で
きるような最適の量子化レベルC1 が選定される。最適
の量子化レベルを設定する際に以前に可変長符号化した
データのビット数を考慮する理由は、隣合うブロック同
士または画面上で同じ位置にあって時間的に連続するブ
ロック同士は互いに相関が強くしかも情報量の変化は少
ないので、以前に可変長符号化した結果を考慮すること
により、精度良く記録エリア内にできるだけ多くのデー
タを記録できるからである。
The operation from the sub-band division circuit 11 to the weighting circuit 3 is the same as that of the first embodiment, and the description is omitted. FIG. 4 is a diagram showing data timings of the operations from the weighting circuit 3 onward.
This will be described with reference to FIG. 12 and FIG. 13 showing a flowchart. In FIG. 12, t 0 ~t 1, t 1 ~t 2, t 2 ~t
3, t 3 portions sandwiched ~t 4 shows a fixed block of data to be recorded in each one recording area.
First, the conversion coefficient A1 outputted from the weighting circuit 3 between times t 0 ~t 1 is simultaneously are quantized by quantization circuit 4 (S1), stored in the memory 14. The data quantized to a predetermined number of bits by the quantization circuit 4 is subjected to variable-length encoding by the variable-length encoding circuit 5 (S2).
The data B1 is output to the selection circuit 50. At this time, Huffman code or run-length code is used for variable-length coding in the variable-length coding circuit 5, a code with a small number of bits is assigned to data with a high appearance frequency, and A code with a long number of bits is assigned. Data B1 obtained variable-length coding between times t 0 ~t 1 is inputted to the selection circuit 50,
The number of bits of the data B1 is counted (S3). Next, a certain bit number F based on the counted value of the number of bits in the current data and the value obtained by counting the number of bits of the variable length code in the block before the time t 1 that has been variable length coded by the variable length coding circuit 8. Is set, and the number F of bits is compared with the number G of bits recordable in the recording area (S
4) The optimum quantization level C1 is selected so that as much data as possible can be recorded in the recording area. The reason for considering the number of bits of previously variable-length coded data when setting the optimal quantization level is that adjacent blocks or temporally consecutive blocks at the same position on the screen are correlated with each other. This is because the data amount is strong and the change in the amount of information is small, so that as much data as possible can be recorded in the recording area with high accuracy by considering the result of the variable length coding previously.

【0063】この量子化レベルC1 は、時刻t0 〜t1
の間にウエイティング回路3から出力された変換係数A
1 を符号化するにあたっての最適の量子化レベルであ
る。この量子化レベルC1 が適応量子化回路7へ出力さ
れる。具体的には、設定したビット数Fが記録エリア内
に記録可能なビット数Gより大きい場合には粗く量子化
する量子化レベルが選定され、FとGとが等しい場合に
は同じ量子化レベルが選定され、FがGより小さい場合
には細かく量子化する量子化レベルが選定される。例え
ば図8に示すように、設定したビット数と記録エリアに
記録可能なビット数との割合によって、複数の量子化レ
ベルの中から最適な量子化レベルが選定される。
This quantization level C 1 is determined at times t 0 to t 1
The conversion coefficient A output from the weighting circuit 3 during
This is the optimal quantization level for encoding 1. This quantization level C1 is output to the adaptive quantization circuit 7. Specifically, when the set number of bits F is larger than the number of bits G that can be recorded in the recording area, a quantization level for coarsely quantizing is selected, and when F and G are equal, the same quantization level is used. Is selected, and when F is smaller than G, a quantization level for finely quantizing is selected. For example, as shown in FIG. 8, an optimal quantization level is selected from a plurality of quantization levels according to the ratio between the set number of bits and the number of bits recordable in the recording area.

【0064】適応量子化回路7において、選定回路50に
て選定された最適の量子化レベルC1 により、時刻t0
〜t1 の間にメモリ14に入力されて保持された変換係数
D1が量子化される(S5,S6またはS7)。適応量
子化回路7にて所定のビット数に量子化されたデータ
は、可変長符号化回路8において可変長符号化回路5と
同様の符号化方法により可変長符号化され(S8)、そ
のデータE1 はバッファメモリ9へ出力される。そし
て、バッファメモリ9から固定の出力レートにて可変長
符号が出力される(S9)。ここで、次の変換係数A2
における最適な量子化レベルを設定する際に使用される
データE1 のビット数が計数される(S10)。
In the adaptive quantization circuit 7, the time t 0 is set according to the optimum quantization level C1 selected by the selection circuit 50.
Transform coefficients D1 held is inputted to the memory 14 is quantized during ~t 1 (S5, S6 or S7). The data quantized to a predetermined number of bits by the adaptive quantization circuit 7 is subjected to variable-length encoding in the variable-length encoding circuit 8 by the same encoding method as the variable-length encoding circuit 5 (S8). E1 is output to the buffer memory 9. Then, the variable length code is output from the buffer memory 9 at a fixed output rate (S9). Here, the next conversion coefficient A2
, The number of bits of the data E1 used in setting the optimum quantization level is counted (S10).

【0065】時刻t1 〜t2 の間にウエイティング回路
3から変換係数A2 が量子化回路4及びメモリ14へ出力
されると、全く同様にして、可変長符号化データB2 に
基づいて選定回路50にて最適の量子化レベルC2 が選定
される。ここで、時刻t2 において可変長符号化回路5
からの出力B2 のビット数から最適の量子化レベルC2
を設定する際に、それ以前のデータつまり時刻t0 〜t
1 の間にウエイティング回路3から出力された変換係数
A1 を可変長符号化した際の量子化レベルC1と可変長
符号化後のデータE1 のビット数とが考慮される。メモ
リ14からの出力D2 がこの量子化レベルC2 にて量子化
され、可変長符号化データE2 が得られる。その後、以
上述べたような動作が、ウエイティング回路3から変換
係数A3,A4 ,A5 …が出力される度に行われ、すべ
ての画像データが可変長符号化される。
[0065] Once the conversion factor A2 from weighting circuit 3 between times t 1 ~t 2 is outputted to the quantization circuit 4 and the memory 14, in the same manner, the selection circuit based on the variable length coded data B2 At 50, the optimum quantization level C2 is selected. Here, at time t 2 , the variable length coding circuit 5
Optimum quantization level C2 from the number of bits of output B2 from
Is set, data before that, that is, times t 0 to t
The number of bits of the weighting circuit 3 and the quantization level C1 when the transform coefficients A1 output and variable-length coding from the variable length coding after the data E1 and is considered during 1. The output D2 from the memory 14 is quantized at this quantization level C2 to obtain variable length coded data E2. Thereafter, the above-described operation is performed every time the conversion coefficients A3, A4, A5,... Are output from the weighting circuit 3, and all the image data are variable-length coded.

【0066】この第5実施例では、ある画像データの可
変長符号のビット数と以前に可変長符号化された他の画
像データの可変長符号のビット数とに応じて最適の量子
化レベルを選定し、この最適の量子化レベルを用いて再
度適応量子化,可変長符号化するように構成したので、
第3実施例に比べてより精度良く、記録媒体における記
録密度が最大となるように所定の記録エリア内にできる
だけ多くのデータを記録できる。
In the fifth embodiment, the optimum quantization level is determined in accordance with the number of bits of the variable length code of certain image data and the number of bits of the variable length code of another image data which has been previously subjected to variable length coding. It is configured so that adaptive quantization and variable length coding are performed again using this optimal quantization level.
As much data as possible can be recorded in a predetermined recording area with higher accuracy than in the third embodiment so that the recording density on the recording medium is maximized.

【0067】ところで、前述した第3,5実施例では、
一度可変長符号化してから2度目の可変長符号化を行う
まで、全部の変換係数のデータをメモリに保持しておか
なければならないので、容量が大きいメモリを使用する
必要がある。この難点を解決すべく考案されたのが、以
下に述べる第6,7実施例である。
By the way, in the third and fifth embodiments described above,
Since the data of all the transform coefficients must be held in the memory from the time of performing the variable-length coding once to the time of performing the second variable-length coding, a memory having a large capacity needs to be used. The sixth and seventh embodiments described below have been devised to solve this difficulty.

【0068】(第6実施例)第6実施例の高能率符号化
装置の構成を示す図14において、1,2,3,4,5,
7,8,9,11は、夫々ブロック化回路,DCT 回路,ウ
エイティング回路,量子化回路,可変長符号化回路,適
応量子化回路,可変長符号化回路,バッファメモリ,サ
ブバンド分割回路であり、これらは図11に示すものと同
様のものである。15は、可変長符号化回路5からの出力
である可変長符号を記憶するメモリであり、メモリ15は
必要に応じて保持した可変長符号を、可変長復号化回路
16へ出力する。可変長復号化回路16は、可変長符号を復
号化し、元のデータである変換係数を適応量子化回路7
へ出力する。なお、選定回路60は、可変長符号化回路5
にて得られる可変長符号のビット数に応じて最適な量子
化レベルを選定し、それを適応量子化回路7へ出力す
る。
(Sixth Embodiment) Referring to FIG. 14 showing the configuration of a high-efficiency encoding apparatus according to a sixth embodiment, 1, 2, 3, 4, 5,
7, 8, 9 and 11 are a block circuit, a DCT circuit, a weighting circuit, a quantization circuit, a variable length coding circuit, an adaptive quantization circuit, a variable length coding circuit, a buffer memory, and a subband division circuit, respectively. And these are similar to those shown in FIG. Reference numeral 15 denotes a memory for storing a variable-length code output from the variable-length encoding circuit 5, and the memory 15 stores the variable-length code held as necessary by a variable-length decoding circuit.
Output to 16. The variable-length decoding circuit 16 decodes the variable-length code and converts the original data, that is, the transform coefficient, into the adaptive quantization circuit 7.
Output to Note that the selection circuit 60 includes the variable-length encoding circuit 5
The optimum quantization level is selected in accordance with the number of bits of the variable length code obtained in (1), and is output to the adaptive quantization circuit 7.

【0069】次に、動作について説明する。Next, the operation will be described.

【0070】サブバンド分割回路11からウエイティング
回路3までの動作は、前述した第3実施例と同じである
ので、その説明は省略する。以下、ウエイティング回路
3から以降の動作について、データタイミングを示す図
15、及びフローチャートを示す図16を参照して説明す
る。図15において、t0 〜t1 ,t1 〜t2 ,t2 〜t
3 ,t3 〜t4 に挟まれている部分は、夫々1つの記録
エリア内に記録するデータの固定したブロックを示す。
まず、時刻t0 〜t1 の間にウエイティング回路3から
出力される変換係数A1 は、量子化回路4にて量子化さ
れる(S11)。量子化回路4にて所定のビット数に量子
化されたデータは、可変長符号化回路5において可変長
符号化され(S12)、そのデータB1 はメモリ15及び選
定回路60へ出力される。この際、可変長符号化回路5に
おける可変長符号化には、ハフマン符号またはランレン
グス符号が用いられ、出現頻度が高いデータについては
ビット数が短い符号が割り当てられ、出現頻度が低いデ
ータについてはビット数が長い符号が割り当てられる。
The operation from the sub-band division circuit 11 to the weighting circuit 3 is the same as that of the third embodiment, so that the description is omitted. FIG. 4 is a diagram showing data timings of the operations from the weighting circuit 3 onward.
15 and FIG. 16 showing a flowchart. In Figure 15, t 0 ~t 1, t 1 ~t 2, t 2 ~t
3, t 3 portions sandwiched ~t 4 shows a fixed block of data to be recorded in each one recording area.
First, the conversion coefficient A1 outputted from the weighting circuit 3 between times t 0 ~t 1 is quantized by the quantization circuit 4 (S11). The data quantized to a predetermined number of bits by the quantization circuit 4 is subjected to variable length encoding in the variable length encoding circuit 5 (S12), and the data B1 is output to the memory 15 and the selection circuit 60. At this time, Huffman code or run-length code is used for variable-length coding in the variable-length coding circuit 5, a code with a small number of bits is assigned to data with a high appearance frequency, and A code with a long number of bits is assigned.

【0071】時刻t0 〜t1 の間に可変長符号化されて
得られたデータB1 は選定回路60へ入力され、そのデー
タB1のビット数が計数される(S13)。そして、ビッ
ト数の計数値Hと記録エリア内に記録可能なビット数G
とが比較され(S14)、記録エリア内にできるだけ多く
のデータを記録できるような最適の量子化レベルC1が
選定される。この量子化レベルC1 は、時刻t0 〜t1
の間にウエイティング回路3から出力された変換係数A
1 を符号化するにあたっての最適の量子化レベルであ
る。この量子化レベルC1 が適応量子化回路7へ出力さ
れる。具体的には、計数したビット数Hが記録エリア内
に記録可能なビット数Gより大きい場合には粗く量子化
する量子化レベルが選定され、HとGとが等しい場合に
は同じ量子化レベルが選定され、HがGより小さい場合
には細かく量子化する量子化レベルが選定される。例え
ば図8に示すように、設定したビット数と記録エリアに
記録可能なビット数との割合によって、複数の量子化レ
ベルの中から最適な量子化レベルが選定される。
[0071] Data B1 obtained variable-length coding between times t 0 ~t 1 is inputted to the selection circuit 60, the number of bits of the data B1 is counted (S13). Then, the count value H of the number of bits and the number G of bits that can be recorded in the recording area
Is compared (S14), and the optimum quantization level C1 for recording as much data as possible in the recording area is selected. The quantization level C1, the time t 0 ~t 1
The conversion coefficient A output from the weighting circuit 3 during
This is the optimal quantization level for encoding 1. This quantization level C1 is output to the adaptive quantization circuit 7. Specifically, when the counted bit number H is larger than the recordable bit number G in the recording area, a quantization level for coarsely quantizing is selected, and when H and G are equal, the same quantization level is used. Is selected, and when H is smaller than G, a quantization level for finely quantizing is selected. For example, as shown in FIG. 8, an optimal quantization level is selected from a plurality of quantization levels according to the ratio between the set number of bits and the number of bits recordable in the recording area.

【0072】また、可変長符号化されたデータB1 はメ
モリ15に一時保持され、可変長復号化回路16により復号
化される。適応量子化回路7において、選定回路60にて
選定された最適の量子化レベルC1 により、時刻t0
1 の間に入力され、可変長復号化回路16により復号化
された変換係数D1 が量子化される(S15,S16または
S17)。適応量子化回路7にて所定のビット数に量子化
されたデータは、可変長符号化回路8において可変長符
号化回路5と同様の符号化方法により可変長符号化され
(S18)、そのデータE1 はバッファメモリ9へ出力さ
れる。そして、バッファメモリ9から固定の出力レート
にて可変長符号が出力される(S19)。
The variable-length-encoded data B 1 is temporarily stored in the memory 15 and decoded by the variable-length decoding circuit 16. In the adaptive quantization circuit 7, the optimum quantization level C1, which is selected by the selection circuit 60, the time t 0 ~
is input during the t 1, it decoded transform coefficients D1 by the variable-length decoding circuit 16 is quantized (S15, S16 or S17). The data quantized to a predetermined number of bits by the adaptive quantization circuit 7 is subjected to variable-length encoding in the variable-length encoding circuit 8 by the same encoding method as that of the variable-length encoding circuit 5 (S18). E1 is output to the buffer memory 9. Then, the variable length code is output from the buffer memory 9 at a fixed output rate (S19).

【0073】次いで、時刻t1 〜t2 の間にウエイティ
ング回路3から変換係数A2 が量子化回路4へ出力され
ると、全く同様にして、可変長符号化データB2 に基づ
いて選定回路60にて最適の量子化レベルC2 が選定さ
れ、可変長符号化データB2 を復号化して得られる変換
係数D2 がこの量子化レベルC2 にて量子化され、可変
長符号化データE2 が得られる。その後、以上述べたよ
うな動作が、ウエイティング回路3から変換係数A3 ,
A4,A5 …が出力される度に行われ、すべての画像デー
タが可変長符号化される。
[0073] Then, the conversion coefficient A2 from weighting circuit 3 between times t 1 ~t 2 is outputted to the quantization circuit 4, in the same manner, selected on the basis of variable length coded data B2 circuit 60 , The optimum quantization level C2 is selected, and the transform coefficient D2 obtained by decoding the variable length coded data B2 is quantized at the quantization level C2 to obtain the variable length coded data E2. Thereafter, the above-described operation is performed by the weighting circuit 3 from the conversion coefficients A3,
.. Are output each time A4, A5,... Are output, and all image data are subjected to variable length coding.

【0074】この第6実施例においてもメモリは必要で
あるが、図6, 11に示す第3, 5実施例のメモリ14はす
べての変換係数を保持するのに対して、第6実施例のメ
モリ15は可変長符号化されたデータを保持するので、保
持すべきビット数が十分に少なくなり、メモリ容量を大
幅に削減できる。
Although a memory is also required in the sixth embodiment, the memories 14 of the third and fifth embodiments shown in FIGS. Since the memory 15 holds the variable-length encoded data, the number of bits to be held is sufficiently reduced, and the memory capacity can be significantly reduced.

【0075】(第7実施例)第7実施例の高能率符号化
装置の構成を示す図17において、1,2,3,4,7,
8,9,11は、夫々ブロック化回路,DCT 回路,ウエイ
ティング回路,量子化回路,適応量子化回路,可変長符
号化回路,バッファメモリ,サブバンド分割回路であ
り、これらは図11に示すものと同様のものである。第7
実施例では、可変長符号化の動作が2段階に分けられて
いる。量子化回路4には、ランレングス符号化方法に基
づいて量子化回路4から出力される変換係数を可変長符
号化する可変長符号化回路5aが接続され、可変長符号化
後のデータが、メモリ17とハフマン符号化方法に基づい
て可変長符号化回路5aからの出力を可変長符号化する可
変長符号化回路5bとへ出力される。選定回路70は、可変
長符号化回路5bにて得られる可変長符号のビット数に応
じて最適の量子化レベルを選定し、適応量子化回路7へ
出力する。
(Seventh Embodiment) Referring to FIG. 17 showing the configuration of a high-efficiency coding apparatus according to a seventh embodiment, reference numerals 1, 2, 3, 4, 7, and
Reference numerals 8, 9, and 11 denote a block circuit, a DCT circuit, a weighting circuit, a quantization circuit, an adaptive quantization circuit, a variable-length coding circuit, a buffer memory, and a sub-band division circuit, respectively, which are shown in FIG. It is similar to the one. Seventh
In the embodiment, the operation of the variable length coding is divided into two stages. The quantization circuit 4 is connected to a variable-length encoding circuit 5a that performs variable-length encoding of a transform coefficient output from the quantization circuit 4 based on a run-length encoding method. The output from the variable length coding circuit 5a is output to the memory 17 and the variable length coding circuit 5b for performing variable length coding based on the Huffman coding method. The selection circuit 70 selects the optimum quantization level according to the number of bits of the variable length code obtained by the variable length coding circuit 5b, and outputs the selected quantization level to the adaptive quantization circuit 7.

【0076】次に、動作について説明する。Next, the operation will be described.

【0077】サブバンド分割回路11からウエイティング
回路3までの動作は、前述した第1実施例と同じである
ので、その説明は省略する。以下、ウエイティング回路
3から以降の動作について、データタイミングを示す図
18、及びフローチャートを示す図19を参照して説明す
る。図18において、t0 〜t1 ,t1 〜t2 ,t2 〜t
3 ,t3 〜t4 に挟まれている部分は、夫々1つの記録
エリア内に記録するデータの固定したブロックを示す。
まず、時刻t0 〜t1 の間にウエイティング回路3から
出力される変換係数A1 は、量子化回路4にて量子化さ
れる(S21)。量子化回路4にて所定のビット数に量子
化されたデータは、可変長符号化回路5aにおいて可変長
符号化される(S22)。この可変長符号化回路5aでは、
ランレングス符号が用いられ、以下に示すように、順次
送られてくるデータに対して、レベルがゼロであるとき
にはそのデータは送らず、レベルがゼロでないときには
ゼロが連続した数とそのレベルとを送るようにする。 入力データ 0,2,0,0,0,6,3,0,0,
8,… 出力データ (1,2),(3,6),(0,3),
(2,8),…
The operation from the sub-band dividing circuit 11 to the weighting circuit 3 is the same as that of the first embodiment, and the description is omitted. FIG. 4 is a diagram showing data timings of the operations from the weighting circuit 3 onward.
This will be described with reference to FIG. In Figure 18, t 0 ~t 1, t 1 ~t 2, t 2 ~t
3, t 3 portions sandwiched ~t 4 shows a fixed block of data to be recorded in each one recording area.
First, the conversion coefficient A1 outputted from the weighting circuit 3 between times t 0 ~t 1 is quantized by the quantization circuit 4 (S21). The data quantized to a predetermined number of bits by the quantization circuit 4 is subjected to variable-length encoding in the variable-length encoding circuit 5a (S22). In the variable length coding circuit 5a,
A run-length code is used, and as shown below, for data that is sequentially transmitted, when the level is zero, the data is not transmitted, and when the level is not zero, the number of consecutive zeros and the level are determined. I will send it. Input data 0,2,0,0,0,6,3,0,0,
8, ... output data (1, 2), (3, 6), (0, 3),
(2,8), ...

【0078】可変長符号化回路5aにおいて得られた符号
化データB1 は可変長符号化回路5b及びメモリ17へ出力
される。可変長符号化回路5bでは、ハフマン符号が用い
られ、ゼロが連続した数とレベルとに対して1つのコー
ドが割り当てられて可変長符号化が行われる(S23)。
この際、出現頻度が高いデータについてはビット数が短
い符号が割り当てられ、出現頻度が低いデータについて
はビット数が長い符号が割り当てられる。
The coded data B1 obtained in the variable length coding circuit 5a is output to the variable length coding circuit 5b and the memory 17. In the variable length coding circuit 5b, a Huffman code is used, and one code is assigned to the number of consecutive zeros and the level, and variable length coding is performed (S23).
At this time, a code with a short bit number is assigned to data with a high appearance frequency, and a code with a long bit number is assigned to data with a low appearance frequency.

【0079】時刻t0 〜t1 の間に可変長符号化されて
得られたデータB1 は選定回路70へ入力され、そのデー
タB1のビット数が計数される(S24)。そして、ビッ
ト数の計数値Hと記録エリア内に記録可能なビット数G
とが比較され(S25)、記録エリア内にできるだけ多く
のデータを記録できるような最適の量子化レベルC1が
選定される。この量子化レベルC1 は、時刻t0 〜t1
の間にウエイティング回路3から出力された変換係数A
1 を符号化するにあたっての最適の量子化レベルであ
る。この量子化レベルC1 が適応量子化回路7へ出力さ
れる。具体的には、計数したビット数Hが記録エリア内
に記録可能なビット数Gより大きい場合には粗く量子化
する量子化レベルが選定され、HとGとが等しい場合に
は同じ量子化レベルが選定され、HがGより小さい場合
には細かく量子化する量子化レベルが選定される。例え
ば図8に示すように、設定したビット数と記録エリアに
記録可能なビット数との割合によって、複数の量子化レ
ベルの中から最適な量子化レベルが選定される。
[0079] Data B1 obtained variable-length coding between times t 0 ~t 1 is inputted to the selection circuit 70, the number of bits is counted in the data B1 (S24). Then, the count value H of the number of bits and the number G of bits that can be recorded in the recording area
Are compared (S25), and the optimum quantization level C1 is selected so that as much data as possible can be recorded in the recording area. The quantization level C1, the time t 0 ~t 1
The conversion coefficient A output from the weighting circuit 3 during
This is the optimal quantization level for encoding 1. This quantization level C1 is output to the adaptive quantization circuit 7. Specifically, when the counted bit number H is larger than the recordable bit number G in the recording area, a quantization level for coarsely quantizing is selected, and when H and G are equal, the same quantization level is used. Is selected, and when H is smaller than G, a quantization level for finely quantizing is selected. For example, as shown in FIG. 8, an optimal quantization level is selected from a plurality of quantization levels according to the ratio between the set number of bits and the number of bits recordable in the recording area.

【0080】また、可変長符号化されたデータB1 はメ
モリ17に一時保持され、必要に応じて適応量子化回路7
へ出力される。適応量子化回路7において、選定回路70
にて選定された最適の量子化レベルC1 により、時刻t
0 〜t1 の間にメモリ17に保持されている符号化データ
D1 が量子化される(S26,S27またはS28)。適応量
子化回路7にて所定のビット数に量子化されたデータ
は、可変長符号化回路8において可変長符号化回路5bと
同様の符号化方法により可変長符号化され(S29)、そ
のデータE1 はバッファメモリ9へ出力される。そし
て、バッファメモリ9から固定の出力レートにて可変長
符号が出力される(S30)。
The variable-length coded data B1 is temporarily stored in the memory 17 and, if necessary, the adaptive quantization circuit 7
Output to In the adaptive quantization circuit 7, the selection circuit 70
At the time t, the optimal quantization level C1 selected at
0 coded data D1 stored in the memory 17 during ~t 1 are quantized (S26, S27 or S28). The data quantized to a predetermined number of bits by the adaptive quantization circuit 7 is subjected to variable-length encoding in the variable-length encoding circuit 8 by the same encoding method as the variable-length encoding circuit 5b (S29). E1 is output to the buffer memory 9. Then, a variable length code is output from the buffer memory 9 at a fixed output rate (S30).

【0081】次いで、時刻t1 〜t2 の間にウエイティ
ング回路3から変換係数A2 が量子化回路4へ出力され
ると、全く同様にして、可変長符号化データB2 に基づ
いて選定回路70にて最適の量子化レベルC2 が選定さ
れ、可変長符号化データB2 を保持するメモリ17の出力
であるデータD2 がこの量子化レベルC2 にて量子化さ
れ、可変長符号化データE2 が得られる。その後、以上
述べたような動作が、ウエイティング回路3から変換係
数A3,A4 ,A5 …が出力される度に行われ、すべての
画像データが可変長符号化される。
[0081] Then, the conversion coefficient A2 from weighting circuit 3 between times t 1 ~t 2 is outputted to the quantization circuit 4, in the same manner, the selection circuit 70 based on the variable length coded data B2 , The optimum quantization level C2 is selected, and the data D2 output from the memory 17 holding the variable length coded data B2 is quantized at this quantization level C2 to obtain variable length coded data E2. . Thereafter, the above-described operation is performed every time the conversion coefficients A3, A4, A5,... Are output from the weighting circuit 3, and all the image data is subjected to variable-length coding.

【0082】この第7実施例においてもメモリは必要で
あるが、図6, 11に示す第3, 5実施例のメモリ14はす
べての変換係数を保持するのに対して、第7実施例のメ
モリ17は可変長符号化されたデータを保持するので、保
持すべきビット数が十分に少なくなり、メモリ容量を大
幅に削減できる。
Although a memory is required also in the seventh embodiment, the memories 14 of the third and fifth embodiments shown in FIGS. Since the memory 17 holds the variable-length encoded data, the number of bits to be held becomes sufficiently small, and the memory capacity can be significantly reduced.

【0083】ところで、上述の各実施例では、8画素×
8ラインを1個のブロックとしたが、ブロックのサイズ
は任意でよく、また2次元ブロックに限らず、1次元ブ
ロックまたは3次元ブロックであってもよい。
By the way, in each of the above embodiments, 8 pixels ×
Although eight lines are one block, the size of the block may be arbitrarily set, and the block is not limited to a two-dimensional block, but may be a one-dimensional block or a three-dimensional block.

【0084】[0084]

【発明の効果】第1発明によれば、あるデジタルデータ
を可変長符号化して得られたデータのビット数に応じて
最適の量子化レベルを選定し、この最適の量子化レベル
を用いて次の画像データを可変長符号化するように構成
したので、第1発明と同様に、記録媒体における記録密
度が最大となるように可変長符号化でき、所定の記録エ
リア内に記録可能なできるだけ多くのデータ量を有し、
再生画像の画質劣化が目立たないような可変長符号を得
ることができ、またバッファメモリの容量を削減できる
と共に、第3発明に比べて、装置構成を簡略化すること
が可能である。
According to the first invention, a certain digital data
According to the number of bits of data obtained by variable-length encoding
Select the optimal quantization level, and select this optimal quantization level
Is configured to perform variable-length encoding of the next image data using
Therefore, similarly to the first invention, the recording density on the recording medium is
Variable-length coding so that the maximum
It has as much data as can be recorded in the rear,
Obtain a variable-length code that does not noticeably degrade the quality of the reproduced image
And the capacity of the buffer memory can be reduced.
In addition, the configuration of the device is simplified as compared with the third invention.
Is possible.

【0085】[0085]

【0086】[0086]

【0087】[0087]

【0088】第発明によれば、可変長符号のビット数
と以前に可変長符号化された他のデータの可変長符号の
ビット数とに応じて最適の量子化レベルを選定し、この
最適の量子化レベルを用いて再度適応量子化,可変長符
号化するように構成したので、記録媒体における記録密
度が最大となるように可変長符号化でき、所定の記録エ
リア内に記録可能なできるだけ多くのデータ量を有し、
再生画像の画質劣化が目立たないような可変長符号を得
ることができる。
According to the second aspect, the optimum quantization level is selected according to the number of bits of the variable length code and the number of bits of the variable length code of other data which has been previously subjected to the variable length coding. The adaptive quantization and the variable length coding are performed again using the quantization level of, so that the variable length coding can be performed so that the recording density on the recording medium is maximized, and the data can be recorded in a predetermined recording area as much as possible. Has a large amount of data,
It is possible to obtain a variable-length code in which the image quality of a reproduced image is not noticeable.

【0089】第発明によれば、可変長符号のビット数
に応じて最適の量子化レベルを選定し、この最適の量子
化レベルを用いて再度適応量子化,可変長符号化するよ
うに構成したので、記録媒体における記録密度が最大と
なるように可変長符号化でき、所定の記録エリア内に記
録可能なできるだけ多くのデータ量を有し、再生画像の
画質劣化が目立たないような可変長符号を得ることがで
き、また、可変長符号化後のデータを記憶しこれを復号
化する構成にしたので、従来例に比べて使用するメモリ
の容量を大幅に低減できる。
According to the third aspect, the optimum quantization level is selected in accordance with the number of bits of the variable length code, and adaptive quantization and variable length coding are performed again using the optimum quantization level. Therefore, variable-length encoding can be performed so that the recording density on the recording medium is maximized, the variable-length encoding has as much data amount as can be recorded in a predetermined recording area, and the image quality of a reproduced image is not significantly degraded. Since a code can be obtained and data after variable-length coding is stored and decoded, the capacity of a memory used can be greatly reduced as compared with the conventional example.

【0090】第発明によれば、可変長符号のビット数
に応じて最適の量子化レベルを選定し、この最適の量子
化レベルを用いて再度適応量子化,可変長符号化するよ
うに構成したので、記録媒体における記録密度が最大と
なるように可変長符号化でき、所定の記録エリア内に記
録可能なできるだけ多くのデータ量を有し、再生画像の
画質劣化が目立たないような可変長符号を得ることがで
き、また、可変長符号化後のデータを記憶する構成にし
たので、従来例に比べて使用するメモリの容量を大幅に
低減できる。
According to the fourth aspect, the optimum quantization level is selected according to the number of bits of the variable length code, and adaptive quantization and variable length coding are performed again using the optimum quantization level. Therefore, variable-length encoding can be performed so that the recording density on the recording medium is maximized, the variable-length encoding has as much data amount as can be recorded in a predetermined recording area, and the image quality of a reproduced image is not significantly degraded. Since the code can be obtained and the data after the variable length coding is stored, the capacity of the memory used can be greatly reduced as compared with the conventional example.

【図面の簡単な説明】[Brief description of the drawings]

【図1】従来の高能率符号化装置の構成を示すブロック
図である。
FIG. 1 is a block diagram showing a configuration of a conventional high-efficiency encoding device.

【図2】従来の高能率符号化装置におけるウエイティン
グ回路の動作を説明するための概念図である。
FIG. 2 is a conceptual diagram for explaining an operation of a weighting circuit in a conventional high efficiency coding device.

【図3】従来の高能率符号化装置におけるウエイティン
グ回路のウエイティング係数を示すグラフである。
FIG. 3 is a graph showing weighting coefficients of a weighting circuit in a conventional high-efficiency encoding device.

【図4】本発明の第1実施例の高能率符号化装置の構成
を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of a high-efficiency encoding device according to a first embodiment of the present invention.

【図5】本発明の第2実施例の高能率符号化装置の構成
を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a high-efficiency encoding device according to a second embodiment of the present invention.

【図6】本発明の第3実施例の高能率符号化装置の構成
を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of a high-efficiency encoding device according to a third embodiment of the present invention.

【図7】第3実施例におけるデータタイミングを示す模
式図である。
FIG. 7 is a schematic diagram showing data timing in the third embodiment.

【図8】記録エリア内に記録可能なビット数に対する可
変長符号化されたデータのビット数の割合と、選定され
る最適の量子化レベルとの関係を示す表である。
FIG. 8 is a table showing the relationship between the ratio of the number of bits of variable-length encoded data to the number of bits recordable in a recording area and a selected optimum quantization level.

【図9】本発明の第4実施例の高能率符号化装置の構成
を示すブロック図である。
FIG. 9 is a block diagram illustrating a configuration of a high-efficiency encoding device according to a fourth embodiment of the present invention.

【図10】第4実施例におけるデータタイミングを示す
模式図である。
FIG. 10 is a schematic diagram showing data timing in the fourth embodiment.

【図11】本発明の第5実施例の高能率符号化装置の構
成を示すブロック図である。
FIG. 11 is a block diagram illustrating a configuration of a high-efficiency encoding device according to a fifth embodiment of the present invention.

【図12】第5実施例におけるデータタイミングを示す
模式図である。
FIG. 12 is a schematic diagram showing data timing in the fifth embodiment.

【図13】第5実施例におけるフローチャートである。FIG. 13 is a flowchart in the fifth embodiment.

【図14】本発明の第6実施例の高能率符号化装置の構
成を示すブロック図である。
FIG. 14 is a block diagram illustrating a configuration of a high-efficiency encoding device according to a sixth embodiment of the present invention.

【図15】第6実施例におけるデータタイミングを示す
模式図である。
FIG. 15 is a schematic diagram showing data timing in the sixth embodiment.

【図16】第6実施例におけるフローチャートである。FIG. 16 is a flowchart in the sixth embodiment.

【図17】本発明の第7実施例の高能率符号化装置の構
成を示すブロック図である。
FIG. 17 is a block diagram illustrating a configuration of a high-efficiency encoding device according to a seventh embodiment of the present invention.

【図18】第7実施例におけるデータタイミングを示す
模式図である。
FIG. 18 is a schematic diagram showing data timing in the seventh embodiment.

【図19】第7実施例におけるフローチャートである。FIG. 19 is a flowchart in the seventh embodiment.

【符号の説明】[Explanation of symbols]

1 ブロック化回路 2 DCT 回路 3 ウエイティング回路 4 量子化回路 5 可変長符号化回路 5a 可変長符号化回路 5b 可変長符号化回路 6 遅延回路 7 適応量子化回路 8 可変長符号化回路 9 バッファメモリ 11 サブバンド分割回路 12 適応ウエイティング回路 13 量子化回路 14 メモリ 15 メモリ 16 可変長符号化回路 17 メモリ 37 適応量子化回路 38 可変長符号化回路 39 バッファメモリ 10,20,30,40,50,60,70 選定回路 DESCRIPTION OF SYMBOLS 1 Blocking circuit 2 DCT circuit 3 Waiting circuit 4 Quantization circuit 5 Variable length coding circuit 5a Variable length coding circuit 5b Variable length coding circuit 6 Delay circuit 7 Adaptive quantization circuit 8 Variable length coding circuit 9 Buffer memory 11 Subband division circuit 12 Adaptive weighting circuit 13 Quantization circuit 14 Memory 15 Memory 16 Variable length coding circuit 17 Memory 37 Adaptive quantization circuit 38 Variable length coding circuit 39 Buffer memory 10,20,30,40,50, 60,70 Selection circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 伊藤 俊 京都府長岡京市馬場図所1番地 三菱電 機株式会社 電子商品開発研究所内 (72)発明者 大西 健 京都府長岡京市馬場図所1番地 三菱電 機株式会社 電子商品開発研究所内 (56)参考文献 特開 平3−217183(JP,A) 特開 平2−194734(JP,A) 特開 昭64−78590(JP,A) 特開 昭57−99885(JP,A) 1990年電子情報通信学会春季全国大 会、D310「DCT符号化における符号 量制御方式) (58)調査した分野(Int.Cl.6,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419 H04N 5/91 - 5/956 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Shun Sato, Baba Zujo, Nagaokakyo-shi, Kyoto, Japan Mitsubishi Electric Co., Ltd. Electronic Product Development Laboratory (72) Inventor Ken Takeshi Onishi, Baba Zhou, Nagaokakyo-shi, Kyoto 1 (56) References JP-A-3-217183 (JP, A) JP-A 2-194734 (JP, A) JP-A 64-78590 (JP, A) JP 57-99885 (JP, A) 1990 IEICE Spring National Assembly, D310 “Code amount control method in DCT coding” (58) Fields investigated (Int. Cl. 6 , DB name) H04N 7/24 -7/68 H04N 1/41-1/419 H04N 5/91-5/956

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 記録媒体に記録すべく、ディジタルの画
像データを圧縮して符号化する高能率符号化装置におい
て、前記画像データの一部である第1画像データを量子
化する量子化手段と、量子化されたデータを可変長符号
化する符号化手段と、該符号化手段により得られる可変
長符号の符号量を求め、求めた符号量に基づいて、前記
記録媒体における記録密度が最大となるような量子化レ
ベルを選定する選定手段とを備え、前記量子化手段は、
前記選定手段にて選定された量子化レベルに従って、前
記第1画像データに近接する前記画像データの一部であ
る第2画像データを量子化することを特徴とする高能率
符号化装置。
1. A high-efficiency encoding apparatus for compressing and encoding digital image data for recording on a recording medium , comprising a quantizing means for quantizing first image data which is a part of the image data. , encoding means for variable length coding the quantized data to obtain the code amount of the variable length code obtained by said encoding means, based on the obtained amount of codes, wherein
The quantization level that maximizes the recording density on the recording medium
Selecting means for selecting a bell , wherein the quantizing means comprises:
According to the quantization level selected by the selection means ,
A part of the image data adjacent to the first image data;
A high-efficiency encoding apparatus for quantizing the second image data .
【請求項2】 記録媒体に記録すべく、ディジタルの画
像データを圧縮して符号化する高能率符号化装置におい
て、画像データを量子化する第1量子化手段と、量子化
されたデータを可変長符号化する第1符号化手段と、該
第1符号化手段により得られる可変長符号の符号量と、
前記画像データに先行した他の画像データの可変長符号
の符号量とに基づいて、量子化レベルを選定する選定手
段と、前記画像データを、前記選定手段にて選定された
量子化レベルに従って量子化する第2量子化手段と、該
第2量子化手段にて量子化されたデータを可変長符号化
する第2符号化手段とを備えることを特徴とする高能率
符号化装置。
2. A high-efficiency encoding apparatus for compressing and encoding digital image data for recording on a recording medium, comprising : first quantizing means for quantizing the image data;
First encoding means for performing variable-length encoding of the encoded data,
The code amount of the variable length code obtained by the first coding means,
Variable length code of other image data preceding the image data
Selection method for selecting the quantization level based on the code amount of
A second quantizing means for quantizing the image data according to the quantization level selected by the selecting means; and a second quantizing means for performing variable length encoding on the data quantized by the second quantizing means. A high-efficiency encoding device comprising: two encoding units.
【請求項3】 記録媒体に記録すべく、ディジタルの画
像データを圧縮して符号化する高能率符号化装置におい
て、前記画像データを量子化する第1量子化手段と、量
子化されたデータを可変長符号化する第1符号化手段
と、該第1符号化手段により得られる可変長符号の符号
に基づいて、量子化レベルを選定する選定手段と、
記第1符号化手段により得られる可変長符号を復号化す
る復号化手段と、該復号化手段により得られる画像デー
タを前記選定手段にて選定した量子化レベルに従って量
子化する第2量子化手段と、該第2量子化手段にて量子
化されたデータを可変長符号化する第2符号化手段とを
備えることを特徴とする高能率符号化装置。
3. A high-efficiency encoding apparatus for compressing and encoding digital image data for recording on a recording medium, comprising: first quantizing means for quantizing the image data; a first encoding means for variable-length coding, on the basis of the code amount of the variable length code obtained by said first encoding means, and selecting means for selecting a quantization level, before
Decoding the variable length code obtained by the first encoding means.
Decoding means, and image data obtained by the decoding means.
Comprising a second quantizing means for quantizing in accordance with the selected quantization level data by said selecting means, and a second coding means for variable length coding the quantized data in said second quantizing means A high-efficiency coding apparatus characterized by the above-mentioned.
【請求項4】 記録媒体に記録すべく、ディジタルの画
像データを圧縮して符号化する高能率符号化装置におい
て、前記画像データを量子化する第1量子化手段と、
子化されたデータを可変長符号化する第1符号化手段
と、該第1符号化手段により得られるデータを第1符号
化手段とは異なる符号化方法により可変長符号化して可
変長符号を得る第2符号化手段と、該第2符号化手段に
より得られる可変長符号の符号量に基づいて、量子化レ
ベルを選定する選定手段と、前記第1符号化手段により
得られるデータを前記選定手段にて選定した量子化レベ
ルに従って量子化する第2量子化手段と、該第2量子化
手段にて量子化されたデータを可変長符号化する第3符
号化手段とを備えることを特徴とする高能率符号化装
置。
4. A high-efficiency encoding apparatus for compressing and encoding digital image data for recording on a recording medium, comprising: first quantizing means for quantizing the image data; a first encoding means for variable-length coding, the data obtained by the first coding means first code
Variable length coding using a coding method different from
A second encoding means for obtaining a variable length code;
Selecting means for selecting a quantization level based on the code amount of the variable length code obtained from the first coding means;
Second quantizing means for quantizing the obtained data in accordance with the quantization level selected by the selecting means ;
Third code for variable-length encoding data quantized by the means
High-efficiency encoding apparatus; and a Goka means.
JP22667491A 1990-09-10 1991-09-06 High efficiency coding device Expired - Fee Related JP2963958B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22667491A JP2963958B2 (en) 1990-09-10 1991-09-06 High efficiency coding device

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
JP2-240953 1990-09-10
JP24095390 1990-09-10
JP4827291 1991-03-13
JP3-48272 1991-03-13
JP13610491 1991-06-07
JP3-136104 1991-06-07
JP22667491A JP2963958B2 (en) 1990-09-10 1991-09-06 High efficiency coding device

Publications (2)

Publication Number Publication Date
JPH0549021A JPH0549021A (en) 1993-02-26
JP2963958B2 true JP2963958B2 (en) 1999-10-18

Family

ID=27462171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22667491A Expired - Fee Related JP2963958B2 (en) 1990-09-10 1991-09-06 High efficiency coding device

Country Status (1)

Country Link
JP (1) JP2963958B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5978544A (en) * 1993-06-28 1999-11-02 Kabushiki Kaisha Toshiba Video compression coding apparatus and video compression recording/playback apparatus
JP3163880B2 (en) * 1993-12-16 2001-05-08 松下電器産業株式会社 Image compression coding device
US5800583A (en) * 1996-06-11 1998-09-01 Amway Corporation Air treatment system
US5803940A (en) * 1996-06-11 1998-09-08 Amway Corporation Air treatment system
US5762667A (en) * 1996-06-11 1998-06-09 Amway Corporation Air treatment system
US5840092A (en) * 1996-06-11 1998-11-24 Amway Corporation Air treatment system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1990年電子情報通信学会春季全国大会、D310「DCT符号化における符号量制御方式)

Also Published As

Publication number Publication date
JPH0549021A (en) 1993-02-26

Similar Documents

Publication Publication Date Title
EP0475251B1 (en) Coding apparatus for digital image data
JP3085024B2 (en) Image recompressor and image recording device
EP0987899B1 (en) Adaptive variable-length coding method for video data
US5416604A (en) Image compression method for bit-fixation and the apparatus therefor
US5714950A (en) System for variable-length-coding and variable-length-decoding digitaldata
JP3025610B2 (en) Encoding method and apparatus
CN1366778A (en) Video compression
JPH0686262A (en) Apparatus for encoding of image
JPH09191448A (en) Video signal coder and its method
US5754699A (en) Method of reducing mosquito noise generated during decoding process of image data and device for decoding image data using the same
JPH0522715A (en) Picture encoder
JP2963958B2 (en) High efficiency coding device
KR100242635B1 (en) A system for variable-length-coding and variable-length-decoding digital data
JP2901656B2 (en) Image coding device
JP3166501B2 (en) Image recompression method and image recompression device
JPH04322593A (en) Picture coder and its decoder
JP3190164B2 (en) Code amount estimation device
JPH0366228A (en) Block encoder and decoder
JP2891251B2 (en) Image encoding device and image decoding device
JPH06178287A (en) Picture coder
JP2700355B2 (en) Image data compression device
JPH09224246A (en) Image compression coding and image compression decoding device
JPH06113140A (en) Picture processor
KR0129796B1 (en) Encoding device of moving picture
JPH05300491A (en) Orthogonal transformation coding device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070813

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080813

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080813

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090813

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees