JP3496378B2 - Digital image decoding device and digital image decoding method - Google Patents

Digital image decoding device and digital image decoding method

Info

Publication number
JP3496378B2
JP3496378B2 JP33518495A JP33518495A JP3496378B2 JP 3496378 B2 JP3496378 B2 JP 3496378B2 JP 33518495 A JP33518495 A JP 33518495A JP 33518495 A JP33518495 A JP 33518495A JP 3496378 B2 JP3496378 B2 JP 3496378B2
Authority
JP
Japan
Prior art keywords
error
block
motion vector
motion
vector
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
JP33518495A
Other languages
Japanese (ja)
Other versions
JPH09182076A (en
Inventor
敏明 嶋田
英雄 大平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP33518495A priority Critical patent/JP3496378B2/en
Publication of JPH09182076A publication Critical patent/JPH09182076A/en
Application granted granted Critical
Publication of JP3496378B2 publication Critical patent/JP3496378B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル放送シス
テムやCATVシステムなどのシステムに関して、特にその
ディジタル画像復号装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system such as a digital broadcasting system and a CATV system, and more particularly to a digital image decoding apparatus for the system.

【0002】[0002]

【従来の技術】図16は例えば、「3-2-7 エラー耐
性」、中島他、テレビジョン学会誌 vol .49 No.4 pp4
63-464に示された画像復号装置のエラー復号に関する従
来の構成例である。図において560はIピクチャー
(Intra-Picture 、イントラ符号化画像)を示す。Iピ
クチャー560は例えば480×704画素より構成さ
れており、16×16画素のマクロブロックに分割され
ている。MPEG(Moving Pictures Expert Group)などの画
像間の予測符号化を用いた符号化方式は、一般にエラー
に対して弱い。これは、予測符号化が以前に復号された
画像から行われるためである。このため、一度エラーが
生じると、このエラーは時間方向に伝搬する。
2. Description of the Related Art FIG. 16 shows, for example, "3-2-7 Error Tolerance", Nakajima et al., Journal of the Television Society, vol.49 No.4 pp4.
It is the conventional structural example regarding the error decoding of the image decoding apparatus shown by 63-464. In the figure, reference numeral 560 denotes an I picture (Intra-Picture, intra-coded image). The I-picture 560 is composed of, for example, 480 × 704 pixels, and is divided into 16 × 16 pixel macroblocks. An encoding method using predictive encoding between images such as MPEG (Moving Pictures Expert Group) is generally weak against an error. This is because predictive coding is done from previously decoded images. Therefore, once an error occurs, this error propagates in the time direction.

【0003】エラーのコンシールメントとして最も簡単
な方法は、エラーで失われたブロックを、予測のための
参照画像から、動きを考慮せずそのままはめ込む方法で
ある。さらに、この性能を向上させようとした場合、動
きベクトルを用いて、参照画像から動き補償を行ってコ
ンシールメントする方法がある。これを実現するのが図
16に示すイントラコンシールメントベクトルである。
イントラコンシールメントベクトルは、I ピクチャ(Int
raピクチャ) 560の各マクロブロックに付加される。
このとき、この付加される動きベクトルは、自分自身の
ブロックの下に位置するブロックの動きベクトルであ
る。復号器は、伝送されてくる各マクロブロックのベク
トルを、横1列単位で記憶しておく。仮にブロックがエ
ラーで失われた場合、このブロックのベクトルは1列上
にすでに伝送され記憶されているので、これを用いてコ
ンシールメント処理を行う。
The simplest method for error concealment is to insert a block lost due to an error from a reference image for prediction as it is without considering motion. Further, in order to improve this performance, there is a method of performing motion compensation from a reference image and concealing using a motion vector. This is realized by the intra-concealment vector shown in FIG.
The intra-concealment vector is an I-picture (Int
ra picture) It is added to each macroblock of 560.
At this time, the added motion vector is the motion vector of the block located below the own block. The decoder stores the transmitted vector of each macroblock in units of horizontal row. If a block is lost due to an error, the vector of this block has already been transmitted and stored in one column, and this is used for concealment processing.

【0004】[0004]

【発明が解決しようとする課題】従来のディジタル復号
装置について、以上の様にコンシールメント処理されて
いるが、コンシールメント処理の方法に関しては1列上
のマクロブロックのベクトルを用いることのみしか記載
されておらず具体性に欠けるものがあった。例えば、エ
ラーを起こしたマクロブロックの下のラインのマクロブ
ロックでもエラーを起こしたとき、あるいは適用する動
きベクトルが有効領域外を示すときの対処についても記
載がない。従って、従来のディジタル復号装置では、例
えばエラーを起こしたマクロブロックの下のラインのマ
クロブロックでもエラーを起こしたとき、単に1列上の
マクロブロックを用いてコンシールメント処理すると結
局相関関係の少ないブロックを用いることになり、視覚
的にエラーの伝播が広がり、画像が乱れるという問題点
があった。
The conventional digital decoding apparatus has been subjected to the concealment processing as described above. However, regarding the method of the concealment processing, only the use of the macroblock vector on one column is described. There was something that lacked concreteness. For example, there is no description about how to deal with a case where an error occurs even in a macroblock in a line below the macroblock in which an error has occurred, or when a motion vector to be applied indicates outside the effective area. Therefore, in the conventional digital decoding apparatus, for example, when an error occurs even in a macroblock in a line below the macroblock in which an error has occurred, if concealment processing is simply performed using the macroblock one column up, the block having little correlation will be obtained. Therefore, there is a problem that the propagation of error spreads visually and the image is disturbed.

【0005】この発明は上記の様な問題点を解消するた
めになされたもので、エラーに対するコンシールメント
の実用性を高めたディジタル画像復号装置及びディジタ
ル画像復号方法に関するものである。
The present invention has been made in order to solve the above problems, and relates to a digital image decoding apparatus and a digital image decoding method in which the practicality of concealment against an error is improved.

【0006】[0006]

【課題を解決するための手段】第1の発明に係るディジ
タル画像復号装置は、ブロックのエラーを検出するエラ
ー検出手段と、複数の動きベクトルをブロック毎に記憶
する動きベクトル記憶手段と、ブロックの動きベクトル
を設定する動きベクトル設定手段と、動きベクトル設定
手段に設定された動きベクトルにより動き補償復号を行
う動き補償復号手段とを有し、エラー検出手段によりエ
ラーが検出された場合に、前記動きベクトル設定手段
は、きベクトル記憶手段に記憶された当該エラーブロ
ックの近傍のブロックの複数の動きベクトルを一つまた
は複数読み出し当該読み出した動きベクトルに基づいて
算出した一つまたは複数の動きベクトルを設定するもの
である。
According to a first aspect of the present invention, there is provided a digital image decoding apparatus which comprises an error detecting means for detecting a block error, a motion vector storing means for storing a plurality of motion vectors for each block, and a block It has a motion vector setting means for setting a motion vector and a motion compensation decoding means for performing motion compensation decoding by the motion vector set in the motion vector setting means, and when the error is detected by the error detecting means, the motion vector setting means, one also a plurality of motion vectors of neighboring blocks of the error block stored in the motion-out vector storage means
Based on the read motion vector
Calculated one or more motion vectors is used for setting the.

【0007】第2の発明に係るディジタル画像復号装置
は、レームの最上段のブロックについて前記エラー検
出手段によりエラーが検出された場合には、前記動きベ
クトル設定手段は当該エラーが検出されたブロックの動
きベクトルとしてゼロベクトルを設定するものである。
[0007] The digital image decoding apparatus according to the second invention, the block when an error is detected by said error detecting means for the uppermost block of the frame, the motion vector setting means in which the error is detected A zero vector is set as the motion vector of.

【0008】[0008]

【0009】[0009]

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】 第の発明に係るディジタル画像復号装
置は、第の発明に係る動きベクトル記憶手段が、前記
複数のベクトルのうち当該フレームに時間的に近いフレ
ームの動きベクトルを優先的に選択するものとしたもの
である。
[0013] The digital image decoding apparatus according to the third invention, the motion vector storage means according to the first invention, to select the motion vector of the temporally close frames to the frame of the plurality of vectors preferentially It is intended.

【0014】 第の発明に係るディジタル画像復号装
置は、第の発明に係る動きベクトル記憶手段を前記複
数のベクトルのうち当該フレームよりも時間的に過去の
フレームの動きベクトルを優先的に選択するものとした
ものである。
A digital image decoding device according to a fourth aspect of the present invention uses the motion vector storage means according to the first aspect of the present invention to preferentially select a motion vector of a frame temporally past the frame of the plurality of vectors. It is something that is supposed to be done.

【0015】 第の発明に係るディジタル画像復号装
置は、記エラー検出手段によりエラーが検出された場
合に、前記動きベクトル設定手段は前記動きベクトル記
憶手段に記憶された複数のブロックの中から当該エラー
ブロックの近傍のブロックの複数の動きベクトルのうち
頻度の一番多いベクトルを選択し設定するものである。
The digital image decoding apparatus according to the fifth invention, when an error is detected by the pre-Symbol error detection means, said motion vector setting means from among a plurality of blocks stored in the motion vector storage unit A vector having the highest frequency is selected and set from among a plurality of motion vectors of blocks near the error block.

【0016】[0016]

【0017】 第の発明に係るディジタル画像復号方
法は、ブロックのエラーを検出するエラー検出ステップ
と、エラー検出ステップにおいてエラーが検出された場
合には、当該エラーが検出されたブロックの動きベクト
ルとして動きベクトル記憶手段にゼロベクトルを記憶す
るステップと、前記ベクトル記憶手段に記憶された当該
エラーブロックの近傍のブロックの動きベクトルをベク
トル設定手段に設定しエラーブロックに隣接するブロッ
クよりもさらに離れているブロックの動きベクトルを使
用しないステップと、前記エラー検出ステップにおいて
エラーが検出されない場合には、当該ブロックの動きベ
クトルを動きベクトル設定手段に設定し、当該ブロック
の動きベクトルをベクトル記憶手段に記憶するステップ
と、前記動きベクトル設定手段に設定された動きベクト
ルにより動き補償復号を行う動き補償復号ステップとを
有するものである。
A digital image decoding method according to a sixth aspect of the present invention is an error detecting step of detecting an error in a block, and when an error is detected in the error detecting step, a motion vector of the block in which the error is detected is used. A step of storing a zero vector in the motion vector storage means, and a motion vector of a block in the vicinity of the error block stored in the vector storage means is set in the vector setting means, and is further separated from a block adjacent to the error block. A step of not using the motion vector of the block, and a step of setting the motion vector of the block in the motion vector setting means and storing the motion vector of the block in the vector storage means when no error is detected in the error detecting step. And the motion vector And a motion compensation decoding step of performing motion compensation decoding using the motion vector set in the video setting unit.

【0018】 第の発明に係るディジタル画像復号方
法は、ブロックのエラーを検出するエラーステップと、
フレームの最上段のブロックについて前記エラー検出手
段によりエラーが検出された場合には、当該エラーが検
出されたブロックの動きベクトルとしてゼロベクトルを
動きベクトル設定手段に設定するステップと、動きベク
トル設定手段に設定された動きベクトルにより動き補償
復号を行う動き補償復号ステップを有するものである。
A digital image decoding method according to a seventh aspect of the present invention comprises an error step of detecting a block error,
When an error is detected by the error detecting means in the uppermost block of the frame, a step of setting a zero vector in the motion vector setting means as a motion vector of the block in which the error is detected, It has a motion compensation decoding step of performing motion compensation decoding with the set motion vector.

【0019】[0019]

【0020】[0020]

【0021】 第の発明に係るディジタル画像復号方
法は、ブロックのエラーを検出するエラー検出ステップ
と、前記複数の動きベクトルよりいずれか一つの動きベ
クトルを選択して当該選択された動きベクトルをブロッ
ク毎に記憶するベクトル記憶ステップと、前記エラー検
出ステップにおいてエラーが検出された場合に、前記動
きベクトル記憶手段に記憶された当該エラーブロックの
近傍のブロックの動きベクトルを動きベクトル設定手段
に設定するステップと、動きベクトル設定手段に設定さ
れた動きベクトルにより動き補償復号を行う動き補償復
号ステップとを有するものである。
A digital image decoding method according to an eighth aspect of the present invention is an error detecting step of detecting an error of a block, and one of the plurality of motion vectors is selected to block the selected motion vector. And a step of setting a motion vector of a block near the error block stored in the motion vector storage means to a motion vector setting means when an error is detected in the error storage step. And a motion compensation decoding step of performing motion compensation decoding using the motion vector set in the motion vector setting means.

【0022】 第の発明に係るディジタル画像復号方
法は、ブロックのエラーを検出するエラー検出ステップ
と、前記複数のブロックの動きベクトルを動きベクトル
記憶手段に記憶する動きベクトル記憶ステップと、前記
エラー検出ステップにおいてエラーが検出された場合
に、前記動きベクトル記憶手段に記憶された複数のブロ
ックの中から当該エラーブロックの近傍のブロックの複
数の動きベクトルのうち頻度の一番多いベクトルを選択
し設定する動きベクトル設定ステップと、動きベクトル
設定ステップにおいて設定された動きベクトルにより動
き補償復号を行う動き補償復号ステップとを有するもの
である。
A digital image decoding method according to a ninth aspect of the invention is an error detecting step of detecting a block error, a motion vector storing step of storing motion vectors of the plurality of blocks in a motion vector storing means, and the error detecting step. When an error is detected in the step, the vector having the highest frequency is selected and set from among the plurality of motion vectors of the blocks in the vicinity of the error block from the plurality of blocks stored in the motion vector storage means. It has a motion vector setting step and a motion compensation decoding step of performing motion compensation decoding with the motion vector set in the motion vector setting step.

【0023】 第10の発明に係るディジタル画像復号
方法は、ブロックのエラーを検出するエラー検出ステッ
プと、複数の動きベクトルをブロック毎に動きベクトル
記憶手段に記憶するベクトル記憶ステップと、エラー検
出ステップにおいてエラーが検出された場合に、前記動
きベクトル記憶手段に記憶された当該エラーブロックの
近傍のブロックの複数の動きベクトルを一つまたは複数
読み出し当該読み出した動きベクトルに基づいて算出し
た一つまたは複数の動きベクトルを設定する動きベクト
ル設定ステップと、動きベクトル設定手段に設定された
動きベクトルにより動き補償復号を行う動き補償復号ス
テップとを有するものである。
A digital image decoding method according to a tenth aspect of the present invention comprises an error detection step of detecting an error in a block, a vector storage step of storing a plurality of motion vectors in each block in a motion vector storage means, and an error detection step. When an error is detected, one or more of the plurality of motion vectors of the blocks in the vicinity of the error block stored in the motion vector storage unit are read out and one or more of the plurality of motion vectors calculated based on the read out motion vector are read out. It has a motion vector setting step of setting a motion vector and a motion compensation decoding step of performing motion compensation decoding by the motion vector set in the motion vector setting means.

【0024】[0024]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

発明の実施の形態1.以下、この発明における復号装置
の一発明の実施の形態を図1、図2、図3について説明
する。図1はこの発明の実施の形態に係る復号装置を示
すブロック図、図2はこの発明の実施の形態に係る動き
ベクトル記憶メモリを示す構成図、図3はこの発明の実
施の形態に係る動きベクトルの設定を示す図である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiment 1 of the Invention Hereinafter, an embodiment of an invention of a decoding device according to the present invention will be described with reference to FIGS. 1 is a block diagram showing a decoding apparatus according to an embodiment of the present invention, FIG. 2 is a block diagram showing a motion vector storage memory according to an embodiment of the present invention, and FIG. 3 is a motion according to an embodiment of the present invention. It is a figure which shows the setting of a vector.

【0025】図1において、100は復号部、101は
エラー検出手段として機能するエラー検出部、102は
動きベクトル記憶手段として機能する動きベクトル記憶
部、103はベクトル設定手段として機能するベクトル
設定部、104はフレームメモリ、105は動き補償復
号手段として機能する動き補償復号部、200は符号化
データ、201はエラー解析用符号化データ、202は
エラーフラグ、203は復号された動きベクトル、20
4は差分復号データ、205は動きベクトル、206は
設定された動きベクトル、207および208は予測画
像データ、209は加算器、210は復号画像データ、
211は指示信号である。
In FIG. 1, 100 is a decoding unit, 101 is an error detection unit that functions as an error detection unit, 102 is a motion vector storage unit that functions as a motion vector storage unit, 103 is a vector setting unit that functions as a vector setting unit, Reference numeral 104 is a frame memory, 105 is a motion compensation decoding unit that functions as motion compensation decoding means, 200 is encoded data, 201 is error analysis encoded data, 202 is an error flag, 203 is a decoded motion vector, and 20
4 is differential decoded data, 205 is a motion vector, 206 is a set motion vector, 207 and 208 are predicted image data, 209 is an adder, 210 is decoded image data,
Reference numeral 211 is an instruction signal.

【0026】図2において300は各ブロックにおける
動きベクトル格納場所であり、ブロック毎に動きベクト
ルが格納されている。図1と同一記号は同一またはそれ
相当の内容を示す。図3において、310は1フレーム
の画像、311はエラーブロック、312はエラーブロ
ックの真上に位置する復号正常ブロック、313は復号
正常ブロックの動きベクトル、314はエラーブロック
に対して設定された動きベクトルである。
In FIG. 2, reference numeral 300 denotes a motion vector storage location in each block, in which a motion vector is stored for each block. The same symbols as those in FIG. 1 indicate the same or corresponding contents. In FIG. 3, 310 is an image of one frame, 311 is an error block, 312 is a decoded normal block located immediately above the error block, 313 is a motion vector of the decoded normal block, and 314 is a motion set for the error block. Is a vector.

【0027】次に図1、図2、図3をもとに動作を説明
する。図1に示すように、復号部100では入力した符
号化データ200の復号処理を行う。符号化方式は1フ
レームをいくつかのブロックに分割してそれぞれのブロ
ック毎に符号化し、かつ時間的に近傍のフレーム間で動
き補償予測をブロック毎に行う方式(たとえばH.261, M
PEG1/2やベクトル量子化など)とする。なお、発明の実
施の形態において符号化および復号の順序は便宜上、左
上より右方向へ、右端の次は下段の左端より右方向へ順
次行うものとする。
Next, the operation will be described with reference to FIGS. 1, 2 and 3. As shown in FIG. 1, the decoding unit 100 decodes the input encoded data 200. The coding method is a method in which one frame is divided into several blocks, each block is coded, and motion-compensated prediction is performed for each block between temporally neighboring frames (for example, H.261, M
PEG1 / 2 and vector quantization). In the embodiment of the present invention, the order of encoding and decoding is sequentially from the upper left to the right, and from the right end to the lower left end to the right.

【0028】エラー検出部101では、エラー解析用符
号化データ201をもとに、復号部100で復号中にエ
ラーがあるかどうかを検出する。たとえば、入力した符
号化データ200を可変長復号している最中にエラー解
析用符号化データ201を解析してエラーの検出を行
う。エラー解析用符号化データ201は符号化データ2
00のうちヘッダデータのみでも符号化データ200そ
のものでもよく、その復号装置で必要とされるエラーが
検出できるデータであればよく本発明を限定するもので
はない。エラーが検出された場合は、復号部100にエ
ラーフラグ202を出力する。
The error detecting section 101 detects whether or not there is an error during decoding in the decoding section 100 based on the error analysis coded data 201. For example, the coded data for error analysis 201 is analyzed to detect an error while the input coded data 200 is being subjected to variable length decoding. Coded data for error analysis 201 is coded data 2
Of 00, only header data or encoded data 200 itself may be used, and the present invention is not limited as long as the data can detect an error required by the decoding device. When an error is detected, the error flag 202 is output to the decoding unit 100.

【0029】復号部100では、現在符号化しているブ
ロックの動き補償復号ベクトル203を動きベクトル記
憶部102へ出力する。動きベクトル記憶部102は、
この動き補償復号ベクトル203を所定の動きベクトル
格納場所300に記憶する。この動きベクトル記憶部1
02は水平1ブロックライン分の記憶容量を持つ。
The decoding unit 100 outputs the motion compensation decoded vector 203 of the currently encoded block to the motion vector storage unit 102. The motion vector storage unit 102
This motion compensation decoded vector 203 is stored in a predetermined motion vector storage location 300. This motion vector storage unit 1
02 has a storage capacity for one horizontal block line.

【0030】復号部100でエラーフラグ202を受け
取った場合、すなわち復号中にエラーが検出された場
合、復号部100よりベクトル設定部103に対してエ
ラーブロック用の動きベクトルを設定するように指示信
号211が発行される。ベクトル設定部103では動き
ベクトル記憶部102の所定の場所に記憶された動きベ
クトル205(例えば図3に示すようにエラーブロック
311の真上に位置するブロック312に相当するベク
トル)を設定する。これは動画において一般的にあるブ
ロックとそのブロックの近傍のブロックとは相関関係が
あるという傾向を利用している。
When the decoding unit 100 receives the error flag 202, that is, when an error is detected during decoding, the decoding unit 100 instructs the vector setting unit 103 to set the motion vector for the error block. 211 is issued. The vector setting unit 103 sets a motion vector 205 (for example, a vector corresponding to the block 312 located directly above the error block 311 as shown in FIG. 3) stored in a predetermined location of the motion vector storage unit 102. This utilizes the tendency that a block is generally correlated with a block in the vicinity of the block in a moving image.

【0031】図3においてブロック312とブロック3
11とで動きが異なれば、311のブロックに対して3
12のベクトルを適用することは効果的でないが、ブロ
ック311、312共に同一方向に動いている画像の一
部のブロックであればブロック311でエラーが生じて
も311のブロックに対して312のベクトルを適用す
ることは効果的である。動きベクトルに関して近傍のブ
ロックと相関関係が強いほど効果を発揮する。
Block 312 and block 3 in FIG.
If the movement is different for 11 and 3 for the block of 311
It is not effective to apply the 12 vectors, but if the blocks 311 and 312 are some blocks of an image moving in the same direction, even if an error occurs in the block 311, the vectors of the 311 are 312 vectors. Applying is effective. The stronger the correlation with the neighboring block in the motion vector, the more effective it is.

【0032】ベクトル設定部103で動きベクトル20
5を設定した後、復号部100よりベクトル0(すなわ
ち動きベクトル無し)を動きベクトル記憶部102へ転
送して記憶される。これは、エラーブロックの動きベク
トルが予測不能なためである。エラーがない状態では、
復号部100で復号された動き補償復号ベクトル203
は動きベクトル記憶部102において所定の位置に記憶
された後、そのままベクトル設定部103に出力され動
き補償復号部105へ出力される。
The motion vector 20 is set in the vector setting unit 103.
After setting 5, the vector 0 (that is, no motion vector) is transferred from the decoding unit 100 to the motion vector storage unit 102 and stored therein. This is because the motion vector of the error block is unpredictable. With no errors,
Motion compensation decoded vector 203 decoded by the decoding unit 100
After being stored at a predetermined position in the motion vector storage unit 102, is output to the vector setting unit 103 as it is and output to the motion compensation decoding unit 105.

【0033】動き補償復号部105では入力した動きベ
クトル206に従い、時間的に近傍な予測フレームを格
納するフレームメモリ104より予測画像データ207
を読み出し加算器209へ出力する。
In the motion compensation decoding unit 105, according to the input motion vector 206, the predicted image data 207 is obtained from the frame memory 104 which stores prediction frames temporally close to each other.
Is output to the adder 209.

【0034】加算器209では復号部100より出力さ
れた差分復号データ204および動き補償復号部105
より出力された予測画像データ208を加算する。加算
結果は復号画像データ210として表示装置へ出力され
ると共に、次フレームの予測に使用する場合はフレーム
メモリ104へ出力される。次のエラーブロック311
の真下にあるブロック(以下ブロックAとする)がエラ
ーブロックである場合には、動きベクトル記憶部102
の中で、エラーブロック311に対応する位置に記憶さ
れたベクトル0を動きベクトル設定部103に設定する
ことになる。エラーブロック311の真上のブロック3
12はブロックAから見て2ブロック上になる。したが
って、ブロックAに隣接するブロックよりもさらに離れ
ているブロック312の方が一般的に相関関係が低くな
るので、この実施の形態では2ブロック離れた動きベク
トルは使用していない。
In the adder 209, the differential decoded data 204 output from the decoding unit 100 and the motion compensation decoding unit 105
The predicted image data 208 output by the above is added. The addition result is output to the display device as the decoded image data 210, and is output to the frame memory 104 when used for prediction of the next frame. Next error block 311
When the block immediately below (hereinafter referred to as block A) is an error block, the motion vector storage unit 102
In this case, the vector 0 stored in the position corresponding to the error block 311 is set in the motion vector setting unit 103. Block 3 immediately above the error block 311
12 is two blocks above block A. Therefore, since the block 312 further distant from the block adjacent to the block A generally has a lower correlation, the motion vector separated by two blocks is not used in this embodiment.

【0035】ただし、画像フレームの中の広い部分で画
像が動く場合などは、2ブロック以上離れていても動き
ベクトルの相関関係が強い場合も存在し得るため、他の
実施の形態として2ブロック以上離れたブロックの動き
ベクトルに基づいたベクトルをブロックAに適用しても
よい。また、実施の形態1でエラーブロック311自身
のベクトルを0にしてエラーブロック311の真下のブ
ロックAにその0ベクトルを適用したのは、ブロック
11のエラーの影響が周辺のブロックに波及するのを抑
制するためである。時間的に連続した復号フレームを見
た場合、ベクトルを0にすることによりエラーが修復さ
れるまでの間は時間が経過してもエラーブロックが固定
位置に張り付いたように見える。0でなければベクトル
に応じてエラーブロックの画像が更新されることにな
り、場合によっては再生画像が乱れたように見えること
もあり得る。
However, when the image moves in a wide portion of the image frame, there may be a case where the correlation between the motion vectors is strong even if they are separated by 2 blocks or more. Therefore, as another embodiment, 2 blocks or more. A vector based on the motion vector of the distant block may be applied to block A. In the first embodiment, the vector of the error block 311 itself is set to 0, and the 0 vector is applied to the block A immediately below the error block 311 is the block 3
This is because the influence of the error 11 is prevented from spreading to surrounding blocks. When looking at a decoded frame that is continuous in time, it seems that the error block sticks to the fixed position even if time elapses until the error is repaired by setting the vector to 0. If it is not 0, the image of the error block is updated according to the vector, and in some cases, the reproduced image may appear distorted.

【0036】以上のようにこの発明の実施の形態に記載
された発明に係るディジタル画像復号装置は、ブロック
のエラーを検出するエラー検出手段と、ブロックの動き
ベクトルを記憶する動きベクトル記憶手段と、ブロック
の動きベクトルを設定する動きベクトル設定手段と、動
きベクトル設定手段に設定された動きベクトルにより動
き補償復号を行う動き補償復号手段とを有し、エラー検
出手段によりエラーが検出された場合に、前記動きベク
トル設定手段は前記動きベクトル記憶手段に記憶された
当該エラーブロックの近傍のブロックの動きベクトルを
設定し、前記動きベクトル記憶手段は当該エラーが検出
されたブロックの動きベクトルとしてゼロベクトルを記
憶するので、エラーの状態を低減するとともにエラーの
伝播を抑制できるという効果を奏する。
As described above, the digital image decoding apparatus according to the invention described in the embodiments of the present invention includes error detecting means for detecting a block error, motion vector storage means for storing a motion vector of the block, It has a motion vector setting means for setting the motion vector of the block and a motion compensation decoding means for performing motion compensation decoding by the motion vector set in the motion vector setting means, and when an error is detected by the error detecting means, The motion vector setting means sets a motion vector of a block near the error block stored in the motion vector storage means, and the motion vector storage means stores a zero vector as a motion vector of a block in which the error is detected. Therefore, it is possible to reduce the error state and suppress the error propagation. The effect say.

【0037】尚、上記発明の実施の形態では、エラーブ
ロックが数ラインに亘って続いて場合、最初のエラーブ
ロックのみ動きベクトル設定部103に近傍の正常ブロ
ックの動きベクトルを設定し、動きベクトル記憶部10
2に0を設定するようにしたが、これに限定されず、エ
ラーブロックが数ラインに亘って続いた場合には任意の
ラインまでは、動きベクトル設定部でエラーブロックに
適用するベクトルとして近傍の正常ブロックの動きベク
トルを設定し、その次のラインからエラーブロックに対
して動きベクトル記憶部102に0を設定してもよい。
In the embodiment of the invention described above, when the error block continues for several lines, only the first error block is set with the motion vector of the neighboring normal block in the motion vector setting unit 103, and the motion vector is stored. Part 10
Although 2 is set to 0, the present invention is not limited to this, and when an error block continues for several lines, up to an arbitrary line, a motion vector setting unit can be used as a vector to be applied to the error block in the vicinity. The motion vector of the normal block may be set, and 0 may be set in the motion vector storage unit 102 for the error block from the next line.

【0038】発明の実施の形態2.この発明の実施の形
態は、画像フレームの最上段のブロックでエラーを検出
した場合の動作に関するものである。復号装置は図1に
示す構成と同じである。図4は、この発明の実施の形態
に係る動きベクトル設定部のフローチャート、図5はこ
の発明の実施の形態に係る動きベクトルの設定を示す図
である。図5において、図3と同一記号は、同一または
同一相当の内容を示す。
Second Embodiment of the Invention The embodiment of the present invention relates to the operation when an error is detected in the uppermost block of an image frame. The decoding device has the same configuration as that shown in FIG. FIG. 4 is a flowchart of the motion vector setting unit according to the embodiment of the present invention, and FIG. 5 is a diagram showing motion vector setting according to the embodiment of the present invention. 5, the same symbols as those in FIG. 3 indicate the same or the same contents.

【0039】次に図4、図5を用いて動作を説明する。
動きベクトル設定部103では、復号部100からのエ
ラー発生の指示信号211によりエラーブロック311
の近傍のブロック例えば真上のブロックの動きベクトル
205をエラーブロックの動きベクトルとして動きベク
トル記憶部102より取り出す。次にエラーブロック3
11が画像フレームの最上段か否かを判断する(ステッ
プ401)。
Next, the operation will be described with reference to FIGS.
The motion vector setting unit 103 receives the error block 311 according to the error occurrence instruction signal 211 from the decoding unit 100.
A motion vector 205 of a block in the vicinity of, for example, a block immediately above is extracted from the motion vector storage unit 102 as a motion vector of an error block. Next is error block 3
It is determined whether 11 is the uppermost row of the image frame (step 401).

【0040】エラーブロック311が画像フレーム31
0の最上段のブロックラインに位置する場合、図5に示
すようにエラーブロック311の動きベクトルを‘0’
とする(ステップ403)。これは最上段の上には動き
ベクトルを参照するブロックが存在しないためである。
一方、ステップ401においてエラーブロックが画像フ
レームの最上段ではないと判断した場合には、エラーブ
ロックの動きベクトルとして、真上のブロックの動きベ
クトルを用いる(ステップ402)。
The error block 311 is the image frame 31.
If the block is located at the top block line of 0, the motion vector of the error block 311 is set to "0" as shown in FIG.
(Step 403). This is because there is no block that refers to the motion vector above the top row.
On the other hand, if it is determined in step 401 that the error block is not at the top of the image frame, the motion vector of the block immediately above is used as the motion vector of the error block (step 402).

【0041】この発明の実施の形態2に記載された発明
に係るディジタル画像復号装置は、ブロックのエラーを
検出するエラー検出手段と、ブロックの動きベクトルを
設定する動きベクトル設定手段と、動きベクトル設定手
段に設定された動きベクトルにより動き補償復号を行う
動き補償復号手段とを有し、フレームの最上段のブロッ
クについて前記エラー検出手段によりエラーが検出され
た場合には、前記動きベクトル設定手段は当該エラーが
検出されたブロックの動きベクトルとしてゼロベクトル
を設定するので、領域外の部分のデータを参照せず、エ
ラーコンシールメントに際し画像を乱さないという効果
を奏する。
The digital image decoding apparatus according to the invention described in the second embodiment of the present invention is an error detecting means for detecting a block error, a motion vector setting means for setting a block motion vector, and a motion vector setting. Motion compensation decoding means for performing motion compensation decoding with the motion vector set in the means, and when an error is detected by the error detecting means in the uppermost block of the frame, the motion vector setting means Since the zero vector is set as the motion vector of the block in which the error is detected, the data outside the region is not referred to, and the effect of not disturbing the image during error concealment is obtained.

【0042】発明の実施の形態3.図6は、この発明の
実施の形態3に係る動きベクトル記憶メモリーを示す構
成図である。復号装置は図1に示す構成と同じである。
図6において、図2と同一番号は、同一または同一相当
の内容を示す。図3および図6を用いてこの発明の実施
の形態に係る復号装置の動作を説明する。この発明の実
施の形態に係る動きベクトル記憶部102では、1ブロ
ックライン分の動きベクトルを記憶できる。ここで、正
常に復号されればブロックの動きベクトルは、所定の位
置の格納場所たとえば300a に格納される。
Third Embodiment of the Invention FIG. 6 is a configuration diagram showing a motion vector storage memory according to the third embodiment of the present invention. The decoding device has the same configuration as that shown in FIG.
6, the same reference numerals as those in FIG. 2 indicate the same or equivalent contents. The operation of the decoding apparatus according to the embodiment of the present invention will be described with reference to FIGS. 3 and 6. The motion vector storage unit 102 according to the embodiment of the present invention can store a motion vector for one block line. Here, if the block is decoded normally, the motion vector of the block is stored in a storage location at a predetermined position, for example, 300a.

【0043】エラーが起こったブロックに対しては、エ
ラーブロックの真上のブロック(以下の第7図に示すよ
うに、エラーブロック311に対する正常復号ブロック
312)の動きベクトルを動きベクトル格納場所300
n より読み出して動きベクトル設定部103へ出力した
後、エラーブロック311自身の動きベクトルとして動
きベクトル格納場所300n には‘0’を書き込む。
For the block in which the error has occurred, the motion vector of the block immediately above the error block (the normal decoding block 312 for the error block 311 as shown in FIG. 7 below) is set to the motion vector storage location 300.
After being read from n and output to the motion vector setting unit 103, "0" is written in the motion vector storage location 300n as the motion vector of the error block 311 itself.

【0044】これはエラーブロックの動きベクトルはエ
ラーにより予測不能であるためで、「動きベクトル無
し」とみなし動きベクトルを‘0’とする。‘0’とす
ることにより、エラーブロックの真下のブロックがさら
にエラーブロックとなった場合、真下のブロックは動き
ベクトル格納場所300n から動きベクトルを読み出す
ためさきに設定した‘0’を読み出すことになる。この
ようにすると、誤りが画像フレームの縦方向のブロック
に生じて真上のエラーブロックに相当する動きベクトル
を用いて自身のエラーブロックの動き補償予測を行わな
ければならない場合でも、エラーの伝播が必要以上に広
がらないように抑制する。
This is because the motion vector of the error block is unpredictable due to an error, and is regarded as "no motion vector" and the motion vector is set to "0". By setting to "0", when the block directly below the error block becomes an error block further, the block immediately below reads "0" set to read the motion vector from the motion vector storage location 300n. . In this way, even if an error occurs in a block in the vertical direction of the image frame and the motion vector corresponding to the error block directly above must be used to perform motion-compensated prediction of its own error block, the error propagation is prevented. Control so that it does not spread more than necessary.

【0045】もし、エラーブロックの動きベクトルとし
てエラーブロックのヘッダ情報にある信用できないベク
トルをそのまま用いるとすると、誤ったベクトルを引き
継いで後方のブロックの復号を行うことになる。エラー
ブロックの動きベクトルを‘0’とすることにより、参
照する予測画像フレームと同一な画像を予測画像として
取り出すので時間的な画像変化がなく視覚的にエラーの
伝播が必要以上に広がらない様に見える効果がある。ま
た、エラーブロック以降のブロックの復号に対してもエ
ラーの伝播を抑制する効果がある。
If the untrusted vector in the header information of the error block is used as it is as the motion vector of the error block, the erroneous vector is taken over and the subsequent block is decoded. By setting the motion vector of the error block to '0', the same image as the reference predicted image frame is extracted as the predicted image, so that there is no temporal image change and the error propagation does not spread unnecessarily. There is a visible effect. Further, it has an effect of suppressing the error propagation even when decoding the blocks after the error block.

【0046】上記例では、エラーが発生したブロックに
対して、近傍ブロックとして同一フレーム上の一ブロッ
クライン上かつ真上のブロックをそのブロックの動きベ
クトルとして使用する場合、図3に示す様にあるエラー
が発生したエラーブロック31の動きベクトルをエラ
ーブロックの真上に位置する正常処理ブロック312の
動きベクトル313をエラーブロックの動きベクトル3
14としたが、エラーブロックの左のブロックすなわち
直前に復号されたブロックの動きベクトルやエラーブロ
ックの近傍のブロック(ただしエラーブロックでないこ
とが推認されすでに復号されているブロック)の動きベ
クトルを用いてもよく、本発明を制限するものではな
い。
In the above example, when a block on the same frame as a neighboring block and a block immediately above is used as a motion vector for a block in which an error has occurred, it is as shown in FIG. The motion vector of the error block 3 1 in which the error has occurred is set to the motion vector 313 of the normal processing block 312 located immediately above the error block and the motion vector 3 of the error block.
However, using the motion vector of the block on the left of the error block, that is, the block decoded immediately before, or the block near the error block (however, the block that has already been decoded because it is estimated not to be an error block) However, this does not limit the present invention.

【0047】また、上記発明の実施の形態では1ブロッ
クライン分の動きベクトルを記憶するようにしたが、特
に1ブロックライン分に限定する必要はなく、エラーコ
ンシールの内容に応じてメモリの容量を変えてもよく、
本発明を制限するものではない。
Further, in the embodiment of the invention described above, the motion vector for one block line is stored, but it is not particularly limited to one block line, and the capacity of the memory can be changed according to the contents of the error concealment. You can change it,
It does not limit the invention.

【0048】以上のようにこの発明の実施の形態3に記
載された発明に係るディジタル画像復号装置は、ブロッ
クのエラーを検出するエラー検出手段と、ブロックの動
きベクトルを記憶する動きベクトル記憶手段と、ブロッ
クの動きベクトルを設定する動きベクトル設定手段と、
動きベクトル設定手段に設定された動きベクトルにより
動き補償復号を行う動き補償復号手段とを有し、エラー
検出手段によりエラーが検出された場合に、前記動きベ
クトル設定手段は前記動きベクトル記憶手段に記憶され
た当該エラーブロックの近傍のブロックの動きベクトル
を設定し、前記動きベクトル記憶手段は当該エラーが検
出されたブロックの動きベクトルとしてゼロベクトルを
記憶するので、エラーの状態を低減するとともにエラー
の伝播を抑制できるという効果を奏する。
As described above, the digital image decoding apparatus according to the invention described in the third embodiment of the present invention includes an error detecting means for detecting a block error and a motion vector storing means for storing a motion vector of the block. , A motion vector setting means for setting the motion vector of the block,
A motion compensation decoding means for performing motion compensation decoding by the motion vector set in the motion vector setting means, and when an error is detected by the error detection means, the motion vector setting means stores the motion vector storage means in the motion vector storage means. The motion vector of the block adjacent to the error block is set, and the motion vector storage means stores a zero vector as the motion vector of the block in which the error is detected. Therefore, the error state is reduced and the error is propagated. There is an effect that can suppress.

【0049】発明の実施の形態4.図7はこの発明の実
施の形態4に係る動きベクトルの設定を示す図である。
図7において、図3と同一番号は、同一または同一相当
の内容を示す。図8はこの発明の実施の形態4に係る動
きベクトル設定部の動作を示すフローである。復号装置
は図1に示す構成と同一である。
Fourth Embodiment of the Invention FIG. 7 is a diagram showing setting of motion vectors according to Embodiment 4 of the present invention.
In FIG. 7, the same numbers as those in FIG. 3 indicate the same or equivalent contents. FIG. 8 is a flow showing the operation of the motion vector setting unit according to the fourth embodiment of the present invention. The decoding device has the same configuration as that shown in FIG.

【0050】次に図7および図8を用いて動作を説明す
る。動きベクトル設定部103では、復号部100から
のエラー発生の指示信号211によりエラーブロックの
近傍の(図7では真上のもしくは真左横の)ブロックに
相当する動きベクトル205を動きベクトル記憶部10
2より取り出す。この動きベクトル205をエラーブロ
ック311に適用した場合に画像フレーム310から外
に出るかどうかを判断する(ステップ801)。
Next, the operation will be described with reference to FIGS. 7 and 8. In the motion vector setting unit 103, the motion vector storage unit 10 stores a motion vector 205 corresponding to a block near the error block (directly above or just to the left of FIG. 7) in response to an error occurrence instruction signal 211 from the decoding unit 100.
Take out from 2. When the motion vector 205 is applied to the error block 311, it is determined whether the motion vector 205 goes out of the image frame 310 (step 801).

【0051】その動きベクトル205をエラーブロック
311に適用すると画像フレーム310からはみ出す場
合、動きベクトル設定部103は、動きベクトルを
‘0’に設定する(ステップ803)。これは、適用し
た動きベクトルでは予測が不能なためで、動きベクトル
を‘0’にした理由は復号するエラーブロックと予測画
像と比して時間的に画像の変化がないようにするためで
ある。
When the motion vector 205 is applied to the error block 311, and if the motion vector 205 is out of the image frame 310, the motion vector setting unit 103 sets the motion vector to "0" (step 803). This is because the applied motion vector cannot predict, and the reason for setting the motion vector to "0" is to prevent the image from changing temporally compared with the error block to be decoded and the predicted image. .

【0052】動きベクトル205をエラーブロック31
1に適用した場合に画像フレーム310からはみ出さな
い場合には、動きベクトル設定部102はこの動きベク
トルを設定する(ステップ802)。
The motion vector 205 is set to the error block 31.
When applied to No. 1, if the image frame 310 does not run off, the motion vector setting unit 102 sets this motion vector (step 802).

【0053】図7では、エラーブロック311の真上の
ブロック312の動きベクトル313を適用したベクト
ル323が予測無効領域を指し示す例と、エラーブロッ
ク311の真左横のブロック316の動きベクトル31
7を適用したベクトル327が予測無効領域を指し示す
例を表している。
In FIG. 7, an example in which the vector 323 to which the motion vector 313 of the block 312 immediately above the error block 311 is applied points to the prediction invalid area, and the motion vector 31 of the block 316 just to the left of the error block 311 is shown.
The vector 327 to which 7 is applied represents an example of pointing to the prediction invalid region.

【0054】この発明の実施の形態に係るディジタル画
像復号装置は、ブロックのエラーを検出するエラー検出
手段と、ブロックの動きベクトルを記憶する動きベクト
ル記憶手段と、ブロックの動きベクトルを設定する動き
ベクトル設定手段と、動きベクトル設定手段に設定され
た動きベクトルにより動き補償復号を行う動き補償復号
手段とを有し、前記エラー検出手段によりエラーが検出
された場合であって、当該エラーが検出されたエラーブ
ロックの近傍のブロックの動きベクトルを当該エラーブ
ロックの動きベクトルとして設定したときに前記フレー
ム外の無効領域を指し示す場合には、前記ベクトル設定
手段は前記動きベクトル記憶手段より読み出した当該エ
ラーブロックの近傍のブロックの動きベクトルを短縮処
理した後に設定するので、範囲外のデータで予測を行う
ことを防止するという効果を奏する。
The digital image decoding apparatus according to the embodiment of the present invention comprises an error detecting means for detecting a block error, a motion vector storing means for storing a block motion vector, and a motion vector for setting a block motion vector. It has a setting means and a motion compensation decoding means for performing motion compensation decoding by the motion vector set in the motion vector setting means, and when an error is detected by the error detecting means, the error is detected. When the motion vector of the block near the error block is set as the motion vector of the error block, when pointing to the invalid area outside the frame, the vector setting unit reads the error block of the error block read from the motion vector storage unit. Set after the motion vectors of neighboring blocks are shortened Since, the effect of preventing to perform the prediction is out of range data.

【0055】特にベクトル設定手段を短縮処理としてゼ
ロベクトルを設定するので、確実かつ簡易に範囲外のデ
ータで予測を行うことを防止するという効果を奏する。
In particular, since the zero vector is set by the vector setting means as a shortening process, there is an effect that it is possible to reliably and easily prevent the prediction with the data outside the range.

【0056】発明の実施の形態5.図9は、発明の実施
の形態5に係る動きベクトルの設定を示す図である。図
9において、第3図および図7と同一番号は、同一また
は同一相当の内容を示す。図10は、発明の実施の形態
5に係る復号装置の動作を示すフローである。復号装置
は図1に示す構成と同一である。
Fifth Embodiment of the Invention FIG. 9 is a diagram showing setting of motion vectors according to the fifth embodiment of the invention. In FIG. 9, the same numbers as those in FIGS. 3 and 7 indicate the same or equivalent contents. FIG. 10 is a flow showing the operation of the decoding device according to the fifth embodiment of the invention. The decoding device has the same configuration as that shown in FIG.

【0057】次に図9および図10を用いて動作を説明
する。動きベクトル設定部103では、復号部100か
らのエラー発生の指示信号211によりエラーブロック
の近傍の(図9では真上のもしくは真左横の)ブロック
に相当する動きベクトル205を動きベクトル記憶部1
02より取り出す。
Next, the operation will be described with reference to FIGS. 9 and 10. In the motion vector setting unit 103, the motion vector storage unit 1 stores a motion vector 205 corresponding to a block near the error block (directly above or just to the left of FIG. 9) in response to an error occurrence instruction signal 211 from the decoding unit 100.
Take out from 02.

【0058】まず、その動きベクトル205をエラーブ
ロック311に適用すると画像フレーム310からはみ
出す場合か否かを判断する(ステップ1001)。その
動きベクトル205をエラーブロック311に適用する
と画像フレーム310からはみ出す場合、動きベクトル
設定部103は、動きベクトルをフレームの境界すなわ
ち予測領域有効限界にベクトルを短縮して設定する(ス
テップ1003)。これは、適用した動きベクトルでは
予測が不能なためで、動きベクトルを短縮して設定した
理由は、復号するエラーブロックが再現する動きをエラ
ーブロックの近傍のブロックの動きになるべく合わせる
ことにより近傍のブロックと比して空間的に画像の変化
をできるだけ少なくするためである。
First, when the motion vector 205 is applied to the error block 311, it is judged whether or not the motion vector 205 is out of the image frame 310 (step 1001). If the motion vector 205 is applied to the error block 311, and the motion vector 205 extends beyond the image frame 310, the motion vector setting unit 103 sets the motion vector by shortening the vector to the frame boundary, that is, the prediction region effective limit (step 1003). This is because the applied motion vector cannot predict, so the reason why the motion vector is shortened and set is that by matching the motion reproduced by the error block to be decoded to the motion of the block near the error block, This is to minimize the change in the image spatially as compared with the block.

【0059】ステップ1001において、動きベクトル
205をエラーブロック311に適用すると画像フレー
ム310からはみ出さないと判断した場合には、エラー
ブロックの動きベクトルとして真上のブロックの動きベ
クトルを用いる。
If it is determined in step 1001 that the motion vector 205 is applied to the error block 311 and does not extend from the image frame 310, the motion vector of the block immediately above is used as the motion vector of the error block.

【0060】発明の実施の形態4では時間的に画像の変
化がないようにするためであるのに対して、発明の実施
の形態5は上述したように空間的に画像の変化をできる
だけ少なくするためであるのが特徴である。
In the fourth embodiment of the invention, there is no temporal change in the image, whereas in the fifth embodiment of the invention, the change in the image is spatially minimized as described above. This is because of the reason.

【0061】このようにこの発明の実施の形態に記載さ
れた発明によれば、ディジタル画像復号装置は、ベクト
ル設定手段を短縮処理として当該フレームの有効領域限
界までのベクトルに短縮するので、エラーブロックの近
傍のブロックの動きベクトルと近いベクトルにより補償
することができ、時間的または空間的に再現性をよりよ
くしたエラーコンシールメントができるという効果を奏
する。
As described above, according to the invention described in the embodiments of the present invention, since the digital image decoding apparatus shortens the vector setting means to a vector up to the effective area limit of the frame as a shortening process, the error block It is possible to perform compensation by using a motion vector of a block near the block and a vector close to the block, and it is possible to perform error concealment with better reproducibility in terms of time or space.

【0062】図9では、エラーブロック311の真上の
ブロック312の動きベクトル313を予測可能限界ま
で短縮して適用したベクトル324の例と、エラーブロ
ック311の真左横のブロック316の動きベクトル3
17を予測可能限界まで短縮して適用したベクトル32
8の例を表している。
In FIG. 9, an example of the vector 324 in which the motion vector 313 of the block 312 immediately above the error block 311 is shortened to the predictable limit and applied, and the motion vector 3 of the block 316 just to the left of the error block 311 is shown.
Vector 32 that is applied by reducing 17 to the predictable limit
8 shows an example.

【0063】発明の実施の形態6.図11は、発明の実
施の形態6に係る動きベクトルの設定を示す図である。
図11において、図3、図7、図9、図12および図1
3と同一番号は、同一または同一相当の内容を示す。復
号装置の構成は図1と同一の構成である。
Sixth Embodiment of the Invention FIG. 11 is a diagram showing setting of motion vectors according to the sixth embodiment of the invention.
11, FIG. 3, FIG. 9, FIG. 12, FIG.
The same numbers as 3 indicate the same or equivalent contents. The configuration of the decoding device is the same as that of FIG.

【0064】次に図11について動作を説明する。現在
復号しているフレーム310の復号途中でエラーが検出
された場合、現エラーブロック311に対して上記発明
の実施の形態の復号処理を行うだけでなく、現在のエラ
ーの影響がおよばない次の復号単位の直前までのすべて
のブロック315に対してもエラーブロックと見なして
上記発明の実施の形態の処理行う。
Next, the operation will be described with reference to FIG. When an error is detected during the decoding of the frame 310 currently being decoded, not only the decoding process according to the above-described embodiment of the present invention is performed on the current error block 311, but also the next error that is not affected by the current error is detected. All blocks 315 up to immediately before the decoding unit are also regarded as error blocks, and the processing of the embodiment of the present invention is performed.

【0065】現エラーブロック311の次のブロックが
現エラーブロック311とは独立して復号できる場合
は、現エラーブロック311のみをエラー処理して次ブ
ロック以降のブロック315は正常時の復号処理をする
ことができる。ただし、次のブロックが現エラーブロッ
ク311のパラメータやデータに基づいて復号する場合
は、現在のエラーを引き継ぐためその後たとえ動作的に
は異常がなく復号されても結果的にはエラーブロックに
なる。
If the block next to the current error block 311 can be decoded independently of the current error block 311, only the current error block 311 is subjected to error processing, and the subsequent blocks 315 and subsequent blocks are subjected to normal decoding processing. be able to. However, when the next block is decoded based on the parameters and data of the current error block 311, the current error is taken over, so that even if there is no abnormality in operation thereafter, the result will be an error block.

【0066】したがって、現エラーブロック311の次
のブロックが現エラーブロック311とは独立して復号
できるかどうかの識別を行う回路を挿入し、独立なら次
ブロック以降のブロック315は正常時の復号処理をす
るようにしてもよい。ただ一般的には隣接するブロック
同士は相関関係が強く、たとえばブロック間で直流成分
や動きベクトルの差分を取りその差分信号を符号化する
など符号化効率を上げるためにブロック間の相関関係を
利用する場合が多い。
Therefore, a circuit for identifying whether the block next to the current error block 311 can be decoded independently of the current error block 311 is inserted, and if it is independent, the subsequent blocks 315 and subsequent blocks 315 are decoded normally. You may be allowed to do. However, in general, adjacent blocks have a strong correlation with each other. For example, the correlation between blocks is used to improve the coding efficiency by, for example, calculating the difference between DC components and motion vectors between the blocks and coding the difference signal. Often.

【0067】したがって、上記のような一般的な符号化
データを復号する場合は、エラーが検出されたブロック
以降315は現在のエラーの影響がおよばない次の復号
単位の直前までのすべてのブロック315に対しては強
制的に一律エラーブロックと見なして処理する方法があ
り、その場合前記識別回路などの特別な回路を追加する
必要がない。ただし、隣接するブロックが独立して復号
できる場合、正常に復号できるブロックも一律エラーブ
ロックとして処理されてしまう。したがって、次に復号
する隣接ブロックが現エラーブロックとは独立して復号
可能かどうか識別し、独立復号可能な場合は隣接ブロッ
ク以降は次に新たなエラーが検出されるまで正常に復号
が行えるようにする。この動作を現エラーの影響がおよ
ばない次の復号単位(たとえばスライス単位やピクチャ
単位など)の直前までの各ブロックについて行う。この
ようにエラーの影響をエラーを起こしたブロックになる
べくとどめるようにすることにより、エラーの伝播を抑
制するだけでなく、より再現性の高いエラーコンシール
メントが行える。
Therefore, in the case of decoding the general coded data as described above, the blocks 315 after the error is detected are all blocks 315 up to immediately before the next decoding unit which is not affected by the current error. There is a method of forcibly treating it as a uniform error block, and in that case, it is not necessary to add a special circuit such as the identification circuit. However, when adjacent blocks can be independently decoded, the blocks that can be normally decoded are also processed as uniform error blocks. Therefore, it is identified whether or not the adjacent block to be decoded next can be decoded independently of the current error block, and if independent decoding is possible, it is possible to perform normal decoding after the adjacent block until the next new error is detected. To This operation is performed for each block up to immediately before the next decoding unit (for example, slice unit or picture unit) which is not affected by the current error. By thus limiting the influence of the error to the block in which the error has occurred, not only the propagation of the error is suppressed, but also error concealment with higher reproducibility can be performed.

【0068】この発明の実施の形態に記載された発明に
係るディジタル画像復号装置は、ブロックのエラーを検
出するエラー検出手段と、ブロックとこのブロックと隣
接し次に復号する隣接ブロックとが独立して復号可能か
どうか識別する識別手段と、前記ブロックの動きベクト
ルを設定する動きベクトル設定手段と、動きベクトル設
定手段に設定された動きベクトルにより動き補償復号を
行う動き補償復号手段とを有し、前記エラー検出手段に
よりエラーが検出された場合であって、前記識別手段に
より当該エラーブロックと隣接し次に復号する隣接ブロ
ックが当該エラーブロックと独立して復号できないと識
別した場合には、前記動きベクトル設定手段は当該隣接
ブロックもエラーブロックとして動きベクトルを設定す
るので、エラーブロック以降のブロックがエラーを引き
継ぐ可能性がある場合にエラーの伝播を抑制できるとい
う効果を奏する。
In the digital image decoding apparatus according to the invention described in the embodiments of the present invention, the error detecting means for detecting an error in a block and the block and an adjacent block which is adjacent to this block and is to be decoded next are independent. And a motion vector setting means for setting the motion vector of the block, and a motion compensation decoding means for performing motion compensation decoding by the motion vector set in the motion vector setting means, When an error is detected by the error detecting means, and when the identifying block determines that the adjacent block that is adjacent to the error block and is to be decoded next cannot be decoded independently of the error block, the motion Since the vector setting means sets a motion vector also as an error block for the adjacent block, the error block is set. If the click after block might take over error is an effect of suppressing the propagation of the errors.

【0069】発明の実施の形態7.図12は、この発明
の実施の形態7に係る動きベクトルの設定を示す図であ
る。図12において、図3、図7、図9および図13と
同一番号は、同一または同一相当の内容を示す。復号装
置は図1で示した構成と同一である。
Seventh Embodiment of the Invention FIG. 12 is a diagram showing setting of motion vectors according to Embodiment 7 of the present invention. 12, the same numbers as those in FIGS. 3, 7, 9 and 13 indicate the same or the same contents. The decoding device has the same configuration as that shown in FIG.

【0070】図において302、303、304、31
0、330、331はそれぞれ画像フレームである。動
きベクトル342、352はフレーム302に対応する
正常ブロック312の動きベクトルであり、動きベクト
ル343、353はフレーム331に対応する正常ブロ
ック312の動きベクトルである。1フレームは2フィ
ールドより構成される場合があり、その各フィールドよ
り動きベクトルを求めた場合には、このように1フレー
ムより2つの動きベクトルが算出される場合がある。
In the figure, 302, 303, 304, 31
Reference numerals 0, 330, and 331 are image frames. The motion vectors 342 and 352 are motion vectors of the normal block 312 corresponding to the frame 302, and the motion vectors 343 and 353 are motion vectors of the normal block 312 corresponding to the frame 331. One frame may consist of two fields, and when a motion vector is obtained from each field, two motion vectors may be calculated from one frame in this way.

【0071】次に図12について動作を説明する。現在
復号しているフレーム310が時間的に過去のフレーム
302および時間的に未来のフレーム331を予測画像
として復号する場合、正常な復号時はブロック312で
予測に使用するフレーム302に対応する動き補償ベク
トル342、352およびフレーム331の各フィール
ドに対応する動き補償ベクトル343、353あるいは
何れか一方の予測フレームの2つのベクトルを用いる。
フレーム310でエラーが発生した場合、エラーブロッ
ク311の動き補償ベクトルとして上記エラーブロック
311の近傍のブロック(図12では真上)の動き補償
ベクトル342、343、352、353のうち何れか
一つの動き補償ベクトルを適用する。
Next, the operation will be described with reference to FIG. When the currently decoding frame 310 decodes the temporally past frame 302 and the temporally future frame 331 as prediction images, the motion compensation corresponding to the frame 302 used for prediction is performed in block 312 during normal decoding. Two vectors of the prediction frames of the vectors 342 and 352 and the motion compensation vectors 343 and 353 corresponding to each field of the frame 331 are used.
When an error occurs in the frame 310, one of the motion compensation vectors 342, 343, 352, 353 of a block (directly above in FIG. 12) near the error block 311 is used as a motion compensation vector of the error block 311. Apply the compensation vector.

【0072】これは、エラーブロックの近傍のブロック
のすべての動き補償ベクトルを用いてもエラーブロック
の再現性が必ずしも向上するとは限らず、またすべての
ベクトルを記憶するメモリが必要になるためである。一
部の数のベクトルのみ適用することによりエラーブロッ
ク用のベクトル記憶メモリを減らすことができ、すべて
の動き補償ベクトルを用いた場合と比較してエラーブロ
ックの再現性に余り差がないことが一般的にいえる。
This is because the reproducibility of error blocks is not always improved even if all motion compensation vectors of blocks near the error block are used, and a memory for storing all vectors is required. . The vector storage memory for error blocks can be reduced by applying only a part of the number of vectors, and the reproducibility of error blocks is generally the same as when using all motion compensation vectors. I can say it.

【0073】たとえば、ベクトル342、343、35
2、353すべてを使用して動き補償を行う場合、ベク
トル342、343は同一フレームのベクトルであり、
同様にベクトル352、353は同一フレームのベクト
ルであるため、同一フレーム内のそれぞれのベクトル3
42、343またはベクトル352、353から予測さ
れる画像はほとんどの場合ほぼ同一もしくは類似のもの
である。
For example, vectors 342, 343, 35.
When motion compensation is performed using all 2, 353, the vectors 342 and 343 are vectors of the same frame,
Similarly, since the vectors 352 and 353 are vectors of the same frame, each vector 3 in the same frame is
Images predicted from 42, 343 or vectors 352, 353 are almost always the same or similar.

【0074】また、動き予測を行う場合、上記4つのベ
クトルから予測される画像に基づいて予測が行われるた
め、4つの画像が同一もしくは類似の画像でなければも
ともとの符号化データが符号化効率が悪い上予測効率が
悪いことになる。たとえば4つのベクトルから予測され
る画像に基づいた予測が4つの予測画像(あるいは34
2と343をペアにし352と353をペアにした2つ
のフレーム予測画像)の算術平均画像を用いるものであ
った場合、いずれか1つでも類似でない画像がれば的
外れな予測画像となるため算術平均を取る意味がなくな
ってしまう。
Further, in the case of performing motion estimation, since the prediction is performed based on the image predicted from the above four vectors, if the four images are not the same or similar images, the original coded data has the coding efficiency. Is bad and the prediction efficiency is poor. For example, the prediction based on the image predicted from the four vectors is the four predicted images (or 34
2 and 343 if the were those using the arithmetic mean image is 352 and the two-frame predicted image 353 pairs) pairs, irrelevant predicted image, and therefore if Re image Oh dissimilar any one There is no point in taking the arithmetic mean.

【0075】したがって、符号化効率及び予測効率を考
慮して符号化されたデータであることを前提にするので
あれば、たとえば上記4つのベクトルより予測される画
像は何れもほぼ同一もしくは類似の画像であるというこ
とができる。
Therefore, assuming that the data is coded in consideration of the coding efficiency and the prediction efficiency, for example, the images predicted from the above four vectors are all the same or similar images. It can be said that

【0076】以上の理由からエラーブロックの近傍のブ
ロックの一部の数の動き補償ベクトルを用いて動き補償
を行っても、すべての動き補償ベクトルを用いた場合と
比較してもエラーブロックの再現性に余り差がないこと
が説明できる。
For the above reason, even if motion compensation is performed using the motion compensation vectors of the number of blocks in the vicinity of the error block, the error block is reproduced whether compared with the case where all the motion compensation vectors are used. Explain that there is not much difference in sex.

【0077】なお、この発明の実施の形態では各フィー
ルドに対応する動き補償ベクトルについて記述したが、
各ブロックを分割しそれぞれ分割されたサブブロックに
対応する動き補償ベクトルであってもよい。また、時間
的に差異のある複数のベクトルであってもよく、ある任
意のブロックに使用される複数の動き補償ベクトルがフ
ィールドに対応するものだけではないことは明白であ
り、フィールドに対応する動き補償ベクトル以外の動き
補償ベクトルを用いてもよく本発明を制限するものでは
ないことは明らかである。
Although the motion compensation vector corresponding to each field is described in the embodiment of the present invention,
It may be a motion compensation vector corresponding to each subblock obtained by dividing each block. It is also clear that there may be multiple vectors that differ in time, and that the multiple motion compensation vectors used for any given block are not the only ones corresponding to the field, and the motion corresponding to the field Obviously, a motion compensation vector other than the compensation vector may be used and does not limit the present invention.

【0078】この発明の実施の形態に記載された発明に
係るディジタル画像復号装置は、ブロックのエラーを検
出するエラー検出手段と、複数の動きベクトルより動き
ベクトルを選択して当該選択された動きベクトルをブロ
ック毎に記憶する動きベクトル記憶手段と、ブロックの
動きベクトルを設定する動きベクトル設定手段と、動き
ベクトル設定手段に設定された動きベクトルにより動き
補償復号を行う動き補償復号手段とを有し、エラー検出
手段によりエラーが検出された場合に、前記動きベクト
ル設定手段は前記動きベクトル記憶手段に記憶された当
該エラーブロックの近傍のブロックの動きベクトルを設
定するので、より少ないハードウエアで、エラーブロッ
クに対してより再現性の良い、効率的なエラーコンシー
ルメント処理を行うことができるという効果を奏する。
The digital image decoding apparatus according to the invention described in the embodiments of the present invention comprises an error detecting means for detecting an error in a block and a motion vector selected from a plurality of motion vectors. A motion vector storage means for storing each block, a motion vector setting means for setting a motion vector of the block, and a motion compensation decoding means for performing motion compensation decoding by the motion vector set in the motion vector setting means, When an error is detected by the error detecting means, the motion vector setting means sets the motion vector of the block in the vicinity of the error block stored in the motion vector storage means. For more reproducible and efficient error concealment There is an effect that it is possible.

【0079】発明の実施の形態8.図13は、この発明
の実施の形態8及び発明の実施の形態9に係る動きベク
トルの設定を示す図である。図13において、図3、図
7および図9と同一番号は、同一または同一相当の内容
を示す。復号装置は図1で示した構成と同一である。
Eighth Embodiment of the Invention FIG. 13 is a diagram showing setting of motion vectors according to the eighth embodiment and the ninth embodiment of the present invention. 13, the same numbers as those in FIGS. 3, 7, and 9 indicate the same or the same contents. The decoding device has the same configuration as that shown in FIG.

【0080】次に図13について動作を説明する。現在
復号しているフレーム310が時間的に過去のフレーム
302および時間的に未来のフレーム331を予測画像
として復号する場合、正常な復号時はブロック312で
予測に使用するフレーム302に対応する動き補償ベク
トル342およびフレーム331に対応する動き補償ベ
クトル343あるいは何れか一方を用いる。
Next, the operation will be described with reference to FIG. When the currently decoding frame 310 decodes the temporally past frame 302 and the temporally future frame 331 as prediction images, the motion compensation corresponding to the frame 302 used for prediction is performed in block 312 during normal decoding. Either the vector 342 and / or the motion compensation vector 343 corresponding to the frame 331 is used.

【0081】フレーム310でエラーが発生した場合、
エラーブロック311の動き補償ベクトルとして上記エ
ラーブロック311の近傍のブロック(図13では真
上)の動き補償ベクトル342および343のうちフレ
ーム310に時間的に近いフレーム331の動き補償ベ
クトル343を適用する。
If an error occurs in frame 310,
As the motion compensation vector of the error block 311, the motion compensation vector 343 of the frame 331 temporally close to the frame 310 of the motion compensation vectors 342 and 343 of the blocks (directly above in FIG. 13) near the error block 311 is applied.

【0082】これは、複数の動き補償ベクトルを用いて
もエラーブロックの再現性が必ずしも向上するとは限ら
ず、また複数分のベクトルを記憶するメモリが必要にな
るためである。一つのベクトルのみを適用することによ
りエラーブロック用のベクトル記憶メモリを最小限にす
ることができる。また、フレーム310に時間的に近い
フレーム331の動き補償ベクトル343を適用した理
由は、一般的に被写体が動いている場合時間的に近い方
の予測フレームより予測画像を取りだした方が再現性が
高いからである。
This is because the use of a plurality of motion compensation vectors does not necessarily improve the reproducibility of error blocks, and requires a memory for storing a plurality of vectors. Vector storage memory for error blocks can be minimized by applying only one vector. Further, the reason why the motion compensation vector 343 of the frame 331 that is temporally close to the frame 310 is applied is that reproducibility is generally better when a predicted image is extracted than a temporally closer predicted frame when the subject is moving. Because it is expensive.

【0083】以上のようにこの発明の実施の形態に記載
された発明に係るディジタル画像復号装置は、動きベク
トル記憶手段が、前記複数のベクトルのうち当該フレー
ムに時間的に近いフレームの動きベクトルを優先的に選
択するものとしたので、エラーが起こったとき、そのエ
ラーブロックに対してより再現性の良い、効率的なエラ
ーコンシールメント処理を行うことができるという効果
を奏する。
As described above, in the digital image decoding apparatus according to the invention described in the embodiment of the present invention, the motion vector storage means stores the motion vector of the frame temporally close to the frame among the plurality of vectors. Since the selection is performed with priority, when an error occurs, the error block can be subjected to an error concealment process with better reproducibility and efficiency.

【0084】発明の実施の形態9.次に図13について
この発明の実施の形態9に係る復号装置の動作を説明す
る。現在復号しているフレーム310が時間的に過去の
フレーム302および時間的に未来のフレーム331を
予測画像として復号する場合、正常な復号時はブロック
312で予測に使用するフレーム302に対応する動き
補償ベクトル342およびフレーム331に対応する動
き補償ベクトル343あるいは何れか一方を用いる。
Ninth Embodiment of the Invention Next, the operation of the decoding apparatus according to Embodiment 9 of the present invention will be described with reference to FIG. When the currently decoding frame 310 decodes the temporally past frame 302 and the temporally future frame 331 as prediction images, the motion compensation corresponding to the frame 302 used for prediction is performed in block 312 during normal decoding. Either the vector 342 and / or the motion compensation vector 343 corresponding to the frame 331 is used.

【0085】フレーム310でエラーが発生した場合、
エラーブロック311の動き補償ベクトルとして上記エ
ラーブロック311の近傍のブロック(図13では真
上)の動き補償ベクトル342および343のうちフレ
ーム310より以前に復号されたフレーム302の動き
補償ベクトル342を適用する。
If an error occurs in frame 310,
As the motion compensation vector of the error block 311, the motion compensation vector 342 of the frame 302 decoded before the frame 310 is applied among the motion compensation vectors 342 and 343 of the blocks (directly above in FIG. 13) near the error block 311. .

【0086】これは、複数の動き補償ベクトルを用いて
もエラーブロックの再現性が必ずしも向上するとは限ら
ず、また複数分のベクトルを記憶するメモリが必要にな
るためである。一つのベクトルを適用することによりエ
ラーブロック用のベクトル記憶メモリを最小限にするこ
とができる。ただし、目的に応じてメモリ容量を問わず
に少しでも再現性の高いエラーコンシールメントが行え
るように複数の動きベクトルのうちすべてもしくは一部
を選択して、選択した動きベクトルに基づいた動きベク
トルをエラーブロックに適用することもあり得る。つま
り、「選択」という表現の何れか一つのベクトルを選択
するという狭義の意味ではなく、上記説明のようにすべ
てもしくは一部(一つも含む)のベクトルを選択すると
いう意味である。「選択」に関する意味は他の実施の形
態についても同様である。
This is because the use of a plurality of motion compensation vectors does not always improve the reproducibility of the error block, and requires a memory for storing a plurality of vectors. Vector storage memory for error blocks can be minimized by applying one vector. However, depending on the purpose, select all or some of the multiple motion vectors so that error concealment with a high degree of reproducibility can be performed regardless of memory capacity, and then select a motion vector based on the selected motion vector. It can also be applied to error blocks. That is, it does not mean that any one of the expressions "selection" is selected in the narrow sense, but it means that all or some (including one) vectors are selected as described above. The meaning of “selection” is the same as in the other embodiments.

【0087】また、フレーム310より以前に復号され
たフレーム302の動き補償ベクトル342を適用した
理由は、常に過去のフレームからの動き補償ベクトルを
適用することにより「過去」か「未来」かを表すパラメ
ータを記憶する必要がなく、発明の実施の形態8では時
間的に近い方が「過去」か「未来」か何れの場合もあり
得て再現性が高いという特徴があるが、発明の実施の形
態9では適用するベクトルを「過去」のベクトルに限定
することにより、発明の実施の形態8に比べエラーブロ
ック用のベクトル記憶メモリを少なくすることができ
る。
The reason why the motion compensation vector 342 of the frame 302 decoded before the frame 310 is applied is always "past" or "future" by applying the motion compensation vector from the past frame. It is not necessary to store the parameter, and the eighth embodiment of the invention has a characteristic that the nearer in time can be either “past” or “future” and has high reproducibility. In the ninth embodiment, by limiting the applied vector to the “past” vector, it is possible to reduce the vector storage memory for the error block as compared with the eighth embodiment of the invention.

【0088】以上のようにこの発明の実施の形態に記載
された発明に係るディジタル画像復号装置は、動きベク
トル記憶手段を前記複数のベクトルのうち当該フレーム
よりも時間的に過去のフレームの動きベクトルを優先的
に選択するものとしたので、未来の画像フレームを考慮
する必要のないため、より少ないハードウエアで、エラ
ーブロックに対してより再現性の良い、効率的なエラー
コンシールメント処理が行うことができるという効果を
奏する。
As described above, in the digital image decoding apparatus according to the invention described in the embodiment of the present invention, the motion vector storage means stores the motion vector of a frame temporally past the frame among the plurality of vectors. Since there is no need to consider future image frames, it is possible to perform reproducible and efficient error concealment processing on error blocks with less hardware, since it has been selected with priority. There is an effect that can be.

【0089】発明の実施の形態10.図14はこの発明
の実施の形態10に係る動きベクトルの設定を示す図で
ある。図14において、図3、図7、図9および図13
と同一番号は、同一または同一相当の内容を示す。復号
装置は図1で示した構成と同一である。
Tenth Embodiment of the Invention FIG. 14 is a diagram showing setting of motion vectors according to Embodiment 10 of the present invention. 14, FIG. 3, FIG. 7, FIG. 9 and FIG.
The same numbers as and indicate the same or equivalent contents. The decoding device has the same configuration as that shown in FIG.

【0090】上記各実施の形態では、エラーが発生した
ブロックに対して、近傍ブロックとして同一フレームの
一ブロックライン上でありなおかつ真上のブロックをそ
のブロックの動きベクトルとして使用する例を挙げ、図
3に示すようにエラーが発生したエラーブロックの真上
に位置する正常処理ブロック312の動きベクトル31
3を適用した。
In each of the above-described embodiments, an example in which a block which is on the one block line of the same frame as the neighboring block and is immediately above is used as the motion vector of the block in which an error has occurred is described. As shown in 3, the motion vector 31 of the normal processing block 312 located immediately above the error block in which the error has occurred
3 was applied.

【0091】しかしながら、ブロック312の動きベク
トル313だけではなく、エラーブロックの左のブロッ
ク316すなわち直前に復号されたブロックの動きベク
トル317やエラーブロックの真左ブロック318の動
きベクトル319、エラーブロックの真上右ブロック3
20の動きベクトル321などエラーブロックの近傍の
ブロックの動きベクトルに基づいた動きベクトルを用い
てもよく、本発明を制限するものではない。
However, not only the motion vector 313 of the block 312, but also the motion vector 317 of the block 316 to the left of the error block, that is, the motion vector 317 of the block just decoded or the true vector of the left block 318 of the error block, the true vector of the error block. Upper right block 3
A motion vector based on a motion vector of a block near the error block, such as 20 motion vectors 321, may be used, and the present invention is not limited thereto.

【0092】ここでいう「基づいたベクトル」とは前記
何れか1つあるいは複数の動きベクトルそのものを適用
した動きベクトルであっても、前記複数の動きベクトル
の算術平均あるいは前記複数の動きベクトルのうち頻度
の一番多いベクトルであってもよく、本発明を制限する
ものではない。つまりエラーブロックが元々持っていた
動きベクトルにできるだけ近いと思われるようなベクト
ルを算出する方法によりベクトルを求めるのが目的であ
る。
The “based vector” referred to here is a motion vector to which any one or a plurality of motion vectors is applied, even if it is an arithmetic mean of the plurality of motion vectors or the plurality of motion vectors. It may be the vector with the highest frequency and does not limit the invention. In other words, the purpose is to obtain a vector by a method of calculating a vector that is as close as possible to the motion vector originally held by the error block.

【0093】これは動画において一般的にあるブロック
とそのブロックの近傍のブロックとは相関関係があると
いう傾向を利用している。動きベクトルに関して近傍の
ブロックと相関関係が強いほど動きベクトルの再現性が
高いという効果を発揮するのはいうまでもない。
This utilizes the tendency that a certain block is generally correlated with a block in the vicinity of the block in a moving image. It goes without saying that the stronger the correlation between the motion vector and the neighboring blocks, the higher the reproducibility of the motion vector.

【0094】この発明の実施の形態に記載された発明に
係るディジタル画像復号装置は、ブロックのエラーを検
出するエラー検出手段と、前記複数のブロックの動きベ
クトルを記憶する動きベクトル記憶手段と、前記ブロッ
クの動きベクトルを設定する動きベクトル設定手段と、
動きベクトル設定手段に設定された動きベクトルにより
動き補償復号を行う動き補償復号手段とを有し、前記エ
ラー検出手段によりエラーが検出された場合に、前記動
きベクトル設定手段は前記動きベクトル記憶手段に記憶
された複数のブロックの中から当該エラーブロックに適
する動きベクトルを選択し設定するので、エラーが起こ
ったとき、そのエラーブロックに対してより再現性の良
い、効率的なエラーコンシールメント処理が行えるとい
う効果を奏する。
The digital image decoding apparatus according to the invention described in the embodiments of the present invention includes an error detecting means for detecting a block error, a motion vector storing means for storing motion vectors of the plurality of blocks, and Motion vector setting means for setting the motion vector of the block,
A motion compensation decoding unit that performs motion compensation decoding by the motion vector set in the motion vector setting unit, and when the error detection unit detects an error, the motion vector setting unit stores the motion vector in the motion vector storage unit. Since a motion vector suitable for the error block is selected from a plurality of stored blocks and set, when an error occurs, efficient error concealment processing with better reproducibility can be performed on the error block. Has the effect.

【0095】発明の実施の形態11.図15はこの発明
の実施の形態11に係る復号装置を示すブロック図であ
る。図15において、図1と同一番号は、同一または同
一相当の内容を示す。次に図15を用いて復号装置の動
作を説明する。現在復号しているフレーム310の復号
途中でエラーが検出された場合、現エラーブロック31
1の次のブロックが現エラーブロック311とは独立し
て復号できる場合は、現エラーブロック311のみをエ
ラー処理して次エラーブロック以降のブロック315は
正常時の復号処理をすることができる。ただし、次のブ
ロックが現エラーブロック311のパラメータやデータ
の基づいて復号する場合は、現在のエラーを引き継ぐた
めその後たとえ動作的には異常がなく復号されても結果
的にはエラーブロックになる。
Eleventh Embodiment of the Invention FIG. 15 is a block diagram showing a decoding device according to Embodiment 11 of the present invention. 15, the same reference numerals as those in FIG. 1 indicate the same or equivalent contents. Next, the operation of the decoding device will be described with reference to FIG. If an error is detected during the decoding of the frame 310 currently being decoded, the current error block 31
When the block next to 1 can be decoded independently of the current error block 311, only the current error block 311 can be subjected to error processing, and the blocks 315 after the next error block can be subjected to normal decoding processing. However, when the next block is decoded on the basis of the parameters and data of the current error block 311, the current error is taken over, so that even if the operation is not abnormal after that, the result is an error block.

【0096】従って、現エラーブロック311の次のブ
ロックが現エラーブロック311とは独立して復号でき
るかどうかを判定するためにはエラー判定部220が必
要となる。このエラー判定部220は、前記エラー検出
部101より送出されるエラー指示信号202により現
在復号中のブロックがエラーであることが判明した場
合、次のブロック以降の符号化データ200を入力して
次ブロック以降の特性を解析する。
Therefore, the error determination unit 220 is required to determine whether the block next to the current error block 311 can be decoded independently of the current error block 311. The error determination unit 220 inputs the encoded data 200 of the next block and the next block when the block currently being decoded is found to be in error by the error instruction signal 202 sent from the error detection unit 101. Analyze the characteristics after the block.

【0097】解析の結果、現エラーブロックと独立して
復号できるなら次ブロック以降のブロック315は正常
な復号処理を行うことができるため、復号部100に対
して「エラーブロック以降のブロックはエラーブロック
とは独立して復号できる」を示すエラー判定信号221
を送出する。復号部100では、「独立符号可」を示す
信号であれば、現エラーブロックのみをエラー処理(エ
ラーブロック用ベクトル設定)する。たとえば、エラー
ブロックの直後がINTRA MB(フレーム内予測に
より符号化されたMB)である場合はエラーブロックの
直後のブロックはエラーブロックとは独立して復号でき
る。
As a result of the analysis, if it is possible to decode independently of the current error block, the subsequent block 315 and subsequent blocks can perform normal decoding processing. Error determination signal 221 indicating that the decoding can be performed independently of
Is sent. In the decoding unit 100, if the signal indicates "independent code enabled", only the current error block is subjected to error processing (error block vector setting). For example, if the block immediately after the error block is INTRA MB (MB coded by intra-frame prediction), the block immediately after the error block can be decoded independently of the error block.

【0098】一方、解析の結果、現エラーブロックと独
立して復号することができない場合は「独立復号不可」
の信号をエラー判定部220より復号部100に送出
し、復号部100で現エラーブロック311に対して上
記実施の形態のような復号処理を行うだけでなく、現在
のエラーの影響がおよばない次の復号単位の直前までの
すべてのブロック315に対してもエラーブロックと見
做して動きベクトル設定部103に対して上記実施の形
態のエラー処理を行う。たとえば、エラーブロックの直
後のブロックがエラーブロックの動きベクトルに基づい
てベクトル生成する場合などは「独立復号不可」とな
る。
On the other hand, as a result of the analysis, when the current error block cannot be decoded independently, "independent decoding is impossible"
Signal is sent from the error determination unit 220 to the decoding unit 100, and the decoding unit 100 not only performs the decoding process on the current error block 311 as in the above-described embodiment, but also does not affect the current error. All the blocks 315 up to immediately before the decoding unit are regarded as error blocks and the error processing of the above embodiment is performed on the motion vector setting unit 103. For example, when a block immediately after the error block generates a vector based on the motion vector of the error block, the independent decoding is impossible.

【0099】なお、実施の形態11では「現在のエラー
の影響がおよばない次の復号単位の直前までのすべての
ブロック315に対してもエラーブロックとみなして動
きベクトル設定部103に対して上記実施の形態のエラ
ー処理を行う」ようにしたが、必ずしもすべてのブロッ
ク315に対してエラーブロックとみなさなくてもよ
い。すなわち、実施の形態6でも説明したが、次に復号
する隣接ブロックが現エラーブロックとは独立して復号
可能かどうか識別し、独立復号不可能な場合は隣接ブロ
ックもエラーブロックとみなして処理をし、独立復号可
能な場合は隣接ブロック以降は次に新たなエラーが検出
されるまでに正常に復号が行えるようにする。この動作
を現エラーの影響がおよばない次の復号単位(たとえば
スライス単位やピクチャ単位など)の直前までの各ブロ
ックについて行う。つまり、一つ一つのブロックに対
し、直前の隣接エラーブロックと独立して復号できるか
を調べるようにすれば、エラーブロック以降一律エラー
ブロックとみなすよりエラーの影響をエラーを起こした
ブロックになるべくとどめるようにすることが可能にな
るため、エラーの伝播を抑制するだけでなく、より再現
性の高いエラーコンシールメントが行える。
In the eleventh embodiment, “all the blocks 315 up to immediately before the next decoding unit, which are not affected by the current error, are regarded as error blocks and the motion vector setting unit 103 is subjected to the above-mentioned operation. However, it is not always necessary to consider all blocks 315 as error blocks. That is, as described in the sixth embodiment, it is determined whether or not the adjacent block to be decoded next can be decoded independently of the current error block, and if independent decoding is impossible, the adjacent block is regarded as an error block and the processing is performed. If independent decoding is possible, the adjacent blocks and the subsequent blocks are normally decoded until a new error is detected. This operation is performed for each block up to immediately before the next decoding unit (for example, slice unit or picture unit) which is not affected by the current error. In other words, if it is checked whether each block can be decoded independently of the immediately preceding error block, the influence of the error will be kept as much as possible as the block that caused the error rather than being regarded as a uniform error block after the error block. Therefore, not only the error propagation can be suppressed but also the error concealment with higher reproducibility can be performed.

【0100】「独立復号不可」の場合、現在のエラーの
影響がおよばない次の復号単位の直前までのすべてのブ
ロック315に対し、動きベクトルを「0」とする場合
(ケース1)と近傍のブロックのベクトルに基づいてベ
クトルを適用する場合(ケース2)とがあり、ブロック
毎に何れかのベクトルを設定する。ケース1の場合の利
点はエラーブロックがリフレッシュされるまでの期間
(たとえば数フレーム後にINTRAフレームが来るな
ど)エラーの起こった場所以外にエラーが波及しないと
いうことが上げられる。ただし、リフレッシュされるま
での期間は常に同一の画像であるため、エラーブロック
(群)が一目でわかる。
When "independent decoding is impossible", the motion vector is set to "0" for all blocks 315 up to immediately before the next decoding unit which is not affected by the current error. There is a case where a vector is applied based on a block vector (case 2), and one of the vectors is set for each block. The advantage of the case 1 is that the error does not spread to the place other than the place where the error occurs until the error block is refreshed (for example, the INTRA frame comes after several frames). However, the error block (group) can be seen at a glance because the image is always the same until the refresh.

【0101】また、ケース2の場合の利点は、エラーブ
ロックの本来の画像に近い画像を再生できる。ただし、
若干の誤差があるためリフレッシュされるまでの期間が
長い場合は、前記誤差が蓄積しエラーブロックの近傍の
領域までエラーの影響が広がってしまう。ケース1とケ
ース2とはそれぞれ一長一短があるため、条件に応じて
どちらを選ぶか決める必要がある。
The advantage of case 2 is that an image close to the original image of the error block can be reproduced. However,
If there is a slight error and the period until refreshing is long, the error accumulates and the influence of the error spreads to the area near the error block. Since Case 1 and Case 2 have their respective merits and demerits, it is necessary to decide which to select according to the conditions.

【0102】上記実施の形態では、次のブロック以降の
符号化データ200を入力するようにしたが、この場
合、エラー判定部220で符号化データの復号を行う必
要があるため、エラー判定部220で解析に必要なデー
タを復号部100から入力してもよい。
In the above embodiment, the coded data 200 of the next block and subsequent blocks are input. In this case, however, the error judgment section 220 needs to decode the coded data. The data necessary for the analysis may be input from the decoding unit 100.

【0103】なお、上記エラー判定部の動作を復号部で
行うようにすれば、エラー判定部は回路の構成として復
号部の中に含めてもよく、回路の構成によって本発明が
制限されるものではない。
If the operation of the error determining section is performed by the decoding section, the error determining section may be included in the decoding section as a circuit configuration, and the present invention is limited by the circuit configuration. is not.

【0104】この発明の実施の形態に記載された発明に
係るディジタル画像復号装置は、ブロックのエラーを検
出するエラー検出手段と、ブロックとこのブロックと隣
接し次に復号する隣接ブロックとが独立して復号可能か
どうか識別する識別手段と、前記ブロックの動きベクト
ルを設定する動きベクトル設定手段と、動きベクトル設
定手段に設定された動きベクトルにより動き補償復号を
行う動き補償復号手段とを有し、前記エラー検出手段に
よりエラーが検出された場合であって、前記識別手段に
より当該エラーブロックと隣接し次に復号する隣接ブロ
ックが当該エラーブロックと独立して復号できないと識
別した場合には、前記動きベクトル設定手段は当該隣接
ブロックもエラーブロックとして動きベクトルを設定す
るので、エラーブロック以降のブロックがエラーを引き
継ぐ可能性がある場合にエラーの伝播を抑制できるとい
う効果を奏する。
In the digital image decoding apparatus according to the invention described in the embodiments of the present invention, the error detecting means for detecting an error in the block and the block and the adjacent block which is adjacent to this block and is decoded next are independent. And a motion vector setting means for setting the motion vector of the block, and a motion compensation decoding means for performing motion compensation decoding by the motion vector set in the motion vector setting means, When an error is detected by the error detecting means, and when the identifying block determines that the adjacent block that is adjacent to the error block and is to be decoded next cannot be decoded independently of the error block, the motion Since the vector setting means sets a motion vector also as an error block for the adjacent block, the error block is set. If the click after block might take over error is an effect of suppressing the propagation of the errors.

【0105】[0105]

【発明の効果】第1の発明に係るディジタル画像復号装
置は、ブロックのエラーを検出するエラー検出手段と、
複数の動きベクトルをブロック毎に記憶する動きベクト
ル記憶手段と、ブロックの動きベクトルを設定する動き
ベクトル設定手段と、動きベクトル設定手段に設定され
た動きベクトルにより動き補償復号を行う動き補償復号
手段とを有し、エラー検出手段によりエラーが検出され
た場合に、前記動きベクトル設定手段は、きベクトル
記憶手段に記憶された当該エラーブロックの近傍のブロ
ックの複数の動きベクトルを一つまたは複数読み出し当
該読み出した動きベクトルに基づいて算出した一つまた
は複数の動きベクトルを設定するので、エラーの状態を
低減するとともにエラーの伝播を抑制できるという効果
を奏するとともに、より少ないハードウエアで、エラー
ブロックに対してより再現性の良い、効率的なエラーコ
ンシールメント処理を行うことができるという効果を奏
する。
According to the first aspect of the present invention, there is provided a digital image decoding device, which comprises an error detecting means for detecting a block error,
Motion vector storage means for storing a plurality of motion vectors for each block, motion vector setting means for setting the motion vector of the block, motion compensation decoding means for performing motion compensation decoding by the motion vector set in the motion vector setting means, has, if an error is detected by the error detection means, said motion vector setting means, one or more reading a plurality of motion vectors of neighboring blocks of the error block stored in the motion-out vector storage means This
One or more calculated based on the read motion vector
Because setting a plurality of motion vectors, together with an effect of suppressing the propagation of the errors as well as reducing the error status, with less hardware, error
Reproducible and efficient error correction for blocks
It has the effect that
To do.

【0106】第2の発明に係るディジタル画像復号装置
は、レームの最上段のブロックについて前記エラー検
出手段によりエラーが検出された場合には、前記動きベ
クトル設定手段は当該エラーが検出されたブロックの動
きベクトルとしてゼロベクトルを設定するので、領域外
の部分のデータを参照せず、エラーコンシールメントに
際し画像を乱さないという効果を奏する。
[0106] The digital image decoding apparatus according to the second invention, the block when an error is detected by said error detecting means for the uppermost block of the frame, the motion vector setting means in which the error is detected Since the zero vector is set as the motion vector of, the effect of not disturbing the image at the time of error concealment is made without referring to the data of the part outside the area.

【0107】[0107]

【0108】[0108]

【0109】[0109]

【0110】[0110]

【0111】[0111]

【0112】 第の発明に係るディジタル画像復号装
置は、第の発明に係る動きベクトル記憶手段が、前記
複数のベクトルのうち当該フレームに時間的に近いフレ
ームの動きベクトルを優先的に選択するものとしたの
で、エラーが起こったとき、そのエラーブロックに対し
てより再現性の良い、効率的なエラーコンシールメント
処理を行うことができるという効果を奏する。
In the digital image decoding apparatus according to the third aspect of the invention, the motion vector storage means according to the first aspect of the invention preferentially selects the motion vector of the frame temporally close to the frame among the plurality of vectors. Therefore, when an error occurs, there is an effect that the error block can be subjected to an efficient error concealment process with better reproducibility.

【0113】 第の発明に係るディジタル画像復号装
置は、第の発明に係る動きベクトル記憶手段を前記複
数のベクトルのうち当該フレームよりも時間的に過去の
フレームの動きベクトルを優先的に選択するものとした
ので、未来の画像フレームを考慮する必要のないため、
より少ないハードウエアで、エラーブロックに対してよ
り再現性の良い、効率的なエラーコンシールメント処理
が行うことができるという効果を奏する。
A digital image decoding apparatus according to a fourth aspect of the present invention uses the motion vector storage means according to the first aspect of the present invention to preferentially select a motion vector of a frame that is temporally past the frame of the plurality of vectors. Since we did not need to consider future image frames,
It is possible to perform efficient error concealment processing with better reproducibility on error blocks with less hardware.

【0114】 第の発明に係るディジタル画像復号装
置は、記エラー検出手段によりエラーが検出された場
合に、前記動きベクトル設定手段は前記動きベクトル記
憶手段に記憶された複数のブロックの中から当該エラー
ブロックの近傍のブロックの複数の動きベクトルのうち
頻度の一番多いベクトルを選択し設定するので、エラー
が起こったとき、そのエラーブロックに対してより再現
性の良い、効率的なエラーコンシールメント処理が行え
るという効果を奏する。
[0114] The digital image decoding apparatus according to the fifth invention, when an error is detected by the pre-Symbol error detection means, said motion vector setting means from among a plurality of blocks stored in the motion vector storage unit Since the vector with the highest frequency is selected and set from the multiple motion vectors of blocks near the error block, when an error occurs, the error concealment with better reproducibility and efficiency for the error block It is possible to perform the ment processing.

【0115】[0115]

【0116】 第の発明に係るディジタル画像復号方
法は、ブロックのエラーを検出するエラー検出ステップ
と、エラー検出ステップにおいてエラーが検出された場
合には、当該エラーが検出されたブロックの動きベクト
ルとして動きベクトル記憶手段にゼロベクトルを記憶す
るステップと、前記ベクトル記憶手段に記憶された当該
エラーブロックの近傍のブロックの動きベクトルをベク
トル設定手段に設定しエラーブロックに隣接するブロッ
クよりもさらに離れているブロックの動きベクトルを使
用しないステップと、前記エラー検出ステップにおいて
エラーが検出されない場合には、当該ブロックの動きベ
クトルを動きベクトル設定手段に設定し、当該ブロック
の動きベクトルをベクトル記憶手段に記憶するステップ
と、前記動きベクトル設定手段に設定された動きベクト
ルにより動き補償復号を行う動き補償復号ステップとを
有するので、エラーの状態を低減するとともにエラーの
伝播を抑制できるという効果を奏する。
[0116] A digital image decoding method according to a sixth aspect of the present invention is an error detecting step of detecting an error in a block, and when an error is detected in the error detecting step, the motion vector of the block in which the error is detected is used. A step of storing a zero vector in the motion vector storage means, and a motion vector of a block in the vicinity of the error block stored in the vector storage means is set in the vector setting means, and is further separated from a block adjacent to the error block. A step of not using the motion vector of the block, and a step of setting the motion vector of the block in the motion vector setting means and storing the motion vector of the block in the vector storage means when no error is detected in the error detecting step. And the motion vector Since it has a motion compensation decoding step of performing motion compensation decoding by the motion vector set in the rule setting means, it is possible to reduce the error state and suppress the error propagation.

【0117】 第の発明に係るディジタル画像復号方
法は、ブロックのエラーを検出するエラーステップと、
フレームの最上段のブロックについて前記エラー検出手
段によりエラーが検出された場合には、当該エラーが検
出されたブロックの動きベクトルとしてゼロベクトルを
動きベクトル設定手段に設定するステップと、動きベク
トル設定手段に設定された動きベクトルにより動き補償
復号を行う動き補償復号ステップを有するので、領域外
の部分のデータを参照せず、エラーコンシールメントに
際し画像を乱さないという効果を奏する。
A digital image decoding method according to a seventh aspect of the present invention comprises an error step of detecting a block error,
When an error is detected by the error detecting means in the uppermost block of the frame, a step of setting a zero vector in the motion vector setting means as a motion vector of the block in which the error is detected, Since there is a motion compensation decoding step for performing motion compensation decoding with the set motion vector, there is an effect that the image of the portion outside the area is not referred and the image is not disturbed during error concealment.

【0118】[0118]

【0119】[0119]

【0120】 第の発明に係るディジタル画像復号方
法は、ブロックのエラーを検出するエラー検出ステップ
と、前記複数の動きベクトルよりいずれか一つの動きベ
クトルを選択して当該選択された動きベクトルをブロッ
ク毎に記憶するベクトル記憶ステップと、前記エラー検
出ステップにおいてエラーが検出された場合に、前記動
きベクトル記憶手段に記憶された当該エラーブロックの
近傍のブロックの動きベクトルを動きベクトル設定手段
に設定するステップと、動きベクトル設定手段に設定さ
れた動きベクトルにより動き補償復号を行う動き補償復
号ステップとを有するので、より少ないハードウエア
で、エラーブロックに対してより再現性の良い、効率的
なエラーコンシールメント処理を行うことができるとい
う効果を奏する。
A digital image decoding method according to an eighth aspect of the present invention is an error detecting step of detecting an error in a block, and selecting one motion vector from the plurality of motion vectors to block the selected motion vector. And a step of setting a motion vector of a block near the error block stored in the motion vector storage means to a motion vector setting means when an error is detected in the error storage step. And a motion compensation decoding step for performing motion compensation decoding using the motion vector set in the motion vector setting means, so that more error-promoting error concealment with less hardware and more reproducibility is possible. The effect that processing can be performed is produced.

【0121】 第の発明に係るディジタル画像復号方
法は、ブロックのエラーを検出するエラー検出ステップ
と、前記複数のブロックの動きベクトルを動きベクトル
記憶手段に記憶する動きベクトル記憶ステップと、前記
エラー検出ステップにおいてエラーが検出された場合
に、前記動きベクトル記憶手段に記憶された複数のブロ
ックの中から当該エラーブロックの近傍のブロックの複
数の動きベクトルのうち頻度の一番多いベクトルを選択
し設定する動きベクトル設定ステップと、動きベクトル
設定ステップにおいて設定された動きベクトルにより動
き補償復号を行う動き補償復号ステップとを有するの
で、エラーが起こったとき、そのエラーブロックに対し
てより再現性の良い、効率的なエラーコンシールメント
処理が行えるという効果を奏する。
A digital image decoding method according to a ninth aspect of the invention is an error detecting step of detecting a block error, a motion vector storing step of storing motion vectors of the plurality of blocks in a motion vector storing means, and the error detecting step. When an error is detected in the step, the vector having the highest frequency is selected and set from among the plurality of motion vectors of the blocks in the vicinity of the error block from the plurality of blocks stored in the motion vector storage means. Since it has a motion vector setting step and a motion compensation decoding step of performing motion compensation decoding with the motion vector set in the motion vector setting step, when an error occurs, it is more reproducible and efficient with respect to the error block. The effect that can perform error concealment processing Play.

【0122】 第10の発明に係るディジタル画像復号
方法は、ブロックのエラーを検出するエラー検出ステッ
プと、複数の動きベクトルをブロック毎に動きベクトル
記憶手段に記憶するベクトル記憶ステップと、エラー検
出ステップにおいてエラーが検出された場合に、前記動
きベクトル記憶手段に記憶された当該エラーブロックの
近傍のブロックの複数の動きベクトルを一つまたは複数
読み出し当該読み出した動きベクトルに基づいて算出し
た一つまたは複数の動きベクトルを設定する動きベクト
ル設定ステップと、動きベクトル設定手段に設定された
動きベクトルにより動き補償復号を行う動き補償復号ス
テップとを有するので、より少ないハードウエアで、エ
ラーブロックに対してより再現性の良い、効率的なエラ
ーコンシールメント処理を行うことができるという効果
を奏する。
A digital image decoding method according to a tenth aspect of the present invention comprises an error detecting step of detecting an error in a block, a vector storing step of storing a plurality of motion vectors for each block in a motion vector storing means, and an error detecting step. When an error is detected, one or more of the plurality of motion vectors of the blocks in the vicinity of the error block stored in the motion vector storage unit are read out and one or more of the plurality of motion vectors calculated based on the read out motion vector are read out. Since it has a motion vector setting step of setting a motion vector and a motion compensation decoding step of performing motion compensation decoding by the motion vector set in the motion vector setting means, it is possible to perform more reproducibility with respect to an error block with less hardware. Good and efficient error concealment The effect that processing can be performed is produced.

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

【図1】 発明の実施の形態に係る復号装置を示すブロ
ック図である。
FIG. 1 is a block diagram showing a decoding device according to an embodiment of the invention.

【図2】 発明の実施の形態1に係る動きベクトル記憶
メモリを示す図である。
FIG. 2 is a diagram showing a motion vector storage memory according to the first embodiment of the invention.

【図3】 発明の実施の形態1に係る動きベクトルの設
定を示す図である。
FIG. 3 is a diagram showing setting of motion vectors according to the first embodiment of the invention.

【図4】 発明の実施の形態2に係る動きベクトル設定
部のフローチャートである。
FIG. 4 is a flowchart of a motion vector setting unit according to the second embodiment of the invention.

【図5】 発明の実施の形態2に係る動きベクトルの設
定を示す図である。
FIG. 5 is a diagram showing setting of motion vectors according to the second embodiment of the invention.

【図6】 発明の実施の形態3に係る動きベクトル記憶
メモリを示す図である。
FIG. 6 is a diagram showing a motion vector storage memory according to a third embodiment of the invention.

【図7】 発明の実施の形態4に係る動きベクトルの設
定を示す図である。
FIG. 7 is a diagram showing setting of motion vectors according to the fourth embodiment of the invention.

【図8】 発明の実施の形態4に係る動きベクトル設定
部のフローチャートである。
FIG. 8 is a flowchart of a motion vector setting unit according to the fourth embodiment of the invention.

【図9】 発明の実施の形態5に係る動きベクトルの設
定を示す図である。
FIG. 9 is a diagram showing setting of motion vectors according to the fifth embodiment of the invention.

【図10】 発明の実施の形態5に係る動きベクトル設
定部のフローチャートである。
FIG. 10 is a flowchart of a motion vector setting unit according to the fifth embodiment of the invention.

【図11】 発明の実施の形態6に係る動きベクトルの
設定を示す図である。
FIG. 11 is a diagram showing setting of motion vectors according to the sixth embodiment of the invention.

【図12】 発明の実施の形態7に係る動きベクトルの
設定を示す図である。
FIG. 12 is a diagram showing setting of motion vectors according to the seventh embodiment of the invention.

【図13】 発明の実施の形態8及び発明の実施の形態
9に係る動きベクトルの設定を示す図である。
FIG. 13 is a diagram showing setting of motion vectors according to the eighth embodiment of the invention and the ninth embodiment of the invention.

【図14】 発明の実施の形態10に係る動きベクトル
の設定を示す図である。
FIG. 14 is a diagram showing setting of motion vectors according to the tenth embodiment of the invention.

【図15】 発明の実施の形態11に係る復号装置を示
すブロック図である。
FIG. 15 is a block diagram showing a decoding device according to an eleventh embodiment of the invention.

【図16】 従来の動きベクトルの設定を示す図であ
る。
FIG. 16 is a diagram showing setting of a conventional motion vector.

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

100 復号部、101 エラー検出部、102 動き
ベクトル記憶部、103 ベクトル設定部、104 フ
レームメモリ、105 動き補償復号部、200 符号
化データ、201 エラー解析用符号化データ、202
エラーフラグ、203 動きベクトル、204 差分
復号データ、205 動きベクトル、206 設定動き
ベクトル、207 予測画像データ、208 予測画像
データ、209 加算器、210 復号画像データ、2
11 指示信号、220 エラー判定部、221 エラ
ー判定信号、300 動きベクトル格納場所、302予
測画像フレーム、303 予測画像フレーム、304
予測画像フレーム、310 復号画像フレーム、311
エラーブロック、312 復号正常ブロック(エラー
ブロックの真上)、313 復号正常ブロックの動きベ
クトル、314 エラーブロックに適用した動きベクト
ル、315 エラーブロック以降のブロック、316
復号正常ブロック(エラーブロックの真左横)、317
復号正常ブロックの動きベクトル、318 復号正常ブ
ロック(エラーブロックの真左横)、319 復号正常
ブロックの動きベクトル、320 復号正常ブロック
(エラーブロックの真上右横)、321 復号正常ブロ
ックの動きベクトル、323 エラーブロックに適用し
ようとした領域外の動きベクトル、324エラーブロッ
クに適用する領域限界に短縮調整された動きベクトル、
327 エラーブロックに適用しようとした領域外の動
きベクトル、328 エラーブロックに適用する領域限
界に短縮調整された動きベクトル、330 予測画像フ
レーム、331 予測画像フレーム、342 予測動き
ベクトル、343 予測動きベクトル、352 予測動
きベクトル、353 予測動きベクトル、560 復号
フレーム。
100 decoding unit, 101 error detection unit, 102 motion vector storage unit, 103 vector setting unit, 104 frame memory, 105 motion compensation decoding unit, 200 coded data, 201 error analysis coded data, 202
Error flag, 203 motion vector, 204 differential decoded data, 205 motion vector, 206 set motion vector, 207 predicted image data, 208 predicted image data, 209 adder, 210 decoded image data, 2
11 instruction signal, 220 error determination unit, 221 error determination signal, 300 motion vector storage location, 302 predicted image frame, 303 predicted image frame, 304
Predicted image frame, 310 Decoded image frame, 311
Error block, 312 normal decoding block (immediately above the error block), 313 motion vector of normal decoding block, motion vector applied to 314 error block, block after 315 error block, 316
Decoding normal block (right side of the error block) 317
Decoded normal block motion vector, 318 Decoded normal block (right side of error block), 319 Decoded normal block motion vector, 320 Decoded normal block (directly above right block of error block), 321 Decoded normal block motion vector, A motion vector outside the area to be applied to the H.323 error block, a motion vector shortened to the area limit applied to the 324 error block,
A motion vector outside the area to be applied to the 327 error block, a motion vector shortened to the area limit applied to the 328 error block, 330 predicted image frame, 331 predicted image frame, 342 predicted motion vector, 343 predicted motion vector, 352 motion vector predictor, 353 motion vector predictor, 560 decoded frames.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平6−253288(JP,A) 特開 平7−79441(JP,A) 特開 平5−153574(JP,A) 特開 昭63−50284(JP,A) 中島康之、尾高敏則、田原勝己,特集 MPEG 「3−2−7 エラー耐 性」,テレビジョン学会誌 「画像情報 工学と放送技術」,日本,テレビジョン 学会,1995年 4月20日,Vol.49, No.4,pp.464−464 (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 ─────────────────────────────────────────────────── --- Continuation of the front page (56) References JP-A-6-253288 (JP, A) JP-A-7-79441 (JP, A) JP-A-5-153574 (JP, A) JP-A-63- 50284 (JP, A) Yasuyuki Nakajima, Toshinori Otaka, Katsumi Tahara, Special Feature MPEG "3-2-7 Error Tolerance", Journal of the Television Society of Japan "Image Information Engineering and Broadcasting Technology", Japan Television Society, 1995 4 20th, Vol. 49, No. 4, pp. 464-464 (58) Fields investigated (Int.Cl. 7 , DB name) H04N 7/ 24-7/68

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 フレーム中の画像を複数のブロックに分
割して各ブロック毎に符号化された符号化データを当該
ブロック毎に複数の動きベクトルを用いて復号するディ
ジタル画像復号装置において、 前記ブロックのエラーを検出するエラー検出手段と、 前記複数の動きベクトルをブロック毎に記憶する動きベ
クトル記憶手段と、 前記ブロックの動きベクトルを設定する動きベクトル設
定手段と、 動きベクトル設定手段に設定された動きベクトルにより
動き補償復号を行う動き補償復号手段とを有し、 前記エラー検出手段によりエラーが検出された場合に、
前記動きベクトル設定手段は前記動きベクトル記憶手段
に記憶された当該エラーブロックの近傍のブロックの複
数の動きベクトルを一つまたは複数読み出し当該読み出
した動きベクトルに基づいて算出した一つまたは複数の
動きベクトルを設定することを特徴とするディジタル画
像復号装置。
1. A digital image decoding apparatus for dividing an image in a frame into a plurality of blocks and decoding encoded data encoded for each block using a plurality of motion vectors for each block, Error detecting means for detecting an error of, a motion vector storing means for storing the plurality of motion vectors for each block, a motion vector setting means for setting a motion vector of the block, and a motion set in the motion vector setting means. And a motion compensation decoding means for performing motion compensation decoding by a vector, when an error is detected by the error detection means,
The motion vector setting means reads one or a plurality of motion vectors of a block near the error block stored in the motion vector storage means and calculates one or a plurality of motion vectors based on the read motion vector. A digital image decoding device characterized in that
【請求項2】 前記フレームの最上段のブロックについ
て前記エラー検出手段によりエラーが検出された場合に
は、前記動きベクトル設定手段は当該エラーが検出され
たブロックの動きベクトルとしてゼロベクトルを設定す
ることを特徴とする請求項1記載のディジタル画像復号
装置。
2. When an error is detected by the error detecting means in the uppermost block of the frame, the motion vector setting means sets a zero vector as a motion vector of the block in which the error is detected. The digital image decoding device according to claim 1, wherein
【請求項3】 前記動きベクトル記憶手段は、前記複数
のベクトルのうち当該フレームに時間的に近いフレーム
の動きベクトルを優先的に選択することを特徴とする請
求項記載のディジタル画像復号装置。
Wherein said motion vector storage means, the digital image decoding apparatus according to claim 1, wherein the selecting motion vectors of temporally close frames to the frame of the plurality of vectors preferentially.
【請求項4】 前記動きベクトル記憶手段は、前記複数
のベクトルのうち当該フレームよりも時間的に過去のフ
レームの動きベクトルを優先的に選択することを特徴と
する請求項記載のディジタル画像復号装置。
Wherein said motion vector storage means, the digital image decoding according to claim 1, wherein the selecting than the frame temporally motion vectors of past frames of the plurality of vectors preferentially apparatus.
【請求項5】 記エラー検出手段によりエラーが検出
された場合に、前記動きベクトル設定手段は前記動きベ
クトル記憶手段に記憶された複数のブロックの中から当
該エラーブロックの近傍のブロックの複数の動きベクト
ルのうち頻度の一番多いベクトルを選択し設定すること
を特徴とする請求項1記載のディジタル画像復号装置。
If an error is detected by 5. Before Symbol error detecting means, the motion vector setting means a plurality of blocks in the vicinity of the error block from among a plurality of blocks stored in the motion vector storage unit 2. The digital image decoding device according to claim 1 , wherein a vector having the highest frequency is selected and set from among the motion vectors.
【請求項6】 フレーム中の画像を複数のブロックに分
割して各ブロック毎に符号化された符号化データを復号
するディジタル画像復号方法において、 前記ブロックのエラーを検出するエラー検出ステップ
と、 前記エラー検出ステップにおいてエラーが検出された場
合には、当該エラーが検出されたブロックの動きベクト
ルとして動きベクトル記憶手段にゼロベクトルを記憶す
るステップと、前記ベクトル記憶手段に記憶された当該
エラーブロックの近傍のブロックの動きベクトルをベク
トル設定手段に設定しエラーブロックに隣接するブロッ
クよりもさらに離れているブロックの動きベクトルを使
用しないステップと、 前記エラー検出ステップにおいてエラーが検出されない
場合には、当該ブロックの動きベクトルを動きベクトル
設定手段に設定し、当該ブロックの動きベクトルをベク
トル記憶手段に記憶するステップと、 前記動きベクトル設定手段に設定された動きベクトルに
より動き補償復号を行う動き補償復号ステップとを有す
るディジタル画像復号方法。
6. A digital image decoding method for dividing an image in a frame into a plurality of blocks and decoding encoded data encoded for each block, an error detecting step of detecting an error of the block, When an error is detected in the error detection step, a step of storing a zero vector in the motion vector storage means as a motion vector of the block in which the error is detected, and the vicinity of the error block stored in the vector storage means Setting the motion vector of the block of the vector to the vector setting means, not using the motion vector of the block further distant from the block adjacent to the error block, and if no error is detected in the error detection step, Motion vector motion vector setting means And a motion compensation decoding step of performing motion compensation decoding with the motion vector set in the motion vector setting means, and a motion compensation decoding step of storing the motion vector of the block in the vector storage means.
【請求項7】 前記フレームの最上段のブロックについ
て前記エラー検出手段によりエラーが検出された場合に
は、当該エラーが検出されたブロックの動きベクトルと
してゼロベクトルを動きベクトル設定手段に設定するス
テップと、 前記動きベクトル設定手段に設定された動きベクトルに
より動き補償復号を行う動き補償復号ステップを有する
請求項記載のディジタル画像復号方法。
7. When an error is detected by the error detecting means in the uppermost block of the frame, a zero vector is set in the motion vector setting means as a motion vector of the block in which the error is detected. 7. The digital image decoding method according to claim 6, further comprising a motion compensation decoding step of performing motion compensation decoding using the motion vector set in the motion vector setting means.
【請求項8】 フレーム中の画像を複数のブロックに分
割して各ブロック毎に符号化された符号化データを当該
ブロック毎に複数の動きベクトルを用いて復号するディ
ジタル画像復号方法において、 前記ブロックのエラーを検出するエラー検出ステップ
と、 前記複数の動きベクトルよりいずれか一つの動きベクト
ルを選択して当該選択された動きベクトルをブロック毎
に記憶するベクトル記憶ステップと、 前記エラー検出ステップにおいてエラーが検出された場
合に、前記動きベクトル記憶手段に記憶された当該エラ
ーブロックの近傍のブロックの動きベクトルを動きベク
トル設定手段に設定するステップと、 動きベクトル設定手段に設定された動きベクトルにより
動き補償復号を行う動き補償復号ステップとを有するデ
ィジタル画像復号方法。
8. A digital image decoding method for dividing an image in a frame into a plurality of blocks and decoding encoded data encoded in each block using a plurality of motion vectors in each block, Error detection step of detecting the error of, the vector storage step of storing any one of the plurality of motion vectors to store the selected motion vector for each block, the error in the error detection step When detected, the step of setting the motion vector of the block near the error block stored in the motion vector storage means in the motion vector setting means, and the motion compensation decoding by the motion vector set in the motion vector setting means. Image decoding with motion-compensated decoding step Law.
【請求項9】 フレーム中の画像を複数のブロックに分
割して各ブロック毎に符号化された符号化データを復号
するディジタル画像復号方法において、 前記ブロックのエラーを検出するエラー検出ステップ
と、 前記複数のブロックの動きベクトルを動きベクトル記憶
手段に記憶する動きベクトル記憶ステップと、 前記エラー検出ステップにおいてエラーが検出された場
合に、前記動きベクトル記憶手段に記憶された複数のブ
ロックの中から当該エラーブロックの近傍のブロックの
複数の動きベクトルのうち頻度の一番多いベクトルを選
択し設定する動きベクトル設定ステップと、 動きベクトル設定ステップにおいて設定された動きベク
トルにより動き補償復号を行う動き補償復号ステップと
を有するディジタル画像復号方法。
9. A digital image decoding method for dividing an image in a frame into a plurality of blocks and decoding coded data coded for each block, an error detecting step of detecting an error in the block, A motion vector storing step of storing motion vectors of a plurality of blocks in a motion vector storing means; and when an error is detected in the error detecting step, the error is selected from the plurality of blocks stored in the motion vector storing means. A motion vector setting step of selecting and setting a vector with the highest frequency among a plurality of motion vectors of blocks in the vicinity of the block, and a motion compensation decoding step of performing motion compensation decoding using the motion vector set in the motion vector setting step, A digital image decoding method having a.
【請求項10】 フレーム中の画像を複数のブロックに
分割して各ブロック毎に符号化された符号化データを当
該ブロック毎に複数の動きベクトルを用いて復号するデ
ィジタル画像復号方法において、 前記ブロックのエラーを検出するエラー検出ステップ
と、 前記複数の動きベクトルをブロック毎に動きベクトル記
憶手段に記憶するベクトル記憶ステップと、 前記エラー検出ステップにおいてエラーが検出された場
合に、前記動きベクトル記憶手段に記憶された当該エラ
ーブロックの近傍のブロックの複数の動きベクトルを一
つまたは複数読み出し当該読み出した動きベクトルに基
づいて算出した一つまたは複数の動きベクトルを設定す
る動きベクトル設定ステップと、 動きベクトル設定手段に設定された動きベクトルにより
動き補償復号を行う動き補償復号ステップとを有するこ
とを特徴とするディジタル画像復号方法。
10. A digital image decoding method for dividing an image in a frame into a plurality of blocks and decoding encoded data encoded for each block using a plurality of motion vectors for each block, An error detection step of detecting an error, a vector storage step of storing the plurality of motion vectors in each block in a motion vector storage means, and when an error is detected in the error detection step, in the motion vector storage means A motion vector setting step of setting one or more motion vectors calculated based on the read one or more motion vectors of the stored blocks near the error block and the motion vector setting; Motion-compensated decoding by the motion vector set in the method The digital image decoding method characterized by having a motion compensation decoding step of performing.
JP33518495A 1995-12-22 1995-12-22 Digital image decoding device and digital image decoding method Expired - Fee Related JP3496378B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33518495A JP3496378B2 (en) 1995-12-22 1995-12-22 Digital image decoding device and digital image decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33518495A JP3496378B2 (en) 1995-12-22 1995-12-22 Digital image decoding device and digital image decoding method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002307033A Division JP3852594B2 (en) 2002-10-22 2002-10-22 Digital image decoding apparatus and digital image decoding method

Publications (2)

Publication Number Publication Date
JPH09182076A JPH09182076A (en) 1997-07-11
JP3496378B2 true JP3496378B2 (en) 2004-02-09

Family

ID=18285704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33518495A Expired - Fee Related JP3496378B2 (en) 1995-12-22 1995-12-22 Digital image decoding device and digital image decoding method

Country Status (1)

Country Link
JP (1) JP3496378B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8811473B2 (en) 2009-07-07 2014-08-19 Panasonic Corporation Moving picture decoding device, moving picture decoding method, moving picture decoding system, integrated circuit, and program

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006203597A (en) * 2005-01-21 2006-08-03 Pioneer Electronic Corp Digital image decoder and decoding method
JP4509809B2 (en) * 2005-01-21 2010-07-21 パイオニア株式会社 Digital image decoding apparatus and method
JP4523886B2 (en) 2005-07-08 2010-08-11 富士通株式会社 Moving picture decoding apparatus, moving picture decoding method, and moving picture decoding program
WO2009040904A1 (en) * 2007-09-26 2009-04-02 Fujitsu Microelectronics Limited Video decoder and digital broadcasting receiver
JP5701018B2 (en) * 2010-11-12 2015-04-15 三菱電機株式会社 Image decoding device
JP5811061B2 (en) * 2012-07-24 2015-11-11 三菱電機株式会社 Decoding device, error concealment processing device, and decoding method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中島康之、尾高敏則、田原勝己,特集MPEG 「3−2−7 エラー耐性」,テレビジョン学会誌 「画像情報工学と放送技術」,日本,テレビジョン学会,1995年 4月20日,Vol.49, No.4,pp.464−464

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8811473B2 (en) 2009-07-07 2014-08-19 Panasonic Corporation Moving picture decoding device, moving picture decoding method, moving picture decoding system, integrated circuit, and program

Also Published As

Publication number Publication date
JPH09182076A (en) 1997-07-11

Similar Documents

Publication Publication Date Title
KR100267805B1 (en) Motion image decoding method and apparatus for judging contamination regions
JP5536174B2 (en) Method and apparatus for detecting and concealing reference video frames and non-reference video frames
JP2000041258A (en) Method and device for improving quality of picture with video decoder of low resolution
US7447266B2 (en) Decoding device and decoding program for video image data
US20090262837A1 (en) Moving Image Decoding Apparatus and moving image decoding method
KR100941285B1 (en) Image processing device and computer readable medium
JP5137687B2 (en) Decoding device, decoding method, and program
JPH08154247A (en) Compressed image data processor nd method therefor
KR100215824B1 (en) The frame memory and image data decoding method in mpeg decoder
US8165217B2 (en) Image decoding apparatus and method for decoding prediction encoded image data
JP3519441B2 (en) Video transmission equipment
KR100215428B1 (en) The method for error concealment of b picture
KR100873317B1 (en) Error concealment method and device
JP3496378B2 (en) Digital image decoding device and digital image decoding method
US20080080618A1 (en) Video decoding apparatus and method of the same
JP3852594B2 (en) Digital image decoding apparatus and digital image decoding method
JP2003348594A (en) Device and method for decoding image
JP4289727B2 (en) Image encoding apparatus, method, and computer-readable storage medium
JP2006279330A (en) Motion compensation processing method
US20090168870A1 (en) Moving picture coding device, moving picture coding method, and recording medium with moving picture coding program recorded thereon
JP2008109642A (en) Video decoding apparatus and method
JP2001326941A (en) Moving picture coding device, moving picture coding method, recording medium recorded with moving picture coding program, motion vector judging device, motion vector judging method and recording medium recorded with motion vector judging program
US8179965B2 (en) Moving picture coding method
JP2824024B2 (en) Image decoding method and apparatus
US8284838B2 (en) Apparatus and related method for decoding video blocks in video pictures

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071128

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081128

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091128

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091128

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101128

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111128

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121128

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131128

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees