JP2001128161A - Device and method for encoding and decoding moving picture and recording method used for them - Google Patents

Device and method for encoding and decoding moving picture and recording method used for them

Info

Publication number
JP2001128161A
JP2001128161A JP30619999A JP30619999A JP2001128161A JP 2001128161 A JP2001128161 A JP 2001128161A JP 30619999 A JP30619999 A JP 30619999A JP 30619999 A JP30619999 A JP 30619999A JP 2001128161 A JP2001128161 A JP 2001128161A
Authority
JP
Japan
Prior art keywords
macroblock
decoding
encoding
error
moving picture
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
JP30619999A
Other languages
Japanese (ja)
Inventor
Takashi Miyazaki
孝 宮崎
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP30619999A priority Critical patent/JP2001128161A/en
Priority to CA 2325065 priority patent/CA2325065A1/en
Publication of JP2001128161A publication Critical patent/JP2001128161A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress deterioration of the picture quality of the transmitted moving picture and to suppress deterioration of encoding efficiency. SOLUTION: In the moving picture encoding and decoding device, an erroneously-decoded macro block number informing means 12 is installed in a decoding device section 9 and an encoded information storing means 14 which stores encoded image information and an encoding control section 13 which controls intra-refreshment and motion compensation so that no macro block section may be used as a reference image from a received erroneously-decoded macro block number 16E and the encoded image information are provided to an encoding device section 9. Since no other number than the erroneously- decoded macro block number and a normally restored macro block number is required to be informed to a communicating partner, the influence of a decrease in allocated code rate, etc., on encoded animation data, etc., is small.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、動画像符号化復号
化装置・方法、その記録媒体に関し、特に、テレビ電話
やテレビ会議システムに用いられる動画像を高能率に符
号化し、復号誤りが複数枚の連続する復号画像に影響を
与えることを防止する動画像符号化復号化装置・方法、
その記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture encoding / decoding apparatus and method, and a recording medium therefor, and more particularly to a moving picture used for a videophone or video conference system, which is highly efficient and has a plurality of decoding errors. Moving image encoding / decoding apparatus / method for preventing the influence on consecutive decoded images,
It relates to the recording medium.

【0002】[0002]

【従来の技術】動画像は、圧縮符号化されて送受信され
通信効率が高められる。動画像の圧縮符号化は、その高
能率化が求められている。動画像を高能率に圧縮符号化
する方法としては、ITU (International Telecommun
ication Union) 勧告のH261、H263など、IS
O(International Organization for Standardization)
勧告のMPEG−1、MPEG−2、MPEG−4など
の動き補償と2次元離散コサイン変換とハフマン符号化
を組み合わせた方式が知られている。このような方式に
よる動画像符号化データは、ピクチャ (picture)、ス
ライス(slice)、マクロブロック (macroblock)とい
う3層構造を有する。ピクチャは符号化する1枚の画像
である。マクロブロックとはピクチャをブロック状に分
割したもので、一般には縦と横にそれぞれ16画素が配
置される大きさである。スライスは符号化順序が連続す
るマクロブロックをグループ化したもので、GOB (g
roup of block)やビデオパケット(video packet)と
も呼ばれる。動画像符号化処理は、マクロブロックを単
位として行われる。
2. Description of the Related Art A moving image is compressed and coded and transmitted / received to improve communication efficiency. In the compression encoding of moving images, higher efficiency is required. As a method for efficiently compressing and encoding moving images, ITU (International Telecommun
ication Union) IS such as H261 and H263 recommended
O (International Organization for Standardization)
A system that combines motion compensation such as the recommended MPEG-1, MPEG-2, and MPEG-4, two-dimensional discrete cosine transform, and Huffman coding is known. The encoded video data according to such a method has a three-layer structure of a picture, a slice, and a macroblock. A picture is a single image to be encoded. A macroblock is a picture obtained by dividing a picture into blocks, and generally has a size in which 16 pixels are arranged vertically and horizontally. A slice is a grouping of macroblocks in consecutive coding order.
It is also called a "roup of block" or a video packet. The moving image encoding process is performed on a macroblock basis.

【0003】マクロブロックの符号化には、大別してイ
ントラモード(intramode)とインターモード(inter m
ode)の方式がある。イントラモードでは、マクロブロ
ック内のデータのみを使って符号化が行われ、復号の際
にはマクロブロックのデータだけで画像を再生すること
ができる。インターモードでは、参照画像を使って動き
補償した画像データとの差分情報を使った符号化が行わ
れ、復号の際には参照画像のデータとマクロブロックの
符号化データが必要となる。参照画像には、符号化する
画像の前後の画像が選ばれる。マクロブロックの符号化
の順序は、画像の左上を始点として左から右へ、そして
上から下へスキャンする順序とするのが一般的である。
スライスは、動画像符号化アルゴリズムに従って適当に
構成される。スライスの先頭にあるマクロブロックはイ
ントラモードで符号化され、それ以後のマクロブロック
はイントラモードとインターモードのいずれかの方式で
符号化される。
[0003] Coding of macroblocks is roughly divided into intra mode and inter mode.
ode). In the intra mode, encoding is performed using only data in a macroblock, and when decoding, an image can be reproduced using only the data in the macroblock. In the inter mode, encoding is performed using difference information from image data motion-compensated using a reference image, and decoding requires data of a reference image and encoded data of a macroblock. The images before and after the image to be encoded are selected as the reference images. In general, the order of macroblock coding is to scan from left to right and from top to bottom starting from the upper left of the image.
The slice is appropriately configured according to the video coding algorithm. The macroblock at the head of the slice is encoded in the intra mode, and the subsequent macroblocks are encoded in either the intra mode or the inter mode.

【0004】特定の位置のマクロブロックが常にインタ
ーモードで符号化されてしまうと、符号化誤差の蓄積に
より復号画像が劣化するので、適当な間隔でイントラモ
ードで符号化されるように符号化装置は制御される。こ
の制御は、イントラリフレッシュと呼ばれる。スライス
内の2番目以降のマクロブロックでは、前に符号化され
たマクロブロック情報との差分値をそのマクロブロック
の情報とするのが一般的である。ピクチャとスライスの
データの先頭には、そのデータの開始を示すスタートコ
ードとヘッダ情報があり、動画像復号化装置が動画像符
号化データを復号するときの同期点として使う。
If a macroblock at a specific position is always encoded in the inter mode, the decoded image is degraded due to accumulation of encoding errors. Is controlled. This control is called intra refresh. In the second and subsequent macroblocks in a slice, a difference value from previously encoded macroblock information is generally used as the macroblock information. At the head of the picture and slice data, there is a start code indicating the start of the data and header information, which are used as a synchronization point when the moving picture decoding apparatus decodes the coded moving picture data.

【0005】このような動画像符号化方式を用いて動画
像データを符号化復号化する装置では、受信したデータ
に符号誤りが発生した場合には、復号の際に正常な復号
ができなくなるので、次の同期点まで誤った復号処理を
続けるか、復号処理を一旦止めて次の同期点までスキッ
プすることになる。この結果、復号画像では、誤りが発
生した位置から同期点までの間のマクロブロックの再生
画像が劣化したものとなる。更に、劣化したマクロブロ
ックは次にイントラリフレッシュされるまで劣化した状
態となるので、この部分が他のマクロブロックの復号処
理時に参照画像として使われると、そのマクロブロック
も画像が劣化したものとなってしまう。そのため、復号
誤りが発生しても、素早く画像を修復し、良好な画像を
再生できる動画像符号化復号化装置が求められている。
In an apparatus for encoding and decoding moving image data using such a moving image encoding method, if a code error occurs in received data, normal decoding cannot be performed at the time of decoding. The erroneous decoding process is continued until the next synchronization point, or the decoding process is temporarily stopped and skipped to the next synchronization point. As a result, in the decoded image, the reproduced image of the macroblock from the position where the error occurred to the synchronization point is deteriorated. Furthermore, since a deteriorated macroblock is in a deteriorated state until the next intra refresh, if this portion is used as a reference image during decoding processing of another macroblock, the image of the macroblock also becomes deteriorated. Would. Therefore, even if a decoding error occurs, there is a demand for a moving picture coding / decoding apparatus capable of quickly restoring an image and reproducing a good image.

【0006】このような要請に応えるために、例えば、
特開平7−312755号に開示されているように、復
号誤りが発生したマクロブロックに対して補間画像を作
成してマクロブロックのデータを置換するとともに、通
信相手の符号化装置に符号誤りを通知して、その直後の
ピクチャの同一空間に位置するマクロブロック以降の符
号化モードをイントラモードに切り替えるように制御す
るすることが提案されている。この先行技術文献に開示
された手法は、図5に示されるように、符号化主要部1
01と復号化主要部102の他に、受信したデータの符
号誤り検出手段103と、復号誤りが発生したマクロブ
ロックに対する補間画像を作成する補間画像作成手段1
04と、復号誤りが発生したことを通信相手に通知する
符号誤り通知手段105と、受信した復号誤り情報を用
いて符号化部を制御する符号化制御手段106から構成
されている。
In order to meet such a demand, for example,
As disclosed in Japanese Patent Application Laid-Open No. Hei 7-327755, an interpolation image is created for a macroblock in which a decoding error has occurred to replace the data of the macroblock, and a coding error is notified to an encoding device of a communication partner. Then, it has been proposed to control the encoding mode of a macroblock located in the same space of a picture immediately after that to be switched to the intra mode. The technique disclosed in this prior art document, as shown in FIG.
01 and a decoding main unit 102, a code error detecting unit 103 for received data, and an interpolated image generating unit 1 for generating an interpolated image for a macroblock in which a decoding error has occurred.
04, a code error notifying unit 105 for notifying a communication partner that a decoding error has occurred, and an encoding control unit 106 for controlling an encoding unit using the received decoding error information.

【0007】この公知技術では、復号した全てのマクロ
ブロックについて符号誤りの有無、誤りがあった場合は
GOB番号とマクロブロックアドレスの情報を符号化装
置に伝送するので、64kbps程度の低ビットレート
通信の場合、誤り情報のデータが相対的に大きくなり、
動画像符号化データが割り当てられるデータ量が少なく
なり、伝送する動画像の画質が劣化するという問題があ
る。更に、符号化装置は誤りがあったマクロブロックが
動領域にあった場合は、動領域に含まれる全てのマクロ
ブロックをイントラモードで符号化するように制御され
るので、誤りの影響を受けないマクロブロックまでイン
トラモードで符号化されることが起こり、符号化効率を
低下させ、伝送する動画像の画質を低下させるという問
題もある。
In this known technique, the presence or absence of a code error in all decoded macroblocks, and if there is an error, the information of the GOB number and the macroblock address is transmitted to the coding apparatus, so that a low bit rate communication of about 64 kbps is performed. In the case of, the error information data becomes relatively large,
There is a problem that the amount of data to which the moving image encoded data is allocated is reduced and the image quality of the moving image to be transmitted is deteriorated. Further, when the erroneous macroblock is in the moving area, the coding apparatus is controlled so as to encode all the macroblocks included in the moving area in the intra mode, and is not affected by the error. Macroblocks are coded in the intra mode, which causes a problem that coding efficiency is reduced and image quality of a moving image to be transmitted is reduced.

【0008】[0008]

【発明が解決しようとする課題】本発明の課題は、符号
化効率の低下を抑制し、伝送する動画像の画質の低下を
抑制することができる動画像符号化復号化装置・方法、
その記録媒体を提供することにある。本発明の他の課題
は、符号化効率の低下を抑制し、マクロブロックが動領
域にある場合にも、伝送する動画像の画質の低下を抑制
する動画像符号化復号化装置・方法、その記録媒体を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a moving picture coding / decoding apparatus and method capable of suppressing a drop in coding efficiency and a picture quality of a moving picture to be transmitted.
It is to provide the recording medium. Another object of the present invention is to provide a moving picture coding / decoding apparatus / method, which suppresses a drop in coding efficiency and suppresses a drop in picture quality of a moving picture to be transmitted even when a macroblock is in a moving area. It is to provide a recording medium.

【0009】[0009]

【課題を解決するための手段】その課題を解決するため
の手段が、下記のように表現される。その表現中に現れ
る技術的事項には、括弧()つきで、番号、記号等が添
記されている。その番号、記号等は、本発明の実施の複
数の形態又は複数の実施例のうちの少なくとも1つの実
施の形態又は複数の実施例を構成する技術的事項、特
に、その実施の形態又は実施例に対応する図面に表現さ
れている技術的事項に付せられている参照番号、参照記
号等に一致している。このような参照番号、参照記号
は、請求項記載の技術的事項と実施の形態又は実施例の
技術的事項との対応の橋渡しを明確にしている。このよ
うな対応の橋渡しは、請求項記載の技術的事項が実施の
形態又は実施例の技術的事項に限定されて解釈されるこ
とを意味しない。
Means for solving the problem are described as follows. The technical items appearing in the expression are appended with numbers, symbols, and the like in parentheses (). The numbers, symbols, etc. are technical items that constitute at least one embodiment or a plurality of examples of the embodiments or examples of the present invention, in particular, the embodiments or the examples. Corresponds to the reference numerals, reference symbols, and the like assigned to the technical matters expressed in the drawings corresponding to the above. Such reference numbers and reference symbols clarify the link between the technical matters described in the claims and the technical matters of the embodiments or examples. Such a bridging does not mean that the technical matters described in the claims are interpreted as being limited to the technical matters of the embodiments or the examples.

【0010】本発明による動画像符号化復号化装置は、
復号誤りが発生している当方側マクロブロックの誤り発
生番号(16E)と、復号化が正常に復帰した当方側マ
クロブロックの正常復帰番号(16R)とを相手側から
受信する受信部(6)と、誤り発生番号(16E)と正
常復帰番号(16R)に基づいて、当方側の送信対象の
当方側動画像の圧縮符号化を制御する符号化制御部(1
3)とを含む。
[0010] A moving picture encoding / decoding apparatus according to the present invention comprises:
A receiving unit (6) for receiving, from the partner, the error occurrence number (16E) of the macroblock on the transmission side in which a decoding error has occurred and the normal recovery number (16R) of the macroblock on the transmission side in which decoding has returned to normal; And an encoding control unit (1) for controlling the compression encoding of the transmission side moving image to be transmitted on the transmission side based on the error occurrence number (16E) and the normal recovery number (16R).
3).

【0011】復号誤りの通知は、誤りの発生と正常復帰
した時のみにそれらに該当するマクロブロック番号のみ
を通知するので、送信データ量は少なく、動画像符号化
に与える影響はわずかであり、符号量の減少による画質
の劣化を抑えることができる。
Since the notification of the decoding error notifies only the occurrence of the error and the macroblock number corresponding to the error only when the error is restored, the amount of transmission data is small, and the influence on the video encoding is small. Deterioration in image quality due to a decrease in the code amount can be suppressed.

【0012】符号化制御部(13)の制御は、次のピク
チャの符号化において、誤り発生番号(16E)から正
常復帰番号(16R)までのマクロブロックの符号化を
イントラモードで実行することである。符号化装置は誤
りを起こしたマクロブロックのみをイントラリフレッシ
ュするので、イントラモード符号化による符号量の増加
を必要最小限に抑えることができる。更に、誤りによっ
て劣化したマクロブロックを参照画像として用いないよ
うに動き補償を制御するので、画像の劣化部分が他の部
分に伝搬することを抑えることができる。
The control of the coding control unit (13) is performed by executing macroblock coding from the error occurrence number (16E) to the normal recovery number (16R) in the intra mode in the coding of the next picture. is there. Since the encoding device performs intra-refresh only on the macroblock in which an error has occurred, it is possible to minimize the increase in the amount of code due to intra-mode encoding. Furthermore, since the motion compensation is controlled so that the macroblock degraded due to the error is not used as the reference image, it is possible to suppress the propagation of the degraded part of the image to other parts.

【0013】既述の動画像符号化装置には、圧縮符号化
が相手側でなされて相手側から送信されてくる相手側動
画像を受信して復号化する際に、復号誤りが発生してい
る相手側マクロブロックの誤り発生番号(16E)と、
復号化が正常に復帰した相手側マクロブロックの正常復
帰番号(16R)とを相手側に通知するマクロブロック
番号通知部(12)が更に含まれる。マクロブロック番
号通知部(12)が当方側にも設けられると、相手側と
当方側とで双方向の圧縮画像通信が可能になって、TV
電話、TV会議システムのデータ送信の効率化が促進さ
れる。
In the above-mentioned moving picture coding apparatus, when a compression coding is performed on the other party and a moving picture transmitted from the other party is received and decoded, a decoding error occurs. The error occurrence number (16E) of the other party's macroblock
A macroblock number notifying unit (12) for notifying the other party of the normal recovery number (16R) of the macroblock of the other party whose decoding has returned to normal is further included. If the macro block number notifying section (12) is also provided on this side, bidirectional compressed image communication can be performed between the other side and this side, and the TV
The efficiency of data transmission of telephone and TV conference systems is promoted.

【0014】本発明による動画像符号化復号化方法は、
圧縮符号化した当方側動画像を相手側に送信すること、
当方側動画像を受信して復号誤りが発生したマクロブロ
ックの誤り発生番号(16E)と復号化が正常に復帰し
たマクロブロックの正常復帰番号(16R)を当方が受
信すること、次のピクチャの符号化において、誤り発生
番号のマクロブロックと正常復帰番号のマクロブロック
の時間的な間のマクロブロックをイントラモードで圧縮
符号化することとを含む。
A moving picture encoding / decoding method according to the present invention comprises:
Transmitting the compression-encoded moving image to the other party,
Receiving the error occurrence number (16E) of the macroblock in which the decoding error has occurred and the normal recovery number (16R) of the macroblock in which the decoding has been restored normally after receiving the moving image on the receiving side, The encoding includes compression-encoding a macroblock between the error occurrence number macroblock and the normal recovery number macroblock in the intra mode.

【0015】更に、相手側動画像を受信して復号誤りが
発生したマクロブロックの誤り発生番号(16E)と復
号化が正常に復帰したマクロブロックの正常復帰番号
(16R)を相手側に通知することを含み、相手側は、
次のピクチャの符号化において、誤り発生番号のマクロ
ブロックと正常復帰番号のマクロブロックの時間的な間
のマクロブロックをイントラモードで圧縮符号化する。
これにより、双方向通信が可能である。このような方法
は、プログラムにより実現され、そのプログラムはコン
ピュータに読み取り可能に記録媒体に記録される。
Further, the other party is notified of the error occurrence number (16E) of the macroblock in which the decoding error has occurred and the normal recovery number (16R) of the macroblock in which decoding has been restored normally after receiving the moving picture of the other party. And the other party:
In the coding of the next picture, a macroblock between the macroblock of the error occurrence number and the macroblock of the normal recovery number is compression-coded in the intra mode.
Thereby, two-way communication is possible. Such a method is realized by a program, and the program is recorded on a recording medium in a computer-readable manner.

【0016】[0016]

【発明の実施の形態】図に一致対応して、本発明による
動画像符号化復号化装置の実施の形態は、動画像符号化
部が動画像復号化部と共に設けられている。その動画像
符号化部1には、図1に示されるように、動画像である
入力動画像画像データ2が入力される。動画像符号化部
1は、入力動画像データ2を符号化処理し、動画像符号
化データ3を出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Corresponding to the drawings, in the embodiment of the moving picture coding / decoding apparatus according to the present invention, a moving picture coding section is provided together with a moving picture decoding section. As shown in FIG. 1, input moving image data 2 which is a moving image is input to the moving image encoding unit 1. The moving image encoding unit 1 performs an encoding process on the input moving image data 2 and outputs encoded moving image data 3.

【0017】動画像符号化部1は、多重化部4に接続し
ている。多重化部4は、動画像符号化データ出力3と音
声符号化データ、その他のデータを多重化処理した符号
化データ出力5を伝送路に送出する。非多重化部6は、
受信した符号化データ入力7を音声符号化データ、動画
像符号化データ8、その他のデータに分離する。非多重
化部6は、動画像復号化部9に接続している。動画像復
号化部9は、動画像符号化データ8を復号化処理し、再
生動画像11を出力する。
The moving picture coding unit 1 is connected to a multiplexing unit 4. The multiplexing unit 4 sends out the coded video data output 3 and the coded data output 5 obtained by multiplexing the coded audio data and other data to the transmission path. The demultiplexing unit 6
The received encoded data input 7 is separated into audio encoded data, video encoded data 8 and other data. The demultiplexer 6 is connected to the video decoder 9. The moving picture decoding unit 9 decodes the coded moving picture data 8 and outputs a reproduced moving picture 11.

【0018】本動画像符号化復号化装置は、更に、マク
ロブロック番号通知手段12と、符号化制御手段13
と、符号化情報記憶部14とを備えている。動画像復号
化部9は、復号誤りマクロブロックの有無15と、その
マクロブロック番号16を出力する。復号誤りマクロブ
ロックの有無15と、マクロブロック番号16とを受信
するマクロブロック番号通知手段12は、その復号誤り
の開始のマクロブロック番号16Eと、正常復帰の時点
のマクロブロック番号16Rとを多重化部4に送る。マ
クロブロック番号16は、他の符号化データと多重化さ
れて、通信相手の他の動画像符号化復号化装置(図示さ
れず)に伝送される。
The main moving picture coding / decoding apparatus further includes a macroblock number notifying means 12 and a coding control means 13.
And an encoded information storage unit 14. The video decoding unit 9 outputs the presence / absence 15 of the decoded error macroblock and the macroblock number 16 thereof. The macroblock number notifying means 12, which receives the presence / absence 15 of the decoding error macroblock and the macroblock number 16, multiplexes the macroblock number 16E at the start of the decoding error and the macroblock number 16R at the time of normal recovery. Send to Part 4. The macroblock number 16 is multiplexed with other encoded data and transmitted to another video encoding / decoding device (not shown) of the communication partner.

【0019】非多重化部6は、符号化制御手段13に接
続している。符号化制御手段13は、非多重化部6を介
して復号誤り開始のマクロブロック番号16Eと正常復
帰したマクロブロック番号16Rを受信する。復号誤り
開始のマクロブロック番号16Eと正常復帰したマクロ
ブロック番号16Rとは、符号化情報記憶部14に記憶
される。符号化制御手段13は、イントラマクロブロッ
クやスライス構成などの符号化情報を参照しながら、動
画像符号化部1を制御するとともに、その符号化情報を
符号化情報記憶部14に記憶させる。動画像符号化部1
と動画像復号化部9は、慣用手段である。
The demultiplexing section 6 is connected to the encoding control means 13. The encoding control means 13 receives the macroblock number 16E at the start of the decoding error and the macroblock number 16R restored to the normal state via the demultiplexing unit 6. The macroblock number 16E at the start of the decoding error and the macroblock number 16R that has returned to the normal state are stored in the encoded information storage unit 14. The encoding control unit 13 controls the moving image encoding unit 1 while referring to encoding information such as an intra macroblock and a slice configuration, and stores the encoding information in the encoding information storage unit 14. Video encoding unit 1
The moving picture decoding unit 9 is a conventional means.

【0020】動画像復号化部9は、マクロブロックを復
号する際に復号誤りが発生したかどうかを判定し、判定
結果とマクロブロック番号16を復号誤りマクロブロッ
ク番号通知手段12に通知する。復号誤りのマクロブロ
ックの有無15の判定は、符号テーブルにないシンボル
の出現、前後の関係から有りえない情報の出現などから
判定することができる。マクロブロック番号16E,1
6Rは、番号によってマクロブロックの位置が一意に分
かるようにつけられている。例えば、画像の左上を始点
とし、左から右へ、上から下へ、1,2,3,・・・と
いうように番号が付けられ得る。符号化装置と復号化装
置は同じ情報を共有しているものとする。
The video decoding unit 9 determines whether a decoding error has occurred when decoding a macroblock, and notifies the decoding error macroblock number notifying unit 12 of the determination result and the macroblock number 16. The determination of the presence / absence 15 of a macroblock having a decoding error can be made based on the appearance of a symbol that is not in the code table, the appearance of information that is not possible due to the context. Macro block number 16E, 1
6R is assigned so that the position of the macroblock can be uniquely identified by the number. For example, starting from the upper left of the image, numbers may be assigned from left to right, from top to bottom, 1, 2, 3,. It is assumed that the encoding device and the decoding device share the same information.

【0021】図2は、復号誤りマクロブロック番号通知
手段12の動作を示している。動画像復号化処理が開始
されると、マクロブロック番号通知手段12は、動画像
復号化部9が出力するマクロブロックの誤り判定結果を
受け取り(ステップS1)、それの誤りの有無を判別す
る。それに誤りがある場合は、最初に誤りが発生したマ
クロブロックの番号16Eを多重化部4に送出する(ス
テップS2)。判定結果の受信を継続し(ステップS
3)、更に誤りが発生したマクロブロックの番号16E
を多重化部4に送出しながら、誤りなく復号できたと判
定されたマクロブロックが出現したところで、正常に復
帰したマクロブロックの番号16Rを送出する(ステッ
プS4)。
FIG. 2 shows the operation of the decoding error macroblock number notifying means 12. When the video decoding process is started, the macroblock number notifying unit 12 receives a macroblock error determination result output from the video decoding unit 9 (Step S1), and determines whether or not there is an error. When there is an error, the number 16E of the macroblock in which the error first occurs is sent to the multiplexing unit 4 (step S2). Continue receiving the determination result (step S
3), the number 16E of the macroblock in which the error further occurred
Is transmitted to the multiplexing unit 4, and when a macroblock determined to have been decoded without error appears, the number 16R of the macroblock that has returned to normal is transmitted (step S4).

【0022】このような複数のステップを常態的に継続
して実行する。通常、正常復帰したマクロブロックが出
現するのは、ピクチャやスライスにある同期点からとな
る。但し、同期点のデータに誤りが混入することがあ
り、その場合は複数のスライスに渡って誤りマクロブロ
ックが発生することがある。
Such a plurality of steps are normally and continuously executed. Normally, a macroblock that has returned to normal appears from a synchronization point in a picture or slice. However, an error may be mixed in the data at the synchronization point, and in that case, an error macroblock may be generated over a plurality of slices.

【0023】図3は、スライスの構造を示している。符
号化制御手段13は、画像の符号化条件を符号化情報記
憶部14に記憶させる。その符号化条件には、スライス
21の構成やイントラリフレッシュなどの情報がある。
復号誤りの通知がない場合は、適当な方法でスライス2
1の構成を決め、イントラリフレッシュを行う。
FIG. 3 shows the structure of a slice. The encoding control unit 13 causes the encoding information storage unit 14 to store the image encoding conditions. The coding conditions include information such as the configuration of the slice 21 and intra refresh.
If there is no notification of a decoding error, slice 2
1 and the intra refresh is performed.

【0024】復号誤りの発生したマクロブロックの番号
16Eと正常復帰したマクロブロックの番号16Rを受
信すると、その区間にあるマクロブロックを誤りマクロ
ブロックとして記録し、そのマクロブロックをイントラ
リフレッシュするように動画像符号化部1を制御する。
更に、インターモードで符号化するマクロブロックの動
き補償をする際に、誤りマクロブロックに含まれる画像
データを使わないように動き補償を制御する。
When receiving the number 16E of the macroblock in which the decoding error has occurred and the number 16R of the macroblock that has returned to the normal state, the macroblock in that section is recorded as an erroneous macroblock, and the moving picture is displayed so that the macroblock is intra-refreshed. The image encoding unit 1 is controlled.
Further, when compensating for the motion of a macroblock to be coded in the inter mode, the motion compensation is controlled so as not to use the image data included in the error macroblock.

【0025】図3は、ある符号化画像のスライス21の
構成を太線で囲んで示している。図中の×印は復号誤り
が発生したマクロブロック22の位置を示し、○印は正
常復帰したマクロブロック23の位置を示す。符号化制
御手段13は、誤り発生から正常復帰までの区間のマク
ロブロックに誤りマクロブロックの印を付ける。これを
図中では、△印で表している。
FIG. 3 shows the configuration of a slice 21 of a coded image by enclosing it with a thick line. The mark x in the figure indicates the position of the macroblock 22 where the decoding error has occurred, and the mark ○ indicates the position of the macroblock 23 that has returned to normal. The encoding control means 13 marks the macroblock in the section from the occurrence of the error to the return to normal as an error macroblock. This is indicated by a triangle in the figure.

【0026】次の画像を符号化する際に、誤りマクロブ
ロックをイントラモードで符号化するよう、動画像符号
化部1を制御する。これ以外のマクロブロックで、イン
ターモードで符号化するマクロブロックは、誤りマクロ
ブロックを含む領域の画像データを動き補償に使わない
ように制御される。
When coding the next picture, the moving picture coding unit 1 is controlled so that the error macroblock is coded in the intra mode. In the other macroblocks, macroblocks to be coded in the inter mode are controlled so that image data in a region including an error macroblock is not used for motion compensation.

【0027】図4は、動画像符号化復号化装置をマイク
ロプロセッサのプログラムとして実現する実施の形態を
示している。記録媒体31は、動画像符号化復号化の処
理を実現するプログラムを記録している。記録媒体31
は、磁気ディスク、半導体メモリその他の記録媒体で形
成され得る。動画像符号化復号化プログラムは、記録媒
体31からマイクロプロセッサ32に読み込まれ、マイ
クロプロセッサ32の動作を制御する。マイクロプロセ
ッサ32は、図2に示される既述の複数のステップを実
行する。シーケンス情報やマクロブロック数などの復号
処理に必要な情報は、メモリ33に記憶される。
FIG. 4 shows an embodiment in which the moving picture encoding / decoding apparatus is realized as a program of a microprocessor. The recording medium 31 stores a program for realizing a moving image encoding / decoding process. Recording medium 31
Can be formed of a magnetic disk, a semiconductor memory, or another recording medium. The moving image encoding / decoding program is read from the recording medium 31 by the microprocessor 32 and controls the operation of the microprocessor 32. The microprocessor 32 performs the above-described steps shown in FIG. Information necessary for decoding, such as sequence information and the number of macroblocks, is stored in the memory 33.

【0028】図1に示される回路ブロックは、送信側又
は受信側のみが示されている。この回路ブロックが送信
側と受信側で用いられることにより、双方向の通信が可
能になって、TV会議システムが構成され得る。このよ
うな動画像符号復号化装置の動作を実行するプログラム
は、記録媒体に入力される。
In the circuit block shown in FIG. 1, only the transmitting side or the receiving side is shown. By using this circuit block on the transmitting side and the receiving side, two-way communication becomes possible and a TV conference system can be configured. A program for executing the operation of such a moving picture coding / decoding apparatus is input to a recording medium.

【0029】[0029]

【発明の効果】本発明による動画像符号化復号化装置・
方法、その記録媒体は、復号誤りの発生したマクロブロ
ック番号と正常復帰したマクロブロック番号のみを通信
相手に通知すればよいので、動画像符号化データなどへ
の割り当て符号量の減少などの影響が少ない。
The moving picture encoding / decoding apparatus according to the present invention
Since the method and the recording medium need only notify the communication partner of the macroblock number at which the decoding error has occurred and the macroblock number at which the decoding has returned to normal, the influence of a decrease in the amount of code allocated to the moving picture coded data and the like is not affected. Few.

【0030】また、誤りの発生したマクロブロックをリ
フレッシュするので、劣化した画像が素早く正常な状態
に戻る。更に、誤りが発生しなかったマクロブロック
は、動き補償に制限はあるがインターモードで符号化す
るので、全てをイントラモードで符号化する場合と比較
して符号量の増加を抑えることができる。
Further, since the erroneous macro block is refreshed, the deteriorated image quickly returns to a normal state. Further, macroblocks in which no error has occurred are coded in the inter mode although there is a limitation in motion compensation, so that an increase in the code amount can be suppressed as compared with the case where all are coded in the intra mode.

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

【図1】図1は、本発明による動画像符号化復号化装置
の実施の形態を示す回路ブロック図である。
FIG. 1 is a circuit block diagram showing an embodiment of a moving picture encoding / decoding apparatus according to the present invention.

【図2】図2は、本発明による動画像符号化復号化方法
の実施の形態を示すフローチャートである。
FIG. 2 is a flowchart showing an embodiment of a moving picture encoding / decoding method according to the present invention.

【図3】図3は、動画像のブロックを示す図である。FIG. 3 is a diagram showing blocks of a moving image.

【図4】図4は、本発明による記録媒体の実施の形態を
示す回路ブロック図である。
FIG. 4 is a circuit block diagram showing an embodiment of a recording medium according to the present invention.

【図5】図5は、公知装置を示す回路ブロック図であ
る。
FIG. 5 is a circuit block diagram showing a known device.

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

12…マクロブロック番号通知部 13…符号化制御部 16E…誤り発生番号 16R…正常復帰番号 12 macroblock number notification unit 13 encoding control unit 16E error occurrence number 16R normal return number

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】復号誤りが発生している当方側マクロブロ
ックの誤り発生番号と、復号化が正常に復帰した当方側
マクロブロックの正常復帰番号とを相手側から受信する
受信部と、 前記誤り発生番号と前記正常復帰番号に基づいて、当方
側の送信対象の当方側動画像の圧縮符号化を制御する符
号化制御部とを含む動画像符号化復号化装置。
A receiving unit for receiving, from a partner, an error occurrence number of a macroblock on the transmission side in which a decoding error has occurred and a normal recovery number of a macroblock on the transmission side in which decoding has returned to normal; A moving image encoding / decoding apparatus including: an encoding control unit configured to control compression encoding of a current moving image to be transmitted on the current side based on an occurrence number and the normal recovery number.
【請求項2】請求項1において、 前記符号化制御部の前記制御は、次のピクチャの符号化
において、前記誤り発生番号と、前記正常復帰番号まで
の間の相手側に送信するマクロブロックの前記符号化を
イントラモードで実行することである動画像符号化復号
化装置。
2. The encoding control unit according to claim 1, wherein the control of the coding control unit is performed for a macroblock to be transmitted to the other party between the error occurrence number and the normal recovery number in the coding of the next picture. A moving picture coding / decoding apparatus which performs the coding in an intra mode.
【請求項3】請求項1又は2から選択される1請求項に
記載される動画像符号化装置と、 圧縮符号化が前記相手側でなされて前記相手側から送信
されてくる相手側動画像を受信して復号化する際に、復
号誤りが発生している相手側マクロブロックの誤り発生
番号と、復号化が正常に復帰した相手側マクロブロック
の正常復帰番号とを相手側に通知するマクロブロック番
号通知部とを含む動画像符号化復号化装置。
3. The moving picture coding apparatus according to claim 1, wherein the moving picture coding apparatus is selected from the claims 1 and 2, and compression coding is performed on the other party and transmitted from the other party. Macro that notifies the other party of the error occurrence number of the other-side macroblock in which a decoding error has occurred and the normal recovery number of the other-side macroblock whose decoding has returned to normal when receiving and decoding A moving image encoding / decoding device including a block number notifying unit.
【請求項4】圧縮符号化した当方側動画像を相手側に送
信すること、 前記当方側動画像を受信して復号誤りが発生したマクロ
ブロックの誤り発生番号と復号化が正常に復帰したマク
ロブロックの正常復帰番号を当方側に通知すること、 前記誤り発生番号のマクロブロックと前記正常復帰番号
のマクロブロックの時間的な間のマクロブロックを次の
ピクチャの符号化においてイントラモードで圧縮符号化
することとを含む動画像符号化復号化方法。
4. A compression-encoded transmitting side video is transmitted to the other party, and an error occurrence number of a macroblock in which a decoding error has occurred upon reception of the receiving side video and a macro whose decoding has been restored to normal. Notifying us of the normal return number of the block, and compressing and encoding the macroblock between the macroblock of the error occurrence number and the macroblock of the normal return number in intra mode in the encoding of the next picture And a moving image encoding / decoding method.
【請求項5】請求項4において、更に、 相手側動画像を受信して復号誤りが発生したマクロブロ
ックの誤り発生番号と復号化が正常に復帰したマクロブ
ロックの正常復帰番号を前記相手側に通知することを含
み、 前記相手側は、前記誤り発生番号のマクロブロックと前
記正常復帰番号のマクロブロックの時間的な間のマクロ
ブロックを次のピクチャの符号化においてイントラモー
ドで圧縮符号化する動画像符号化復号化方法。
5. The communication system according to claim 4, further comprising: an error occurrence number of a macroblock in which a decoding error has occurred in receiving the moving image of the other party and a normal recovery number of the macroblock in which decoding has been restored to the other party. A moving picture that compresses and encodes the macroblock between the macroblock of the error occurrence number and the macroblock of the normal return number in intra mode in the encoding of the next picture. Image encoding / decoding method.
【請求項6】請求項4又は5に記載された動画像符号化
復号化方法を実行するプログラムを記録した記録媒体。
6. A recording medium on which a program for executing the moving picture encoding / decoding method according to claim 4 is recorded.
JP30619999A 1999-10-28 1999-10-28 Device and method for encoding and decoding moving picture and recording method used for them Pending JP2001128161A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP30619999A JP2001128161A (en) 1999-10-28 1999-10-28 Device and method for encoding and decoding moving picture and recording method used for them
CA 2325065 CA2325065A1 (en) 1999-10-28 2000-10-27 Picture coding and decoding apparatus with less transmission amount

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30619999A JP2001128161A (en) 1999-10-28 1999-10-28 Device and method for encoding and decoding moving picture and recording method used for them

Publications (1)

Publication Number Publication Date
JP2001128161A true JP2001128161A (en) 2001-05-11

Family

ID=17954205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30619999A Pending JP2001128161A (en) 1999-10-28 1999-10-28 Device and method for encoding and decoding moving picture and recording method used for them

Country Status (2)

Country Link
JP (1) JP2001128161A (en)
CA (1) CA2325065A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0937245A (en) * 1995-07-14 1997-02-07 Oki Electric Ind Co Ltd Moving image transmission system and moving image transmitter
JPH1169355A (en) * 1997-08-20 1999-03-09 Sharp Corp Image transmitter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0937245A (en) * 1995-07-14 1997-02-07 Oki Electric Ind Co Ltd Moving image transmission system and moving image transmitter
JPH1169355A (en) * 1997-08-20 1999-03-09 Sharp Corp Image transmitter

Also Published As

Publication number Publication date
CA2325065A1 (en) 2001-04-28

Similar Documents

Publication Publication Date Title
US7212576B2 (en) Picture encoding method and apparatus and picture decoding method and apparatus
CA2431866C (en) Switching between bit-streams in video transmission
US20040114684A1 (en) Switching between bit-streams in video transmission
US8606025B2 (en) Encoding and decoding images using refreshed image and recovery point
US20030067637A1 (en) Video coding
JP2006505153A (en) Random access points in video coding
JP3630590B2 (en) Decoding device and transmission system
JP5155159B2 (en) Video decoding device
KR19980080602A (en) Method and apparatus for encoding video signal, and method and apparatus for decoding video signal
JP2007221411A (en) Image encoder and image decoder, image encoding and decoding method, and program thereof
US5706053A (en) Compressed motion video code processor
JP3245496B2 (en) Image encoding method, image encoding circuit, image encoding device, and playback device
JP2001128161A (en) Device and method for encoding and decoding moving picture and recording method used for them
JP3913726B2 (en) Multipoint video conference control device and multipoint video conference system
JP3956081B2 (en) Encoding method for digital video including gray shape information
JP3661879B2 (en) Image signal decoding method and image signal decoding apparatus
KR100626419B1 (en) Switching between bit-streams in video transmission
KR100252810B1 (en) Mpeg decoder
JPH10191348A (en) Moving image communication decoder and decoding method
JP2007151163A (en) Image decoding method and apparatus
JP2007124690A (en) Method for encoding and decoding digital motion video containing gray shape information

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040325