JPH05316494A - Picture data encoding device - Google Patents

Picture data encoding device

Info

Publication number
JPH05316494A
JPH05316494A JP11376592A JP11376592A JPH05316494A JP H05316494 A JPH05316494 A JP H05316494A JP 11376592 A JP11376592 A JP 11376592A JP 11376592 A JP11376592 A JP 11376592A JP H05316494 A JPH05316494 A JP H05316494A
Authority
JP
Japan
Prior art keywords
block
output
dct
field
adder
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.)
Pending
Application number
JP11376592A
Other languages
Japanese (ja)
Inventor
Hodaka Mizuguchi
穂▲高▼ 水口
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.)
Ikegami Tsushinki Co Ltd
Original Assignee
Ikegami Tsushinki Co Ltd
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 Ikegami Tsushinki Co Ltd filed Critical Ikegami Tsushinki Co Ltd
Priority to JP11376592A priority Critical patent/JPH05316494A/en
Publication of JPH05316494A publication Critical patent/JPH05316494A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/007Transform coding, e.g. discrete cosine transform

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Discrete Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To considerably reduce block distortion and mosquito noises peculiar to DCT, by predicting-encoding the DCT coefficient of a block in a next field sharing the same section on a image plane with four adjacent blocks in a hori zontal direction and a vertical direction. CONSTITUTION:The output of a DCT computing element 4 is added to the plus input terminal of a subtracter 6. The delay-amount of a field delay unit 7 is adjusted so that the block positions on the image plane in the output of the DCT computing element 4 shares the same section as the four adjacent blocks in a previous field. The prediction error of the DCT coefficient appears in the output of the subtracter 6. An adder 8 adds the prediction error to a prediction value being the output of a K-fold multiplier 5. Then, prediction encoding between fields is repetitively executed by adding the output of the adder 8 to the delay unit 7. The output of the delay unit 7 is added to a one block line delay unit 9. The output of the delay unit 9 and the input are added to an adder 10 and addition averaging is executed. The output of the adder 10 is added to a one block delay unit 11. The output of the one block delay unit 11 and the input are added to an adder 12 and addition averaging is executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像のディジタル伝送
・ディジタル記録のための画像データ符号化を行うのに
好適な、画像データ符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data encoding apparatus suitable for performing image data encoding for digital transmission / digital recording of images.

【0002】[0002]

【従来の技術】画像信号をディジタル化して伝送または
記録する装置においては、画像信号のデータレートを削
減する高能率符号化方式を採用する傾向が高まってい
る。この高能率符号化方式を採用する目的は、決められ
た伝送容量の回線を用いてより多くのチャンネルを送る
こと、またはより高精細度の画像を送ることである。
2. Description of the Related Art In an apparatus for digitizing and transmitting or recording an image signal, there is an increasing tendency to adopt a high efficiency coding system for reducing the data rate of the image signal. The purpose of adopting this high-efficiency coding method is to send more channels using a line having a determined transmission capacity, or to send images with higher definition.

【0003】また、VTRやビデオディスクの場合には
上記の目的に加えて、同じ大きさのカセットまたはディ
スクでより長時間のプログラムを録画することが高能率
符号化方式を採用する目的である。
Further, in the case of a VTR or a video disc, in addition to the above-mentioned purpose, it is the purpose of adopting the high efficiency coding system to record a program for a longer time with a cassette or a disc of the same size.

【0004】高能率符号化方式を適用した静止画符号
化、テレビ電話用動画像符号化、蓄積メディア用動画像
符号化などの標準化が最近相次いで行われようとしてい
る。これらに採用されようとしている高能率符号化にお
けるフレーム内符号化方式は、直交変換の1種である離
散コサイン変換(DCT)と可変長符号化器を組合わせ
たものが多い。
Recently, standardization such as still picture coding to which a high-efficiency coding method is applied, moving picture coding for videophones, moving picture coding for storage media, and the like is about to be carried out one after another. In many cases, the intra-frame coding method in high-efficiency coding that is about to be adopted is a combination of a discrete cosine transform (DCT), which is one type of orthogonal transform, and a variable length coder.

【0005】このように、現在標準化が進められている
種々のメディア用符号化のフレーム内符号化方式ではい
ずれもDCTを行い、その後に可変長符号化を行う。
As described above, DCT is performed in each of the various intra-frame coding methods for media coding that are currently being standardized, and then variable length coding is performed.

【0006】まずDCTについて説明する。ここでは、
画面上に連続して並ぶ8画素のレベル値t0 ,t1 ,…
7 を、直流成分を含む8種類の空間周波数成分の大き
さ、すなわちDCT係数f0 ,f1 ,…f7 に変換する
場合について述べる。
First, the DCT will be described. here,
Eight pixel level values t 0 , t 1 , ... Lined up continuously on the screen
The t 7, the magnitude of the eight spatial frequency component containing a DC component, i.e. the DCT coefficients f 0, f 1, describes the case of converting the ... f 7.

【0007】上述した変換式を、後に式(1)および式
(2)として示す。
The above-mentioned conversion formulas will be shown later as formulas (1) and (2).

【0008】DCTを画面の水平,垂直両方向について
行う場合、対象となる8×8画素を1ブロックとして、
2次元DCTの処理単位とする。
When DCT is performed in both the horizontal and vertical directions of the screen, the target 8 × 8 pixels are defined as one block, and
A processing unit of two-dimensional DCT.

【0009】8×8画素の中でm行目,n列目のレベル
値をtmnとし、まず列方向に1次元DCTを行う変換式
を式(3)に示す。
A conversion equation for performing one-dimensional DCT in the column direction is shown in equation (3), where the level value of the m-th row and the n-th column in 8 × 8 pixels is t mn .

【0010】ついで1次元DCT係数のm行目,n列目
の係数値をfmnとしたときに再度DCTを行う変換式を
式(4)に示す。
Next, a conversion equation for performing DCT again when the coefficient value of the m-th row and the n-th column of the one-dimensional DCT coefficient is f mn is shown in Expression (4).

【0011】式(4)に示された64種のDCT係数F
mnを空間周波数の低い順に直列に並べなおし、各係数ご
とに異なるステップで量子化を行う。式(4)におい
て、Fmnの(m+n)の値が大きいものほど、より空間
周波数の高い成分ということになる。量子化器の出力を
可変長符号化する。
64 kinds of DCT coefficients F shown in the equation (4)
mn are rearranged in series in ascending order of spatial frequency, and quantization is performed at different steps for each coefficient. In Expression (4), the larger the value of (m + n) of F mn , the higher the spatial frequency of the component. Variable-length code the quantizer output.

【0012】可変長符号化出力においてデータを圧縮し
ようとするときは、量子化器の量子化ステップを粗くす
る。すなわち、下位ビットの丸めを行うことになる。
When attempting to compress data in a variable length coded output, the quantizer quantization step is coarse. That is, the lower bits are rounded.

【0013】[0013]

【数1】 [Equation 1]

【0014】[0014]

【数2】 [Equation 2]

【0015】[0015]

【数3】 [Equation 3]

【0016】[0016]

【数4】 [Equation 4]

【0017】[0017]

【発明が解決しようとする課題】上述したように、DC
Tは画面上の一定の大きさの部分、たとえば水平8画素
×垂直8画素を1ブロックとして、この範囲内で水平方
向と垂直方向に2次元に行われる。
As described above, the DC
T is a two-dimensional operation in a horizontal direction and a vertical direction within this range, with one block having a certain size on the screen, for example, horizontal 8 pixels × vertical 8 pixels.

【0018】データレートの削減(以下、データ圧縮と
略す)の1つの方法は2次元DCTの出力係数(以下、
DCT係数と略す)の下位ビットの丸めを行うことであ
る。その結果、DCT係数の誤差が増加し、復元画質を
低下させることになる。
One method of reducing the data rate (hereinafter abbreviated as data compression) is the output coefficient of the two-dimensional DCT (hereinafter
Rounding of the lower bits of the DCT coefficient). As a result, the error of the DCT coefficient increases, and the restored image quality deteriorates.

【0019】すなわち、データの圧縮率を高めたときは
DCT係数の誤差が増加し、その結果、復元した画像に
おいてブロックの境界に段差ができるブロック歪や、エ
ッジの近傍に現れるモスキートノイズと称する縞状のノ
イズなどDCT特有の歪が発生するという欠点がみられ
る。
That is, when the data compression rate is increased, the error of the DCT coefficient increases, and as a result, block distortion in which a step is formed at the boundary of the block in the restored image, and fringes called mosquito noise appearing near the edge are called stripes. There is a defect that distortion unique to DCT such as noise is generated.

【0020】よって本発明の目的は上述の点に鑑み、D
CT係数の誤差増加に伴って生じる復元画質の低下を防
止した、画像データ符号化装置を提供することにある。
Therefore, in view of the above points, the object of the present invention is to
An object of the present invention is to provide an image data encoding device which prevents deterioration of restored image quality caused by an increase in CT coefficient error.

【0021】[0021]

【課題を解決するための手段】かかる目的を達成するた
めに、本発明は、画面上で2次元の離散コサイン変換
(DCT)を行うブロックの区画位置をフィールドごと
にブロック長さの1/2ずつ水平方向および垂直方向に
シフトするシフト手段と、前記シフト手段の作動に伴
い、フィールド内において水平方向および垂直方向に隣
り合う4個のブロックのDCT係数を以て、これら4個
のブロックのそれぞれと画面上で同一区画を共有する次
フィールドのブロックのDCT係数を予測符号化する予
測手段とを具備したものである。
In order to achieve the above object, according to the present invention, the partition position of a block for performing two-dimensional discrete cosine transform (DCT) on the screen is 1/2 of the block length for each field. Shift means for shifting in the horizontal and vertical directions, respectively, and with the operation of the shift means, with the DCT coefficients of the four blocks horizontally and vertically adjacent in the field, each of these four blocks and the screen The prediction means for predictively coding the DCT coefficient of the block of the next field sharing the same section is provided.

【0022】[0022]

【作用】本発明では、 図1に示すように、画面上で2次元のDCTを行うブ
ロックの区画位置をフィールドごとにブロック長さの1
/2ずつ、水平方向および垂直方向にシフトすること: フィールド内において水平方向および垂直方向に隣り
合う4個のブロックのDCT係数を以て、これら4個の
ブロックのそれぞれと画面上で同一区画を共有する次フ
ィールドのブロックのDCT係数を予測すること: により、予測後のDCT係数の絶対値を下げ、誤差を小
さくしている。その結果として、DCT特有の歪を低減
することができる。
In the present invention, as shown in FIG. 1, the block division position for performing two-dimensional DCT on the screen is set to 1 for each field.
/ 2 in horizontal and vertical shifts: With the DCT coefficient of four horizontally and vertically adjacent blocks in the field, the same block is shared with each of these four blocks on the screen. Predicting the DCT coefficient of the block of the next field: By reducing the absolute value of the DCT coefficient after prediction, the error is reduced. As a result, distortion peculiar to DCT can be reduced.

【0023】[0023]

【実施例】本発明の具体的な実施例を説明するに先立
ち、本発明の原理を以下に詳述する。
EXAMPLES Before explaining specific examples of the present invention, the principle of the present invention will be described in detail below.

【0024】本発明の原理 まず、DCT係数の誤差を減らす方法の1つとして、伝
送または記録するDCT係数の絶対値をフィールド間予
測により小さくすることが考えられる。予測係数をKと
すると予測符号化出力の平均値は(1−K)倍となる。
データ圧縮率を変えないとすれば、DCT係数の誤差も
平均して(1−K)倍となる。
Principle of the Present Invention First, as one method of reducing the error of the DCT coefficient, it is conceivable to reduce the absolute value of the DCT coefficient to be transmitted or recorded by inter-field prediction. When the prediction coefficient is K, the average value of the predictive coding output is (1-K) times.
If the data compression rate is not changed, the error of the DCT coefficient will be (1-K) times on average.

【0025】復号化を行う場合は、前フィールドの出力
値のK倍を予測値として、これに伝送された予測誤差を
加算する。この演算をフィールドごとに繰返していくこ
とになる。
When decoding is performed, K times the output value of the previous field is used as a prediction value, and the prediction error transmitted to this is added. This calculation will be repeated for each field.

【0026】この復号化を行った結果、DCT係数の誤
差レベルが予測を行わないときの値のa倍になったとす
ると、次の式(5)が成り立つ。ただし、各フィールド
における誤差レベルは全く相関がなく、ランダムノイズ
と同様な取扱いができるものとする。
As a result of this decoding, if the error level of the DCT coefficient becomes a times the value when no prediction is made, the following equation (5) is established. However, the error levels in each field have no correlation and can be handled in the same manner as random noise.

【0027】したがって、過去の各フィールドにおける
誤差レベルの現フィールドにおける残留分および現フィ
ールドでの値の2乗和が誤差電力の総計であると考え
る。
Therefore, the residual of the error level in each field in the past and the sum of squares of the values in the current field are considered to be the total error power.

【0028】[0028]

【数5】 (1−K)2 +(Ka)2 +(K2 a)2 +(K3 a)2 +・・=a2 …(5) (5)式よりaを求めると## EQU5 ## (1-K) 2 + (Ka) 2 + (K 2 a) 2 + (K 3 a) 2 + ... = a 2 (5)

【0029】[0029]

【数6】 a=(1−2K2-1/2(1−K21/2 (1−K) …(6) となる。aの値はKの値を増加するにしたがって減少
し、K=0.6のときa=0.6となる。
## EQU6 ## a = (1-2K 2 ) -1/2 (1-K 2 ) 1/2 (1-K) (6) The value of a decreases as the value of K increases, and when K = 0.6, a = 0.6.

【0030】しかし、さらにKの値を増加するとaは逆
に増加し、例えばK=0.7のとき、a=1.52とな
る。Kが大きい場合には誤差を減らすという目的を達せ
られない。
However, when the value of K is further increased, a increases conversely. For example, when K = 0.7, a = 1.52. If K is large, the purpose of reducing the error cannot be achieved.

【0031】そこで本発明では、DCTを行うブロック
の区画位置をフィールドごとにブロック長さの 1/2ず
つ、水平方向および垂直方向にシフトし、かつ、フィー
ルド内において水平方向および垂直方向に隣り合う4個
のブロックのDCT係数を以て、これら4個のブロック
のそれぞれと画面上で同一区画を共有するフィールドの
ブロックのDCT係数を予測符号化する。
Therefore, in the present invention, the partition position of the block on which DCT is performed is shifted in the horizontal direction and the vertical direction by ½ of the block length for each field, and is adjacent in the field in the horizontal direction and the vertical direction. By using the DCT coefficients of the four blocks, the DCT coefficients of the blocks of the fields sharing the same section on the screen with each of these four blocks are predictively coded.

【0032】予測係数をKとし、DCT係数の誤差レベ
ルが予測を行わないときの値のa倍になったとすると、
つぎの式(7)が成り立つ。
If the prediction coefficient is K and the error level of the DCT coefficient is a times the value when no prediction is performed,
The following expression (7) is established.

【0033】式(5)の場合と同様に、過去および現在
のフィールドの誤差の現フィールドへの寄与分の2乗和
が誤差電力の総計であると考える。
As in the case of the equation (5), the sum of squares of the contributions of the errors of the past and present fields to the present field is considered to be the total error power.

【0034】[0034]

【数7】 [Equation 7]

【0035】式(7)の左辺の第1項が現フィールド
分、第2項が前フィールド分、第3項が前々フィールド
分の誤差電力という具合になる。
The first term on the left side of the equation (7) is the current field, the second term is the previous field, and the third term is the error power for the previous field.

【0036】式(7)よりaを求めると、When a is obtained from the equation (7),

【0037】[0037]

【数8】
[Equation 8]

【0038】となる。Kの値を増加するにしたがってa
の値は減少し、例えばK=0.6のときa=0.45、
K=0.9のときa=0.146に減少する。
[0038] As the value of K increases
Value decreases, for example, when K = 0.6, a = 0.45,
When K = 0.9, it decreases to a = 0.146.

【0039】したがって本発明によりDCT係数の誤差
レベルが減少し、データ圧縮率の高いときに発生するブ
ロック歪やモスキートノイズを大幅に減らすことができ
る。
Therefore, according to the present invention, the error level of the DCT coefficient is reduced, and the block distortion and mosquito noise generated when the data compression rate is high can be greatly reduced.

【0040】上述した式(5)〜式(8)は予測符号化
がフィールドごとに連続して行われる、いわゆる動画の
符号化の場合に適用される式である。
The above equations (5) to (8) are equations applied in the case of so-called moving picture encoding, in which predictive encoding is continuously performed for each field.

【0041】これに対して画像1枚分、すなわち2フィ
ールド分の情報しか送られない静止画の符号化の場合の
式を以下に示す。
On the other hand, a formula for encoding a still image in which only information for one image, that is, two fields, is transmitted is shown below.

【0042】静止画像の場合には、2フィールドの情報
が繰返し送られていると考えることができる。すなわ
ち、画面上の各ブロックについて偶数フィールドのDC
T係数の誤差パターンはすべて同一であり、また、奇数
フィールドのDCT係数の誤差パターンはすべて同一で
あると考えればよい。
In the case of a still image, it can be considered that two fields of information are repeatedly sent. That is, DC of even field for each block on the screen
It can be considered that the error patterns of the T coefficients are all the same, and that the error patterns of the DCT coefficients of the odd fields are all the same.

【0043】したがってDCT係数の誤差電力は式
(5),式(7)のように各フィールドの誤差レベルの
2乗和ではない。偶数フィールド同士はそれぞれのフィ
ールドの誤差レベルの和の2乗であり、また、奇数フィ
ールド同士もそれぞれのフィールドの誤差レベルの和の
2乗となる。そして誤差電力の総計は各フィールドの2
乗値の和となる。
Therefore, the error power of the DCT coefficient is not the sum of squares of the error level of each field as in the equations (5) and (7). The even-numbered fields are the square of the sum of the error levels of the respective fields, and the odd-numbered fields are the square of the sum of the error levels of the respective fields. And the total error power is 2 in each field.
It is the sum of the powers.

【0044】動画像の場合の式(5)に対応する静止画
像の場合の式は、次の式(9)のようになる。
The equation for a still image, which corresponds to the equation (5) for a moving image, is given by the following equation (9).

【0045】[0045]

【数9】 (1−K+K2 a+K4 a+・・・)2 +(Ka+K3 a+K5 a+・・・)2 =a2 …(9) 式(9)よりaを求めると、(1−K + K 2 a + K 4 a + ...) 2 + (Ka + K 3 a + K 5 a + ...) 2 = a 2 (9) When a is obtained from the equation (9),

【0046】[0046]

【数10】 [Equation 10]

【0047】となる。静止画像に対して単なるフィール
ド間予測符号化を行った場合は、Kの値を増加するにし
たがってaの値は減少せず、かえって増加することが式
(10)より判かる。
It becomes It can be seen from the equation (10) that when the inter-field predictive coding is simply performed on the still image, the value of a does not decrease as the value of K increases, but rather increases.

【0048】つぎに、静止画像に対して本発明を適用し
た場合、動画像の式(7)に対応する式はつぎの式(1
1)のようになる。
Next, when the present invention is applied to a still image, the equation corresponding to the equation (7) of the moving image is the following equation (1)
It becomes like 1).

【0049】[0049]

【数11】 [Equation 11]

【0050】式(11)の左辺における前半部の第1項
は現フィールド分、第2項は2フィールド前の現フィー
ルドと同一ブロック区画の分、第3項は4フィールド前
の現フィールドと同一ブロック区画の分となる。
The first term of the first half of the left side of the equation (11) is the current field, the second term is the same block section as the current field two fields before, and the third term is the current field four fields before. It is a block division.

【0051】また、式(11)の左辺における後半部の
第1項は1フィールド前の分、第2項は2フィールド前
の前半部第2項に含まれないブロックの分となる。
The first term of the latter half of the left side of the equation (11) is for one field before, and the second term is for the block not included in the second term of two fields before.

【0052】式(11)よりaを求めると、When a is obtained from the equation (11),

【0053】[0053]

【数12】 [Equation 12]

【0054】となる。Kの値を増加するにしたがってa
の値は減少し、例えばK=0.9のときa=0.177
に減少する。
It becomes As the value of K increases
Value decreases, for example, when K = 0.9, a = 0.177
Decrease to.

【0055】実施例2 図2は、本発明をディジタル記録に適用する場合の一実
施例を示す。図2において、まず入力端子1に映像信号
を加え、A/D変換器2によりディジタル映像データに
変換する。
Embodiment 2 FIG. 2 shows an embodiment in which the present invention is applied to digital recording. In FIG. 2, first, a video signal is applied to the input terminal 1 and converted into digital video data by the A / D converter 2.

【0056】3はラスターブロック変換器である。本実
施例では、1フィールドの画面の水平方向8画素、垂直
方向8ラインから成る64画素を 1ブロックとして2次
元のDCT演算を行えるようにするために、画像データ
の順序をラスター走査順からブロックを単位とする走査
順に変換する。ここで前述したように、ブロックの区画
位置をフィールドごとにブロック長さの 1/2ずつ、水
平方向および垂直方向にシフトする。なお、ブロックを
単位とする1水平走査の長さを 1ブロックラインと称す
る。
Reference numeral 3 is a raster block converter. In this embodiment, in order to perform two-dimensional DCT calculation with one block consisting of 8 pixels in the horizontal direction and 8 pixels in the vertical direction on the screen of 1 field, two-dimensional DCT operation can be performed from the raster scanning order. Is converted in the scanning order. As described above, the block partition position is shifted by ½ of the block length for each field in the horizontal and vertical directions. The length of one horizontal scan in blocks is called one block line.

【0057】4は、2次元DCT演算器である。このD
CT演算器4により、1ブロック64画素のレベル値を
64個のDCT係数に変換する。これら64個のDCT
係数を直流成分から順次、空間周波数の高い成分へと順
番に配列する。
Reference numeral 4 is a two-dimensional DCT calculator. This D
The CT calculator 4 converts the level value of 64 pixels in one block into 64 DCT coefficients. These 64 DCT
The coefficients are arranged in order from the DC component to the component with the higher spatial frequency.

【0058】DCT演算器4の出力を5〜13(以下に
詳述する)から成るフィールド間予測符号化器に加え
る。上述したような前フィールド内において水平方向お
よび垂直方向に隣り合う4個のブロックの各々のDCT
係数の平均値のK倍の値が、K倍乗算器5から出力され
ている。この値が予測値であり、減算器6のマイナス入
力端に加える。
The output of the DCT calculator 4 is applied to an inter-field predictive encoder consisting of 5 to 13 (described in detail below). The DCT of each of four horizontally and vertically adjacent blocks in the previous field as described above.
A value that is K times the average value of the coefficients is output from the K times multiplier 5. This value is the predicted value and is added to the minus input terminal of the subtractor 6.

【0059】減算器6のプラス入力端にはDCT演算器
4の出力を加える。DCT演算器4の出力における画面
上のブロック位置は、上記前フィールドの隣り合う4個
のブロックのそれぞれと同一区画を共有するようにフィ
ールド遅延器7の遅延量を調整する。
The output of the DCT calculator 4 is added to the plus input terminal of the subtractor 6. The delay amount of the field delay unit 7 is adjusted so that the block position on the screen at the output of the DCT calculator 4 shares the same section with each of the four adjacent blocks in the preceding field.

【0060】減算器6の出力にはDCT係数の予測誤差
が現れる。次に、加算器8において、この予測誤差とK
倍乗算器5の出力である予測値とを加算する。そして、
加算器8の出力をフィールド遅延器7に加えることによ
り、フィールド間予測符号化が繰返し行われることにな
る。
A prediction error of the DCT coefficient appears in the output of the subtractor 6. Next, in the adder 8, this prediction error and K
The predicted value which is the output of the double multiplier 5 is added. And
By adding the output of the adder 8 to the field delay device 7, inter-field predictive coding is repeatedly performed.

【0061】フィールド遅延器7の出力を、1ブロック
ライン遅延器9に加える。この1ブロックライン遅延器
9の出力と、その入力とを加算器10に加え、加算平均
を行う。加算器10の出力を1ブロック遅延器11に加
える。そして、1ブロック遅延器11の出力とその入力と
を加算器12に加え、加算平均を行う。
The output of the field delay device 7 is added to the one block line delay device 9. The output of the one-block line delay device 9 and its input are added to the adder 10 to perform arithmetic averaging. The output of the adder 10 is added to the 1-block delay unit 11. Then, the output of the one-block delay unit 11 and its input are added to the adder 12, and arithmetic averaging is performed.

【0062】その結果、フィールド内において水平方向
および垂直方向に隣り合う4個のブロックの各々のDC
T係数の平均値が加算器12の出力に現れる。
As a result, the DC of each of the four blocks adjacent in the horizontal and vertical directions in the field.
The average value of the T coefficient appears at the output of adder 12.

【0063】13はROMである。予測するブロックの
区画の位置と、予測される次フィールドのブロックの区
画の位置とは、ブロックの長さの 1/2だけずれている
ので、予測値の極性はDCT係数のシーケンスによって
変わる。1次元に関しての極性は、0次,1次,4次,
5次のシーケンスがプラスであり、2次,3次,6次,
7次のシーケンスがマイナスである。
Reference numeral 13 is a ROM. Since the position of the block of the block to be predicted and the position of the block of the block of the next field to be predicted are shifted by ½ of the length of the block, the polarity of the predicted value changes depending on the sequence of DCT coefficients. The polarities in one dimension are 0th, 1st, 4th,
The 5th order is positive, and the 2nd, 3rd, 6th,
The 7th sequence is negative.

【0064】したがって、2次元DCT係数については
式(4)で示されるFmnの極性が、 (1)m,nともに0,1,4,5のいずれか、または
m,nともに2,3,6,7のいずれかである場合はプ
ラス: (2)m,nの一方が0,1,4,5のいずれか、した
がって他方が2,3,6,7のいずれかである場合はマ
イナス: となる。そこで、ROM13にはm,nの値にしたがっ
て上記極性を制御するためのリードオンリーメモリを用
いる。ROM13の出力によって、K倍乗算器5の倍率
を+Kまたは−Kのいずれかの値にする。
Therefore, for the two-dimensional DCT coefficient, the polarity of F mn shown in equation (4) is (1) either 0, 1, 4, 5 for both m and n, or 2, 3 for both m and n. , 2, 6 or 7: (2) If one of m, n is 0, 1, 4, 5 and the other is 2, 3, 6, 7 Minus: It becomes. Therefore, the ROM 13 uses a read-only memory for controlling the polarity according to the values of m and n. The output of the ROM 13 sets the multiplication factor of the K-times multiplier 5 to either + K or -K.

【0065】なお、ROM13の出力はブロックごとに
同じ値をくり返すのでROM13の入力にブロック同期
パルス発生器14よりパルスを加える。
Since the output of the ROM 13 repeats the same value for each block, a pulse is applied from the block synchronization pulse generator 14 to the input of the ROM 13.

【0066】量子化器15は、予測符号化した減算器6
の出力の丸めを行う。この量子化器15の出力を可変長
符号化器16に入力して可変長符号化を行い、ディジタ
ルVTR17に記録する。
The quantizer 15 is a predictor-coded subtractor 6
Rounds the output of. The output of the quantizer 15 is input to the variable length encoder 16 to perform variable length coding and recorded in the digital VTR 17.

【0067】可変長符号化器16の出力をディジタル記
録するにあたっては、誤り訂正を行うためのチェックコ
ード付加および符号系列の周波数分布を記録系の特性に
合わせるための変調符号化などが必要である。これらの
機能はディジタルVTR16の内部に含まれているもの
とする。
When the output of the variable length encoder 16 is digitally recorded, it is necessary to add a check code for error correction and to perform modulation coding for matching the frequency distribution of the code sequence with the characteristics of the recording system. .. These functions are assumed to be included inside the digital VTR 16.

【0068】ディジタルVTR17の再生モードでは、
その出力端にはディジタルVTR17の入力と同じ形の
符号が再生される。
In the playback mode of the digital VTR 17,
A code having the same shape as the input of the digital VTR 17 is reproduced at its output end.

【0069】18は可変長復号化器、19は逆量子化器
であり、それぞれ可変長符号化器16,量子化器15と
逆の動作を行う。
Reference numeral 18 is a variable length decoder, and 19 is an inverse quantizer, which performs operations opposite to those of the variable length encoder 16 and the quantizer 15, respectively.

【0070】フィールド遅延器20,1ブロックライン
遅延器21,加算器22,1ブロック遅延器23,加算
器24,K倍乗算器25,ROM26および加算器27
はフィールド間予測復号化器を構成しており、K倍乗算
器5およびフィールド遅延器7〜ROM13から成る構
成と同じである。
Field delay device 20, 1-block line delay device 21, adder 22, 1-block delay device 23, adder 24, K-multiplier 25, ROM 26 and adder 27.
Constitutes an inter-field predictive decoder and has the same configuration as the K-times multiplier 5 and the field delay unit 7 to ROM 13.

【0071】ディジタルVTR17に記録される符号に
は、各ブロックの最後にEOB(End of Blo
ck)と呼ばれる符号が必ず挿入されており、EOB検
出器27においてこのEOBパルスを検出する。
The code recorded in the digital VTR 17 has an EOB (End of Blo) at the end of each block.
A code called ck) is always inserted, and the EOB detector 27 detects this EOB pulse.

【0072】K倍乗算器25におけるKの極性を制御す
るROM26の出力は、ブロックごとに同じ値を繰り返
す。そのブロック同期をEOB検出器28の出力パルス
により行う。
The output of the ROM 26 for controlling the polarity of K in the K times multiplier 25 repeats the same value for each block. The block synchronization is performed by the output pulse of the EOB detector 28.

【0073】可変長復号化器18の出力を加算器27の
もう一方の入力に加えると、加算器27の出力にもとの
DCT係数が再現される。次に、逆DCT演算器29お
よびブロックラスター変換器30を通って、ディジタル
映像データが復元される。ここで、逆DCT演算器29
およびブロックラスター変換器30はそれぞれDCT演
算器4およひラスターブロック変換器3と逆の動作をす
る回路である。
When the output of the variable length decoder 18 is added to the other input of the adder 27, the original DCT coefficient is reproduced at the output of the adder 27. Next, the digital video data is restored through the inverse DCT calculator 29 and the block raster converter 30. Here, the inverse DCT calculator 29
The block raster converter 30 and the block raster converter 30 are circuits that perform operations opposite to those of the DCT calculator 4 and the raster block converter 3, respectively.

【0074】DA変換器31によりディジタル信号から
アナログ信号に変換され、もとの映像信号が出力端子3
2に得られる。
The DA converter 31 converts the digital signal into an analog signal, and the original video signal is output from the output terminal 3
You get 2.

【0075】以上に述べた実施例については説明を判か
り易くするため、単色の映像信号を入力とする場合につ
いて説明した。
In the above-mentioned embodiment, in order to make the description easy to understand, the case where a monochromatic video signal is input has been described.

【0076】入力がコンポーネントカラー信号である場
合は、基本的には各色成分について本実施例と同等の構
成をとればよい。ここでは一例として、輝度信号のデー
タレートに対して2つの色差信号Pb,Prのデータレ
ートがそれぞれ1/2であるような、いわゆる4:2:
2コンポーネント信号を取扱う場合の例について、以下
に説明する。
When the input is a component color signal, basically each color component may have the same configuration as that of this embodiment. Here, as an example, so-called 4: 2: in which the data rates of the two color difference signals Pb and Pr are each 1/2 of the data rate of the luminance signal.
An example of handling a two-component signal will be described below.

【0077】まず輝度信号については、2チャンネル並
列記録できる機能を有するディジタルVTRの1つのチ
ャンネルに図2の構成により記録をする。また色差信号
については、Pb,Prをフィールドごとに時分割多重
して輝度信号と同じデータレートにした後、ディジタル
VTRのもう1つのチャンネルに同様に記録する。そし
て再生時には、図2の構成により復元処理を行った後、
時分割多重信号からPb,Prを分離する。
First, the luminance signal is recorded in one channel of a digital VTR having a function of recording two channels in parallel with the configuration shown in FIG. Regarding the color difference signal, Pb and Pr are time-division multiplexed for each field to have the same data rate as that of the luminance signal, and then recorded in the other channel of the digital VTR in the same manner. Then, at the time of reproduction, after performing the restoration process with the configuration of FIG.
Pb and Pr are separated from the time division multiplexed signal.

【0078】[0078]

【発明の効果】本発明を実施することにより、以下に列
挙する格別な効果を得ることができる。
By implementing the present invention, the following special effects can be obtained.

【0079】本発明は静止画像処理に対しても有効で
あるので、ディジタルVTR,ディジタル動画像ディス
ク以外にも静止画像ファイル装置,電子スチルカメラな
どに適用して効果を発揮することができる。
Since the present invention is also effective for still image processing, it can be applied to a still image filing device, an electronic still camera, etc., in addition to the digital VTR and digital moving image disc, to exert its effect.

【0080】2次元DCTを行うブロックの区画位置
をフィールドごとに縦横にシフトし、フィールド間予測
符号化を行うことにより、DCT特有のブロック歪やモ
スキートノイズを大幅に減らすことができる。
Block distortion and mosquito noise peculiar to DCT can be significantly reduced by vertically and horizontally shifting the partition position of a block for which two-dimensional DCT is performed for each field and performing inter-field predictive coding.

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

【図1】偶数フィールド(実線),奇数フィールド(点
線)のブロック区画位置を示す図である。
FIG. 1 is a diagram showing block division positions of an even field (solid line) and an odd field (dotted line).

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

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

1 入力端子 2 AD変換器 3 ラスターブロック変換器 4 DCT演算器 5 K倍乗算器 6 減算器 7 フィールド遅延器 8 加算器 9 1ブロックライン遅延器 10 加算器 11 1ブロック遅延器 12 加算器 13 ROM 14 ブロック同期パルス発生器 15 量子化器 16 可変長符号化器 17 ディジタルVTR 18 可変長復号化器 19 逆量子化器 20 フィールド遅延器 21 1ブロックライン遅延器 22 加算器 23 1ブロック遅延器 24 加算器 25 K倍乗算器 26 ROM 27 加算器 28 EOB検出器 29 逆DCT演算器 30 ブロックラスター変換器 31 DA変換器 32 出力端子 1 Input Terminal 2 AD Converter 3 Raster Block Converter 4 DCT Operator 5 K Multiplier 6 Subtractor 7 Field Delay 8 Adder 9 1 Block Line Delay 10 Adder 11 1 Block Delay 12 Adder 13 ROM 14 block synchronization pulse generator 15 quantizer 16 variable length encoder 17 digital VTR 18 variable length decoder 19 dequantizer 20 field delay 21 21 block line delay 22 adder 23 1 block delay 24 addition Device 25 K times multiplier 26 ROM 27 Adder 28 EOB detector 29 Inverse DCT calculator 30 Block raster converter 31 DA converter 32 Output terminal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 画面上で2次元の離散コサイン変換(D
CT)を行うブロックの区画位置をフィールドごとにブ
ロック長さの1/2ずつ水平方向および垂直方向にシフ
トするシフト手段と、 前記シフト手段の作動に伴い、フィールド内において水
平方向および垂直方向に隣り合う4個のブロックのDC
T係数を以て、これら4個のブロックのそれぞれと画面
上で同一区画を共有する次フィールドのブロックのDC
T係数を予測符号化する予測手段とを具備したことを特
徴とする画像データ符号化装置。
1. A two-dimensional discrete cosine transform (D
Shift means for shifting the partition position of the block for performing CT) in the horizontal direction and the vertical direction by ½ of the block length for each field, and adjacent to the field in the horizontal direction and the vertical direction in accordance with the operation of the shift means. DC of 4 blocks that fit
The DC of the block of the next field sharing the same section on the screen with each of these four blocks by the T coefficient.
An image data coding apparatus, comprising: a prediction unit that predictively codes a T coefficient.
JP11376592A 1992-05-06 1992-05-06 Picture data encoding device Pending JPH05316494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11376592A JPH05316494A (en) 1992-05-06 1992-05-06 Picture data encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11376592A JPH05316494A (en) 1992-05-06 1992-05-06 Picture data encoding device

Publications (1)

Publication Number Publication Date
JPH05316494A true JPH05316494A (en) 1993-11-26

Family

ID=14620580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11376592A Pending JPH05316494A (en) 1992-05-06 1992-05-06 Picture data encoding device

Country Status (1)

Country Link
JP (1) JPH05316494A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0631249A1 (en) * 1993-06-15 1994-12-28 Kabushiki Kaisha Toshiba Image data processing apparatus
EP0694877A3 (en) * 1994-07-27 1996-05-08 Seiko Epson Corp Irreversible compression system and method for bit map images
US6728414B1 (en) * 1998-11-25 2004-04-27 Samsung Electronics Co., Ltd. De-blocking method and apparatus
KR100413979B1 (en) * 1996-07-15 2004-05-20 주식회사 팬택앤큐리텔 Predictive coding method and device thereof
KR100578049B1 (en) * 1997-03-07 2006-11-30 넥스트레벨 시스템스, 인코포레이티드 Methods and apparatus for predicting intra-macroblock DC and AC coefficients for interlaced digital video

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0631249A1 (en) * 1993-06-15 1994-12-28 Kabushiki Kaisha Toshiba Image data processing apparatus
EP0694877A3 (en) * 1994-07-27 1996-05-08 Seiko Epson Corp Irreversible compression system and method for bit map images
US5815599A (en) * 1994-07-27 1998-09-29 Seiko Epson Corporation Irreversible compression system and method for bit map images
KR100413979B1 (en) * 1996-07-15 2004-05-20 주식회사 팬택앤큐리텔 Predictive coding method and device thereof
KR100578049B1 (en) * 1997-03-07 2006-11-30 넥스트레벨 시스템스, 인코포레이티드 Methods and apparatus for predicting intra-macroblock DC and AC coefficients for interlaced digital video
US6728414B1 (en) * 1998-11-25 2004-04-27 Samsung Electronics Co., Ltd. De-blocking method and apparatus

Similar Documents

Publication Publication Date Title
US6381373B1 (en) Apparatus and method for reducing quantization error in digital image signals
KR100519871B1 (en) Method and arrangement for creating a high-resolution still picture
JP3856262B2 (en) Motion compensation encoding apparatus, motion compensation encoding method, and motion compensation code recording medium
KR100335707B1 (en) Coding method, coding apparatus, decoding method and decoding apparatus of image signal
US5657086A (en) High efficiency encoding of picture signals
EP0510975B1 (en) Efficient coding/decoding apparatus for processing digital image signal
EP0588668A2 (en) Coding and decoding digital video signals having duplicate pictures and frames with fields originating from different film source frames
KR100601743B1 (en) Image processing device and method, and transmission medium, transmission method and image format
GB2211691A (en) Picture coding and interpolation apparatus
JPH06189281A (en) Video signal encoding device using compression of adaptive frame/field format
JPH0537915A (en) Method and device for coding image signal
KR100942475B1 (en) Image information encoding method and encoder
JP3348612B2 (en) Inter-block prediction coding device, inter-block prediction decoding device, inter-block prediction coding method, inter-block prediction decoding method, and inter-block prediction coding / decoding device
KR100272120B1 (en) Quantization control circuit
JPH05316494A (en) Picture data encoding device
JP3689437B2 (en) Image signal encoding method and apparatus
JP4223577B2 (en) Image coding apparatus and method thereof, and image decoding apparatus and method thereof
JP3227931B2 (en) Encoding device and decoding device
JPH03167962A (en) Block distortion improving system
JP2897649B2 (en) Motion compensated predictive coding device
JP4768011B2 (en) Moving picture encoding apparatus and moving picture decoding apparatus
JP2917782B2 (en) Image block coding device
JPH10276436A (en) Motion compensation encoding and decoding device, and motion compensation encoding and decoding method
JP3689626B2 (en) Image signal decoding method and apparatus
JPH05316495A (en) Picture data encoding device