JPH066782A - Moving image encoding device - Google Patents

Moving image encoding device

Info

Publication number
JPH066782A
JPH066782A JP15710492A JP15710492A JPH066782A JP H066782 A JPH066782 A JP H066782A JP 15710492 A JP15710492 A JP 15710492A JP 15710492 A JP15710492 A JP 15710492A JP H066782 A JPH066782 A JP H066782A
Authority
JP
Japan
Prior art keywords
dct
frame
dct block
block
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP15710492A
Other languages
Japanese (ja)
Other versions
JP3066187B2 (en
Inventor
Katsunori Hirase
勝典 平瀬
Mitsutaka Koike
光高 菰池
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP15710492A priority Critical patent/JP3066187B2/en
Publication of JPH066782A publication Critical patent/JPH066782A/en
Application granted granted Critical
Publication of JP3066187B2 publication Critical patent/JP3066187B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To improve the encoding efficiency of a moving image. CONSTITUTION:When the movement degree of the moving image is high, a DCT block A is outputted from a switching circuit 16 and when the degree is low, a DCT block C is outputted from the circuit. When the DCT block A is outputted, if the fluctuation in the vertical direction is large, the DCT block A is outputted from a DCT block constituting circuit 20 and if it is small, a DCT block B is outputted from it. Similarly, when the DCT block C is outputted, if the fluctuation in the vertical direction is large, the DCT block C is outputted from the circuit 20, and if it is small, the DCT block D is outputted from it. Thus, the optimum mode can be selected according to the local property of the moving image.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、動画像符号化装置に
関し、特にたとえばインタレース走査される動画像の1
フレームを各々が複数画素からなるブロックに分割し、
ブロック上の画素値を直交変換するか、もしくは他のフ
レームまたはフィールド上の画素値から予測された値と
の残差を直交変換する、動画像符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding device, and more particularly to a moving picture coding device for interlaced scanning.
Divide the frame into blocks each consisting of multiple pixels,
The present invention relates to a moving picture coding apparatus that orthogonally transforms a pixel value on a block, or orthogonally transforms a residual with a value predicted from a pixel value on another frame or field.

【0002】[0002]

【従来の技術】図3に示す公知の動画像符号化装置1で
は、切替回路2で選択されたフレーム内DCTあるいは
フレーム間DCTのいずれかに固定してDCT(Discre
te Cosine Transform :離散コサイン変換)等の変換符
号化を行っていた。
2. Description of the Related Art In a known moving picture coding apparatus 1 shown in FIG. 3, a DCT (Discrete Disc) is fixed by fixing it to either an intra-frame DCT selected by a switching circuit 2 or an inter-frame DCT.
te Cosine Transform: Discrete cosine transform) and other transform coding were performed.

【0003】[0003]

【発明が解決しようとする課題】動画像信号に対してD
CT等の変換符号化を行う場合、画像の局所的性質(動
領域あるいは静止領域等)によってフレーム内DCTと
フレーム間DCTとでは符号化効率が異なるが、図3の
従来技術では、フレーム内DCTあるいはフレーム間D
CTに固定して符号化を行っているため、局所的性質に
よっては符号化効率が低下するという問題点があった。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
When transform coding such as CT is performed, the coding efficiency differs between the intra-frame DCT and the inter-frame DCT depending on the local property of the image (moving region or still region, etc.), but in the conventional technique of FIG. Or D between frames
Since the coding is fixed to CT, there is a problem that the coding efficiency is lowered depending on the local property.

【0004】それゆえに、この発明の主たる目的は、高
い符号化効率が得られる、動画像符号化装置を提供する
ことである。
Therefore, a main object of the present invention is to provide a moving picture coding apparatus which can obtain high coding efficiency.

【0005】[0005]

【課題を解決するための手段】この発明は、インタレー
ス走査された動画像の1フレームを各々が複数画素から
なるブロックに分割し、ブロック上の画素値を直交変換
するか、もしくは他のフレームまたはフィールド上の画
素値から予測された値との残差を直交変換する動画像符
号化方式において、フレーム毎のブロック分割のままで
原画素値を直交変換する第1モード,フィールド毎のブ
ロックに再分割して原画素値を直交変換する第2モー
ド,フィールド単位で動き補償予測をしてフレーム毎の
ブロック単位で予測誤差値を直交変換する第3モード,
およびフィールド単位で動き補償予測をしてフィールド
毎のブロックに再分割し予測誤差値を直交変換する第4
モードの4種類の符号化モードから、適当なモードを選
択して符号化するようにしたことを特徴とする、動画像
符号化装置である。
SUMMARY OF THE INVENTION According to the present invention, one frame of an interlaced-scanned moving image is divided into blocks each having a plurality of pixels, and pixel values on the block are orthogonally transformed, or another frame is formed. Alternatively, in the moving picture coding method in which the residual difference between the pixel value on the field and the predicted value is orthogonally transformed, the first mode in which the original pixel value is orthogonally transformed while the block is divided for each frame is changed to the block for each field. A second mode in which the original pixel values are subdivided and orthogonally transformed, and a third mode in which motion compensation prediction is performed in field units and the prediction error values are orthogonally transformed in block units of each frame,
And motion-compensated prediction in field units, sub-divided into blocks for each field, and orthogonally transforming prediction error values
The moving picture coding apparatus is characterized in that an appropriate mode is selected from four kinds of coding modes of the mode and the coding is performed.

【0006】[0006]

【作用】動画像をたとえばDCT符号化するとき、動き
の大きい領域については、垂直方向の変動が大きい場合
には第1モードを用い、垂直方向の変動が小さい場合に
は第2モードを用いる。動きの小さい領域については、
垂直方向の変動が大きい場合には第3モードを用い、垂
直方向の変動が小さい場合には第4モードを用いる。そ
れによって、画像の局所的性質を考慮した最適なモード
で符号化する。
When a moving image is DCT-encoded, for example, a first mode is used for a large motion area when the vertical variation is large, and a second mode is used when the vertical variation is small. For small motion areas,
If the variation in the vertical direction is large, the third mode is used, and if the variation in the vertical direction is small, the fourth mode is used. As a result, the image is encoded in the optimum mode in consideration of the local property of the image.

【0007】[0007]

【発明の効果】この発明によれば、画像の局所的性質に
応じて符号化するので、動きの大小等に拘わらず動画像
の符号化効率を向上させることができる。この発明の上
述の目的,その他の目的,特徴および利点は、図面を参
照して行う以下の実施例の詳細な説明から一層明らかと
なろう。
According to the present invention, since the coding is performed according to the local property of the image, the coding efficiency of the moving image can be improved regardless of the magnitude of the motion. The above-mentioned objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of the embodiments with reference to the drawings.

【0008】[0008]

【実施例】図1を参照して、この実施例の動画像符号化
装置10はブロック分割回路12を含み、入力された画
像をたとえばサイズ4×4画素のDCTブロックに分割
する。たとえば4個のDCTブロックでサイズ8×8画
素のマクロブロックを構成して、以後の処理をマクロブ
ロック単位で行う。ブロック分割回路12は、図2
(A)に示すDCTブロックAを減算器14,切替回路
16および動き補償フレームメモリ40(後述)に出力
する。DCTブロックAは、フレーム内DCTを行うた
め、第1フィールドの画素と第2フィールドの画素とを
組み合わせて、フレームデータとして構成されたもので
ある。ただし、第1フィールドおよび第2フィールドは
隣接するフィールであることを示している。以下同様。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1, a moving picture coding apparatus 10 of this embodiment includes a block dividing circuit 12 and divides an input image into DCT blocks of size 4 × 4 pixels, for example. For example, four DCT blocks form a macroblock of size 8 × 8 pixels, and the subsequent processing is performed in macroblock units. The block division circuit 12 is shown in FIG.
The DCT block A shown in (A) is output to the subtractor 14, the switching circuit 16, and the motion compensation frame memory 40 (described later). The DCT block A is configured as frame data by combining the pixels of the first field and the pixels of the second field in order to perform the DCT in the frame. However, the first field and the second field indicate that they are adjacent fields. The same applies below.

【0009】次に、DCTブロックAと、減算器14で
現フレームのデータと前フレームの復号データとの差分
を取って得られたフィールド間予測誤差データすなわち
図2(C)に示すDCTブロックCとを、フレーム内/
フレーム間判定回路18で比較する。DCTブロックC
は、フレーム間DCTを行うため、第1フィールドのフ
ィールド間予測誤差データと第2フィールドのフィール
ド間予測誤差信号とを組み合わせてフレームデータとし
て構成されたものである。フレーム内/フレーム間判定
回路18の結果により、切替回路16で、DCTブロッ
クAまたはCすなわち原画像または予測誤差画像を切り
替え符号化する。フレーム内/フレーム間判定回路18
で、たとえばDCTブロックAとCとの分散の平均を比
較して、平均値の小さい方を選択する。動きが大きいと
きには、DCTブロックAはDCTブロックCより分散
の平均が小さいのでDCTブロックAを選択し、動きが
小さいときには、DCTブロックCがDCTブロックA
より分散の平均が小さいのでDCTブロックCを選択す
る。
Next, the inter-field prediction error data obtained by taking the difference between the data of the current frame and the decoded data of the previous frame by the subtractor 14 in the DCT block A, that is, the DCT block C shown in FIG. 2C. In the frame /
The inter-frame determination circuit 18 compares. DCT block C
In order to perform inter-frame DCT, the inter-frame prediction error data of the first field and the inter-field prediction error signal of the second field are combined to form frame data. According to the result of the intra-frame / inter-frame determination circuit 18, the switching circuit 16 switches and codes the DCT block A or C, that is, the original image or the prediction error image. In-frame / inter-frame determination circuit 18
Then, for example, the averages of the variances of the DCT blocks A and C are compared, and the one with the smaller average value is selected. When the motion is large, the DCT block A has a smaller average variance than the DCT block C, so the DCT block A is selected. When the motion is small, the DCT block C is selected by the DCT block C.
The DCT block C is selected because the average of the variances is smaller.

【0010】切替回路16からDCTブロックAが出力
された場合には、そのDCTブロックAおよび図2
(B)に示すDCTブロックBのいずれを用いてDCT
を行うのか、切替回路16からDCTブロックCが出力
された場合には、そのDCTブロックCおよび図2
(D)に示すDCTブロックDのいずれを用いてDCT
を行うのかが、それぞれ、DCTブロック構成回路20
で判定される。ここで、DCTブロックBは、第1フィ
ールドの画素と第2フィールドの画素とを別々のブロッ
クとするフィールドデータとして構成されたものであ
る。DCTブロックDは、第1フィールドのフィールド
間予測誤差データと第2フィールドのフィールド間予測
誤差データとを別々のブロックとするフィールドデータ
として構成されたものである。このとき、DCTブロッ
ク構成回路20では、必要に応じて新たにDCTブロッ
クBまたはDを形成し、たとえば各DCTブロックの分
散の平均などを使用して上述の判定を行う。
When the switching circuit 16 outputs the DCT block A, the DCT block A and FIG.
DCT using any of the DCT blocks B shown in FIG.
Or when the DCT block C is output from the switching circuit 16, the DCT block C and the DCT block C shown in FIG.
DCT using any of the DCT blocks D shown in (D)
DCT block configuration circuit 20
Is determined by. Here, the DCT block B is configured as field data in which the pixels of the first field and the pixels of the second field are separate blocks. The DCT block D is configured as field data in which the inter-field prediction error data of the first field and the inter-field prediction error data of the second field are separate blocks. At this time, the DCT block configuration circuit 20 newly forms the DCT block B or D as needed, and makes the above-mentioned determination using, for example, the average of the variance of each DCT block.

【0011】画像の垂直方向の変動が大きいときには、
DCTブロックAおよびCが、それぞれ、DCTブロッ
クBおよびDより分散の平均が小さくなり、一方、画像
の垂直方向の変動が小さいときには、逆に、DCTブロ
ックBおよびDが、それぞれ、DCTブロックAおよび
Cより分散の平均が小さくなる。したがって、動きが大
きくかつ画像の垂直方向の変動が大きいときにはDCT
ブロックAが、動きが大きくかつ画像の垂直方向の変動
が小さいときにはDCTブロックBが、動きが小さくか
つ画像の垂直方向の変動が大きいときにはDCTブロッ
クCが、動きが小さくかつ画像の垂直方向の変動が小さ
いときにはDCTブロックDが、それぞれ、選択され
る。
When the vertical variation of the image is large,
When DCT blocks A and C have smaller average variances than DCT blocks B and D, respectively, while DCT blocks B and D, conversely, have smaller variances in the vertical direction of the image, respectively. The average dispersion is smaller than that of C. Therefore, when the motion is large and the vertical fluctuation of the image is large, the DCT
When the block A has a large movement and the vertical fluctuation of the image is small, the DCT block B has the small movement and the DCT block C has the small movement of the vertical fluctuation of the image. The DCT block C has a small motion and the vertical fluctuation of the image. , The DCT block D is selected.

【0012】そして、DCTブロック構成回路20で決
定されたいずれかのDCTブロックは、DCT回路22
でDCT変換され、DCT係数が量子化回路24で量子
化される。量子化されたデータは、可変長符号化回路2
6で可変長符号化され、伝送または記録される。また、
量子化されたデータは、逆量子化回路28,逆DCT回
路30およびDCTブロック逆構成回路32を介し、加
算器34に与えられ、切替回路36からのデータと加算
される。切替回路36には、ゼロのデータと1つ前のフ
レームの複合化された画像データとが入力され、フレー
ム内/フレーム間判定回路16での比較結果により、い
ずれかのデータが出力される。すなわち、フレーム内/
フレーム間判定回路16でたとえばDCTブロックAと
Cとの分散の平均を比較して、DCTブロックAの分散
の平均の方が小さければ、切替回路36からゼロのデー
タが出力され、DCTブロックCの分散の平均の方が小
さければ、切替回路36から複合化された画像データが
出力される。このようにして、加算器34を経て局所復
号されたデータは、動き補償フレームメモリ38を介し
減算器14にフィードバックされる。
Any of the DCT blocks determined by the DCT block configuration circuit 20 is a DCT circuit 22.
The DCT coefficient is quantized by the quantization circuit 24. The quantized data is stored in the variable length coding circuit 2
6 is variable length coded and transmitted or recorded. Also,
The quantized data is given to the adder 34 via the inverse quantization circuit 28, the inverse DCT circuit 30, and the DCT block inverse configuration circuit 32, and is added to the data from the switching circuit 36. Zero data and composited image data of the previous frame are input to the switching circuit 36, and either data is output according to the comparison result in the intra-frame / inter-frame determination circuit 16. That is, within frame /
In the inter-frame determination circuit 16, for example, the averages of the variances of the DCT blocks A and C are compared, and if the average of the variances of the DCT block A is smaller, zero data is output from the switching circuit 36 and the DCT block C If the average of the variances is smaller, the switching circuit 36 outputs the composited image data. In this way, the data locally decoded by the adder 34 is fed back to the subtractor 14 via the motion compensation frame memory 38.

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

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

【図2】各DCTブロックA〜Dの画素の構成を示す図
解図である。
FIG. 2 is an illustrative view showing a configuration of a pixel of each DCT block A to D.

【図3】従来技術を示すブロック図である。FIG. 3 is a block diagram showing a conventional technique.

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

10 …動画像符号化装置 12 …ブロック分割回路 14 …減算器 16 …切替回路 18 …フレーム内/フレーム間判定回路 20 …DCTブロック構成回路 22 …DCT回路 DESCRIPTION OF SYMBOLS 10 ... Moving image coding apparatus 12 ... Block division circuit 14 ... Subtractor 16 ... Switching circuit 18 ... In-frame / inter-frame determination circuit 20 ... DCT block configuration circuit 22 ... DCT circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】インタレース走査された動画像の1フレー
ムを各々が複数画素からなるブロックに分割し、前記ブ
ロック上の画素値を直交変換するか、もしくは他のフレ
ームまたはフィールド上の画素値から予測された値との
残差を直交変換する動画像符号化方式において、 フレーム毎のブロック分割のままで原画素値を直交変換
する第1モード,フィールド毎のブロックに再分割して
原画素値を直交変換する第2モード,フィールド単位で
動き補償予測をしてフレーム毎のブロック単位で予測誤
差値を直交変換する第3モード,およびフィールド単位
で動き補償予測をしてフィールド毎のブロックに再分割
し予測誤差値を直交変換する第4モードの4種類の符号
化モードから、適当なモードを選択して符号化するよう
にしたことを特徴とする、動画像符号化装置。
1. A frame of an interlaced-scanned moving image is divided into blocks each having a plurality of pixels, and pixel values on the blocks are orthogonally transformed, or pixel values on another frame or field are converted. In a moving picture coding system that orthogonally transforms the residual with the predicted value, the original pixel value is re-divided into blocks for each field in the first mode in which the original pixel value is orthogonally transformed while maintaining the block division for each frame. Is orthogonally transformed, a motion-compensated prediction is performed in a field unit, and a third mode is performed in which a prediction error value is orthogonally transformed in a block unit in each frame, and a motion-compensated prediction is performed in a field unit to re-create a block in each field. It is characterized in that an appropriate mode is selected from four kinds of coding modes of a fourth mode for dividing and orthogonally transforming a prediction error value for coding. , A video encoding device.
JP15710492A 1992-06-17 1992-06-17 Video encoding device Expired - Fee Related JP3066187B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15710492A JP3066187B2 (en) 1992-06-17 1992-06-17 Video encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15710492A JP3066187B2 (en) 1992-06-17 1992-06-17 Video encoding device

Publications (2)

Publication Number Publication Date
JPH066782A true JPH066782A (en) 1994-01-14
JP3066187B2 JP3066187B2 (en) 2000-07-17

Family

ID=15642323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15710492A Expired - Fee Related JP3066187B2 (en) 1992-06-17 1992-06-17 Video encoding device

Country Status (1)

Country Link
JP (1) JP3066187B2 (en)

Also Published As

Publication number Publication date
JP3066187B2 (en) 2000-07-17

Similar Documents

Publication Publication Date Title
JP3263960B2 (en) Motion vector encoder and decoder
JP3593988B2 (en) Moving picture signal compression apparatus and method
US5657086A (en) High efficiency encoding of picture signals
JP2744871B2 (en) Image signal encoding method and image signal encoding device
US6650708B1 (en) Video signal encoding apparatus
JPH0686262A (en) Apparatus for encoding of image
JPH031688A (en) High efficiency picture coder
JPH0818979A (en) Image processor
US6016365A (en) Decoder having adaptive function of eliminating block effect
US7139315B2 (en) Apparatus and process for decoding motion pictures
JPH07240926A (en) Inter-image predictive encoder
US7024052B2 (en) Motion image decoding apparatus and method reducing error accumulation and hence image degradation
JPH09275561A (en) Video compressor and video compression method
JP2900810B2 (en) Method for reducing quantization noise generated when decoding transform-coded image data, and decoding device for transform-coded image data
JPH09214977A (en) Method and device for encoding video
JPH066782A (en) Moving image encoding device
JP2835770B2 (en) Video coding control method
JP4359273B2 (en) Coding mode selection method
JP3481112B2 (en) Video decoding device
JP3154454B2 (en) Coding of interlaced image signals
JPH0795572A (en) Picture coder
JPH07131789A (en) Picture coding system
KR100242832B1 (en) Apparatus for generating quantization step value
JP4353928B2 (en) Data compression method, recording method, and transmission method
JP3168723B2 (en) Video signal encoding device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000418

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

Free format text: PAYMENT UNTIL: 20080512

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees