[go: up one dir, main page]

JP3526316B2 - Video compression encoding method - Google Patents

Video compression encoding method

Info

Publication number
JP3526316B2
JP3526316B2 JP26383193A JP26383193A JP3526316B2 JP 3526316 B2 JP3526316 B2 JP 3526316B2 JP 26383193 A JP26383193 A JP 26383193A JP 26383193 A JP26383193 A JP 26383193A JP 3526316 B2 JP3526316 B2 JP 3526316B2
Authority
JP
Japan
Prior art keywords
switch
circuit
data
image data
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP26383193A
Other languages
Japanese (ja)
Other versions
JPH07123412A (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.)
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 JP26383193A priority Critical patent/JP3526316B2/en
Publication of JPH07123412A publication Critical patent/JPH07123412A/en
Application granted granted Critical
Publication of JP3526316B2 publication Critical patent/JP3526316B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は動画像をデジタル化し、
そのデータを圧縮符号化する動画像圧縮符号化方法に関
する。
BACKGROUND OF THE INVENTION The present invention digitizes moving images,
The present invention relates to a moving picture compression coding method for compressing and coding the data.

【0002】[0002]

【従来の技術】動画像をデジタル化し、そのデータを圧
縮符号化する方法に於いて、各フレームの画素を格子状
のブロックに分割し、それぞれのブロックに対し、予
測、直交変換を適当に組み合わせて処理することにより
圧縮符号化を行う方法が従来一般に用いられている。例
えば、国際的な標準規格である「ISO標準11172
(通称MPEG)」ではこの方法が採用されている。
2. Description of the Related Art In a method of digitizing a moving image and compressing and coding the data, pixels of each frame are divided into grid-like blocks, and prediction and orthogonal transformation are appropriately combined for each block. Conventionally, a method of performing compression encoding by performing the above processing is generally used. For example, the international standard “ISO standard 11172
This method is adopted in (commonly called MPEG).

【0003】MPEG規格に従った符号化回路は、1フ
レームの中の8×8画素を1ブロックとし、さらに2×
2ブロックをまとめたものをマクロブロック(16×1
6画素サイズ)とし、このマクロブロックを単位として
処理を行っている。このため通常MPEGで扱われる画
像サイズは、横16×M画素、縦16×N画素(M、N
は正の整数)となっている。
An encoding circuit according to the MPEG standard defines 8 × 8 pixels in one frame as one block, and further 2 ×
Macro block (16 x 1
(6 pixel size), and processing is performed in units of this macroblock. Therefore, the image size normally handled by MPEG is 16 × M pixels horizontally and 16 × N pixels vertically (M, N
Is a positive integer).

【0004】ここで、処理する画像サイズが16の整数
倍でない場合は、余った部分を切り落とすか、16の倍
数になるように画素を補って処理をする。どちらの処理
を行うかは、用途に応じて選択されることが多い。例え
ば通常のNTSC信号をデジタル化した場合、1フレー
ムは720×483画素となるが、16画素を単位に処
理をすると縦に3画素余りが出る。この信号を一般のテ
レビで表示する場合、余った3画素の部分は表示範囲の
外にあり、このデータを切り落とし、720×480画
素としても問題がない。逆にスタジオで信号の編集等を
するなど素材の持つ情報が欠落するのは適当でない場合
は、補間を用いて画素を720×496として処理をす
ることができる。
Here, when the image size to be processed is not an integral multiple of 16, the surplus portion is cut off, or the pixel is supplemented so that the multiple becomes 16. Which process is to be performed is often selected according to the application. For example, when a normal NTSC signal is digitized, one frame has 720 × 483 pixels, but if processing is performed in units of 16 pixels, there will be 3 pixels left in the vertical direction. When this signal is displayed on a general television, the remaining 3 pixels are outside the display range, and there is no problem even if this data is cut off and set to 720 × 480 pixels. On the contrary, when it is not appropriate to omit the information of the material such as editing the signal in the studio, the pixel can be processed as 720 × 496 by using interpolation.

【0005】[0005]

【発明が解決しようとする課題】しかしここで、補間を
用いた場合は、データを付け加えた分だけ冗長となり、
圧縮の目的に合わない。また符号化した信号を復号して
表示する際に、補間したデータを切り落とすという余分
な処理も必要となる。逆に、ブロック処理に適応するよ
うにデータを切り落とした場合、落されたデータに含ま
れていたデータを再現することは不可能となる。
However, when interpolation is used here, it becomes redundant as much as data is added,
Does not fit the purpose of compression. In addition, when decoding and displaying the encoded signal, an extra process of cutting off the interpolated data is also required. On the contrary, when the data is cut off so as to be suitable for the block processing, the data included in the dropped data cannot be reproduced.

【0006】そこで、本発明は画像をブロック単位に処
理する際、画像サイズがブロックサイズの整数倍でない
時、余った画素に適切な処理ができないという欠点を解
決するものである。
Therefore, the present invention solves the drawback that, when processing an image in block units, when the image size is not an integral multiple of the block size, the remaining pixels cannot be processed appropriately.

【0007】[0007]

【課題を解決するための手段】本発明は、1画面をブロ
ックの整数倍となるメインエリアと、端数の部分のサブ
エリアに分割し、各々のエリアの画像情報を異なる手法
で符号化して圧縮処理し、共通チャンネルより出力する
ことを特徴とする。
According to the present invention, one screen is divided into a main area which is an integral multiple of a block and a sub-area which is a fractional part, and image information of each area is encoded by a different method and compressed. It is characterized in that it is processed and output from a common channel.

【0008】[0008]

【作用】よって、本発明によれば、メインエリアとサブ
エリアの画像が異なる手法で変換圧縮処理され、共通チ
ャンネルより出力される。
Therefore, according to the present invention, the images of the main area and the sub area are subjected to conversion compression processing by different methods and output from the common channel.

【0009】[0009]

【実施例】以下、本発明を図示する一実施例に従い説明
する。図1は、本実施例の動画圧縮符号化回路の回路ブ
ロック図を示し、図2は本実施例のNTSCテレビ画面
の分割構成を示す図である。図2より明らかな様に、本
実施例では、NTSCの有効映像ラインを、マクロブロ
ック(16ドット×16ライン)を単位として構成され
るメインエリア(720ドット×480ライン)と、ラ
インセグメント(8ドット×1ライン)で構成されるサ
ブエリア(720ドット×3ライン)に区分して、メイ
ンエリアはMPEGによる2次元直交量子化と圧縮処理
を施し、サブエリアについては1次元直交量子化と圧縮
処理を施すことを特徴としている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to an illustrated embodiment. FIG. 1 is a circuit block diagram of a moving picture compression / encoding circuit of this embodiment, and FIG. 2 is a diagram showing a divided configuration of an NTSC television screen of this embodiment. As is clear from FIG. 2, in the present embodiment, the NTSC effective video line includes a main area (720 dots × 480 lines) constituted by macroblocks (16 dots × 16 lines) as a unit, and a line segment (8 It is divided into sub-areas (720 dots × 3 lines) composed of dots × 1 line), the main area is subjected to two-dimensional orthogonal quantization and compression processing by MPEG, and the sub-area is subjected to one-dimensional orthogonal quantization and compression. It is characterized in that it is processed.

【0010】図1より明らかな様に、NTSCの1フレ
ーム分の有効映像ライン483ライン分の画像データ
は、一旦第1フレームメモリ1に蓄積される。尚、蓄積
されるフレームは、MPEGデータの形成の都合上、I
ピクチャやPピクチャとして処理されるフレームが先行
して記憶され、時間的にその間に位置してBピクチャと
して処理されるフレームは、後で記憶される。
As is apparent from FIG. 1, image data of 483 effective video lines of one frame of NTSC is temporarily stored in the first frame memory 1. It should be noted that the frame to be stored is I for convenience of formation of MPEG data.
A frame processed as a picture or a P picture is stored in advance, and a frame positioned temporally between them and processed as a B picture is stored later.

【0011】第1フレームメモリ1からは、メインエリ
アの画像データは、マクロブロック単位で出力され、M
PEGのデータ処理が実行される。MPEGのIピクチ
ャの形成時には、マクロブロック単位の画像データは直
接第1スイッチ4を介して2次元DCT変換回路5に入
力され2次元直交変換処理され、更に第1量子化回路6
にて量子化処理が施される。量子化出力は第3スイッチ
21を介して可変長符号化回路22に入力され、識別信
号付加回路23を介して出力される。尚、識別符号付加
回路23は、メインエリアの最初のマクロブロックの情
報に先行して第1の識別符号例えば”0000001F
E”を出力し、サブエリアの最初のラインセグメントに
先行して第2の識別符号例えば”0000001FF”
を出力する。Iピクチャ形成時には量子化出力は、第1
逆量子化回路7にて逆量子化され、更に第1逆2次元D
CT変換回路8にて逆変換されて元の画像データに変換
され第4スイッチ9と加算器10と第5スイッチ11を
介して第2フレームメモリ12に記憶される。
Image data in the main area is output from the first frame memory 1 in macroblock units, and M
PEG data processing is executed. At the time of forming an MPEG I picture, image data in macroblock units is directly input to the two-dimensional DCT conversion circuit 5 via the first switch 4 and subjected to two-dimensional orthogonal conversion processing, and further the first quantization circuit 6
Is quantized. The quantized output is input to the variable length coding circuit 22 via the third switch 21 and output via the identification signal adding circuit 23. The identification code adding circuit 23 precedes the information of the first macroblock in the main area with a first identification code, for example, "0000001F".
E "is output, and the second identification code, for example," 0000001FF ", is output prior to the first line segment of the sub area.
Is output. When the I picture is formed, the quantized output is the first
Inverse quantization is performed by the inverse quantization circuit 7, and the first inverse two-dimensional D
The image data is inversely converted by the CT conversion circuit 8 and converted into original image data, which is stored in the second frame memory 12 via the fourth switch 9, the adder 10 and the fifth switch 11.

【0012】次に、MPEGのPピクチャの形成時に
は、マクロブロック単位の画像データは減算器2にて第
2フレームメモリ12より読み出された対応マクロブロ
ックの画像データと減算処理され差分データとされ、1
スイッチ4を介して2次元DCT変換回路5に入力され
2次元直交変換処理され、更に第1量子化回路6にて量
子化処理が施される。量子化出力は第3スイッチ21を
介して可変長符号化回路22に入力され、識別信号付加
回路23を介して出力される。このPピクチャ形成時に
は量子化出力は、第1逆量子化回路7にて逆量子化さ
れ、更に第1逆2次元DCT変換回路8にて逆変換され
て元の差分データに変換され、第4スイッチ9を介して
加算器10に入力される。加算器10は、第6スイッチ
を介して入力される第2フレームメモリ12の出力と加
算されて元の画像データに変換され、第5スイッチ11
を介して第3フレームメモリ13に記憶される。
Next, at the time of forming an MPEG P picture, the image data in units of macroblocks is subtracted from the image data of the corresponding macroblock read from the second frame memory 12 by the subtractor 2 to obtain difference data. 1
It is input to the two-dimensional DCT transform circuit 5 via the switch 4 and subjected to a two-dimensional orthogonal transform process, and is further quantized by the first quantizer circuit 6. The quantized output is input to the variable length coding circuit 22 via the third switch 21 and output via the identification signal adding circuit 23. At the time of forming this P picture, the quantized output is inversely quantized by the first inverse quantization circuit 7, further inversely transformed by the first inverse two-dimensional DCT transformation circuit 8 and transformed into the original difference data, and the fourth difference data is obtained. It is input to the adder 10 via the switch 9. The adder 10 is added with the output of the second frame memory 12 input via the sixth switch to be converted into original image data, and the fifth switch 11
Is stored in the third frame memory 13 via.

【0013】2個のフレームメモリに画像データが記憶
されることにより、続いて入力されるフレームのBピク
チャー処理が可能になる。Bピクチャ処理は時間的に前
後するI又はPピクチャにより形成される。次に、MP
EGのBピクチャの形成時には、画像データはマクロブ
ロック単位で減算器2に入力される。減算器2には、混
合回路14の出力が第5スイッチ15を介して入力され
る。この混合回路14は、第2フレームメモリ12より
読み出された対応マクロブロックの画像データと、第3
フレームメモリ13より読み出された対応マクロブロッ
クの画像データを混合しており、第1フレームメモリ1
より出力される画像データに近似するデータを形成して
いる。減算器2は、、第1フレームメモリ1より出力さ
れる画像データより、その近似データを減算して差分デ
ータを形成している。差分データは、1スイッチ4を介
して2次元DCT変換回路5に入力され2次元直交変換
処理され、更に第1量子化回路6にて量子化処理が施さ
れる。量子化出力は第3スイッチ21を介して可変長符
号化回路22に入力され、識別信号付加回路23を介し
て出力される。
By storing the image data in the two frame memories, the B picture processing of the subsequently input frame becomes possible. B picture processing is formed by I or P pictures that are temporally preceding and following. Next, MP
When forming the B picture of the EG, the image data is input to the subtractor 2 in macro block units. The output of the mixing circuit 14 is input to the subtractor 2 via the fifth switch 15. The mixing circuit 14 includes the image data of the corresponding macro block read from the second frame memory 12 and the third
The image data of the corresponding macro blocks read from the frame memory 13 are mixed, and the first frame memory 1
It forms data that is closer to the image data that is output. The subtractor 2 subtracts the approximate data from the image data output from the first frame memory 1 to form difference data. The difference data is input to the two-dimensional DCT conversion circuit 5 via the one switch 4, subjected to two-dimensional orthogonal transformation processing, and further subjected to quantization processing in the first quantization circuit 6. The quantized output is input to the variable length coding circuit 22 via the third switch 21 and output via the identification signal adding circuit 23.

【0014】メインエリアの画像データはMPEGの変
換圧縮手法により前述する要領で時間的に関連した変換
圧縮処理が為される。この手法は、識別符号付加回路を
除きMPEGとして周知の構成であり、本実施例の特徴
は以下の構成にある。本実施例では、エリア制御回路の
出力に基づき第2・第3・第4スイッチを切り換えて残
るサブエリアの画像データを8ドット単位で第1フレー
ムメモリ1より読み出して1次元のDCT変換処理を行
っている。この変換処理は、メインエリアのIピクチャ
やPピクチャやBピクチャの処理に準じた処理が為さ
れ、第1・第5・第6・第7スイッチはそのままの状態
に保たれ、その処理タイミングは各フレームのメインエ
リアの処理に続いて実行される。
The image data in the main area is subjected to the time-related conversion / compression processing by the MPEG conversion / compression method as described above. This method is well known as MPEG except for the identification code adding circuit, and the feature of this embodiment is the following configuration. In the present embodiment, the second, third and fourth switches are switched based on the output of the area control circuit, and the image data of the remaining sub-area is read from the first frame memory 1 in units of 8 dots to perform a one-dimensional DCT conversion process. Is going. This conversion processing is performed in accordance with the processing of I-pictures, P-pictures, and B-pictures in the main area, and the first, fifth, sixth, and seventh switches are kept as they are, and the processing timing is It is executed following the processing of the main area of each frame.

【0015】従って、メインエリアがIピクチャを形成
した直後、第1フレームメモリより読み出されるサブエ
リアの8ドット単位のセグメントデータは、第1スイッ
チ3と第2スイッチ4を介して1次元DCT変換回路1
7に入力され、1次元のDCT変換が為される。この変
換出力は、第2量子化回路18にて量子化処理を施され
た後に、第4スイッチを介して可変長符号化回路22に
入力され識別符号付加回路23を経て出力される。一方
第2量子化出力は第2逆量子化回路19にて逆量子化さ
れ、逆1次元DCT変換回路にて元の画像データに変換
され、第4スイッチ9と加算器10と第5スイッチ11
を介して第2フレームメモリ12に記憶される。
Therefore, immediately after the main area forms an I picture, the 8-dot unit segment data of the sub-area read from the first frame memory is passed through the first switch 3 and the second switch 4 to the one-dimensional DCT conversion circuit. 1
It is input to 7 and one-dimensional DCT conversion is performed. This converted output is quantized by the second quantizing circuit 18, then input to the variable length coding circuit 22 via the fourth switch and output via the identification code adding circuit 23. On the other hand, the second quantized output is inversely quantized by the second inverse quantization circuit 19, converted into the original image data by the inverse one-dimensional DCT conversion circuit, and the fourth switch 9, the adder 10, and the fifth switch 11
Is stored in the second frame memory 12 via.

【0016】次に、メインエリアがPピクチャを形成し
た直後、前記第1フレームメモリより読み出されるサブ
エリアの8ドット単位のセグメントデータは、前記第1
フレームメモリ1より読み出される対応セグメントデー
タと共に前記減算器2に入力されて減算処理により差分
データに変換され、前記第1スイッチ3と前記第2スイ
ッチ4を介して前記1次元DCT変換回路17に入力さ
れ、1次元のDCT変換が為される。この変換出力は、
前記第2量子化回路18にて量子化処理を施された後
に、前記第4スイッチを介して前記可変長符号化回路2
2に入力され識別符号付加回路23を経て出力される。
一方第2量子化出力は前記第2逆量子化回路19にて逆
量子化され、前記逆1次元DCT変換回路にて元の画像
データに変換され、第4スイッチ9を介して加算器10
に入力される。この加算器10は、第2フレームメモリ
10より読み出され第6スイッチ15と第7スイッチを
介して入力される対応セグメントデータを加算して元の
画像データに変換され、前記第5スイッチ11を介して
前記第3フレームメモリ13に記憶される。
Immediately after the P picture is formed in the main area, the 8-dot unit segment data of the sub-area read from the first frame memory is stored in the first area.
It is input to the subtractor 2 together with the corresponding segment data read from the frame memory 1, converted into difference data by subtraction processing, and input to the one-dimensional DCT conversion circuit 17 via the first switch 3 and the second switch 4. Then, one-dimensional DCT conversion is performed. This converted output is
After being quantized by the second quantization circuit 18, the variable length coding circuit 2 is passed through the fourth switch.
2 and is output through the identification code adding circuit 23.
On the other hand, the second quantized output is inversely quantized by the second inverse quantization circuit 19, converted into original image data by the inverse one-dimensional DCT conversion circuit, and then added by the adder 10 via the fourth switch 9.
Entered in. The adder 10 adds the corresponding segment data read from the second frame memory 10 and input through the sixth switch 15 and the seventh switch to convert the same into original image data, and the fifth switch 11 is operated. It is stored in the third frame memory 13 via the above.

【0017】更に、メインエリアがBピクチャを形成し
た直後、前記第1フレームメモリより読み出されるサブ
エリアの8ドット単位のセグメントデータは、前記減算
器2に入力される。この減算器2には、前記第2フレー
ムメモリ12と前記第3フレームメモリ13より読み出
される対応セグメントデータを前記混合回路14にて得
られるデータを第6スイッチ15より入力して減算入力
としている。この減算処理により得られる差分データ
は、前記第1スイッチ3と前記第2スイッチ4を介して
前記1次元DCT変換回路17に入力され、1次元のD
CT変換が為される。この変換出力は、前記第2量子化
回路18にて量子化処理を施された後に、前記第4スイ
ッチを介して前記可変長符号化回路22に入力され識別
符号付加回路23を経て出力される。
Immediately after forming the B picture in the main area, the 8-dot unit segment data of the sub area read from the first frame memory is input to the subtractor 2. The subtractor 2 receives the corresponding segment data read from the second frame memory 12 and the third frame memory 13 from the sixth switch 15 as the data obtained by the mixing circuit 14 and uses it as the subtraction input. The difference data obtained by this subtraction processing is input to the one-dimensional DCT conversion circuit 17 via the first switch 3 and the second switch 4, and the one-dimensional D
CT conversion is performed. The converted output is quantized by the second quantizing circuit 18, and then input to the variable length coding circuit 22 through the fourth switch and output through the identification code adding circuit 23. .

【0018】前述する様に、本実施例では、メインエリ
アのIピクチャ処理、サブエリアの独立1次元処理、メ
インエリアのPピクチャ処理、サブエリアの従属的1次
元処理、メインエリアのBピクチャ処理、サブエリアの
従属的1次元処理が順に為される。その結果、図3に示
す様に、出力される符号化圧縮データは、メインエリア
の符号化圧縮データには識別符号000001FFが先
行し、サブエリアの符号化圧縮データには識別符号00
0001FEが先行して多重される。
As described above, in the present embodiment, I picture processing of the main area, independent one-dimensional processing of the sub area, P picture processing of the main area, subordinate dependent one-dimensional processing, B picture processing of the main area. , Sub-area dependent one-dimensional processing is sequentially performed. As a result, as shown in FIG. 3, in the encoded encoded data to be output, the encoded compressed data in the main area is preceded by the identification code 000001FF, and the encoded compressed data in the sub area is identified by 00.
0001FE is multiplexed first.

【0019】本実施例では、メインエリアとサブエリア
の区別なく画面全体で、動きベクトルを求めて処理を行
っているが、必要に応じてエリアを区切って動きベクト
ルを求めることも可能である。以下、図4に示す本実施
例の復号化回路の動作について説明する。まずメインエ
リアのIピクチャのデータは、可変長複号回路24に於
て可変長複号処理され、第8スイッチを介して第1逆量
子化回路26に入力され逆量子化処理れる。逆量子化の
後、逆2次元DCT変換回路27にてマクロブロック単
位の元の画像データに変換され、第9スイッチ28と第
10スイッチ29とを介してメインエリアの画像データ
が第4フレームメモリ30に記憶される。同時に画像デ
ータは第11スイッチ31を介して第5フレームメモリ
32に記憶される。次に、サブエリアのデータが入力さ
れると、エリア検出回路39が識別符号を検出して前記
第8スイッチ25と前記第9スイッチ28を切り換え
る。そこで、可変長復号出力が第2逆量子化回路35に
入力され逆量子化処理れる。逆量子化の後、逆1次元D
CT変換回路36にて元の画像データに変換され、前記
第9スイッチ28と前記第10スイッチ29とを介して
サブエリアの画像データが前記第4フレームメモリ30
に記憶される。同時に画像データは前記第11スイッチ
31を介して前記第5フレームメモリ32に記憶され1
フレーム分の復号処理が終了する。
In the present embodiment, the motion vector is obtained and processed in the entire screen without distinguishing between the main area and the sub-area, but it is also possible to divide the area to obtain the motion vector if necessary. The operation of the decoding circuit of this embodiment shown in FIG. 4 will be described below. First, the I-picture data in the main area is subjected to a variable length decoding process in the variable length decoding circuit 24, and is input to the first dequantization circuit 26 via the eighth switch to be dequantized. After the inverse quantization, the inverse two-dimensional DCT conversion circuit 27 converts the original image data in macroblock units, and the image data in the main area is converted into the fourth frame memory through the ninth switch 28 and the tenth switch 29. Stored in 30. At the same time, the image data is stored in the fifth frame memory 32 via the eleventh switch 31. Next, when the sub-area data is input, the area detection circuit 39 detects the identification code and switches the eighth switch 25 and the ninth switch 28. Therefore, the variable-length decoded output is input to the second inverse quantization circuit 35 and subjected to inverse quantization processing. Inverse one-dimensional D after inverse quantization
The CT conversion circuit 36 converts the original image data, and the image data in the sub-area is converted into the fourth frame memory 30 via the ninth switch 28 and the tenth switch 29.
Memorized in. At the same time, the image data is stored in the fifth frame memory 32 via the eleventh switch 31.
The decoding process for the frame ends.

【0020】続いて、メインエリアのPピクチャのデー
タが入力されると、エリア検出回路39が識別符号を検
出して前記第8スイッチ25と前記第9スイッチ28を
切り換える。同時に、前記第9・第10・第12スイッ
チも切り換えられる。Pピクチャのデータは、前記可変
長複号回路24に於て可変長複号処理され、前記第8ス
イッチを介して前記第1逆量子化回路26に入力され逆
量子化処理れる。逆量子化の後、前記逆2次元DCT変
換回路27にて元の差分画像データに変換され、前記第
9スイッチ28を介して加算器37に入力される。この
加算器37には、第5フレームメモリ32に記憶された
対応マクロブロックの画像データが第12スイッチを介
して入力され、元の画像データが加算により復元され
る。復元された画像データは前記第10スイッチ29を
介して第4フレームメモリ30に記憶される。同時に画
像データは第11スイッチ31を介して第6フレームメ
モリ32に記憶される。次に、サブエリアのデータが入
力されると、エリア検出回路39が識別符号を検出して
前記第8スイッチ25と前記第9スイッチ28を切り換
える。そこで、可変長復号出力が第2逆量子化回路35
に入力され逆量子化処理れる。逆量子化の後、逆1次元
DCT変換回路36にて元の差分データに変換され、前
記第9スイッチ28を介して前記加算回路37に入力さ
れる。この加算器37には、第5フレームメモリ32に
記憶された対応ラインセグメントの画像データが第12
スイッチを介して入力され、元の画像データが加算によ
り復元される。復元された画像データは前記第10スイ
ッチ29を介して前記第4フレームメモリ30に記憶さ
れる。同時に画像データは前記第11スイッチ31を介
して前記第6フレームメモリ33に記憶され1フレーム
分の復号処理が終了する。
Then, when the P picture data of the main area is input, the area detection circuit 39 detects the identification code and switches the eighth switch 25 and the ninth switch 28. At the same time, the ninth, tenth and twelfth switches are also switched. The P-picture data is subjected to variable length decoding processing in the variable length decoding circuit 24, and is input to the first dequantization circuit 26 via the eighth switch to be dequantized. After the inverse quantization, the inverse two-dimensional DCT conversion circuit 27 converts the original difference image data and inputs the difference image data to the adder 37 via the ninth switch 28. The image data of the corresponding macroblock stored in the fifth frame memory 32 is input to the adder 37 via the twelfth switch, and the original image data is restored by addition. The restored image data is stored in the fourth frame memory 30 via the tenth switch 29. At the same time, the image data is stored in the sixth frame memory 32 via the eleventh switch 31. Next, when the sub-area data is input, the area detection circuit 39 detects the identification code and switches the eighth switch 25 and the ninth switch 28. Therefore, the variable length decoded output is the second inverse quantization circuit 35.
Is input to and subjected to inverse quantization processing. After the inverse quantization, the inverse one-dimensional DCT conversion circuit 36 converts the original difference data, and the difference data is input to the addition circuit 37 via the ninth switch 28. The image data of the corresponding line segment stored in the fifth frame memory 32 is stored in the adder 37 as the twelfth image data.
The original image data is input via the switch and restored by addition. The restored image data is stored in the fourth frame memory 30 via the tenth switch 29. At the same time, the image data is stored in the sixth frame memory 33 via the eleventh switch 31, and the decoding process for one frame is completed.

【0021】更に、メインエリアのBピクチャのデータ
が入力されると、エリア検出回路39が識別符号を検出
して前記第8スイッチ25と前記第9スイッチを切り換
える。エリア検出回路39が識別符号を検出して前記第
8スイッチ25と前記第9スイッチ28を切り換える。
Bピクチャのデータは、前記可変長複号回路24に於て
可変長複号処理され、前記第8スイッチを介して前記第
1逆量子化回路26に入力され逆量子化処理れる。逆量
子化の後、前記逆2次元DCT変換回路27にて元の差
分データに変換され、前記第9スイッチ28を介して加
算器37に入力される。この加算器37には、前記第5
フレームメモリ32と第6フレームメモリ33にそれぞ
れ記憶された対応マクロブロックの画像データが混合回
路38に入力され、所定の比例配分により元の画像デー
タが第12スイッチを介して入力され、加算により当該
フレームの画像データが復元される。復元された画像デ
ータは前記第10スイッチ29を介して第4フレームメ
モリ30に記憶される。次に、サブエリアのデータが入
力されると、にエリア検出回路39が識別符号を検出し
て前記第8スイッチ25と前記第9スイッチを切り換え
る。その結果、可変長復号出力が第2逆量子化回路35
に入力され逆量子化処理れる。逆量子化の後、逆1次元
DCT変換回路36にて元の差分データに変換され、前
記第9スイッチ28を介して前記加算回路37に入力さ
れる。この加算器37には、前記第5フレームメモリ3
2と第6フレームメモリ33にそれぞれ記憶された対応
セグメントの画像データが混合回路38に入力され、所
定の比例配分により復元された画像データが第12スイ
ッチを介して入力され、加算により当該フレームの画像
データが復元される。復元された画像データは前記第1
0スイッチを介して前記加算器37に入力される。この
加算器37には、前記第5フレームメモリ32に記憶さ
れた対応ラインセグメントの画像データが前記第12ス
イッチを介して入力され、元の画像データが加算により
復元される。復元された画像データは前記第10スイッ
チ29を介して前記第4フレームメモリ30に記憶され
R>る。同時に画像データは前記第11スイッチ31を介
して前記第6フレームメモリ32に記憶され1フレーム
分の復号処理が終了する。
Further, when the B picture data of the main area is input, the area detection circuit 39 detects the identification code and switches between the eighth switch 25 and the ninth switch. The area detection circuit 39 detects the identification code and switches between the eighth switch 25 and the ninth switch 28.
The data of the B picture is subjected to a variable length decoding process in the variable length decoding circuit 24, is input to the first dequantization circuit 26 via the eighth switch, and is dequantized. After the inverse quantization, the inverse two-dimensional DCT conversion circuit 27 converts the original difference data, and the difference data is input to the adder 37 via the ninth switch 28. This adder 37 has the fifth
The image data of the corresponding macro blocks stored in the frame memory 32 and the sixth frame memory 33 is input to the mixing circuit 38, the original image data is input via the twelfth switch by a predetermined proportional distribution, and the addition is performed. The image data of the frame is restored. The restored image data is stored in the fourth frame memory 30 via the tenth switch 29. Next, when the sub-area data is input, the area detection circuit 39 detects the identification code and switches between the eighth switch 25 and the ninth switch. As a result, the variable length decoded output is the second inverse quantization circuit 35.
Is input to and is subjected to inverse quantization processing. After the inverse quantization, the inverse one-dimensional DCT conversion circuit 36 converts the original difference data, and the difference data is input to the addition circuit 37 via the ninth switch 28. The adder 37 includes the fifth frame memory 3
2 and the image data of the corresponding segment stored in the sixth frame memory 33 are input to the mixing circuit 38, the image data restored by a predetermined proportional distribution is input via the twelfth switch, and the image data of the frame is added by addition. The image data is restored. The restored image data is the first
It is input to the adder 37 via the 0 switch. The image data of the corresponding line segment stored in the fifth frame memory 32 is input to the adder 37 via the twelfth switch, and the original image data is restored by addition. The restored image data is stored in the fourth frame memory 30 via the tenth switch 29.
R> ru. At the same time, the image data is stored in the sixth frame memory 32 via the eleventh switch 31, and the decoding process for one frame is completed.

【0022】前述する手順で各フレームの符号化圧縮デ
ータが復元される。しかし、複号に際してサブエリアの
複号を必要としない場合もある。そこで、サブエリアの
復号化を省略することも可能であり、その場合には、メ
モリ容量を減じることができるばかりか、1次元処理に
関する回路系を省略することもできる。
The encoded compressed data of each frame is restored by the procedure described above. However, there are cases where sub-codes are not required when decoding. Therefore, it is possible to omit the decoding of the sub-area. In that case, not only the memory capacity can be reduced, but also the circuit system relating to the one-dimensional processing can be omitted.

【0023】[0023]

【発明の効果】本発明によれば、マクロブロック単位の
処理を基本とした画像圧縮符号化回路では問題となる端
数画素の符号化処理を効果的に行うことができる。ま
た、符号化されたデータを復号する際、端数画素のデー
タの必要性に応じて、復号を省略することも可能とな
る。
According to the present invention, it is possible to effectively carry out the encoding process of a fractional pixel, which is a problem in the image compression encoding circuit based on the process of the macro block unit. Further, when decoding the encoded data, it is possible to omit the decoding depending on the necessity of the data of the fractional pixel.

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

【図1】本発明の1実施例を示す符号化回路の回路ブロ
ック図である。
FIG. 1 is a circuit block diagram of an encoding circuit showing an embodiment of the present invention.

【図2】本発明のフレームの構成説明図である。FIG. 2 is an explanatory diagram of a frame structure of the present invention.

【図3】本発明の1実施例を示すデータ配列説明図であ
る。
FIG. 3 is a data array explanatory diagram showing an embodiment of the present invention.

【図4】本発明の1実施例を示す復号化回路の回路ブロ
ック図である。
FIG. 4 is a circuit block diagram of a decoding circuit showing an embodiment of the present invention.

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

17 1次元DCT変換回路 18 第2量子化回路 19 第2逆量子化回路 20 逆1次元DCT変換回路 23 識別符号付加回路 24 エリア切換制御回路 17 One-dimensional DCT conversion circuit 18 Second Quantization Circuit 19 Second inverse quantization circuit 20 Inverse one-dimensional DCT conversion circuit 23 Identification code addition circuit 24 area switching control circuit

フロントページの続き (56)参考文献 特開 平6−217149(JP,A) 特開 平6−237385(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419 Continuation of the front page (56) Reference JP-A-6-217149 (JP, A) JP-A-6-237385 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04N 7 / 24-7/68 H04N 1/41-1/419

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画面を所定単位のブロックに分割し、各ブ
ロック毎にデータ圧縮を行う動画像圧縮符号化方法に於
いて、 画面中でブロックの整数倍により構成されるメインエリ
アの画像情報を直交変換により符号化してデータ圧縮
し、 前記画面中で前記メインエリア以外の領域により形成さ
れるサブエリアの画像情報を前記メインエリアとは異な
ブロックサイズに基づく直交変換により符号化してデ
ータ圧縮し、 両圧縮データを共通のチャンネルより出力させることを
特徴とする動画像圧縮符号化方法。
1. A moving picture compression coding method in which a screen is divided into blocks of a predetermined unit and data is compressed for each block. Data is compressed by encoding by orthogonal transformation , and image information of a sub area formed by a region other than the main area in the screen is encoded by orthogonal transformation based on a block size different from that of the main area and data is compressed, A moving picture compression encoding method, characterized in that both compressed data are output from a common channel.
【請求項2】前記メインエリアの画像情報は2次元DC
T変換により符号化し、前記サブエリアの画像情報は1
次元DCT変換により符号化することを特徴とする請求
項1記載の動画像圧縮符号化方法。
2. Image information of the main area is two-dimensional DC
The image information of the sub-area is coded by T conversion and is 1
The moving image compression encoding method according to claim 1, wherein the encoding is performed by a three-dimensional DCT transform.
JP26383193A 1993-10-21 1993-10-21 Video compression encoding method Expired - Fee Related JP3526316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26383193A JP3526316B2 (en) 1993-10-21 1993-10-21 Video compression encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26383193A JP3526316B2 (en) 1993-10-21 1993-10-21 Video compression encoding method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003167037A Division JP2004007734A (en) 2003-06-11 2003-06-11 Method for compression encoding image

Publications (2)

Publication Number Publication Date
JPH07123412A JPH07123412A (en) 1995-05-12
JP3526316B2 true JP3526316B2 (en) 2004-05-10

Family

ID=17394835

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26383193A Expired - Fee Related JP3526316B2 (en) 1993-10-21 1993-10-21 Video compression encoding method

Country Status (1)

Country Link
JP (1) JP3526316B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200280721A1 (en) * 2011-10-14 2020-09-03 Advanced Micro Devices, Inc. Region-based image compression and decompression

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4662224B2 (en) * 2001-09-07 2011-03-30 Kddi株式会社 Transmission image quality monitoring device
JP6308838B2 (en) * 2014-03-31 2018-04-11 株式会社メガチップス Moving picture coding apparatus, program, and integrated circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200280721A1 (en) * 2011-10-14 2020-09-03 Advanced Micro Devices, Inc. Region-based image compression and decompression
US11503295B2 (en) * 2011-10-14 2022-11-15 Advanced Micro Devices, Inc. Region-based image compression and decompression
US12250379B2 (en) 2011-10-14 2025-03-11 Advanced Micro Devices, Inc. Region-based image decompression

Also Published As

Publication number Publication date
JPH07123412A (en) 1995-05-12

Similar Documents

Publication Publication Date Title
US7672522B2 (en) Image decoding device and image decoding method
US7593464B2 (en) Information processing apparatus and method, and program storage medium
JPH07123447A (en) Method and device for recording image signal, method and device for reproducing image signal, method and device for encoding image signal, method and device for decoding image signal and image signal recording medium
EP1091592A2 (en) Video signal encoding apparatus
EP1134981A1 (en) Automatic setting of optimal search window dimensions for motion estimation
JPH0818979A (en) Image processor
JP3426668B2 (en) Video coding method
JP4245576B2 (en) Image compression / decompression method, image compression apparatus, and image expansion apparatus
KR20160109617A (en) Decoding apparatus of digital video
US7139315B2 (en) Apparatus and process for decoding motion pictures
US6556714B2 (en) Signal processing apparatus and method
JP3526316B2 (en) Video compression encoding method
JP4264811B2 (en) Image decoding apparatus and image decoding method
JPH07336684A (en) Picture signal decoding device
EP1083751A1 (en) Measurement of activity of video images in the DCT domain
JPH07107464A (en) Image coding apparatus and decoding apparatus
JP3416505B2 (en) Video decoding method
JP3384739B2 (en) Video decoding method
US20030031256A1 (en) Determination of prediction direction in MPEG-4
JP3481112B2 (en) Video decoding device
JP2004007734A (en) Method for compression encoding image
JP3500112B2 (en) Image encoding device and image decoding device
US6697528B1 (en) Image synthesis system and method
JP2812203B2 (en) Image playback device
JP2003087797A (en) Apparatus and method for picture information conversion, picture information conversion program, and recording medium

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040213

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

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees