JP2545302B2 - High efficiency encoder - Google Patents

High efficiency encoder

Info

Publication number
JP2545302B2
JP2545302B2 JP40356790A JP40356790A JP2545302B2 JP 2545302 B2 JP2545302 B2 JP 2545302B2 JP 40356790 A JP40356790 A JP 40356790A JP 40356790 A JP40356790 A JP 40356790A JP 2545302 B2 JP2545302 B2 JP 2545302B2
Authority
JP
Japan
Prior art keywords
block
sub
weighting
image signal
pixels
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 - Lifetime
Application number
JP40356790A
Other languages
Japanese (ja)
Other versions
JPH03291058A (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 JP40356790A priority Critical patent/JP2545302B2/en
Publication of JPH03291058A publication Critical patent/JPH03291058A/en
Application granted granted Critical
Publication of JP2545302B2 publication Critical patent/JP2545302B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、デジタルVCR等のよ
うにデジタル画像信号を記録する装置において用いら
れ、デジタル画像信号のデータ量を圧縮する高能率符号
化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-efficiency coding apparatus used in a device for recording a digital image signal such as a digital VCR and compressing the data amount of the digital image signal.

【0002】[0002]

【従来の技術】図34は、例えばIEEE Transactions on C
onsumer Electronics,Vol.34,No.3(AUGUSUT,1988)の
“AN EXPERIMENTAL DIGITAL VCR WITH 40MM DRUM,SINGL
E ACTUATOR AND DCT-BASED BIT-RATE REDUCTION”に示
されている従来の高能率符号化装置の構成を示すブロッ
ク図である。図において1は、入力されるデジタル画像
を複数のブロックに分割するブロック化回路であり、ブ
ロック化回路1は、各ブロックの画像信号をDCT 回路2
へ出力する。DCT 回路2は、ブロック化回路1から出力
される画像信号の各ブロックに対してDiscrete Cosine
Transform(以下DCTと略す)を施して、変換係数を量
子化器3へ出力する。量子化器3は、量子化ステップが
異なる複数の量子化テーブルを保持し、ブロック内の変
換係数に応じて最適の量子化テーブルを選択して量子化
し、量子化した変換係数を可変長符号器4へ出力する。
可変長符号器4は、量子化された変換係数を可変長符号
化し、可変長符号化した変換係数をバッファメモリ5へ
出力する。バッファメモリ5は、可変長符号化された画
像信号を固定レートで変換して記憶する。制御器6は、
バッファメモリ5がオーバフローしないように、量子化
器3の量子化パラメータを選定すると共に可変長符号器
4で符号化される変換係数を選定する。
2. Description of the Related Art FIG. 34 shows, for example, IEEE Transactions on C.
onsumer Electronics, Vol.34, No.3 (AUGUSUT, 1988) “AN EXPERIMENTAL DIGITAL VCR WITH 40MM DRUM, SINGL
FIG. 1 is a block diagram showing a configuration of a conventional high-efficiency encoding device shown in “E ACTUATOR AND DCT-BASED BIT-RATE REDUCTION”. In the figure, 1 is a block for dividing an input digital image into a plurality of blocks. The block circuit 1 is a DCT circuit 2 for converting the image signal of each block.
Output to. The DCT circuit 2 uses the Discrete Cosine for each block of the image signal output from the blocking circuit 1.
Transform (hereinafter abbreviated as DCT) is performed and the transform coefficient is output to the quantizer 3. The quantizer 3 holds a plurality of quantization tables having different quantization steps, selects and quantizes an optimum quantization table according to the transform coefficient in the block, and quantizes the quantized transform coefficient. Output to 4.
The variable length encoder 4 performs variable length coding on the quantized transform coefficient, and outputs the variable length coded transform coefficient to the buffer memory 5. The buffer memory 5 converts the variable-length coded image signal at a fixed rate and stores it. The controller 6 is
In order to prevent the buffer memory 5 from overflowing, the quantization parameter of the quantizer 3 is selected and the transform coefficient coded by the variable length encoder 4 is selected.

【0003】次に、具体的な動作について説明する。入
力されるデジタル画像信号は例えば輝度信号と2つの色
差信号とからなり、これらの信号はブロック化回路1に
おいて時分割多重され、例えば8画素×8ラインのブロ
ックに分割されてDCT 回路2へ出力される。DCT 回路2
では、各ブロックの画像信号に対して、画像信号を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, and these signals are time-division multiplexed in the block forming circuit 1 and divided into blocks of, for example, 8 pixels × 8 lines and output to the DCT circuit 2. To be done. DCT circuit 2
Then, for the image signal of each block, the image signal x
When expressed as (i, j) (i, j = 0, 1, ..., 7), 8-point DCT in the horizontal direction according to the following equation is performed.

【0004】[0004]

【数1】 [Equation 1]

【0005】変換された画像信号f(0,j),f
(m,j)に対して次式による垂直方向の8点DCTが
施されて、画像信号は変換係数F(m,n)(m,n=
0,1,…,7)として表され、量子化器3へ出力され
る。
Converted image signals f (0, j), f
The vertical 8-point DCT according to the following equation is applied to (m, j), and the image signal is transformed into a transform coefficient F (m, n) (m, n =
0, 1, ..., 7) and output to the quantizer 3.

【0006】[0006]

【数2】 [Equation 2]

【0007】求められた変換係数は、量子化器3におい
て、その変換係数の内容と制御器6からの量子化パラメ
ータとに基づいて選定された量子化ステップに従って量
子化される。変換係数の内容が、高いコントラストの立
上がり部分の画像を示す場合には粗い量子化ステップが
選定され、その内容が、小振幅のディテール部分の画像
を示す場合には細かい量子化ステップが選定される。
The obtained transform coefficient is quantized in the quantizer 3 according to the quantization step selected based on the content of the transform coefficient and the quantization parameter from the controller 6. A coarse quantization step is selected when the content of the transform coefficient indicates an image of a rising portion with high contrast, and a fine quantization step is selected when the content thereof indicates an image of a small amplitude detail portion. .

【0008】量子化された変換係数は、可変長符号器4
において可変長符号化された後、バッファメモリ5に蓄
えられる。バッファメモリ5に蓄えられられているデー
タ量は、バッファメモリ5がオーバーフローしないよう
に制御器6により検知されている。制御器6は、バッフ
ァメモリ5に蓄えられられているデータ量に応じて量子
化パラメータを選定してそれを量子化器3へ出力すると
共に、このデータ量に応じて可変長符号器4で符号化さ
れる変換係数を選定してそれを可変長符号器4へ出力す
る。そして、バッファメモリ5に蓄えられたデータは、
固定レートで読出される。
The quantized transform coefficient is supplied to the variable length encoder 4
It is stored in the buffer memory 5 after variable-length coding in. The amount of data stored in the buffer memory 5 is detected by the controller 6 so that the buffer memory 5 does not overflow. The controller 6 selects a quantization parameter according to the amount of data stored in the buffer memory 5 and outputs it to the quantizer 3, and the variable length encoder 4 encodes it according to this amount of data. The transform coefficient to be converted is selected and output to the variable length encoder 4. The data stored in the buffer memory 5 is
It is read at a fixed rate.

【0009】図35は、例えば前述した文献に開示された
従来の他の高能率符号化装置の構成を示すブロック図で
ある。図において、図34と同番号を付した部分は同様の
部分を示すので、これらの説明は省略する。この例で
は、ブロック化回路1と量子化器3との間に、DCT 回路
2で得られた変換係数に対してウエイティングを施すウ
エイティング器7を設けている。量子化器3は、ウエイ
ティングを施された各変換係数を量子化する。
FIG. 35 is a block diagram showing the configuration of another conventional high-efficiency coding apparatus disclosed in the above-mentioned document, for example. In the figure, the parts given the same numbers as in FIG. 34 show the same parts, and therefore their explanations are omitted. In this example, a weighting device 7 for weighting the transform coefficient obtained by the DCT circuit 2 is provided between the blocking circuit 1 and the quantizer 3. The quantizer 3 quantizes each weighted transform coefficient.

【0010】次に、動作について説明する。前述の例と
同様に、ブロック化回路1において分割された各ブロッ
クの画像信号に対して、DCT 回路2において、水平
方向及び垂直方向の8点DCTが施され、変換係数F
(m,n)がウエイティング器7へ出力される。DCT 回
路2からの各変換係数はウエイティング器7によりウエ
イティングを施される。具体的には、8画素×8ライン
の各ブロックに対するDCT演算の結果を図36に示すよ
うな4つの領域に分割した場合、高い空間周波数に対し
て人間の視覚が鈍いことを利用して、高い空間周波数成
分が含まれるF4 の領域には低レートのウエイティング
を行い、低い空間周波数成分が含まれるF1 の領域には
高レートのウエイティングを行うようなウエイティング
係数W(m,n)を用いる(図37参照)。
Next, the operation will be described. Similar to the above-mentioned example, the DCT circuit 2 performs 8-point DCT in the horizontal and vertical directions on the image signal of each block divided in the blocking circuit 1 to obtain the transform coefficient F.
(M, n) is output to the weighting device 7. Each transform coefficient from the DCT circuit 2 is weighted by the weighting unit 7. Specifically, when the result of the DCT calculation for each block of 8 pixels × 8 lines is divided into four regions as shown in FIG. 36, by utilizing the fact that human vision is dull for high spatial frequencies, A weighting coefficient W (m, m) for performing low-rate weighting in the area of F 4 containing a high spatial frequency component and high-rate weighting in the area of F 1 containing a low spatial frequency component n) is used (see FIG. 37).

【0011】[0011]

【数3】 (Equation 3)

【0012】ウエイティングが施された変換係数は、量
子化器3へ出力される。これから以降の量子化器3,バ
ッファメモリ5及び制御器6における動作は、図34に示
したものと同じであるので、その説明は省略する。
The weighted transform coefficient is output to the quantizer 3. The subsequent operations in the quantizer 3, buffer memory 5 and controller 6 are the same as those shown in FIG. 34, and therefore their explanations are omitted.

【0013】[0013]

【発明が解決しようとする課題】従来の高能率符号化装
置は以上のように構成されているが、量子化ステップの
選定と、ウエイティング器の構成とについて以下に述べ
るような問題があった。
Although the conventional high-efficiency coding apparatus is configured as described above, there are the following problems regarding the selection of the quantization step and the configuration of the weighting device. .

【0014】変換係数F(m,n)から次式により求め
られる交流電力Eに応じて、量子化器3にて量子化ステ
ップが選定される。
The quantizer 3 selects a quantization step according to the AC power E obtained from the conversion coefficient F (m, n) by the following equation.

【0015】[0015]

【数4】 [Equation 4]

【0016】この交流電力Eの値が小さいときは細かい
ステップで量子化され、Eが大きいときは粗いステップ
で量子化される。つまり、画像の振幅変化が小さいディ
テール部は細かく量子化され、コントラストが高いエッ
ジ部は粗く量子化される。画像信号の変化が少ない平坦
な背景である平坦部に高いコントラストで線が入ってい
るような画像では、その画像ブロックは粗く量子化され
るが、復号器側において逆DCTが施されると、量子化
誤差がブロック全体に広がって平坦部にまでノイズが重
畳される。このような平坦部のノイズは視覚的に大変目
立つので、画質を大きく劣化させるという問題がある。
When the value of the AC power E is small, it is quantized in fine steps, and when E is large, it is quantized in coarse steps. That is, the detail part in which the amplitude change of the image is small is finely quantized, and the edge part with high contrast is roughly quantized. In an image in which a flat portion, which is a flat background with little change in the image signal, has lines with high contrast, the image block is roughly quantized, but when inverse DCT is performed on the decoder side, The quantization error spreads over the entire block and noise is superimposed even on the flat portion. Since such noise in the flat portion is very noticeable visually, there is a problem that the image quality is significantly deteriorated.

【0017】また、例えば8×8のブロックサイズの変
換係数に対してウエイティングを施すためには82 =6
4種類の乗算器が必要であり、ウエイティング器のサイ
ズが大きいという問題がある。
Further, for example, in order to apply weighting to a conversion coefficient having a block size of 8 × 8, 8 2 = 6
Since four types of multipliers are required, there is a problem that the size of the weighting device is large.

【0018】本発明はこのような問題を解決するために
なされたものであり、画質劣化が目立ち易い平坦部にお
いても復号器側で良好な画質を保つことができるように
画像信号を量子化でき、また、少数の乗算器を用いて、
画質劣化が目立たない画像信号圧縮を行うことができる
高能率符号化装置を提供することを目的とする。
The present invention has been made to solve such a problem, and it is possible to quantize an image signal so that a good image quality can be maintained on the decoder side even in a flat portion where image quality deterioration is noticeable. , And also with a small number of multipliers,
An object of the present invention is to provide a high-efficiency coding device capable of performing image signal compression in which image quality deterioration is not noticeable.

【0019】[0019]

【課題を解決するための手段】本願の第1発明の高能率
符号化装置は、デジタル画像信号を圧縮する高能率符号
化装置において、デジタル画像信号を複数の画素毎にブ
ロック化するブロック化手段と、ブロック化された画像
信号に対して直交変換を施す直交変換手段と、直交変換
により得られる変換係数を量子化する量子化手段と、該
量子化手段が量子化する際の量子化ステップを決定する
手段とを備え、該量子化ステップを決定する手段が、前
記ブロック化手段から出力される各ブロックを更に複数
のサブブロックに分割する手段と、各サブブロックにつ
いてサブブロック内の画素値の変化の度合を示す指標を
得る手段と、各ブロックを構成する複数のサブブロック
の指標から当該ブロックの局部的な画像の変化の度合を
示す判定基準値を得る手段とを備えることを特徴とす
る。
A high-efficiency coding apparatus according to the first invention of the present application is a high-efficiency coding apparatus for compressing a digital image signal, and a blocking means for dividing the digital image signal into blocks for each of a plurality of pixels. An orthogonal transform means for performing an orthogonal transform on the blocked image signal, a quantizing means for quantizing a transform coefficient obtained by the orthogonal transform, and a quantizing step when the quantizing means quantizes. Determining means, the means for determining the quantization step further divides each block output from the blocking means into a plurality of sub-blocks, and for each sub-block, the pixel value in the sub-block A means for obtaining an index indicating the degree of change, and a determination reference value indicating the degree of local image change of the block from the indices of a plurality of sub-blocks forming each block. Characterized in that it comprises a that means.

【0020】本願の第2発明の高能率符号化装置は、指
標が、各サブブロック内の隣接画素間の画像信号の差の
絶対値の総和であることを特徴とする。
The high-efficiency coding apparatus of the second invention of the present application is characterized in that the index is a sum of absolute values of differences between image signals between adjacent pixels in each sub-block.

【0021】本願の第3発明の高能率符号化装置は、指
標が、各サブブロック内の画素の画像信号のダイナミッ
クレンジであることを特徴とする。
The high-efficiency encoder of the third invention of the present application is characterized in that the index is the dynamic range of the image signal of the pixel in each sub-block.

【0022】本願の第4発明の高能率符号化装置は、判
定基準値が、各ブロックを構成する複数のサブブロック
の指標のうちの最大値及び最小値であることを特徴とす
る。
The high-efficiency coding apparatus of the fourth invention of the present application is characterized in that the criterion value is the maximum value or the minimum value of the indices of the plurality of sub-blocks constituting each block.

【0023】本願の第5発明の高能率符号化装置は、デ
ジタル画像信号を圧縮する高能率符号化装置において、
デジタル画像信号を複数の画素毎にブロック化するブロ
ック化手段と、ブロック化された画像信号に対して直交
変換を施す直交変換手段と、直交変換により得られる変
換係数に対してウエイティングを施すウエイティング手
段と、該ウエイティング手段におけるウエイティング係
数を決定する手段とを備え、該ウエイティング係数を決
定する手段が、前記ブロック化手段から出力される各ブ
ロックを更に複数のサブブロックに分割する手段と、各
サブブロックについてサブブロック内の画素値の変化の
度合を示す指標を得る手段と、各ブロックを構成する複
数のサブブロックの指標から当該ブロックの局部的な画
像の変化の度合を示す判定基準値を得る手段とを用いる
ことを特徴とする。
The high-efficiency coding apparatus of the fifth invention of the present application is a high-efficiency coding apparatus for compressing a digital image signal,
Blocking means for dividing the digital image signal into blocks for each of a plurality of pixels, orthogonal transformation means for performing orthogonal transformation on the blocked image signal, and weighting for transform coefficients obtained by the orthogonal transformation. Means for determining the weighting coefficient in the weighting means, and the means for determining the weighting coefficient further divides each block output from the blocking means into a plurality of sub-blocks. And means for obtaining an index indicating the degree of change in pixel value within each sub-block, and a determination indicating the degree of local image change of the block from the indices of a plurality of sub-blocks constituting each block And a means for obtaining a reference value.

【0024】本願の第6発明の高能率符号化装置は、上
記指標が、各サブブロック内の隣接画素間の画像信号の
差の絶対値の総和であることを特徴とする。
The high-efficiency coding apparatus of the sixth invention of the present application is characterized in that the index is a sum of absolute values of differences in image signals between adjacent pixels in each sub-block.

【0025】本願の第7発明の高能率符号化装置は、上
記指標が、各サブブロック内の画素の画像信号のダイナ
ミックレンジであることを特徴とする。
The high-efficiency coding apparatus of the seventh invention of the present application is characterized in that the index is a dynamic range of an image signal of a pixel in each sub-block.

【0026】本願の第8発明の高能率符号化装置は、上
記判定基準値が、各ブロックを構成する複数のサブブロ
ックの指標のうちの最大値及び最小値であることを特徴
とする。
The high-efficiency coding apparatus of the eighth invention of the present application is characterized in that the judgment reference value is the maximum value or the minimum value of the indices of a plurality of sub-blocks constituting each block.

【0027】本願の第9発明の高能率符号化装置は、デ
ジタル画像信号を圧縮する高能率符号化装置において、
デジタル画像信号を複数の画素毎にブロック化するブロ
ック化手段と、ブロック化された各ブロックに対して直
交変換を施す直交変換手段と、前記各ブロック内の画素
数より少数のウエイティング係数を有し、直交変換によ
り得られる変換係数に対してウエイティングを施すウエ
イティング手段と、ウエイティングが施された変換係数
を可変長符号化する手段とを備え、前記ウエイティング
手段が、各変換係数の水平シーケンシーと垂直シーケン
シーとから基準値を求め、この基準値によりウエイティ
ング係数を決定する手段を備えることを特徴とする。
The high-efficiency coding apparatus according to the ninth invention of the present application is the high-efficiency coding apparatus for compressing a digital image signal,
Blocking means for dividing the digital image signal into a plurality of pixels into blocks, orthogonal transformation means for performing an orthogonal transformation on each of the blocked blocks, and a weighting coefficient smaller than the number of pixels in each block are provided. However, a weighting means for performing weighting on the transform coefficient obtained by orthogonal transform, and means for variable-length coding the weighted transform coefficient, the weighting means, The present invention is characterized by including a means for obtaining a reference value from the horizontal sequence and the vertical sequence and determining the weighting coefficient based on the reference value.

【0028】本願の第10発明の高能率符号化装置は、
デジタル画像信号を圧縮する高能率符号化装置におい
て、デジタル画像信号を複数の画素毎に3次元にブロッ
ク化するブロック化手段と、ブロック化された画像信号
に対して3次元直交変換を施す直交変換手段と、直交変
換により得られる変換係数を量子化する手段と、前記量
子化手段が量子化する際の量子化ステップを決定する手
段とを備え、該量子化ステップを決定する手段が、前記
ブロック化手段から出力される各ブロックを更に複数の
サブブロックに分割する手段と、各サブブロックについ
てサブブロック内の画素値の変化の度合を示す指標を得
る手段と、各ブロックを構成する複数のサブブロックの
指標から当該ブロックの局部的な画像の変化の度合を示
す判定基準値を得る手段とを備えることを特徴とする。
本願の第11発明の高能率符号化装置は、デジタル画像
信号を圧縮する高能率符号化装置において、デジタル画
像信号を複数の画素毎に3次元にブロック化するブロッ
ク化手段と、ブロック化された画像信号に対して3次元
直交変換を施す直交変換手段と、直交変換により得られ
る変換係数に対してウエイティングを施すウエイティン
グ手段と、前記ウエイティング手段におけるウエイティ
ング係数を決定する手段とを備え、該ウエイティング係
数を決定する手段が、前記ブロック化手段から出力され
る各ブロックを更に複数のサブブロックに分割する手段
と、各サブブロックについてサブブロック内の画素値の
変化の度合を示す指標を得る手段と、各ブロックを構成
する複数のサブブロックの指標から当該ブロックの局部
的な画像の変化の度合を示す判定基準値を得る手段とを
備えることを特徴とする。本願の第12発明の高能率符
号化装置は、デジタル画像信号を圧縮する高能率符号化
装置において、デジタル画像信号を複数の画素毎に3次
元にブロック化するブロック化手段と、ブロック化され
た各ブロックに対して3次元直交変換を施す直交変換手
段と、前記各ブロック内の2次元平面に含まれる画素数
より少数のウエイティング係数を有し、直交変換により
得られる変換係数に対してウエイティングを施すウエイ
ティング手段と、ウエイティングが施された変換係数を
可変長符号化する手段とを備え、前記ウエイティング手
段が、各変換係数の水平シーケンシーと垂直シーケンシ
ーとから基準値を求め、この基準値によりウエイティン
グ係数を決定する手段を備えることを特徴とする。
The high-efficiency coding apparatus of the tenth invention of the present application is
In a high-efficiency coding apparatus for compressing a digital image signal, a blocking means for blocking the digital image signal into a three-dimensional block for each of a plurality of pixels, and an orthogonal transform for performing a three-dimensional orthogonal transform on the blocked image signal. Means, means for quantizing a transform coefficient obtained by orthogonal transformation, and means for determining a quantization step when the quantization means quantizes, and means for determining the quantization step is the block Means for further dividing each block output from the converting means into a plurality of sub-blocks, means for obtaining an index indicating the degree of change in the pixel value in each sub-block, and a plurality of sub-blocks constituting each block Means for obtaining a judgment reference value indicating the degree of local image change of the block from the index of the block.
A high-efficiency coding apparatus according to an eleventh invention of the present application is a high-efficiency coding apparatus for compressing a digital image signal, which includes a blocking means for three-dimensionally blocking the digital image signal into a plurality of pixels, and a blocking means. An orthogonal transform means for performing a three-dimensional orthogonal transform on the image signal, a weighting means for weighting the transform coefficient obtained by the orthogonal transform, and a means for determining the weighting coefficient in the weighting means are provided. A means for determining the weighting coefficient, the means for further dividing each block output from the blocking means into a plurality of sub-blocks, and an index indicating the degree of change in the pixel value in each sub-block From the index of a plurality of sub-blocks that make up each block, and Characterized in that it comprises a means for obtaining a criterion value indicating a focus. A high-efficiency coding apparatus according to a twelfth invention of the present application is a high-efficiency coding apparatus for compressing a digital image signal, which is a blocking unit that three-dimensionally blocks the digital image signal into a plurality of pixels, and is blocked. An orthogonal transform means for performing a three-dimensional orthogonal transform on each block and a weighting coefficient smaller than the number of pixels included in the two-dimensional plane in each block are provided, and a weighting coefficient is applied to the transform coefficient obtained by the orthogonal transform. A weighting means for performing weighting and a means for variable length encoding the weighted transform coefficient are provided, and the weighting means obtains a reference value from the horizontal sequence and the vertical sequence of each transform coefficient. It is characterized by further comprising means for determining the weighting coefficient based on the reference value.

【0029】[0029]

【作用】本発明の主たる特徴は、量子化ステップを決定
する手段が、複数のブロック夫々を更に複数のサブブロ
ックに分割する手段、サブブロック内の画素値の変化の
度合を示す指標を得る手段、各ブロックを構成する複数
のサブブロックの指標から当該ブロックの局所的な画像
の変化の度合を示す判定基準値を得る手段とを備えてお
り、これらによって得た判定基準値により量子化ステッ
プを決定するのである。
The main features of the present invention are that the means for determining the quantization step further divides each of the plurality of blocks into a plurality of sub-blocks, and means for obtaining an index indicating the degree of change in the pixel value within the sub-blocks. , A means for obtaining a judgment reference value indicating the degree of local image change of the block from the indices of a plurality of sub-blocks constituting each block, and the quantization step is performed by the judgment reference value obtained by these means. Make a decision.

【0030】このような特徴はウエイティング係数の決
定にも同様に備えられている。指標としてはサブブロッ
ク内の隣接画素間の画像信号の差の絶対値の総和、又は
サブブロック内の画素の画像信号のダイナミックレンジ
を用いる。判定基準値としては、複数のサブブロックの
うちの指標の最大値と最小値とを用いる。請求項1〜4
の発明は、このような符号化装置の基本的な構成を有
し、請求項5〜8の発明は、直交変換による得られる変
換係数にウエイティングを施す手段を備えている。ま
た、請求項9はウエイティング係数を決定する手段を有
するものである。更に、請求項10〜12の発明は上記
した発明を3次元に適用するものである。
Such characteristics are also provided for determining the weighting coefficient. As the index, the sum of the absolute values of the differences between the image signals between adjacent pixels in the sub-block or the dynamic range of the image signal of the pixels in the sub-block is used. As the determination reference value, the maximum value and the minimum value of the index of the plurality of sub-blocks are used. Claims 1-4
The invention of (1) has a basic configuration of such an encoding device, and the invention of claims 5 to 8 comprises means for weighting the transform coefficient obtained by orthogonal transform. The ninth aspect has means for determining the weighting coefficient. Furthermore, the inventions of claims 10 to 12 apply the above-mentioned invention three-dimensionally.

【0031】これらの発明によれば、画質劣化が目立た
ない画像部分では圧縮率の高い低レート量子化又はウエ
イティングを行い、画質劣化の目立ちやすい画像部分で
は圧縮率が小さい高レートの量子化又はウエイティング
を行うことになる。そうすると平坦部においてもノイズ
が目立たない。そして請求項9,12の発明では、画素
数より少ないウエイティング係数を用い、例えばN×N
の大きさのブロック内において、N2 /4個以下の乗算
器にてウエイティングを施すことが可能となる。
According to these inventions, low-rate quantization or weighting with a high compression rate is performed in the image portion where the image quality deterioration is not noticeable, and high-rate quantization or a small compression rate is performed in the image portion where the image quality deterioration is noticeable. You will be doing weighting. Then, noise is not noticeable even in the flat part. In the inventions of claims 9 and 12, a weighting coefficient smaller than the number of pixels is used, for example, N × N.
In the block size of, it becomes possible to perform weighting with N 2/4 or fewer multipliers.

【0032】[0032]

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

【0033】本発明の第1実施例の構成を示す図1にお
いて、1,4,5は夫々、入力されるデジタル画像を複
数のブロックに分割するブロック化回路,適応量子化器
12の出力を可変長符号化する可変長符号器,可変長符号
器4の出力を記憶するバッファメモリであり、これらは
図34または図35の従来例に示されているものと同等であ
る。第1実施例はこれら以外に、ブロック化回路1から
の画像信号の各ブロックに対して直交変換を施す直交変
換回路11と、直交変換回路11からの変換係数に対して適
応した量子化を行う複数の量子化テーブルを有する適応
量子化器12と、ブロック化回路1において分割された各
ブロックを更に複数個のサブブロックに分割し、量子化
テーブルの選定基準となる第1及び第2の判定基準値を
演算して出力する判定基準値演算部13と、判定基準値演
算部13からの出力に基づいて量子化テーブルを選定して
その内容を適応量子化器12へ出力する判定器14と、バッ
ファメモリ5がオーバフローしないように量子化ステッ
プの選定を制御する制御器15とを有する。なお、量子化
テーブルは、固定のステップ幅をもつ一様量子化器であ
っても、ステップ幅が一定でない非線形量子化器であっ
てもよい。
In FIG. 1 showing the configuration of the first embodiment of the present invention, reference numerals 1, 4 and 5 respectively denote a blocking circuit for dividing an input digital image into a plurality of blocks, and an adaptive quantizer.
A variable-length encoder for variable-length coding the output of 12 and a buffer memory for storing the output of the variable-length encoder 4, which are equivalent to those shown in the conventional example of FIG. 34 or FIG. In addition to these, the first embodiment performs an orthogonal transformation circuit 11 that performs orthogonal transformation on each block of the image signal from the blocking circuit 1 and a quantization that is adapted to the transformation coefficient from the orthogonal transformation circuit 11. An adaptive quantizer 12 having a plurality of quantization tables, and each of the blocks divided in the blocking circuit 1 is further divided into a plurality of sub-blocks, and first and second determinations are used as a criterion for selecting a quantization table. A judgment reference value calculation unit 13 that calculates and outputs a reference value, and a judgment unit 14 that selects a quantization table based on the output from the judgment reference value calculation unit 13 and outputs the contents to the adaptive quantizer 12. , A controller 15 for controlling the selection of the quantization step so that the buffer memory 5 does not overflow. The quantization table may be a uniform quantizer having a fixed step width or a non-linear quantizer having a non-constant step width.

【0034】図2に示すように、判定基準値演算部13
は、ブロック化回路1から出力される画像信号の各ブロ
ックを例えば4個のサブブロックに分割するサブブロッ
ク化回路21と、各サブブロック内において水平方向及び
垂直方向に隣接する画素間の画像信号の差の絶対値の総
和を求める4個の演算器22, 23, 24, 25と、4個の演算
器の出力の最小値Aを検出する最小値検出器26と、4個
の演算器の出力の最大値Bを検出する最大値検出器27
と、最大値検出器27の出力Bから最小値検出器26の出力
Aを減算する減算器28とを有する。判定基準値演算部13
から、最小値検出器26の出力Aが第1の判定基準値とし
て、また減算器28の出力C(=B−A)が第2の判定基
準値として、判定器14へ出力される。
As shown in FIG. 2, the judgment reference value calculation unit 13
Is a sub-blocking circuit 21 that divides each block of the image signal output from the blocking circuit 1 into, for example, four sub-blocks, and an image signal between pixels that are horizontally and vertically adjacent in each sub-block. Of the four arithmetic units 22, 23, 24, 25 for obtaining the sum of the absolute values of the differences, the minimum value detector 26 for detecting the minimum value A of the outputs of the four arithmetic units, and the four arithmetic units Maximum value detector 27 that detects the maximum value B of the output
And a subtractor 28 for subtracting the output A of the minimum value detector 26 from the output B of the maximum value detector 27. Judgment reference value calculation unit 13
Therefore, the output A of the minimum value detector 26 is output to the determiner 14 as the first determination reference value, and the output C (= BA) of the subtractor 28 is output to the determination device 14 as the second determination reference value.

【0035】次に、動作について説明する。ブロック化
回路1に入力されるデジタル画像信号(輝度信号と2つ
の色差信号またはRGB信号)は、ブロック化回路1に
おいて時分割多重され、例えば8画素×8ラインを1つ
のブロックとするように分割される。分割された画像信
号の各ブロックは、直交変換回路11及び判定基準値演算
部13へ出力される。直交変換回路11においては、画像信
号に対してDiscrete Cosine Transform(DCT)等の直
交変換が施される。直交変換回路11からの出力である変
換係数は、適応量子化器12へ出力される。
Next, the operation will be described. A digital image signal (luminance signal and two color difference signals or RGB signals) input to the blocking circuit 1 is time-division multiplexed in the blocking circuit 1, and for example, 8 pixels × 8 lines are divided into one block. To be done. Each block of the divided image signal is output to the orthogonal transformation circuit 11 and the determination reference value calculation unit 13. In the orthogonal transformation circuit 11, the image signal is subjected to orthogonal transformation such as Discrete Cosine Transform (DCT). The transform coefficient output from the orthogonal transform circuit 11 is output to the adaptive quantizer 12.

【0036】判定基準値演算部13においては、図3に示
すように、ブロック化回路1から出力された8画素×8
ラインの各ブロックが、4画素×4ラインの4つのサブ
ブロックy1,y2,y3,y4に分割される。ここで、各サ
ブブロックy1,y2,y3,y4の画像信号を夫々y1,
(i,j),y2,(i,j),y3,(i,j),y4,
(i,j) (i,j=1,2,3,4)とする。演算器
22, 23, 24, 25にサブブロックy1,y2,y3,y4の各画
像信号が夫々入力される。演算器22は、サブブロックy
1 に対して、サブブロックy1 内の水平方向及び垂直方
向の隣接画素間の画像信号の差の絶対値の総和V1 を次
式のように演算する。
In the judgment reference value calculation unit 13, as shown in FIG. 3, 8 pixels × 8 outputted from the blocking circuit 1
Each block of lines is divided into four sub blocks y 1 , y 2 , y 3 , y 4 of 4 pixels × 4 lines. Here, the image signals of the sub-blocks y 1 , y 2 , y 3 , y 4 are respectively y 1 ,
(I, j), y 2 , (i, j), y 3 , (i, j), y 4 ,
(I, j) (i, j = 1, 2, 3, 4). Arithmetic unit
The image signals of the sub blocks y 1 , y 2 , y 3 , y 4 are input to 22, 23, 24, 25, respectively. The calculator 22 is a sub-block y
With respect to 1 , the sum V 1 of the absolute values of the differences between the image signals between the adjacent pixels in the horizontal and vertical directions within the sub-block y 1 is calculated by the following equation.

【0037】[0037]

【数5】 (Equation 5)

【0038】また、他の演算器23, 24, 25も同様に、サ
ブブロックy2,y3,y4 内の水平方向及び垂直方向の隣
接画素間の画像信号の差の絶絶対値の総和V2,V3,V4
を次式のように演算する。
Similarly, the other arithmetic units 23, 24, 25 also sum the absolute values of the differences in the image signals between the adjacent pixels in the horizontal and vertical directions in the sub-blocks y 2 , y 3 , y 4 . V 2 , V 3 and V 4
Is calculated according to the following equation.

【0039】[0039]

【数6】 (Equation 6)

【0040】最小値検出器26は、演算器22, 23, 24, 25
の出力V1,V2,V3,V4 の最小値A=MIN{V1,V2,
3,V4 }を検出し、最小値Aを、量子化ステップを選
定するための第1の判定基準値として判定器14へ出力す
ると共に、減算器28へ出力する。一方、最大値検出器27
は、演算器22, 23, 24, 25の出力V1,V2,V3,V4 の最
大値B=MAX{V1,V2,V3,V4 }を検出して減算器
28へ出力する。減算器28は、B−Aを演算してその差C
を求め、減算値Cを量子化ステップを選定するための第
2の判定基準値として判定器14へ出力する。
The minimum value detector 26 is composed of arithmetic units 22, 23, 24, 25.
Output V 1 , V 2 , V 3 , V 4 minimum value A = MIN {V 1 , V 2 ,
V 3 , V 4 } is detected, and the minimum value A is output to the determiner 14 as the first determination reference value for selecting the quantization step and to the subtractor 28. On the other hand, the maximum value detector 27
Is a subtracter that detects the maximum value B = MAX {V 1 , V 2 , V 3 , V 4 } of the outputs V 1 , V 2 , V 3 , V 4 of the computing units 22, 23, 24, 25.
Output to 28. The subtractor 28 calculates B-A and calculates the difference C
And outputs the subtraction value C to the determiner 14 as the second determination reference value for selecting the quantization step.

【0040】第1の判定基準値Aは画像の平坦部分を検
出するものであり、この第1の判定基準値Aが小さい場
合はそのブロックに復号器側で画質劣化が目立ちやすい
平坦部分があることを示す。一方、第2の判定基準値C
は画像の変化を検出するものであり、この第2の判定基
準値Cが大きいほど、そのブロックでは画像の変化が大
きくて復号器側で量子化誤差が出やすいことを示す。
The first judgment reference value A is for detecting a flat portion of the image. When the first judgment reference value A is small, there is a flat portion in the block where image quality deterioration is noticeable on the decoder side. Indicates that. On the other hand, the second judgment reference value C
Indicates that the change in the image is detected. The larger the second determination reference value C, the larger the change in the image in the block and the more likely the quantization error is to occur on the decoder side.

【0042】判定器14は、このように求められる第1,
第2の判定基準値A,Cに応じて、適応量子化器12にお
いて変換係数を量子化する際の量子化ステップを選定す
る。適応量子化器12は、量子化ステップが異なる量子化
テーブル、例えば高レートの量子化テーブルと中レート
の量子化テーブルと低レートの量子化テーブルとを保持
している。高レートの量子化テーブルは量子化ステップ
が細かい量子化テーブルであり、中レートの量子化テー
ブルは量子化ステップが中程度の量子化テーブルであ
り、低レートの量子化テーブルは量子化ステップが粗い
量子化テーブルである。判定器14は、第1,第2の判定
基準値A,Cに応じて、この3つの量子化テーブルの中
から図4または図5に基づいて最適の量子化テーブルを
選定する。第1の判定基準値Aが小さい場合、そのブロ
ックには画質劣化が目立ちやすい平坦部があるので、高
レートまたは中レートの量子化テーブルを選定する。ま
た第2の判定基準値Cが大きい場合、そのブロックはブ
ロック内で画像変化が大きく変化して復号器側で量子化
誤差が発生しやすいので、量子化ステップが細かい高レ
ートの量子化テーブルを選定する。
The decision unit 14 determines the first,
The quantization step for quantizing the transform coefficient in the adaptive quantizer 12 is selected according to the second judgment reference values A and C. The adaptive quantizer 12 holds a quantization table having different quantization steps, for example, a high-rate quantization table, a medium-rate quantization table, and a low-rate quantization table. A high-rate quantization table has a fine quantization step, a medium-rate quantization table has a medium quantization step, and a low-rate quantization table has a coarse quantization step. It is a quantization table. The determiner 14 selects the optimum quantization table from these three quantization tables based on FIG. 4 or FIG. 5 according to the first and second determination reference values A and C. When the first determination reference value A is small, there is a flat portion in which the image quality deterioration is conspicuous in that block, so a high-rate or medium-rate quantization table is selected. If the second criterion value C is large, the image change in the block changes greatly and quantization errors are likely to occur on the decoder side. Therefore, a high-rate quantization table with a fine quantization step should be used. Select.

【0043】ここで、図6に示すような画像ブロックを
例として図7の判定図に基づいて、判定器14の動作を具
体的に説明する。ここでは、説明を簡単にするために、
サブブロック内の隣接画素間の画像信号の差の絶対値の
総和Vn (n=1,2,3,4)の代わりに、その平均
変動量Mn =Vn /24を用いることとする。
Here, the operation of the decision unit 14 will be concretely described based on the decision diagram of FIG. 7 by taking the image block as shown in FIG. 6 as an example. Here, in order to simplify the explanation,
Instead of the total sum V n (n = 1, 2, 3, 4) of the absolute values of the differences between the image signals between the adjacent pixels in the sub block, the average variation M n = V n / 24 is used. .

【0044】図6(a)は、平坦な背景に高いコントラ
ストで1本の斜め線が入っているブロックである。この
ブロックは、平坦な部分に量子化ノイズが広がっていて
復号器側で劣化が目立ちやすい画像であるので、高レー
トの量子化レーブルで量子化されればよい。このブロッ
クにおける各サブブロック内の平均変動量が、M1
2,M2 =2,M3 =10,M4 =33である。この場合の
判定基準値A/24,C/24は夫々、 A/24=MIN{M1,M2,M3,M4 }=2 C/24=MAX{M1,M2,M3,M4 }−MIN{M1,M2,M3,M4 }=31 となり、図7の判定図ではα点に位置するので、判定器
14は高レートの量子化テーブルを選定する。
FIG. 6 (a) is a block in which one diagonal line has a high contrast on a flat background. Since this block is an image in which quantization noise spreads in a flat part and deterioration is apt to be noticeable on the decoder side, it may be quantized by a high-rate quantization leble. The average variation in each sub-block in this block is M 1 =
2, M 2 = 2, M 3 = 10, M 4 = 33. The determination reference values A / 24 and C / 24 in this case are, respectively, A / 24 = MIN {M 1 , M 2 , M 3 , M 4 } = 2 C / 24 = MAX {M 1 , M 2 , M 3 , M 4} -MIN {M 1 , M 2, M 3, M 4} = 31 , and the since the decision diagram of Figure 7 located in the α point determiner
14 selects a high rate quantization table.

【0045】図6(b)は、平坦な背景にあまりコント
ラストが高くないエッジがあるブロックである。このブ
ロックは、平坦な部分があるので低レートの量子化テー
ブルを用いることはできないが、コントラストがあまり
高くないことから復号器側における量子化誤差は小さい
ので、中レートの量子化テーブルで量子化されればよ
い。このブロックにおける各サブブロック内の平均変動
量が、M1 =2,M2 =3,M3 =14,M4 =15であ
る。この場合の判定基準値A/24,C/24は夫々、A/
24=2、C/24=13となり、図7の判定図ではβ点に位
置するので、判定器14は中レートの量子化テーブルを選
定する。
FIG. 6B shows a block in which a flat background has an edge with not so high contrast. This block cannot use a low-rate quantization table because it has a flat part, but the quantization error on the decoder side is small because the contrast is not so high. It should be done. The average fluctuation amount in each sub-block in this block is M 1 = 2, M 2 = 3, M 3 = 14, M 4 = 15. The judgment reference values A / 24 and C / 24 in this case are A /
Since 24 = 2 and C / 24 = 13, which is located at point β in the determination diagram of FIG. 7, the determiner 14 selects the quantization table of the medium rate.

【0046】図6(c)は、全体にわたってコントラス
トの変化が大きいブロックである。このブロックは、復
号器側において量子化誤差は目立ちにくいので、低レー
トの量子化テーブルで量子化されて圧縮率が高められれ
ばよい。このブロックにおける各サブブロック内の平均
変動量が、M1 =28, M2 =30,M3 =24,M4 =16で
ある。この場合の判定基準値A/24, C/24は夫々、A
/24=16、C/24=14となり、図7の判定図ではγ点に
位置するので、判定器14は低レートの量子化テーブルを
選定する。
FIG. 6C shows a block in which the change in contrast is large over the entire block. Since the quantization error of this block is not noticeable on the decoder side, it is sufficient if the block is quantized by a low-rate quantization table to increase the compression rate. The average fluctuation amount in each sub-block in this block is M 1 = 28, M 2 = 30, M 3 = 24, M 4 = 16. In this case, the judgment reference values A / 24 and C / 24 are A and
Since / 24 = 16 and C / 24 = 14, which is located at point γ in the determination diagram of FIG. 7, the determiner 14 selects a low-rate quantization table.

【0047】ところで、量子化ステップの選定基準、つ
まり3つの量子化テーブルの各占有率は図4,図5にお
いて異なっており、この図4,図5の何れを判定図とす
るかが、制御器15によって決定される。制御器15は、バ
ッファメモリ5に蓄えられているデータ量を感知してお
り、バッファメモリ5がオーブフローしないように、適
応量子化器12において変換係数が量子化されるときのレ
ートを調節する役割を果たす。即ち、制御器15は、バッ
ファメモリ5の記憶容量に十分な余裕があるときは、例
えば図4の判定図に示したような選定基準をとって高レ
ートの量子化テーブルを選定する割合が高くなるように
し、一方、バッファメモリ5が飽和状態に近くなったと
きには、図5の判定図に示したような選定基準をとって
低レートの量子化テーブルを選択する役割が高くなるよ
うにする。このようにして制御器15は、変換係数がバッ
ファメモリ5へ出力される際のレートを調節している。
By the way, the selection criterion of the quantization step, that is, the occupation ratios of the three quantization tables are different in FIGS. 4 and 5, and which of these FIGS. 4 and 5 is used as the determination diagram is controlled. Determined by instrument 15. The controller 15 senses the amount of data stored in the buffer memory 5, and adjusts the rate at which the transform coefficient is quantized in the adaptive quantizer 12 so that the buffer memory 5 does not orb flow. Play a role. That is, when the storage capacity of the buffer memory 5 has a sufficient margin, the controller 15 has a high rate of selecting a high-rate quantization table based on the selection criteria shown in the determination diagram of FIG. 4, for example. On the other hand, when the buffer memory 5 is close to the saturated state, the role of selecting the low-rate quantization table is increased by taking the selection criterion as shown in the determination diagram of FIG. In this way, the controller 15 adjusts the rate at which the transform coefficient is output to the buffer memory 5.

【0048】上述したような判定器14の選定結果に従っ
て、適応量子化器12はブロック毎に適切な量子化ステッ
プを選択し、直交変換回路11から出力される変換係数を
量子化して、選択した量子化ステップ及び量子化された
変換係数を可変長符号器4へ出力する。可変長符号化さ
れた変換係数は、バッファメモリ5に蓄えられた後、固
定レートにて読出されて外部へ送出される。
According to the selection result of the decision unit 14 as described above, the adaptive quantizer 12 selects an appropriate quantization step for each block, quantizes the transform coefficient output from the orthogonal transform circuit 11, and selects it. The quantization step and the quantized transform coefficient are output to the variable length encoder 4. The variable-length coded transform coefficient is stored in the buffer memory 5, then read at a fixed rate and sent to the outside.

【0049】なお、上記実施例では、水平方向及び垂直
方向に隣接する画素間の画像信号の差から、第1,第2
の判定基準値A,Cを求めたが、特に、飛び越し走査に
おける1フィールド内で処理がなされる場合には、垂直
方向の隣接画素間の距離が離れているので、平坦部を検
出するための第1の判定基準値については、水平方向の
みの隣接画素間の画像信号の差を用いるだけでもよい。
It should be noted that in the above embodiment, the first and second pixel values are determined from the difference in the image signals between the pixels that are adjacent in the horizontal and vertical directions.
The determination reference values A and C are obtained. Especially, when the processing is performed within one field in the interlaced scanning, the distance between adjacent pixels in the vertical direction is large, so that the flat portion is detected. For the first determination reference value, only the difference between the image signals of adjacent pixels in the horizontal direction may be used.

【0050】このような変形例における判定基準値演算
部13の構成を図8に示す。この判定基準値演算部13は、
サブブロック化回路21と、4つの各サブブロック内の水
平方向の隣接画素間の画像信号の差の絶対値の総和を求
める演算器31, 32, 33, 34と、各演算器31, 32, 33, 34
において求められた値の中から最小値を検出する最小値
検出器35と、4つの各サブブロック内の垂直方向の隣接
画素間の画像信号の差の絶対値の総和を求める演算器3
6, 37, 38, 39と、演算器31, 36の出力を加算する加算
器60と、演算器32, 37の出力を加算する加算器61と、演
算器33, 38の出力を加算する加算器62と、演算器34, 39
の出力を加算する加算器63と、各加算器60, 61, 62, 63
の出力の中から最小値を検出する最小値検出器26と、各
加算器60, 61, 62, 63の出力の中から最大値を検出する
最大値検出器27と、最大値検出器27の出力から最小値検
出器26の出力を減算する減算器28とを有する。
FIG. 8 shows the configuration of the judgment reference value calculation unit 13 in such a modified example. This judgment reference value calculation unit 13 is
The sub-blocking circuit 21, the arithmetic units 31, 32, 33, 34 for obtaining the sum total of the absolute values of the image signal differences between horizontally adjacent pixels in each of the four sub-blocks, and the arithmetic units 31, 32, 33, 34
A minimum value detector 35 for detecting the minimum value among the values obtained in step 3 and an arithmetic unit 3 for obtaining the sum of absolute values of differences in image signals between vertically adjacent pixels in each of the four sub-blocks.
6, 37, 38, 39 and adder 60 that adds the outputs of calculators 31 and 36, adder 61 that adds the outputs of calculators 32 and 37, and adder that adds the outputs of calculators 33 and 38 Unit 62 and calculators 34, 39
Adder 63 for adding the outputs of each, and each adder 60, 61, 62, 63
Of the minimum value detector 26 that detects the minimum value from among the outputs of, the maximum value detector 27 that detects the maximum value among the outputs of the adders 60, 61, 62, 63, and the maximum value detector 27 And a subtractor 28 for subtracting the output of the minimum value detector 26 from the output.

【0051】次に、動作について説明する。サブブロッ
ク化回路21から出力された4つのサブブロックy1,y2,
3,y4 の画像信号を、夫々y1 (i,j),y2
(i,j),y3 (i,j),y4 (i,j)(i,j
=1,2,3,4)とする。演算器31, 32, 33, 34にサ
ブブロックy1,y2,y3,y4 が夫々入力される。演算器
31は、サブブロックy1 内の水平方向の隣接画素間の画
像信号の差の絶対値の総和Vh1を次式のように演算す
る。
Next, the operation will be described. The four sub-blocks y 1 , y 2 , output from the sub-blocking circuit 21
The image signals of y 3 and y 4 are converted into y 1 (i, j) and y 2 respectively.
(I, j), y 3 (i, j), y 4 (i, j) (i, j
= 1, 2, 3, 4). Sub-blocks y 1 , y 2 , y 3 , y 4 are input to the arithmetic units 31, 32, 33, 34, respectively. Arithmetic unit
31 calculates the total sum V h1 of the absolute values of the differences between the image signals between adjacent pixels in the horizontal direction within the sub-block y 1 as in the following equation.

【0052】[0052]

【数7】 (Equation 7)

【0053】また、他の演算器32, 33, 34も同様に、サ
ブブロックy2,y3,y4 内の水平方向の隣接画素間の画
像信号の差の絶対値の総和Vh2, Vh3, Vh4を次式のよ
うに演算する。
Similarly, the other computing units 32, 33 and 34 similarly sum up the absolute values V h2 and V of the absolute values of the differences in the image signals between horizontally adjacent pixels in the sub-blocks y 2 , y 3 and y 4 . h3 and Vh4 are calculated as in the following equation.

【0054】[0054]

【数8】 (Equation 8)

【0055】最小値検出器35は、演算器31, 32, 33, 34
の出力Vh1, Vh2, Vh3, Vh4の最小値Ah =MIN
{Vh1, Vh2, Vh3, Vh4}を検出して出力する。この
最小値Ah は、適応量子化器12における量子化ステップ
を選定するための第1の判定基準値として判定器14へ出
力される。
The minimum value detector 35 is composed of arithmetic units 31, 32, 33, 34.
Output V h1 , V h2 , V h3 , V h4 minimum value A h = MIN
{V h1 , V h2 , V h3 , V h4 } is detected and output. This minimum value A h is output to the determiner 14 as a first determination reference value for selecting the quantization step in the adaptive quantizer 12.

【0056】一方、演算器36, 37, 38, 39にもサブブロ
ックy1,y2,y3,y4 が夫々入力される。演算器36は、
サブブロックy1 内の垂直方向の隣接画素間の画像信号
の差の絶対値の総和Vv1を次式のように演算する。
On the other hand, the sub-blocks y 1 , y 2 , y 3 , y 4 are also input to the arithmetic units 36, 37, 38, 39, respectively. The calculator 36 is
The sum V v1 of the absolute values of the differences in the image signals between the adjacent pixels in the vertical direction within the sub-block y 1 is calculated by the following equation.

【0057】[0057]

【数9】 [Equation 9]

【0058】また、他の演算器37, 38, 39も同様に、サ
ブブロックy2,y3,y4 内の垂直方向の隣接画素間の画
像信号の差の絶対値の総和Vv2, Vv3, Vv4を次式のよ
うに演算する。
Similarly, the other arithmetic units 37, 38, 39 also sum up the absolute values V v2 , V of the absolute values of the differences in the image signals between the adjacent pixels in the vertical direction within the sub-blocks y 2 , y 3 , y 4 . v3 and V v4 are calculated as in the following equation.

【0059】[0059]

【数10】 [Equation 10]

【0060】演算器31, 36の出力Vh1, Vv1は加算器60
に入力され、V1 =Vh1+Vv1が演算される。同様に、
加算器61, 62, 63にてV2 (=Vh2+Vv2), V3 (=
h3+Vv3,, V4 (=Vh4+Vv4) が夫々演算され
る。最小値検出器26は、加算器60, 61, 62, 63の出力V
1,V2,V3,V4 の最小値A=MIN{V1,V2,V3,V
4 }を検出して減算器28へ出力する。また、最大値検出
器27は、加算器60, 61, 62, 63の出力V1,V2,V3,V4
の最大値B=MAX{V1,V2,V3,V4 }を検出して減
算器28へ出力する。減算器28は、最大値Bと最小値Aと
の差Cを演算して出力する。この減算値Cは量子化ステ
ップを選定するための第2の判定基準値として、判定器
14へ出力される。
The outputs V h1 and V v1 of the arithmetic units 31 and 36 are added to the adder 60.
Is input to V 1 = V h1 + V v1 . Similarly,
In adders 61, 62 and 63, V 2 (= V h2 + V v2 ), V 3 (=
V h 3 + V v3 , V 4 (= V h4 + V v4 ) are calculated respectively. The minimum value detector 26 is the output V of the adders 60, 61, 62, 63.
Minimum value of 1 , V 2 , V 3 , V 4 A = MIN {V 1 , V 2 , V 3 , V
4 } is detected and output to the subtractor 28. Further, the maximum value detector 27 outputs the outputs V 1 , V 2 , V 3 , V 4 of the adders 60, 61, 62, 63.
The maximum value B = MAX {V 1 , V 2 , V 3 , V 4 } of the above is detected and output to the subtractor 28. The subtractor 28 calculates and outputs the difference C between the maximum value B and the minimum value A. The subtraction value C is used as a second determination reference value for selecting the quantization step, and the determination unit
Output to 14.

【0061】なお、以降の動作は前述した実施例と同様
であるので、その説明は省略する。
Since the subsequent operation is the same as that of the above-mentioned embodiment, its explanation is omitted.

【0062】次に、本発明の第2実施例について説明す
る。
Next, a second embodiment of the present invention will be described.

【0063】前述した第1実施例にあっては、量子化ス
テップを選定するための第2の判定基準値として、最大
値Bから最小値Aを減算した減算値Cを採用したが、こ
れに代えて、最大値Bを採用してもよい。第1実施例に
おいて、最大値Bを第2の判定基準値として採用した例
が第2実施例である。なお、第1の判定基準値は、第1
実施例と同様に、最小値Aである。
In the above-described first embodiment, the subtraction value C obtained by subtracting the minimum value A from the maximum value B is adopted as the second judgment reference value for selecting the quantization step. Alternatively, the maximum value B may be adopted. The second embodiment is an example in which the maximum value B is adopted as the second determination reference value in the first embodiment. The first criterion value is the first
It is the minimum value A as in the embodiment.

【0064】第2実施例の構成を示す図9において、
1,4,5, 11, 12, 14, 15は夫々、ブロック化回路,
可変長符号器,バッファメモリ、直交変換回路、適応量
子化器、判定器、制御器であり、これらは図1に示され
ているものと同等であるので、ここでは説明を省略す
る。また、16は図10にその構成を示す第2実施例におけ
る判定基準値演算部である。判定基準値演算部16の構成
は、図2に示す判定基準値演算部13の構成に比べて、減
算器28を除去した点が異なっており、判定基準値演算部
16は、サブブロックy1,y2,y3,y4 内における水平方
向及び垂直方向の隣接画素間の画像信号の差の絶対値の
総和V1,V2,V3,V4 の最小値A,最大値Bを検出し、
最小値A,最大値B夫々を、量子化ステップを決定する
ための第1,第2の判定基準値として判定器14へ出力す
る。
In FIG. 9 showing the configuration of the second embodiment,
1, 4, 5, 11, 12, 14, 15 are block circuits,
A variable-length encoder, a buffer memory, an orthogonal transform circuit, an adaptive quantizer, a determiner, and a controller, which are equivalent to those shown in FIG. 1 and therefore will not be described here. Further, reference numeral 16 is a judgment reference value calculation unit in the second embodiment whose configuration is shown in FIG. The configuration of the determination reference value calculation unit 16 is different from the configuration of the determination reference value calculation unit 13 shown in FIG. 2 in that the subtractor 28 is removed.
16, the smallest sub-block y 1, y 2, y 3, the sum V 1 of the absolute value of the difference of the image signal between the horizontal and vertical adjacent pixels in the y within 4, V 2, V 3, V 4 The value A and the maximum value B are detected,
The minimum value A and the maximum value B are output to the determiner 14 as the first and second determination reference values for determining the quantization step.

【0065】次に、動作について説明する。判定器14
は、このように求められる第1,第2の判定基準値A,
Bに応じて、適応量子化器12が変換係数を量子化するた
めの量子化ステップを、図11または図12に基づいて選定
する。ここで、図6に示すような画像ブロックを例とし
て図13の判定図に基づいて、判定器14の動作を具体的に
説明する。各サブブロック内の平均変動量が、M1
2,M2 =2,M3 =10,M4 =33である図6(a)で
は、A/24=2, B/24=33となり、図13の判定図では
α点に位置するので、判定器14は高レートの量子化テー
ブルを選定する。また、各サブブロック内の平均変動量
が、M1 =2,M2 =3,M3 =14,M4 =15である図
6(b)では、A/24=2、B/24=15となり、図13の
判定図ではβ点に位置するので、判定器14は中レートの
量子化テーブルを選定する。各サブブロック内の平均変
動量が、M1 =28, M2 =30,M3 =24,M4 =16であ
る図6(c)では、A/24=16、B/24=30となり、図
13の判定図ではγ点に位置するので、判定器14は低レー
トの量子化テーブルを選定する。
Next, the operation will be described. Judge 14
Is the first and second determination reference values A,
Depending on B, the adaptive quantizer 12 selects the quantization step for quantizing the transform coefficient based on FIG. 11 or FIG. Here, the operation of the determiner 14 will be specifically described based on the determination diagram of FIG. 13 using an image block as shown in FIG. 6 as an example. The average variation in each sub-block is M 1 =
2, M 2 = 2, M 3 = 10, M 4 = 33 In FIG. 6A, A / 24 = 2, B / 24 = 33, which is located at the α point in the determination diagram of FIG. 13. The decision unit 14 selects a high-rate quantization table. Further, in FIG. 6B in which the average variation amount in each sub-block is M 1 = 2, M 2 = 3, M 3 = 14, M 4 = 15, A / 24 = 2, B / 24 = Since this is 15, which is located at point β in the determination diagram of FIG. 13, the determiner 14 selects a medium-rate quantization table. In FIG. 6C in which the average fluctuation amount in each sub-block is M 1 = 28, M 2 = 30, M 3 = 24, M 4 = 16, A / 24 = 16, B / 24 = 30 , Figure
Since it is located at the point γ in the determination diagram of 13, the determiner 14 selects a low-rate quantization table.

【0066】なお、他の動作は、前述の第1実施例と同
じであるので、その説明は省略する。また、第1実施例
と同様に、特に、飛び越し走査における1フィールド内
で処理がなされる場合には、垂直方向の隣接画素間の距
離が離れているので、平坦部を検出するための第1の判
定基準値については、水平方向のみの隣接画素間の画像
信号の差を用いるだけでもよい。このような変形例にお
ける判定基準値演算部18の構成を図14に示す。図14にお
いて、図8と同番号を付したものは同一部分を示す。こ
の判定基準値演算部18は、各サブブロック内の水平方向
の隣接画素間の画像信号の差の絶対値の総和Vhn(n=
1,2,3,4)の最小値Ah を第1の判定基準値とし
て判定器14へ出力すると共に、各サブブロック内の垂直
方向の隣接画素間の画像信号の差の絶対値の総和Vvn
絶対値の総和Vhnとの加算値Vn の最大値Bを第2の判
定基準値として判定器14へ出力する。
Since the other operations are the same as those in the first embodiment, the description thereof will be omitted. Further, as in the first embodiment, particularly when the processing is performed within one field in the interlaced scanning, the distance between adjacent pixels in the vertical direction is large, so that the first portion for detecting the flat portion is used. As for the determination reference value, the difference between image signals between adjacent pixels in the horizontal direction only may be used. FIG. 14 shows the configuration of the judgment reference value calculation unit 18 in such a modified example. In FIG. 14, the same numbers as those in FIG. 8 indicate the same parts. The determination reference value calculation unit 18 calculates the sum V hn (n = n) of absolute values of differences between image signals between adjacent pixels in the horizontal direction in each sub-block.
1, 2, 3, 4) minimum value A h is output to the determiner 14 as a first determination reference value, and the sum of absolute values of differences in image signals between vertically adjacent pixels in each sub-block is added. The maximum value B of the added value V n of V vn and the sum V hn of absolute values is output to the determiner 14 as the second determination reference value.

【0067】次に、本発明の第3実施例について説明す
る。
Next, a third embodiment of the present invention will be described.

【0068】第3実施例では、適応量子化器12における
量子化ステップの選定基準が異なっている。第3実施例
の構成を示す図15において、1,4,5, 11, 12, 15は
夫々、ブロック化回路,可変長符号器,バッファメモ
リ、直交変換回路、適応量子化器、制御器であり、これ
らは図1に示されているものと同等であるので、ここで
は説明を省略する。また、17は、1個のブロックを複数
個のサブブロックに分割し、各サブブロックのダイナミ
ックレンジにおける最小値及び最大値に基づいて適応量
子化器12での量子化ステップを選定する判定器である。
判定器17は、図16に示すように、ブロック化回路1から
出力される各ブロックを4個のサブブロックに分割する
サブブロック化回路21と、各サブブロックのダイナミッ
クレンジ(最小値及び最大値)を求めるダイナミックレ
ンジ検出器41, 42, 43, 44と、ダイナミックレンジ検出
器41, 42, 43, 44からの出力の最小値を検出する最小値
検出器45と、ダイナミックレンジ検出器41, 42, 43, 44
からの出力の最大値を検出する最大値検出器46と、最大
値検出器46の出力から最小値検出器45の出力を減算する
減算器47と、最小値検出器45からの出力及び減算器47か
らの出力に基づいて適応量子化器12へ量子化ステップを
選定するための制御信号を出力する制御信号発生器48と
を有する。
In the third embodiment, the criterion for selecting the quantization step in the adaptive quantizer 12 is different. In FIG. 15 showing the configuration of the third embodiment, 1, 4, 5, 11, 12, and 15 are a block circuit, a variable length encoder, a buffer memory, an orthogonal transform circuit, an adaptive quantizer, and a controller, respectively. However, these are equivalent to those shown in FIG. 1, and therefore the description is omitted here. Further, 17 is a determiner that divides one block into a plurality of sub-blocks and selects the quantization step in the adaptive quantizer 12 based on the minimum value and the maximum value in the dynamic range of each sub-block. is there.
As shown in FIG. 16, the determiner 17 includes a sub-blocking circuit 21 that divides each block output from the blocking circuit 1 into four sub-blocks, and a dynamic range (minimum value and maximum value) of each sub-block. ), The minimum value detector 45 for detecting the minimum value of the output from the dynamic range detectors 41, 42, 43, 44, and the dynamic range detectors 41, 42 , 43, 44
Maximum value detector 46 for detecting the maximum value of the output from, the subtracter 47 for subtracting the output of the minimum value detector 45 from the output of the maximum value detector 46, the output from the minimum value detector 45 and the subtractor A control signal generator 48 for outputting a control signal for selecting a quantization step to the adaptive quantizer 12 based on the output from 47.

【0069】次に、動作について説明する。第1実施例
と同様に、ブロック化回路1にて8画素×8ラインに分
割された画像信号は、サブブロック化回路21により更に
各ブロックが4画素×4ラインの4つのサブブロックy
1,y2,y3,y4 に分割される。ここで、各サブブロック
1,y2,y3,y4 の画像信号を夫々y1 (i,j),y
2 (i,j),y3 (i,j),y4 (i,j)(i,
j=1,2,3,4)とする。ダイナミックレンジ検出
器41, 42, 43, 44は、サブブロックy1,y2,y3,y4
画像信号に応じて、各サブブロックのダイナミックレン
ジDR1,DR2,DR3,DR4 を下式のように演算して出
力する。
Next, the operation will be described. Similar to the first embodiment, the image signal divided into 8 pixels × 8 lines by the block forming circuit 1 is further divided by the sub block forming circuit 21 into four sub blocks y of 4 pixels × 4 lines.
It is divided into 1 , y 2 , y 3 and y 4 . Here, the image signals of the sub-blocks y 1 , y 2 , y 3 , y 4 are respectively y 1 (i, j), y
2 (i, j), y 3 (i, j), y 4 (i, j) (i,
j = 1, 2, 3, 4). Dynamic range detectors 41, 42, 43, 44, in accordance with an image signal of a subblock y 1, y 2, y 3 , y 4, the dynamic range DR 1 of each sub-block, DR 2, DR 3, DR 4 Is calculated and output as in the following formula.

【0070】 DR1 =MAX{y1 (i,j);i,j=1,2,3,4} −MIN{y1 (i,j);i,j=1,2,3,4} DR2 =MAX{y2 (i,j);i,j=1,2,3,4} −MIN{y2 (i,j);i,j=1,2,3,4} DR3 =MAX{y3 (i,j);i,j=1,2,3,4} −MIN{y3 (i,j);i,j=1,2,3,4} DR4 =MAX{y4 (i,j);i,j=1,2,3,4} −MIN{y4 (i,j);i,j=1,2,3,4}DR 1 = MAX {y 1 (i, j); i, j = 1,2,3,4} -MIN {y 1 (i, j); i, j = 1,2,3,4 } DR 2 = MAX {y 2 (i, j); i, j = 1,2,3,4} -MIN {y 2 (i, j); i, j = 1,2,3,4} DR 3 = MAX {y 3 (i , j); i, j = 1,2,3,4} -MIN {y 3 (i, j); i, j = 1,2,3,4} DR 4 = MAX {y 4 (i, j); i, j = 1,2,3,4} -MIN {y 4 (i, j); i, j = 1,2,3,4}

【0071】最小値検出器45は、ダイナミックレンジ検
出器41, 42, 43, 44の出力DR1,DR2,DR3,DR4
最小値D=MIN{DR1,DR2,DR3,DR4 }を検出
して、減算器47及び制御信号発生器48へ出力する。一
方、最大値検出器46は、ダイナミックレンジ検出器41,
42, 43, 44の出力DR1,DR2,DR3,DR4 の最大値E
=MAX{DR1,DR2,DR3,DR4 }を検出して減算
器47へ出力する。最小値D,最大値Eは減算器47で減算
されてF=E−Dが求められ、減算値Fは制御信号発生
器48へ出力される。
The minimum value detector 45 is a minimum value D = MIN {DR 1 , DR 2 , DR 3 , of the outputs DR 1 , DR 2 , DR 3 , DR 4 of the dynamic range detectors 41, 42, 43, 44. DR 4 } is detected and output to the subtractor 47 and the control signal generator 48. On the other hand, the maximum value detector 46 is the dynamic range detector 41,
42, 43, 44 outputs DR 1 , DR 2 , DR 3 , DR 4 maximum value E
= MAX {DR 1 , DR 2 , DR 3 , DR 4 } is detected and output to the subtractor 47. The minimum value D and the maximum value E are subtracted by the subtractor 47 to obtain F = ED, and the subtracted value F is output to the control signal generator 48.

【0072】最小値検出器45の出力Dが小さい場合はそ
のブロックに復号器側で画質劣化が目立ちやすい平坦部
分があり、この場合には高レートまたは中レートの量子
化が必要である。一方、減算器47の出力Fが大きい場合
はブロック内で画像の変化が大きくて復号器側で量子化
誤差が出やすいことを示すので、出力Dが小さくて出力
Fが大きい場合には高レートの量子化が必要である。
When the output D of the minimum value detector 45 is small, there is a flat portion in the block where image quality deterioration is conspicuous on the decoder side. In this case, high-rate or medium-rate quantization is required. On the other hand, when the output F of the subtractor 47 is large, it means that the image change in the block is large and the quantization error is likely to occur on the decoder side. Therefore, when the output D is small and the output F is large, the high rate is high. Needs to be quantized.

【0073】制御信号発生器48は、出力D,F(=E−
D)に応じて、図17または図18に基づいて、適応量子化
器12が最適の量子化ステップを選択するための制御信号
を適応量子化器12へ出力する。ここで、図6に示すよう
な画像ブロックを例にして図19の判定図に基づいて、判
定器17(制御信号発生器48)の動作を具体的に説明す
る。
The control signal generator 48 outputs the outputs D and F (= E-
According to D), based on FIG. 17 or FIG. 18, the adaptive quantizer 12 outputs a control signal for selecting the optimum quantization step to the adaptive quantizer 12. Here, the operation of the determiner 17 (control signal generator 48) will be specifically described based on the determination diagram of FIG. 19 by taking an image block as shown in FIG. 6 as an example.

【0074】 図6(a)にあっては、各サブブロック内のダイナミッ
クレンジが、8ビットに量子化された画像信号の一例に
おいては、DR1 =9,DR2 =8,DR3 =78,DR
4 =114 である。この場合のD,F(=E−D)は夫
々、 D=MIN{DR1,DR2,DR3,DR4 }=8 F=MAX{DR1,DR2,DR3,DR4 } −MIN{DR1,DR2,DR3,DR4 }=106 となり、図19の判定図ではα点に位置するので、判定器
17は高レートの量子化テーブルを選定する。また、各サ
ブブロック内のダイナミックレンジが、DR1 =8,D
2 =7,DR3 =64,DR4 =57である図6(b)で
は、D=7, F=57となり、図19の判定図ではβ点に位
置するので、判定器17は中レートの量子化テーブルを選
定する。各サブブロック内のダイナミックレンジが、D
1 =61, DR2 =53,DR3 =119, DR4 =119 で
ある図6(c)では、D=53, F=66となり、図19の判
定図ではγ点に位置するので、判定器17は低レートの量
子化テーブルを選定する。
In FIG. 6A, in an example of an image signal in which the dynamic range in each sub-block is quantized to 8 bits, DR 1 = 9, DR 2 = 8, DR 3 = 78 , DR
4 = 114. D in this case, F (= E-D) are each, D = MIN {DR 1, DR 2, DR 3, DR 4} = 8 F = MAX {DR 1, DR 2, DR 3, DR 4} - Since MIN {DR 1 , DR 2 , DR 3 , DR 4 } = 106, which is located at point α in the determination diagram of FIG.
17 selects a high rate quantization table. Further, the dynamic range in each sub-block is DR 1 = 8, D
In FIG. 6 (b) where R 2 = 7, DR 3 = 64, DR 4 = 57, D = 7, F = 57, which is located at point β in the determination diagram of FIG. Select a rate quantization table. The dynamic range within each sub-block is D
In FIG. 6 (c) where R 1 = 61, DR 2 = 53, DR 3 = 119, DR 4 = 119, D = 53, F = 66, which is located at the γ point in the determination diagram of FIG. 19. The determiner 17 selects a low rate quantization table.

【0075】なお、他の動作は、前述の第1実施例と同
じであるので、その説明は省略する。
Since the other operations are the same as those in the first embodiment, the description thereof will be omitted.

【0076】次に、本発明の第4実施例について説明す
る。
Next, a fourth embodiment of the present invention will be described.

【0077】本発明の第4実施例を示す図20において、
1,4,5,11, 13, 15は夫々、ブロック化回路,可変
長符号器,バッファメモリ、直交変換回路、判定基準値
演算部、制御器であり、これらは図1に示されているも
のと同等のものである。また、18は直交変換回路11から
出力された変換係数に対して適応したウエイティングを
施す適応ウエイティング器、19は判定基準値演算部13か
らの出力に基づいて適応ウエイティング器18におけるウ
エイティング係数を選定する判定器である。なお、判定
基準値演算部13は図2に示す内部構成をなしている。
In FIG. 20 showing the fourth embodiment of the present invention,
1, 4, 5, 11, 13, and 15 are a block circuit, a variable-length encoder, a buffer memory, an orthogonal transformation circuit, a judgment reference value calculator, and a controller, respectively, which are shown in FIG. It is equivalent to the one. Further, 18 is an adaptive weighting device that performs weighting adapted to the transform coefficient output from the orthogonal transform circuit 11, and 19 is a weighting in the adaptive weighting device 18 based on the output from the determination reference value calculation unit 13. This is a judging device for selecting a coefficient. The judgment reference value calculator 13 has the internal structure shown in FIG.

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

【0079】前述した第1実施例と同様に、判定基準値
演算部13にて演算された最大値A及び減算値Cが、第
1,第2の判定基準値として判定器19に入力される。判
定器19は、この第1,第2の判定基準値A,Cに応じ
て、図4または図5に基づいて、適応ウエイティング器
18において用いるべきウエイティング係数を選定する。
ここで、例えば適応ウエイティング器18は以下に示す3
種類のレートのウエイティング係数を保持している。
Similar to the first embodiment described above, the maximum value A and the subtraction value C calculated by the judgment reference value calculation unit 13 are input to the judgment unit 19 as the first and second judgment reference values. . The determining device 19 is an adaptive weighting device based on FIG. 4 or FIG. 5 according to the first and second determination reference values A and C.
The weighting coefficient to be used in 18 is selected.
Here, for example, the adaptive weighting device 18 has the following 3
Holds weighting coefficients for different types of rates.

【0080】[0080]

【数11】 [Equation 11]

【0081】W1 (m,n)を高レートのウエイティン
グ係数、W2 (m,n)を中レートのウエイティング係
数、W3 (m,n)を低レートのウエイティング係数と
夫々呼ぶことにする。第1の判定基準値Aが小さい場
合、そのブロックには復号器側で画質劣化が目立ちやす
い平坦部があるので、高レートまたは中レートのウエイ
ティングを施す。また第2の判定基準値Cが大きい場
合、そのブロックはブロック内で画像が大きく変化して
復号器側で量子化誤差が発生しやすいので、Aが小さく
Cが大きい場合、高い空間周波数の影響が無視できない
ので、高レートのウエイティングを施す。
W 1 (m, n) is called a high rate weighting coefficient, W 2 (m, n) is called a medium rate weighting coefficient, and W 3 (m, n) is called a low rate weighting coefficient. I will decide. When the first determination reference value A is small, the block has a flat portion where image quality deterioration is noticeable on the decoder side, and therefore high-rate or medium-rate weighting is performed. Further, when the second judgment criterion value C is large, the image in that block changes greatly and quantization errors are likely to occur on the decoder side. Therefore, when A is small and C is large, the effect of high spatial frequency is high. Since it cannot be ignored, high-rate weighting is applied.

【0082】ここで、図6に示すような画像ブロックを
例として判定器19の動作を具体的に説明する。なお、こ
こでは、高レート,中レート,低レートの選定基準は、
第1の実施例と同じ基準(図7)とする。平坦な部分に
量子化ノイズが広がっていて劣化が目立ちやすい画像で
ある図6(a)では、高レートのウエイティングを施
す。図7の判定図ではα点に位置するので、判定器19は
高レートのウエイティング係数W1 (m,n)を選定す
る。平坦な背景にあまりコントラストが高くないエッジ
がある図6(b)では、平坦な部分があるので低レート
のウエイティングを用いることはできないが、コントラ
ストがあまり高くないことから復号器側における量子化
誤差は小さいので、中レートのウエイティングを施す。
図7の判定図ではβ点に位置するので、判定器19は中レ
ートのウエイティング係数W2 (m,n)を選定する。
全体にわたってコントラストの変化が大きい図6(c)
では、量子化誤差は目立ちにくいので低レートのウエイ
ティングで圧縮率で高めることができる。図7の判定図
ではγ点に位置するので、判定器19は低レートのウエイ
ティング係数W3 (m,n)を選定する。
Here, the operation of the decision unit 19 will be specifically described by taking an image block as shown in FIG. 6 as an example. Here, the selection criteria for high rate, medium rate, and low rate are:
The same criteria as those in the first embodiment (FIG. 7) are used. In FIG. 6A, which is an image in which quantization noise is spread over a flat portion and deterioration is easily noticeable, high-rate weighting is performed. Since it is located at the point α in the judgment diagram of FIG. 7, the judgment unit 19 selects the high-rate weighting coefficient W 1 (m, n). In FIG. 6 (b), where there is an edge where the contrast is not so high on the flat background, it is not possible to use low-rate weighting because there is a flat portion, but since the contrast is not so high, quantization at the decoder side is not possible. Since the error is small, a medium rate weighting is applied.
Since it is located at point β in the determination diagram of FIG. 7, the determination unit 19 selects the weighting coefficient W 2 (m, n) for the medium rate.
The change in contrast is large over the entire area in FIG.
Since the quantization error is not noticeable, the compression rate can be increased by low-rate weighting. Since it is located at the point γ in the judgment diagram of FIG. 7, the judgment unit 19 selects the low-rate weighting coefficient W 3 (m, n).

【0083】上述したような判定器19の選定結果に従っ
て、適応ウエイティング器18はブロック毎に適切なウエ
イティング係数を選択し、直交変換回路11から出力され
る変換係数にウエイティングを施し、ブロック毎のウエ
イティング係数とウエイティングを施した変換係数とを
可変長符号器4へ出力する。適応ウエイティング器18の
出力は可変長符号器4にて可変長符号化され、バッファ
メモリ5に蓄えられる。バッファメモリ5に蓄えられた
データは、固定レートにて読出される。
According to the selection result of the decision unit 19 as described above, the adaptive weighting unit 18 selects an appropriate weighting coefficient for each block, weights the transform coefficient output from the orthogonal transform circuit 11, and weights the block. Each weighting coefficient and the weighted transform coefficient are output to the variable length encoder 4. The output of the adaptive weighting device 18 is variable-length coded by the variable-length encoder 4 and stored in the buffer memory 5. The data stored in the buffer memory 5 is read at a fixed rate.

【0084】ところで、制御器15はバッファメモリ5に
蓄えられているデータ量を感知し、バッファメモリ5が
オーバフローしないように、ウエイティング係数の選定
を制御する。即ち、バッファメモリ5の記憶容量に十分
な余裕があるときは、例えば図4の判定図に示したよう
な選定基準をとって高レートのウエイティング係数を選
定する割合が高くなるようにし、一方、バッファメモリ
5が飽和状態に近くなったときには、図5の判定図に示
したような選定基準をとって低レートのウエイティング
係数を選定する割合が高くなるようにする。
The controller 15 senses the amount of data stored in the buffer memory 5 and controls the selection of the weighting coefficient so that the buffer memory 5 does not overflow. That is, when the storage capacity of the buffer memory 5 has a sufficient margin, for example, the selection criterion as shown in the determination diagram of FIG. When the buffer memory 5 is close to the saturated state, the selection criterion as shown in the determination diagram of FIG. 5 is used to increase the proportion of selecting the low-rate weighting coefficient.

【0085】なお、この第4実施例においても、第1実
施例と同様に、特に、飛び越し走査における1フィール
ド内で処理がなされる場合には、垂直方向の隣接画素間
の距離が離れているので、平坦部を検出するための第1
の判定基準については、水平方向のみの隣接画素間の画
像信号の差を用いるだけでもよい。このような場合に
は、判定基準値演算部13の構成を図8に示すようにすれ
ばよい。
Also in the fourth embodiment, as in the first embodiment, particularly when the processing is performed within one field in the interlaced scanning, the distance between adjacent pixels in the vertical direction is large. So the first for detecting flats
As for the determination criterion, the difference between the image signals between adjacent pixels in the horizontal direction only may be used. In such a case, the configuration of the determination reference value calculation unit 13 may be set as shown in FIG.

【0086】次に、本発明の第5実施例について説明す
る。
Next, a fifth embodiment of the present invention will be described.

【0087】前述した第4実施例にあっては、ウエイテ
ィング係数を選定するための第2の判定基準値として減
算値Cを採用したが、これに代えて、最大値Bを採用し
てもよい。第4実施例において、第2の判定基準値とし
て最大値Bを採用した例が第5実施例である。なお、第
1の判定基準値は、第4実施例と同様に、最小値Aであ
る。第5実施例の構成を示す図21において、1,4,
5, 11, 15,18, 19は夫々、ブロック化回路,可変長符
号器,バッファメモリ、直交変換回路、制御器、適応ウ
エイティング器、判定器であり、これらは図20に示され
ているものと同等のものである。また、16は図10にその
構成を示す第2実施例と同等の判定基準値演算部であ
る。この第5実施例は、第4実施例においてウエイティ
ング係数の選定基準を第2実施例と同じにしたものであ
る。従って、この第5実施例の動作は、第2,第4実施
例を適宜参照することにより、容易に理解できるのでそ
の説明は省略する。
In the above-described fourth embodiment, the subtraction value C is adopted as the second judgment reference value for selecting the weighting coefficient, but instead of this, the maximum value B may be adopted. Good. The fifth embodiment is an example in which the maximum value B is adopted as the second determination reference value in the fourth embodiment. The first criterion value is the minimum value A, as in the fourth embodiment. 21, which shows the configuration of the fifth embodiment, 1, 4,
5, 11, 15, 18, and 19 are a block circuit, a variable length encoder, a buffer memory, an orthogonal transform circuit, a controller, an adaptive weighting device, and a decision device, respectively, which are shown in FIG. It is equivalent to the one. Further, reference numeral 16 is a judgment reference value calculation unit equivalent to that of the second embodiment whose configuration is shown in FIG. In the fifth embodiment, the weighting coefficient selection criterion in the fourth embodiment is the same as that in the second embodiment. Therefore, the operation of the fifth embodiment can be easily understood by appropriately referring to the second and fourth embodiments, and the description thereof will be omitted.

【0088】次に、本発明の第6実施例について説明す
る。
Next, a sixth embodiment of the present invention will be described.

【0089】第6実施例は、第4実施例において、適応
ウエイティング器18におけるウエイティング係数の選定
基準を、前述した第3実施例と同様にした例である。第
6実施例の構成を示す図22において、1,4,5, 11,
15,18,は夫々、ブロック化回路,可変長符号器,バッ
ファメモリ、直交変換回路、制御器、適応ウエイティン
グ器であり、これらは図20に示されているものと同等の
ものであり、また、20は図16にその構成を示す第3実施
例の判定器17と同様の判定器である。この第6実施例の
動作は、第3,第4実施例を適宜参照することにより、
容易に理解できるのでその説明は省略する。
The sixth embodiment is an example in which the weighting coefficient selection criteria in the adaptive weighting device 18 in the fourth embodiment are the same as those in the third embodiment. 22, which shows the configuration of the sixth embodiment, 1, 4, 5, 11,
Reference numerals 15 and 18 are a block circuit, a variable length encoder, a buffer memory, an orthogonal transform circuit, a controller, and an adaptive weighting device, respectively, which are equivalent to those shown in FIG. Further, reference numeral 20 is a judging device similar to the judging device 17 of the third embodiment whose configuration is shown in FIG. The operation of the sixth embodiment will be described with reference to the third and fourth embodiments as appropriate.
The explanation is omitted because it is easily understood.

【0090】なお、上述の各実施例では1個のブロック
を4個のサブブロックに分割したが、必ずしも4分割す
る必要はなく、1ブロックの大きさ等により任意にサブ
ブロックの個数を決定すればよい。
Although each block is divided into four sub-blocks in each of the above-described embodiments, it is not always necessary to divide into four sub-blocks, and the number of sub-blocks can be arbitrarily determined according to the size of one block or the like. Good.

【0091】また、量子化ステップまたはウエイティン
グ係数を選定する際に2種類の判定基準値を用いること
としたが、2種類である必要はなく、n種類(n≧1)
の判定基準値を用いてよい。n=1である場合、例えば
サブブロック内の水平方向及び垂直方向の隣接画素間の
画像信号の差の絶対値の総和を判定基準値とし、この判
定基準値に基づいて、量子化ステップまたはウエイティ
ング係数を選定することとしてもよい。
Although two kinds of judgment reference values are used when selecting the quantization step or the weighting coefficient, they do not have to be two kinds, and n kinds (n ≧ 1)
May be used. When n = 1, for example, the sum of the absolute values of the differences between the image signals of adjacent pixels in the horizontal direction and the vertical direction in the sub-block is used as the determination reference value, and the quantization step or the way is performed based on this determination reference value. It is also possible to select the Ting coefficient.

【0092】次に、本発明の第7実施例について説明す
る。
Next, a seventh embodiment of the present invention will be described.

【0093】第7実施例の構成を示す図23において、高
能率符号化装置は、ブロック化回路1と、直交変換回路
11と、直交変換回路11から出力される変換係数に対して
ウエイティングを施すウエイティング器51と、可変長符
号化する可変長符号器4とを有する。ウエイティング器
51は、図24に示すように、ブロック内の画素をジグザグ
的にスキャニングするジグザグスキャニング回路52と、
複数のウエイティング係数を収納しているウエイティン
グテーブル53と、変換係数にウエイティング係数を乗算
する乗算器54とを有する。
In FIG. 23 showing the configuration of the seventh embodiment, the high-efficiency coding apparatus includes a blocking circuit 1 and an orthogonal transformation circuit.
11, a weighting unit 51 that weights the transform coefficient output from the orthogonal transform circuit 11, and a variable length encoder 4 that performs variable length coding. Weighting device
As shown in FIG. 24, 51 is a zigzag scanning circuit 52 that scans pixels in a block in a zigzag manner,
The weighting table 53 stores a plurality of weighting coefficients, and a multiplier 54 that multiplies the conversion coefficient by the weighting coefficient.

【0094】次に、動作について説明する。入力された
デジタル画像信号は、ブロック化回路1において時分割
多重され、複数画素毎にブロック化される。このブロッ
ク化回路1から出力される各ブロックは、直交変換回路
11において例えばDCT変換等の直交変換を施される。
直交変換回路11から出力される変換係数は、ウエイティ
ング器51によりウエイティングが施される。ウエイティ
ング器51の出力は、可変長符号器4により可変長符号化
される。
Next, the operation will be described. The input digital image signal is time-division multiplexed in the blocking circuit 1 and is divided into blocks for each of a plurality of pixels. Each block output from the blocking circuit 1 is an orthogonal transform circuit.
At 11, orthogonal transformation such as DCT transformation is performed.
The transform coefficient output from the orthogonal transform circuit 11 is weighted by the weighting unit 51. The output of the weighting device 51 is variable-length coded by the variable-length encoder 4.

【0095】以下、ウエイティング器51の動作について
詳述する。例えば、ブロック化回路1が8画素×8ライ
ンのブロック(画像信号x(i,j)(i,j=0,
1,…,7))を出力する場合、直交変換回路11は8×
8個の変換係数F(m,n)(m,n=0,1,…,
7)を出力する。ここで変換係数は、図25に示すような
ジグザグスキャニングの特性を持つジグザグスキャニン
グ回路52により1次元的なデータ列に並び換えられ、ジ
グザグスキャニング回路52はスキャニングした順に乗算
器54へ変換係数F(m,n)を出力する。また、ジグザ
グスキャニング回路52は、各データ列に対するジグザグ
スキャニングのアドレス情報をウエイティングテーブル
53へ出力する。このアドレス情報によりウエイティング
テーブル53はアクセスされ、ウエイティングテーブル53
はジグザグスキャニング回路52の出力データに対するウ
エイティング係数Wを乗算器54へ出力する。
The operation of the weighting device 51 will be described in detail below. For example, the blocking circuit 1 uses a block of 8 pixels × 8 lines (image signal x (i, j) (i, j = 0,
1, ..., 7)) is output, the orthogonal transformation circuit 11 outputs 8 ×
Eight conversion coefficients F (m, n) (m, n = 0,1, ...,
7) is output. Here, the conversion coefficients are rearranged into a one-dimensional data string by the zigzag scanning circuit 52 having the zigzag scanning characteristics as shown in FIG. 25, and the zigzag scanning circuit 52 transfers the conversion coefficient F (to the multiplier 54 in the scanning order). m, n) is output. In addition, the zigzag scanning circuit 52 outputs the address information of the zigzag scanning for each data string to the weighting table.
Output to 53. The waiting table 53 is accessed by this address information, and the waiting table 53 is accessed.
Outputs the weighting coefficient W for the output data of the zigzag scanning circuit 52 to the multiplier 54.

【0096】ここで、ウエイティング係数は、例えば図
26に示すように8種類の乗算器により決定されており、
具体的にウエイティング係数Wは、水平方向のシーケン
シーの次数mと垂直方向のシーケンシーの次数nとの最
大値M=MAX{m,n}(m,n=0,1,…,7)
を用いて以下の式で示される。
Here, the weighting coefficient is, for example, as shown in FIG.
As shown in 26, it is determined by 8 types of multipliers,
Specifically, the weighting coefficient W is a maximum value M = MAX {m, n} (m, n = 0, 1, ..., 7) of the order m of the horizontal sequence and the order n of the vertical sequence.
Is expressed by the following equation.

【0097】[0097]

【数12】 (Equation 12)

【0098】ジグザグスキャニング回路52から出力され
る変換係数F(m,n)とウエイティングテーブル53か
ら出力されるウエイティング係数W(M)とは乗算器54
に入力されて、以下に示すように変換係数にウエイティ
ングが施される。
The conversion coefficient F (m, n) output from the zigzag scanning circuit 52 and the weighting coefficient W (M) output from the weighting table 53 are multiplied by a multiplier 54.
And the weighting is applied to the conversion coefficient as shown below.

【0099】[0099]

【数13】 (Equation 13)

【0100】ウエイティング器51の動作を更に具体的に
示すために、13.5MHzで8bitに量子化されたある
4:2:2のコンポーネントデジタル画像データ(情報
量は166 Mbps)を考える。8画素×8ラインのブロ
ックに対してDCT変換を施した64個のDCT変換係数
F(m,n)に対してα=0.6 のウエイティングを用い
た場合、ウエイティングを施されたDCT変換係数F′
(m,n)を図27に示すようなビットマップ表によっ
て、ランレングス符号化を行いその情報量を計算した結
果、画像データは54.7Mbpsであった。復号系では図
28に示すように、ウエイティングされた後に符号化され
たDCT変換係数F′(m,n)を復号器55によって復
号し、さらに逆ウエイティング器56では以下に示すよう
に、ウエイティング係数W(M)の逆数をF′(m,
n)に掛けてF″(m,n)を得る。
In order to more specifically show the operation of the weighting device 51, consider some 4: 2: 2 component digital image data (information amount is 166 Mbps) quantized to 8 bits at 13.5 MHz. When a weighting of α = 0.6 is used for 64 DCT transform coefficients F (m, n) obtained by DCT transforming a block of 8 pixels × 8 lines, the weighted DCT transform coefficients F '
As a result of performing run-length coding on (m, n) using a bitmap table as shown in FIG. 27 and calculating the amount of information, the image data was 54.7 Mbps. Decoding system
As shown in FIG. 28, the weighted and encoded DCT transform coefficient F ′ (m, n) is decoded by the decoder 55, and the inverse weighter 56 further calculates the weighting coefficient W ′ as described below. The inverse of (M) is F '(m,
Multiply n) to obtain F ″ (m, n).

【0101】[0101]

【数14】 [Equation 14]

【0102】さらに逆DCT回路57では、F″(m,
n)に逆DCTを施して再生画像x1 (i,j)を得
る。ここで、再生画像x1 (i,j)に対して1ブロッ
ク内でのSN比を下記のように定義すると、前述のサン
プル画像の場合、SN比はY信号が43.5dB、R−Yが
44.6dB、B−Yが45.0dBであった。
Further, in the inverse DCT circuit 57, F ″ (m,
Inverse DCT is applied to n) to obtain a reproduced image x 1 (i, j). Here, if the SN ratio in one block for the reproduced image x 1 (i, j) is defined as follows, in the case of the above-mentioned sample image, the SN ratio is 43.5 dB for the Y signal and RY is
It was 44.6 dB and BY was 45.0 dB.

【0103】[0103]

【数15】 (Equation 15)

【0104】一方、従来のウエイティングにおいて、α
=0.7 とした場合、情報量は54.8Mbps、SN比はY
信号が43.5dB、R−Yが44.6dB、B−Yが45.0dB
であって、本発明例の場合と同様の結果が得られる。と
ころが、従来のウエイティングでは、ウエイティング器
の乗算器の個数は64種類必要である。
On the other hand, in conventional weighting, α
= 0.7, the amount of information is 54.8 Mbps and the SN ratio is Y
Signal is 43.5 dB, RY is 44.6 dB, BY is 45.0 dB.
Therefore, the same result as in the case of the example of the present invention can be obtained. However, in the conventional weighting, the number of multipliers of the weighting device is required to be 64.

【0105】上記実施例ではウエイティング器は、水平
方向と垂直方向のシーケンシーの次数の最大値により8
種類のウエイティング係数によって構成されていたが、
必ずしも水平,垂直方向のシーケンシーの次数の最大値
によってウエイティング係数を選択する必要はなく、図
25に示すジグザグスキャニングの順番に従ってウエイテ
ィング係数を選択してもよい。
In the above-mentioned embodiment, the weighting device is 8 depending on the maximum value of the order of the horizontal and vertical sequences.
It consisted of various weighting factors,
It is not always necessary to select the weighting coefficient according to the maximum value of the horizontal and vertical sequence orders.
The weighting coefficient may be selected according to the zigzag scanning order shown in 25.

【0106】この場合ウエイティング係数は、ジグザグ
スキャニングが斜め方向にスキャニングを繰り返すの
で、この斜め方向のスキャニングを最小の範囲として、
このスキャニングの範囲内では、同一のウエイティング
係数が選択されるようにして合計8種類のウエイティン
グ係数を用意する。例えばDCT変換係数F(m,n)
に対するウエイティングには、図29に示すように、下記
のようなウエイティング係数W(s)を用いればよい。
In this case, since the zigzag scanning repeats the diagonal scanning in the diagonal direction, the weighting coefficient is set to a minimum range with respect to the diagonal scanning.
Within this scanning range, a total of eight types of weighting coefficients are prepared so that the same weighting coefficient is selected. For example, the DCT transform coefficient F (m, n)
For the weighting with respect to the above, as shown in FIG. 29, the following weighting coefficient W (s) may be used.

【0107】[0107]

【数16】 [Equation 16]

【0108】なお上記実施例ではウエイティング係数を
8種類としたが、必ずしも8種類である必要はなく最高
15種類のウエイティング係数を用いることができる。例
えば15種類の場合のウエイティングには、図30に示すよ
うに、下記のようなウエイティング係数W(s)を用い
ればよい。
Although the weighting coefficient is set to eight in the above embodiment, it is not always necessary to set eight kinds of weighting coefficients.
Fifteen types of weighting factors can be used. For example, in the case of 15 types of weighting, as shown in FIG. 30, the following weighting coefficient W (s) may be used.

【0109】[0109]

【数17】 [Equation 17]

【0110】なお、上述した実施例では、2次元平面内
でのウエイティングを考えたが、必ずしも2次元平面内
で考える必要はなく、3次元のブロックに対しても、2
次元平面単位で上記のウエイティングを施せばよい。
Although the weighting in the two-dimensional plane has been considered in the above-mentioned embodiment, it is not always necessary to consider it in the two-dimensional plane, and even for the three-dimensional block, 2
The above weighting may be performed in units of dimensional planes.

【0111】以上のように、第7実施例では、N×Nの
ブロックに対してウエイティング器の乗算器の個数をN
2 /4個以下とすることにしたので、従来のウエイティ
ング器を用いた高能率符号化装置と同等な情報圧縮率を
持ち、ハードウェア化が容易である高能率符号化装置が
得られる。
As described above, in the seventh embodiment, the number of multipliers in the weighting unit is N for N × N blocks.
Since the number is set to 2/4 or less, it is possible to obtain a high-efficiency coding device which has an information compression rate equivalent to that of the conventional high-efficiency coding device using a weighting device and is easy to implement in hardware.

【0112】ところで上述した各実施例にあっては、ブ
ロック化回路から出力される画像信号が8画素×8ライ
ンを1ブロックとする場合について説明したが、このよ
うな2次元ブロック(水平方向及び垂直方向)に限ら
ず、3次元ブロック(水平方向,垂直方向及び時間方
向)についても本発明を同様に適用することができる。
以下、3次元ブロックに本発明を適用した実施例につい
て説明する。
In each of the above-described embodiments, the case where the image signal output from the block forming circuit has 8 pixels × 8 lines as one block has been described, but such a two-dimensional block (horizontal direction and horizontal direction The present invention can be similarly applied to not only the vertical direction but also the three-dimensional block (horizontal direction, vertical direction, and time direction).
Hereinafter, an example in which the present invention is applied to a three-dimensional block will be described.

【0113】前述の第1実施例に対応するこのような3
次元ブロックの実施例について説明する。この実施例の
構成を示す図31において、1aは、入力されるデジタル画
像を、1ブロックが8画素×8ライン×8フィールドと
なるように、複数の3次元ブロックに分割するブロック
化回路であり、11a はブロック化回路1aからの各ブロッ
クに対して3次元のDCT変換を施す直交変換回路であ
り、13a は、ブロック化回路1aにおいて分割された各ブ
ロックを更に複数個のサブブロックに分割し、量子化ス
テップに対する判定基準値を演算して出力する判定基準
値演算部である。なお、他の構成は第1実施例と同様で
あるので、同一部分には同一番号を付してそれらの説明
は省略する。
Such a 3 corresponding to the first embodiment described above
An example of the dimension block will be described. In FIG. 31 showing the configuration of this embodiment, 1a is a blocking circuit for dividing an input digital image into a plurality of three-dimensional blocks so that one block has 8 pixels × 8 lines × 8 fields. , 11a is an orthogonal transform circuit that performs a three-dimensional DCT transform on each block from the block formation circuit 1a, and 13a divides each block divided by the block formation circuit 1a into a plurality of sub-blocks. , A judgment reference value calculation unit for calculating and outputting a judgment reference value for the quantization step. Since the other structure is the same as that of the first embodiment, the same parts are designated by the same reference numerals and the description thereof will be omitted.

【0114】図32に示すように、判定基準値演算部13a
は、ブロック化回路1aから出力される各ブロックを例え
ば32個のサブブロック(1サブブロックは4画素×4ラ
イン)に分割するサブブロック化回路21a と、各サブブ
ロック内において水平方向及び垂直方向に隣接する画素
間の画像信号の差の絶対値の総和を求める演算器22a
と、演算器22a から連続して出力される32個の値の最小
値A1 を検出する最小値検出器26a とこの32個の値の最
大値B1 を検出する最大値検出器27a と、最大値検出器
27a の出力B1 から最小値検出器26a の出力A1 を減算
する減算器28a とを有する。判定基準値演算部13a
ら、最小値検出器26a の出力A1 が第1の判定基準値と
して、また減算器28a の出力C1 (B1 −A1 )が第2
の判定基準値として、判定器14へ出力される。
As shown in FIG. 32, the judgment reference value calculator 13a
Is a sub-blocking circuit 21a that divides each block output from the blocking circuit 1a into, for example, 32 sub-blocks (1 sub-block is 4 pixels × 4 lines), and horizontal and vertical directions within each sub-block. 22a for obtaining the sum of absolute values of differences in image signals between pixels adjacent to each other
And a minimum value detector 26a for detecting the minimum value A 1 of 32 values continuously output from the arithmetic unit 22a, and a maximum value detector 27a for detecting the maximum value B 1 of these 32 values, Maximum value detector
And a subtractor 28 a for subtracting the output A 1 of the minimum value detector 26 a from the output B 1 of 27 a. From the determination reference value calculation unit 13 a, the minimum value detector as 26 output A 1 of a first criterion value and the subtractor 28a outputs C 1 (B 1 -A 1) a second
Is output to the determiner 14 as the determination reference value.

【0115】次に、動作について説明する。ブロック化
回路1aに入力されたデジタル画像信号は、8画素×8ラ
イン×8フィールドを1つのブロックとするように分割
される。分割された各ブロックは、直交変換回路11a 及
び判定基準値演算部13a へ出力される。判定基準値演算
部13a 内のサブブロック化回路21a において、図33に示
すように、ブロック化回路1aから出力された8画素×8
ライン×8フィールドの各ブロックが、1フィールド毎
に4画素×4ラインの4つのサブブロック、全体として
32個のサブブロックに分割される。ここで、各サブブロ
ックの画像信号を夫々y(i,j)(i,j=1,2,
3,4)とすると、演算器22a は、各サブブロックに対
して、サブブロック内の水平方向及び垂直方向の隣接画
素間の画像信号の差の絶対値の総和Vn (n=1,2,
…,32)を次式のように演算する。
Next, the operation will be described. The digital image signal input to the blocking circuit 1a is divided into 8 pixels × 8 lines × 8 fields as one block. Each divided block is output to the orthogonal transformation circuit 11a and the judgment reference value calculation unit 13a. In the sub-blocking circuit 21a in the judgment reference value calculation unit 13a, as shown in FIG. 33, 8 pixels × 8 output from the blocking circuit 1a
Each block of line x 8 fields has 4 sub-blocks of 4 pixels x 4 lines for each field, as a whole
It is divided into 32 sub-blocks. Here, the image signals of the respective sub-blocks are y (i, j) (i, j = 1, 2,
When 3,4), arithmetic unit 22a, for each sub-block, the sum V n (n = 1,2 of the absolute value of the difference between the horizontal and the image signals between vertical adjacent pixels in the sub-block ,
, 32) is calculated as the following equation.

【0116】[0116]

【数18】 (Equation 18)

【0117】最小値検出器26a は、演算器22a から連続
して出力される32個の値、つまり1ブロックを構成して
いた32個の各サブブロックについてのVn の値の最小値
1 を検出し、この最小値A1 を、量子化ステップを選
定するための第1の判定基準値として判定器14へ出力す
ると共に、減算器28a へ出力する。一方、最大値検出器
27a は、演算器22a から連続して出力される32個のVn
の値の最大値B1 を検出して減算器28a へ出力する。減
算器28a は、B1 −A1 を演算してその差C1 を求め、
減算値C1 を量子化ステップを選定するための第2の判
定基準値として判定器14へ出力する。
The minimum value detector 26a has 32 values continuously output from the calculator 22a, that is, the minimum value A 1 of the value of V n for each of the 32 sub-blocks constituting one block. And outputs the minimum value A 1 to the determiner 14 as the first determination reference value for selecting the quantization step and to the subtractor 28a. On the other hand, the maximum value detector
27a is 32 V n that are continuously output from the computing unit 22a.
The maximum value B 1 of the values is detected and output to the subtractor 28a. The subtractor 28a calculates B 1 −A 1 to obtain the difference C 1 ,
The subtraction value C 1 is output to the decision unit 14 as a second decision reference value for selecting the quantization step.

【0118】以降の動作は、前述の第1実施例と同じで
あるので、その説明は省略する。
Since the subsequent operation is the same as that of the first embodiment described above, its explanation is omitted.

【0119】なお、上記の実施例では、フィールド内で
2次元ブロックを構成し、複数フィールドの2次元ブロ
ックを束ねて3次元ブロックを構成したが、フレーム内
で2次元ブロックを構成し、これを複数フレーム分束ね
て3次元ブロックを構成することとしてもよい。
In the above embodiment, a two-dimensional block is formed in a field and two-dimensional blocks of a plurality of fields are bundled to form a three-dimensional block. However, a two-dimensional block is formed in a frame and A plurality of frames may be bundled to form a three-dimensional block.

【0120】また、第1実施例に対応する上述の実施例
の他に、水平方向,垂直方向及び時間方向の近傍画素か
ら3次元ブロックを構成し、図33のように各2次元平面
内でサブブロック化を行うことにより、前述の第2,
3,4,5,6実施例に対応した実施例も考えられる。
なお、これらの各実施例における構成及び動作は、前述
の各実施例を適宜参照することにより容易に理解できる
ので、その説明は省略する。
In addition to the above-described embodiment corresponding to the first embodiment, a three-dimensional block is constructed from neighboring pixels in the horizontal direction, the vertical direction, and the time direction, and in each two-dimensional plane as shown in FIG. By sub-blocking,
Examples corresponding to the 3, 4, 5, and 6 examples are also conceivable.
Note that the configuration and operation of each of these embodiments can be easily understood by referring to the above-mentioned embodiments as appropriate, and therefore description thereof will be omitted.

【0121】[0121]

【発明の効果】以上詳述したように、請求項1〜4の発
明の高能率符号化装置では、画質劣化が目立ちにくいブ
ロックは低レートの量子化ステップにて量子化され、画
質劣化が目立ちやすいブロックは高レートの量子化ステ
ップにて量子化されるので、平坦部においてもノイズが
のらない良好な画質の画像信号を出力することができ
る。
As described in detail above, in the high-efficiency coding apparatus according to the first to fourth aspects of the present invention, the block in which the image quality deterioration is not noticeable is quantized in the low-rate quantization step, and the image quality deterioration is noticeable. Since easy blocks are quantized in a high-rate quantization step, it is possible to output an image signal of good image quality without noise even in a flat portion.

【0122】また、請求項5〜8の発明の高能率符号化
装置では、画質劣化が目立ちにくいブロックでは低レー
トのウエイティングが施され、画質劣化が目立ちやすい
ブロックでは高レートのウエイティングが施されるの
で、比較的簡単な構成にもかかわらず、良好な画質が得
られる。
In the high-efficiency coding apparatus according to the fifth to eighth aspects of the invention, low-rate weighting is applied to blocks where image quality deterioration is less noticeable, and high-rate weighting is applied to blocks where image quality deterioration is more noticeable. Therefore, good image quality can be obtained despite the relatively simple configuration.

【0123】更に、請求項9,12の発明の高能率符号
化装置では、各ブロックにおける画素数より少数の乗算
器をウエイティングは有するように構成したので、従来
の装置と同等な情報圧縮率を持ち、ハードウェア量の少
ない高能率符号化装置を得ることができる。請求項10
〜12の発明の高能率符号化装置では、3次元ブロック
にも対応出来、上述の効果が得られる。
Furthermore, in the high-efficiency coding apparatus of the present invention, the weighting has a smaller number of multipliers than the number of pixels in each block, so that the information compression rate equivalent to that of the conventional apparatus is provided. Therefore, it is possible to obtain a high-efficiency coding device having a small amount of hardware. Claim 10
The high-efficiency coding device of the inventions of to 12 can deal with a three-dimensional block, and the above-mentioned effects can be obtained.

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

【図1】本発明の第1実施例の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】第1,第4実施例における判定基準値演算部の
一例の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an example of a determination reference value calculation unit in the first and fourth embodiments.

【図3】判定基準値演算部におけるサブブロック化回路
の動作の説明図である。
FIG. 3 is an explanatory diagram of an operation of a sub-blocking circuit in the determination reference value calculation unit.

【図4】第1,第4実施例における判定器の動作を説明
するための判定図である。
FIG. 4 is a determination diagram for explaining the operation of the determiner in the first and fourth examples.

【図5】第1,第4実施例における判定器の動作を説明
するための判定図である。
FIG. 5 is a determination diagram for explaining the operation of the determiner in the first and fourth examples.

【図6】画像ブロックの例を示す図である。FIG. 6 is a diagram showing an example of an image block.

【図7】図6に示された各画像ブロックについての第
1,第4実施例における判定例を示す図である。
FIG. 7 is a diagram showing a determination example in the first and fourth embodiments for each image block shown in FIG.

【図8】第1,第4実施例における判定基準値演算部の
他の例の構成を示すブロック図である。
FIG. 8 is a block diagram showing the configuration of another example of the judgment reference value calculation unit in the first and fourth embodiments.

【図9】本発明の第2実施例の構成を示すブロック図で
ある。
FIG. 9 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図10】第2,第5実施例における判定基準値演算部
の一例の構成を示すブロック図である。
FIG. 10 is a block diagram showing a configuration of an example of a judgment reference value calculation unit in the second and fifth embodiments.

【図11】第2,第5実施例における判定器の動作を説
明するための判定図である。
FIG. 11 is a determination diagram for explaining the operation of the determiner in the second and fifth embodiments.

【図12】第2,第5実施例における判定器の動作を説
明するための判定図である。
FIG. 12 is a determination diagram for explaining the operation of the determiner in the second and fifth embodiments.

【図13】図6に示された各画像ブロックについての第
2,第5実施例の判定例を示す図である。
FIG. 13 is a diagram showing a determination example of the second and fifth embodiments for each image block shown in FIG.

【図14】第2,第5実施例における判定基準値演算部
の他の例の構成を示すブロック図である。
FIG. 14 is a block diagram showing the configuration of another example of the judgment reference value calculation unit in the second and fifth embodiments.

【図15】本発明の第3実施例の構成を示すブロック図
である。
FIG. 15 is a block diagram showing a configuration of a third exemplary embodiment of the present invention.

【図16】第3,第6実施例における判定器の構成を示
すブロック図である。
FIG. 16 is a block diagram showing a configuration of a determiner in third and sixth embodiments.

【図17】第3,第6実施例における判定器の動作を説
明するための判定図である。
FIG. 17 is a determination diagram for explaining the operation of the determiner in the third and sixth embodiments.

【図18】第3,第6実施例における判定器の動作を説
明するための判定図である。
FIG. 18 is a determination diagram for explaining the operation of the determiner in the third and sixth embodiments.

【図19】図6に示された各画像ブロックについての第
3,第6実施例の判定例を示す図である。
FIG. 19 is a diagram showing a determination example of the third and sixth embodiments for each image block shown in FIG. 6.

【図20】本発明の第4実施例の構成を示すブロック図
である。
FIG. 20 is a block diagram showing a configuration of a fourth exemplary embodiment of the present invention.

【図21】本発明の第5実施例の構成を示すブロック図
である。
FIG. 21 is a block diagram showing a configuration of a fifth exemplary embodiment of the present invention.

【図22】本発明の第6実施例の構成を示すブロック図
である。
FIG. 22 is a block diagram showing a configuration of a sixth exemplary embodiment of the present invention.

【図23】本発明の第7実施例の構成を示すブロック図
である。
FIG. 23 is a block diagram showing the configuration of a seventh embodiment of the present invention.

【図24】第7実施例におけるウエイティング器の構成
を示すブロック図である。
FIG. 24 is a block diagram showing a configuration of a weighting device according to a seventh embodiment.

【図25】第7実施例におけるジグザグスキャニングの
動作を表す概念図である。
FIG. 25 is a conceptual diagram showing a zigzag scanning operation in the seventh embodiment.

【図26】第7実施例におけるウエイティング係数の一
例を示す概念図である。
FIG. 26 is a conceptual diagram showing an example of a weighting coefficient in the seventh embodiment.

【図27】第7実施例における可変長符号器が有するビ
ットマップを示す図である。
FIG. 27 is a diagram showing a bitmap included in the variable length encoder in the seventh embodiment.

【図28】第7実施例にて符号化したデータを復号する
ための復号装置の構成を示すブロック図である。
FIG. 28 is a block diagram showing the structure of a decoding device for decoding the data encoded in the seventh embodiment.

【図29】第7実施例におけるウエイティング係数の他
の例を示す概念図である。
FIG. 29 is a conceptual diagram showing another example of the weighting coefficient in the seventh embodiment.

【図30】第7実施例におけるウエイティング係数の他
の例を示す概念図である。
FIG. 30 is a conceptual diagram showing another example of the weighting coefficient in the seventh embodiment.

【図31】3次元ブロック化における本発明の適用例の
構成を示すブロック図である。
FIG. 31 is a block diagram showing a configuration of an application example of the present invention in three-dimensional block formation.

【図32】図31に示す適用例における判定基準値演算部
の構成を示すブロック図である。
32 is a block diagram showing a configuration of a determination reference value calculation unit in the application example shown in FIG. 31.

【図33】3次元ブロックに対するサブブロック化を示
す模式図である。
FIG. 33 is a schematic diagram showing sub-blocking of a three-dimensional block.

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

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

【図36】図35に示す従来装置におけるウエイティング
器の動作を説明するための概念図である。
FIG. 36 is a conceptual diagram for explaining the operation of the weighting device in the conventional device shown in FIG. 35.

【図37】図35に示す従来装置におけるウエイティング
の実施を例示する概念図である。
FIG. 37 is a conceptual diagram illustrating the implementation of weighting in the conventional device shown in FIG. 35.

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

1 ブロック化回路 1a ブロック化回路 4 可変長符号器 5 バッファメモリ 11 直交変換回路 11a 直交変換回路 12 適応量子化器 13 判定基準値演算部 13a 判定基準値演算部 14 判定器 15 制御器 16 判定基準値演算部 17 判定器 18 適応ウエイティング器 19 判定器 20 判定器 21 サブブロック化回路 21a サブブロック化回路 22,23,24,25 演算器 22a 演算器 26 最小値検出器 26a 最小値検出器 27 最大値検出器 27a 最大値検出器 31,32,33,34 演算器 35 最小値検出器 36,37,38,39 演算器 41,42,43,44 ダイナミックレンジ検出器 45 最小値検出器 46 最大値検出器 48 制御信号発生器 51 ウエイティング器 54 乗算器 1 Blocking circuit 1a Blocking circuit 4 Variable length encoder 5 Buffer memory 11 Orthogonal transformation circuit 11a Orthogonal transformation circuit 12 Adaptive quantizer 13 Judgment reference value calculation unit 13a Judgment reference value calculation unit 14 Judgment unit 15 Controller 16 Judgment reference Value calculator 17 Judgment device 18 Adaptive weighting device 19 Judgment device 20 Judgment device 21 Sub-blocking circuit 21a Sub-blocking circuit 22, 23, 24, 25 Calculation device 22a Calculation device 26 Minimum value detector 26a Minimum value detector 27 Maximum value detector 27a Maximum value detector 31, 32, 33, 34 Operator 35 Minimum value detector 36, 37, 38, 39 Operator 41, 42, 43, 44 Dynamic range detector 45 Minimum value detector 46 Maximum Value detector 48 Control signal generator 51 Waiting device 54 Multiplier

───────────────────────────────────────────────────── フロントページの続き (31)優先権主張番号 特願平2−179121 (32)優先日 平2(1990)7月4日 (33)優先権主張国 日本(JP) ─────────────────────────────────────────────────── ─── Continuation of front page (31) Priority claim number Japanese Patent Application No. 2-179121 (32) Priority Day Hei 2 (1990) July 4 (33) Priority claim country Japan (JP)

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】デジタル画像信号を圧縮する高能率符号化
装置において、デジタル画像信号を複数の画素毎にブロ
ック化するブロック化手段と、ブロック化された画像信
号に対して直交変換を施す直交変換手段と、直交変換に
より得られる変換係数を量子化する量子化手段と、該量
子化手段が量子化する際の量子化ステップを決定する手
段とを備え、該量子化ステップを決定する手段が、前記
ブロック化手段から出力される各ブロックを更に複数の
サブブロックに分割する手段と、各サブブロックについ
てサブブロック内の画素値の変化の度合を示す指標を得
る手段と、各ブロックを構成する複数のサブブロックの
指標から当該ブロックの局部的な画像の変化の度合を示
す判定基準値を得る手段とを備えることを特徴とする高
能率符号化装置。
1. A high-efficiency coding apparatus for compressing a digital image signal, a blocking means for blocking the digital image signal into a plurality of pixels, and an orthogonal transform for performing an orthogonal transform on the blocked image signal. Means, quantizing means for quantizing a transform coefficient obtained by orthogonal transformation, and means for determining a quantizing step when the quantizing means quantizes, and means for determining the quantizing step, A unit that further divides each block output from the blocking unit into a plurality of sub-blocks, a unit that obtains an index that indicates the degree of change in the pixel value within the sub-block for each sub-block, and a unit that configures each block Means for obtaining a determination reference value indicating the degree of local image change of the block from the index of the sub-block.
【請求項2】指標が、各サブブロック内の隣接画素間の
画像信号の差の絶対値の総和であることを特徴とする請
求項1記載の高能率符号化装置。
2. The high efficiency coding apparatus according to claim 1, wherein the index is a sum of absolute values of differences between image signals between adjacent pixels in each sub-block.
【請求項3】指標が、各サブブロック内の画素の画像信
号のダイナミックレンジであることを特徴とする請求項
1記載の高能率符号化装置。
3. The high efficiency coding apparatus according to claim 1, wherein the index is a dynamic range of an image signal of a pixel in each sub-block.
【請求項4】判定基準値が、各ブロックを構成する複数
のサブブロックの指標のうちの最大値及び最小値である
ことを特徴とする請求項1乃至3のいずれか記載の高能
率符号化装置。
4. The high-efficiency coding according to claim 1, wherein the criterion value is a maximum value or a minimum value of the indices of a plurality of sub-blocks forming each block. apparatus.
【請求項5】デジタル画像信号を圧縮する高能率符号化
装置において、デジタル画像信号を複数の画素毎にブロ
ック化するブロック化手段と、ブロック化された画像信
号に対して直交変換を施す直交変換手段と、直交変換に
より得られる変換係数に対してウエイティングを施すウ
エイティング手段と、該ウエイティング手段におけるウ
エイティング係数を決定する手段とを備え、該ウエイテ
ィング係数を決定する手段が、前記ブロック化手段から
出力される各ブロックを更に複数のサブブロックに分割
する手段と、各サブブロックについてサブブロック内の
画素値の変化の度合を示す指標を得る手段と、各ブロッ
クを構成する複数のサブブロックの指標から当該ブロッ
クの局部的な画像の変化の度合を示す判定基準値を得る
手段とを用いることを特徴とする高能率符号化装置。
5. A high-efficiency coding apparatus for compressing a digital image signal, a blocking means for blocking the digital image signal into a plurality of pixels, and an orthogonal transform for performing an orthogonal transform on the blocked image signal. Means, weighting means for weighting the transform coefficient obtained by orthogonal transform, and means for determining the weighting coefficient in the weighting means, wherein the means for determining the weighting coefficient is the block Means for further dividing each block output from the converting means into a plurality of sub-blocks, means for obtaining an index indicating the degree of change in the pixel value in each sub-block, and a plurality of sub-blocks constituting each block And means for obtaining a criterion value indicating the degree of local image change of the block from the index of the block. High-efficiency encoding apparatus according to claim.
【請求項6】上記指標が、各サブブロック内の隣接画素
間の画像信号の差の絶対値の総和であることを特徴とす
る上記請求項5記載の高能率符号化装置。
6. The high efficiency coding apparatus according to claim 5, wherein the index is a sum of absolute values of differences in image signals between adjacent pixels in each sub-block.
【請求項7】上記指標が、各サブブロック内の画素の画
像信号のダイナミックレンジであることを特徴とする上
記請求項5記載の高能率符号化装置。
7. The high efficiency coding apparatus according to claim 5, wherein the index is a dynamic range of an image signal of a pixel in each sub-block.
【請求項8】上記判定基準値が、各ブロックを構成する
複数のサブブロックの指標のうちの最大値及び最小値で
あることを特徴とする上記請求項5乃至7のいずれか記
載の高能率符号化装置。
8. The high efficiency according to claim 5, wherein the judgment reference value is a maximum value or a minimum value among indexes of a plurality of sub-blocks constituting each block. Encoding device.
【請求項9】デジタル画像信号を圧縮する高能率符号化
装置において、デジタル画像信号を複数の画素毎にブロ
ック化するブロック化手段と、ブロック化された各ブロ
ックに対して直交変換を施す直交変換手段と、前記各ブ
ロック内の画素数より少数のウエイティング係数を有
し、直交変換により得られる変換係数に対してウエイテ
ィングを施すウエイティング手段と、ウエイティングが
施された変換係数を可変長符号化する手段とを備え、前
記ウエイティング手段が、各変換係数の水平シーケンシ
ーと垂直シーケンシーとから基準値を求め、この基準値
によりウエイティング係数を決定する手段を備えること
を特徴とする高能率符号化装置。
9. A high-efficiency coding apparatus for compressing a digital image signal, a blocking means for blocking the digital image signal into a plurality of pixels, and an orthogonal transform for performing an orthogonal transform on each of the blocked blocks. Means, a weighting means having a smaller number of weighting coefficients than the number of pixels in each block, and performing weighting on the transform coefficients obtained by orthogonal transformation, and a variable length of the weighted transform coefficients. And a means for encoding, wherein the weighting means obtains a reference value from the horizontal sequence and the vertical sequence of each conversion coefficient, and has a means for determining the weighting coefficient based on this reference value. Encoding device.
【請求項10】デジタル画像信号を圧縮する高能率符号
化装置において、デジタル画像信号を複数の画素毎に3
次元にブロック化するブロック化手段と、ブロック化さ
れた画像信号に対して3次元直交変換を施す直交変換手
段と、直交変換により得られる変換係数を量子化する手
段と、前記量子化手段が量子化する際の量子化ステップ
を決定する手段とを備え、該量子化ステップを決定する
手段が、前記ブロック化手段から出力される各ブロック
を更に複数のサブブロックに分割する手段と、各サブブ
ロックについてサブブロック内の画素値の変化の度合を
示す指標を得る手段と、各ブロックを構成する複数のサ
ブブロックの指標から当該ブロックの局部的な画像の変
化の度合を示す判定基準値を得る手段とを備えることを
特徴とする高能率符号化装置。
10. A high-efficiency coding apparatus for compressing a digital image signal, wherein the digital image signal is divided into a plurality of pixels every 3 pixels.
Blocking means for blocking into three dimensions, orthogonal transformation means for subjecting the blocked image signal to three-dimensional orthogonal transformation, means for quantizing transform coefficients obtained by orthogonal transformation, and the quantizing means for quantizing Means for determining a quantization step at the time of quantization, the means for determining the quantization step further divides each block output from the blocking means into a plurality of sub-blocks, and each sub-block A means for obtaining an index indicating the degree of change of the pixel value in the sub-block, and a means for obtaining a determination reference value indicating the degree of local image change of the block from the indexes of a plurality of sub-blocks constituting each block And a high-efficiency coding device.
【請求項11】デジタル画像信号を圧縮する高能率符号
化装置において、デジタル画像信号を複数の画素毎に3
次元にブロック化するブロック化手段と、ブロック化さ
れた画像信号に対して3次元直交変換を施す直交変換手
段と、直交変換により得られる変換係数に対してウエイ
ティングを施すウエイティング手段と、前記ウエイティ
ング手段におけるウエイティング係数を決定する手段と
を備え、該ウエイティング係数を決定する手段が、前記
ブロック化手段から出力される各ブロックを更に複数の
サブブロックに分割する手段と、各サブブロックについ
てサブブロック内の画素値の変化の度合を示す指標を得
る手段と、各ブロックを構成する複数のサブブロックの
指標から当該ブロックの局部的な画像の変化の度合を示
す判定基準値を得る手段とを備えることを特徴とする高
能率符号化装置。
11. A high-efficiency encoding apparatus for compressing a digital image signal, wherein the digital image signal is divided into a plurality of pixels for every three pixels.
A blocking means for blocking into three dimensions, an orthogonal transform means for performing a three-dimensional orthogonal transform on the blocked image signal, a weighting means for weighting the transform coefficient obtained by the orthogonal transform, Means for determining a weighting coefficient in the weighting means, the means for determining the weighting coefficient further divides each block output from the blocking means into a plurality of sub-blocks, and each sub-block A means for obtaining an index indicating the degree of change of the pixel value in the sub-block, and a means for obtaining a determination reference value indicating the degree of local image change of the block from the indexes of a plurality of sub-blocks constituting each block And a high-efficiency coding device.
【請求項12】デジタル画像信号を圧縮する高能率符号
化装置において、デジタル画像信号を複数の画素毎に3
次元にブロック化するブロック化手段と、ブロック化さ
れた各ブロックに対して3次元直交変換を施す直交変換
手段と、前記各ブロック内の2次元平面に含まれる画素
数より少数のウエイティング係数を有し、直交変換によ
り得られる変換係数に対してウエイティングを施すウエ
イティング手段と、ウエイティングが施された変換係数
を可変長符号化する手段とを備え、前記ウエイティング
手段が、各変換係数の水平シーケンシーと垂直シーケン
シーとから基準値を求め、この基準値によりウエイティ
ング係数を決定する手段を備えることを特徴とする高能
率符号化装置。
12. A high-efficiency encoding apparatus for compressing a digital image signal, wherein the digital image signal is divided into a plurality of pixels for every three pixels.
A block forming means for forming blocks into three dimensions, an orthogonal transform means for performing a three-dimensional orthogonal transform on each of the blocked blocks, and a weighting coefficient smaller than the number of pixels included in the two-dimensional plane in each block. Having a weighting means for weighting the transform coefficient obtained by the orthogonal transform, and a means for variable-length coding the weighted transform coefficient, wherein the weighting means is provided for each transform coefficient. A high-efficiency coding apparatus comprising means for obtaining a reference value from the horizontal sequence and the vertical sequence and determining the weighting coefficient based on the reference value.
JP40356790A 1989-12-25 1990-12-19 High efficiency encoder Expired - Lifetime JP2545302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40356790A JP2545302B2 (en) 1989-12-25 1990-12-19 High efficiency encoder

Applications Claiming Priority (11)

Application Number Priority Date Filing Date Title
JP33548789 1989-12-25
JP1-335487 1989-12-25
JP2-26587 1990-02-06
JP2658790 1990-02-06
JP10035490 1990-04-18
JP2-100355 1990-04-18
JP2-100354 1990-04-18
JP10035590 1990-04-18
JP2-179121 1990-07-04
JP17912190 1990-07-04
JP40356790A JP2545302B2 (en) 1989-12-25 1990-12-19 High efficiency encoder

Publications (2)

Publication Number Publication Date
JPH03291058A JPH03291058A (en) 1991-12-20
JP2545302B2 true JP2545302B2 (en) 1996-10-16

Family

ID=27549299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40356790A Expired - Lifetime JP2545302B2 (en) 1989-12-25 1990-12-19 High efficiency encoder

Country Status (1)

Country Link
JP (1) JP2545302B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7307368B2 (en) 2000-06-09 2007-12-11 Ricoh Company, Ltd. DC motor

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0456520A (en) * 1990-06-26 1992-02-24 Matsushita Electric Ind Co Ltd Coder
JP3013602B2 (en) * 1992-05-29 2000-02-28 三菱電機株式会社 Video signal encoding device
KR100276427B1 (en) * 1993-01-30 2000-12-15 윤종용 Device for compression and decompression of image data
JP4045913B2 (en) 2002-09-27 2008-02-13 三菱電機株式会社 Image coding apparatus, image coding method, and image processing apparatus
JP5618128B2 (en) * 2010-02-22 2014-11-05 ソニー株式会社 Encoding apparatus, encoding method, and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02262785A (en) * 1988-12-13 1990-10-25 Fuji Photo Film Co Ltd Picture signal compression-encoding device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0671333B2 (en) * 1987-06-25 1994-09-07 日本電気株式会社 Image signal encoding method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02262785A (en) * 1988-12-13 1990-10-25 Fuji Photo Film Co Ltd Picture signal compression-encoding device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7307368B2 (en) 2000-06-09 2007-12-11 Ricoh Company, Ltd. DC motor

Also Published As

Publication number Publication date
JPH03291058A (en) 1991-12-20

Similar Documents

Publication Publication Date Title
US5432556A (en) Coding apparatus
JP5107495B2 (en) Quality-based image compression
JP2675529B2 (en) Video coding method and apparatus thereof
JP2501999B2 (en) Video image coding apparatus and method
JPH08509845A (en) Digital video compression system using vector adaptive transformation.
KR101084512B1 (en) Selective chrominance decimation for digital images
JPH09200758A (en) Image encoder
JP3013876B2 (en) Transform coding device
JP3777002B2 (en) Video signal encoding method and video signal encoding apparatus
JP2545302B2 (en) High efficiency encoder
JP2004528791A (en) Inter-frame encoding method and apparatus
JP3978810B2 (en) Encoding method and encoding apparatus using the same
JP2824222B2 (en) Video data compensation method and compensation device
JP2003204436A (en) Image coding equipment and program thereof
JPH02311085A (en) Picture signal compression coding device
JP2862022B2 (en) Image coding method
JP2633118B2 (en) Image data compression apparatus and method
KR0134342B1 (en) Coding apparatus and method of motion
JP2552349B2 (en) Image signal compression coding device
JPH10336656A (en) Image encoding device and method
JP3149662B2 (en) Video encoding device, video decoding device, and optical disk
JP3025983B2 (en) High efficiency coding device
JPH04215385A (en) Method and device for encoding/decoding image data
JP3397682B2 (en) Image coding device
JPH0730889A (en) Picture data encoder

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110725

Year of fee payment: 15