JPH09154135A - Error processing unit - Google Patents

Error processing unit

Info

Publication number
JPH09154135A
JPH09154135A JP7336228A JP33622895A JPH09154135A JP H09154135 A JPH09154135 A JP H09154135A JP 7336228 A JP7336228 A JP 7336228A JP 33622895 A JP33622895 A JP 33622895A JP H09154135 A JPH09154135 A JP H09154135A
Authority
JP
Japan
Prior art keywords
macroblock
slice
error
error processing
mirror image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7336228A
Other languages
Japanese (ja)
Inventor
Hideo Kodama
児玉秀雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP7336228A priority Critical patent/JPH09154135A/en
Publication of JPH09154135A publication Critical patent/JPH09154135A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow the processing unit to conduct compensation in the case of absence of a reference frame or a reference field in a frame or a field with an error or of absence of a motion vector just above a macro block having an error or of a head slice of a frame or a field when an error is compensated to decode an image signal. SOLUTION: When a macro block of a slice S11 is disabling of decoding, a mirror image of a slice S10 having been already decoded just above the position is generated and used for interpolation of the slice S11. Furthermore, in the case of absence of a motion vector in a macro block just above or of a head slice, the interpolation is conducted by using a mirror image of a lower slice.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像復号処理にお
けるエラー処理装置に関するものであり、特に、MPE
Gの復号処理におけるエラー処理装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error processing device in image decoding processing, and more particularly to MPE.
The present invention relates to an error processing device in a G decoding process.

【0002】[0002]

【従来の技術】従来よりMPEGは、主に動画データを
圧縮する画像標準符号化の技術として知られている。こ
こで、MPEGにおける画像データは、シーケンス、G
OP(グループ・オブ・ピクチャ)、ピクチャ、スライ
ス、マクロブロック(MB)、ブロックの6層の階層構
造からなっており、MPEGのビットストリームでは、
構成単位である上記シーケンス、GOP、ピクチャ、ス
ライスごとに先頭にスタートコードが付されていて、復
号時においてエラーが生じた場合には、次のスタートコ
ードまで読み飛ばすことによってすぐに復号が回復でき
るようになっている。
2. Description of the Related Art Conventionally, MPEG has been known as a standard image coding technique for mainly compressing moving image data. Here, the image data in MPEG is sequence G
It has a hierarchical structure of 6 layers of OP (group of pictures), pictures, slices, macroblocks (MB), and blocks.
If a start code is attached to the beginning of each of the above-mentioned sequences, GOPs, pictures, and slices that are constituent units, and if an error occurs during decoding, the decoding can be recovered immediately by skipping to the next start code. It is like this.

【0003】ここで、読み飛ばした部分については、エ
ラーが生じて抜けたマクロブロックの位置的にすぐ真上
の位置のマクロブロックにおける動きベクトルを上記抜
けたマクロブロックのエラーコンシールメントモーショ
ンベクトルとして抜けたマクロブロックの補間を行う。
In the skipped portion, the motion vector in the macroblock immediately above the macroblock in which an error has occurred and which has been omitted is omitted as the error concealment motion vector of the omitted macroblock. Interpolate macro blocks.

【0004】より具体的に説明すると、図6に示すよう
に、あるピクチャのフレームF1において、スライスS
0にはマクロブロックM0−1〜M0−nが設けられ、
スライスS1にはマクロブロックM1−1〜M1−nが
設けられているとする。この各マクロブロックには動き
ベクトルが格納されている。ここでいうスライスは、通
常のスライスを意味し、16ラインで1つのスライスを
形成し、複数のスライスに分割されてないスライスを意
味するものとする。
More specifically, as shown in FIG. 6, in a frame F1 of a picture, a slice S
0 is provided with macro blocks M0-1 to M0-n,
It is assumed that the slice S1 is provided with macroblocks M1-1 to M1-n. A motion vector is stored in each macro block. The slice mentioned here means a normal slice, and one slice is formed by 16 lines and is not divided into a plurality of slices.

【0005】ここで、図7(a)に示すように、スライ
スS1のあるマクロブロックの復号が不可能になったも
のとする。例えば、図6におけるマクロブロックM1−
2が抜けたものとする。すると、このマクロブロックM
1−2の真上に位置するマクロブロックM0−2の動き
ベクトル使用し、図6、図7(b)に示すように参照フ
レームであるフレームF0からこの動きベクトルにより
特定される画像ブロックを切り出して抽出し、復号不可
能となったマクロブロックM1−2の補間を行う。つま
り、図6に示すように、フレームF0においてマクロブ
ロックM1−2の位置に対応するマクロブロックM1−
2´の位置から動きベクトル分ずれた位置の画像ブロッ
クを抽出して補間を行う。そして、図7(c)に示すよ
うに、スタートコードを飛ばして復号処理を続けるので
ある。
Here, as shown in FIG. 7A, it is assumed that decoding of a macroblock having a slice S1 becomes impossible. For example, the macroblock M1- in FIG.
It is assumed that 2 is omitted. Then, this macro block M
Using the motion vector of the macro block M0-2 located directly above 1-2, the image block specified by this motion vector is cut out from the frame F0 which is the reference frame as shown in FIGS. 6 and 7B. Then, the macroblock M1-2 that cannot be decoded is interpolated. That is, as shown in FIG. 6, the macroblock M1-corresponding to the position of the macroblock M1-2 in the frame F0.
An image block at a position displaced from the position 2 ′ by the motion vector is extracted and interpolation is performed. Then, as shown in FIG. 7C, the start code is skipped and the decoding process is continued.

【0006】なお、上記の処理において、エラー補償が
可能な最小単位はスライスであるので、完全なエラー処
理を行う場合には、あるスライス内のマクロブロックが
復号不可能な場合には、そのスライス内のマクロブロッ
クのすべてを補間することになる。また、上記の説明で
はフレームごとの処理の場合について説明したが、イン
ターレース画像の場合には、フィールドごとに上記の同
様の処理を行う。
In the above processing, since the minimum unit capable of error compensation is a slice, when complete error processing is performed, if a macroblock in a slice cannot be decoded, that slice Will interpolate all of the macroblocks in. In the above description, the case of processing for each frame has been described, but in the case of an interlaced image, the same processing as above is performed for each field.

【0007】また、MPEGにおいては、すべてのマク
ロブロックが動きベクトルを持っているわけではなく、
エラーが生じたマクロブロックの真上のマクロブロック
に動きベクトルがない場合がある。また、あるフレーム
やフィールドの先頭のスライスの場合には、真上位置に
スライスが存在しないので上記の方法による補間を行う
ことができない。そこで、上記の場合には、エラーコン
シールメントモーションベクトルを(0,0)として補
間を行っていた。
In MPEG, not all macroblocks have a motion vector,
There may be no motion vector in the macroblock directly above the macroblock in which the error occurred. Further, in the case of the first slice of a certain frame or field, since the slice does not exist directly above, interpolation cannot be performed by the above method. Therefore, in the above case, the interpolation is performed by setting the error concealment motion vector to (0, 0).

【0008】また、MPEG2の規格において、MPE
Gコードの「concealment motion
vectors」を1に設定してONにした場合には、
イントラマクロブロックにも動きベクトルを持たせるこ
とができる。例えば、複数のGOPにおける先頭のGO
PのIピクチャにおいては、通常は動きベクトルは格納
されていないが、上記の設定を行うことにより動きベク
トルを格納することができる。
According to the MPEG2 standard, MPE
G code "concealment" motion
If you set "vectors" to 1 and turn it on,
Intra macroblocks can also have motion vectors. For example, the first GO in multiple GOPs
In the I picture of P, the motion vector is not normally stored, but the motion vector can be stored by performing the above setting.

【0009】[0009]

【発明が解決しようとする課題】しかし、上記のような
エラー補償はすべてのマクロブロックに行うことができ
るわけではなく、参照フレームを持たない一番最初のイ
ントラフレームや、参照フィールドを持たない一番最初
のイントラフィールドには、代用するフレームやフィー
ルドがないため補間ができないという問題がある。つま
り、先頭のGOPの先頭のIピクチャにおいては、参照
フレームや参照フィールドがないため、補間を行うこと
ができない。また、エラーが生じたマクロブロックの真
上のマクロブロックに動きベクトルがない場合や、ある
フレームやフィールドの先頭のスライスの場合に、エラ
ーコンシールメントモーションベクトルを(0,0)と
して補間を行うのは、動き補償に適した画像等では十分
なエラー補償とはいえない。
However, the error compensation as described above cannot be performed for all macroblocks, and the first intraframe having no reference frame or the first intraframe having no reference frame is used. The first intra-field has a problem that interpolation cannot be performed because there is no substitute frame or field. That is, since there is no reference frame or reference field in the first I picture of the first GOP, interpolation cannot be performed. Also, when there is no motion vector in the macroblock immediately above the macroblock in which the error has occurred, or in the case of the first slice of a certain frame or field, interpolation is performed with the error concealment motion vector as (0,0). Cannot be said to be sufficient error compensation for an image suitable for motion compensation.

【0010】そこで、本発明は、エラーが生じたフレー
ムやフィールドに参照フレームや参照フィールドがない
場合に、エラー補償を行うことができ、また、エラーが
生じたマクロブロックの真上の動きベクトルがない場合
や、あるフレームやフィールドの先頭のスライスの場合
にもエラー補償を行うことができるエラー処理装置を提
供することを目的とする。
Therefore, the present invention can perform error compensation when there is no reference frame or reference field in the frame or field in which the error has occurred, and the motion vector directly above the macroblock in which the error has occurred is It is an object of the present invention to provide an error processing device capable of performing error compensation even when there is no slice or when the slice is at the beginning of a certain frame or field.

【0011】[0011]

【課題を解決するための手段】本発明は上記問題点を解
決するために創作されたものであって、第1には、画像
信号を復号する際のエラー補償を行うエラー処理装置で
あって、あるマクロブロックを補間する場合に、該マク
ロブロックの上方又は下方に隣接するマクロブロックの
ミラーイメージの画像データを生成することを特徴とす
る。この第1の構成のエラー処理装置においては、ある
マクロブロックの補間処理を行う場合に、該マクロブロ
ックの上方又は下方に隣接するマクロブロックのミラー
イメージの画像データを生成する。そして、隣接したス
ライスのマクロブロックについては、この生成したミラ
ーイメージの画像データにより上記マクロブロックの補
間を行う。この第1の構成のエラー処理装置によれば、
ミラーイメージによって補間を行うので、一番最初のイ
ントラフレームやイントラフィールドであっても、補間
を行うことができ、また、あるフレームやフィールドに
おける先頭のスライスであっても補間を行うことができ
る。特に、ミラーイメージを作成して補間するので、画
像を垂直方向を連続な状態にして、視覚的にも周波数的
にも良好な補間画像とすることができる。
SUMMARY OF THE INVENTION The present invention was created to solve the above problems, and, firstly, an error processing device for performing error compensation when decoding an image signal. When a certain macroblock is interpolated, image data of a mirror image of a macroblock adjacent above or below the macroblock is generated. In the error processing device having the first configuration, when performing interpolation processing for a certain macroblock, image data of a mirror image of a macroblock adjacent above or below the macroblock is generated. Then, for macroblocks of adjacent slices, the macroblocks are interpolated by the image data of the generated mirror image. According to the error processing device of the first configuration,
Since the interpolation is performed by the mirror image, the interpolation can be performed even in the first intra frame or the intra field, and the interpolation can be performed even in the first slice in a certain frame or field. In particular, since a mirror image is created and interpolated, the image can be made continuous in the vertical direction and can be an interpolated image that is good in terms of both visual and frequency.

【0012】また、第2には、上記第1の構成におい
て、あるピクチャのフレーム又はフィールドにおける最
初のスライスのマクロブロックを補間する場合に、該マ
クロブロックの真下のマクロブロックを先に復号し、該
復号したマクロブロックのミラーイメージにより補間を
行うことを特徴とする。この第2の構成のエラー処理装
置においては、あるフレームやフィールドの最初のスラ
イスのマクロブロックを補間する場合には、該マクロブ
ロックの真下のマクロブロックを先に復号する。そし
て、その復号したマクロブロックのミラーイメージによ
り該最初のスライスのマクロブロックを補間する。この
第2の構成のエラー処理装置によれば、あるフレームや
フィールドにおける先頭のスライスであっても、補間を
行うことができ、ミラーイメージにより補間を行うので
連続した画像を得ることができる。
Secondly, in the first configuration, when the macroblock of the first slice in a frame or field of a picture is interpolated, the macroblock immediately below the macroblock is first decoded, It is characterized in that interpolation is performed by a mirror image of the decoded macroblock. In the error processing device having the second configuration, when interpolating the macroblock of the first slice of a certain frame or field, the macroblock immediately below the macroblock is first decoded. Then, the macroblock of the first slice is interpolated by the decoded mirror image of the macroblock. According to the error processing device of the second configuration, even the first slice in a certain frame or field can be interpolated, and since interpolation is performed by the mirror image, continuous images can be obtained.

【0013】また、第3には、上記第1の構成におい
て、上方又は下方に連続した2つ以上の各スライスにお
いて、マクロブロックの補間を行う場合に、補間を行う
いずれかのマクロブロックのスライスに隣接した復号可
能なスライスのマクロブロックのミラーイメージを生成
して補間を行うとともに、補間を行おうとするスライス
の上又は下位置に隣接した補間済みのスライスのマクロ
ブロックのミラーイメージを生成する処理を1又は複数
回順次行うことを特徴とする。この第3の構成のエラー
処理装置においては、該2つ以上のスライスの上又は下
位置に隣接する復号可能なスライスのミラーイメージの
画像データを生成する。そして、その画像データにより
該復号可能なスライスに隣接するスライスの補間を行
う。その後、該補間を行ったスライスに上又は下位置に
隣接するスライスのマクロブロックについては、該補間
を行ったスライスのマクロブロックのミラーイメージを
生成して補間を行い、その後、補間済みのスライスのマ
クロブロックのミラーイメージの生成を必要回数繰り返
して行う。この第3の構成のエラー処理装置によれば、
補間が必要なスライスが上下に2つ以上連続している場
合にも、補間を行うことができ、隣接するスライスのマ
クロブロックのミラーイメージを作成して補間を行うの
で、連続した画像を得ることができる。
Thirdly, in the above-mentioned first configuration, when the macroblock is interpolated in each of two or more slices which are continuous upward or downward, the slice of any macroblock to be interpolated. To generate a mirror image of a macroblock of a decodable slice adjacent to, and perform a interpolation, and to generate a mirror image of a macroblock of an interpolated slice adjacent to a position above or below the slice to be interpolated Is sequentially performed once or a plurality of times. In the error processing device of the third configuration, image data of a mirror image of a decodable slice adjacent to the upper or lower position of the two or more slices is generated. Then, the slice adjacent to the decodable slice is interpolated by the image data. Thereafter, for macroblocks of slices adjacent to positions above or below the slice on which the interpolation has been performed, interpolation is performed by generating a mirror image of the macroblock of the slice on which the interpolation has been performed, and thereafter The generation of a mirror block mirror image is repeated as many times as necessary. According to the error processing device of the third configuration,
Interpolation can be performed even when two or more slices that require interpolation are consecutive in the top and bottom, and interpolation is performed by creating a mirror image of macroblocks of adjacent slices, so that continuous images can be obtained. You can

【0014】また、第4には、上記第1又は第3の構成
において、補間を行うべきマクロブロックの上方に復号
可能なマクロブロックがある場合には、該復号可能なマ
クロブロックのミラーイメージを生成することを特徴と
する。この第4の構成のエラー処理装置によれば、上方
にあるマクロブロックから生成したミラーイメージによ
り補間を行うので、あるピクチャの復号画像において上
方から連続した画像とすることができ、より視覚的に連
続性にある画像を得ることができる。
Fourth, in the first or third configuration, when there is a decodable macroblock above the macroblock to be interpolated, a mirror image of the decodable macroblock is displayed. It is characterized by generating. According to the error processing device of the fourth configuration, since the interpolation is performed by the mirror image generated from the macro block at the upper side, it is possible to make the decoded image of a certain picture continuous from the upper side, and it is possible to visually Images with continuity can be obtained.

【0015】また、第5には、上記第1から第4のいず
れかの構成において、最初のイントラフレーム又はイン
トラフィールドのエラー補償に適用することを特徴とす
る。この構成のエラー処理装置によれば、最初のイント
ラフレームやイントラフィールドにミラーイメージによ
る補間を行うので、参照フレームを持たない一番最初の
イントラフレームや、参照フィールドを持たない一番最
初のイントラフィールドにも補間を行うことができる。
また、第6には、上記第1から第5のいずれかの構成に
おいて、エラー処理装置が、さらに、通常のMPEG規
格のエラーコンシールメントモーションベクトルによる
エラー処理機能を有することを特徴とする。この第6の
構成のエラー処理装置によれば、通常のMPEG規格の
エラーコンシールメントモーションベクトルによりエラ
ー処理で対応できるエラーに関しては、該エラー処理を
行い、最初のイントラフレームやイントラフィールドの
場合や、あるフレームやフィールドの先頭のスライスの
場合には、ミラーイメージによる補間を行うことによ
り、全体としてより適切なエラー補償を行うことができ
る。
Fifth, in any one of the first to fourth configurations, the present invention is characterized by being applied to error compensation of the first intra-frame or intra-field. According to the error processing device of this configuration, the first intraframe or intrafield is interpolated by the mirror image, so the first intraframe without reference frame or the first intrafield without reference field is used. Can also be interpolated.
A sixth feature is that in any one of the first to fifth configurations, the error processing device further has an error processing function based on an ordinary MPEG standard error concealment motion vector. According to the error processing device of the sixth configuration, with respect to an error that can be handled by the error processing by the normal MPEG standard error concealment motion vector, the error processing is performed, and in the case of the first intra frame or intra field, In the case of the first slice of a certain frame or field, interpolation using a mirror image can be performed to perform more appropriate error compensation as a whole.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態としての実施
例を図面を利用して説明する。本発明に基づく復号装置
Aは、図1に示されるように、デコーダ10と、コンシ
ールメントモーションベクトル格納装置12(以下、
「ベクトル格納装置12」とする)と、復号画像格納装
置14と、エラー処理装置16とを有している。ここ
で、上記デコーダ10は、外部から送られるビットスト
リームを受信し、符号化された画像データを復号するも
のである。また、上記ベクトル格納装置12は、動きベ
クトルを各マクロブロックごとに格納するものである。
また、復号画像格納装置14は、デコーダ10において
復号された画像データを格納するものである。さらに、
エラー処理装置16は、エラー補償を行い、データの抜
けが生じたマクロブロックの補間を行うものである。補
間は、隣接する復号可能なマクロブロックのミラーイメ
ージを作成することにより行う。詳細は以下に説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 1, a decoding device A according to the present invention includes a decoder 10 and a concealment motion vector storage device 12 (hereinafter,
“Vector storage device 12”), a decoded image storage device 14, and an error processing device 16. Here, the decoder 10 receives a bit stream sent from the outside and decodes encoded image data. The vector storage device 12 stores a motion vector for each macroblock.
The decoded image storage device 14 also stores the image data decoded by the decoder 10. further,
The error processing device 16 performs error compensation and interpolates macroblocks in which data is missing. The interpolation is performed by creating a mirror image of adjacent decodable macroblocks. Details will be described below.

【0017】上記構成の復号装置Aの動作について説明
する。なお、ここでいうスライスとは、通常のスライス
を意味し、16ラインで1つのスライスを形成し、複数
のスライスに分割されてなく、また、次の16ラインに
跨がることのないスライスを意味するものとする。ビッ
トストリームが外部よりデコーダ10に送られ、デコー
ダ10では復号処理が行われる。ここで、デコーダ10
において通常にエラーが生じない状態で復号された場合
には、復号画像がマクロブロックごとに復号画像格納装
置14に送られて格納され、同時に、該マクロブロック
に格納されていた動きベクトルがベクトル格納装置12
に送られて格納される。この動きベクトルは、該マクロ
ブロックの位置的にすぐ真下のマクロブロックのエラー
処理時におけるエラーコンシールメントモーションベク
トルとして使用される。
The operation of the decoding device A having the above configuration will be described. It should be noted that the slice here means a normal slice, and one slice is formed by 16 lines, is not divided into a plurality of slices, and does not straddle the next 16 lines. Shall mean. The bit stream is sent to the decoder 10 from the outside, and the decoder 10 performs a decoding process. Here, the decoder 10
In the case where the decoding is performed in a state where no error normally occurs, the decoded image is sent to and stored in the decoded image storage device 14 for each macroblock, and at the same time, the motion vector stored in the macroblock is stored as a vector. Device 12
Sent to and stored. This motion vector is used as an error concealment motion vector at the time of error processing of a macroblock immediately below the macroblock in position.

【0018】一方、ビットストリームがあるマクロブロ
ックで復号不可能になった場合には、デコーダ10は、
その時点のピクチャ番号と、そのエラーが生じたマクロ
ブロックが属するスライスの先頭のマクロブロック番号
とをエラー処理装置16に送る。すると、エラー処理装
置16は、該マクロブロックの位置的に真上に位置する
マクロブロックの動きベクトルをベクトル格納装置12
から受け取った後、すでに復号した復号画像における参
照フレームから代用のマクロブロックの抽出を行う。つ
まり、エラーが発生したフレーム(これを「カレントフ
レーム」とする)にとっての参照フレームから、上記動
きベクトルにより特定される画像ブロックを切り取り抽
出してエラーが発生したスライス内を補間する。そし
て、次の復号可能なスタートコードのスライスまでその
作業が続けられ、その後通常の復号処理に戻る。このエ
ラー補償の内容は上記従来の技術で説明した内容と同一
である。
On the other hand, if the bitstream becomes undecodable in a certain macroblock, the decoder 10
The picture number at that point and the head macroblock number of the slice to which the macroblock in which the error has occurred belong are sent to the error processing unit 16. Then, the error processing device 16 stores the motion vector of the macroblock positioned immediately above the macroblock in the vector storage device 12.
After that, the substitute macroblock is extracted from the reference frame in the already decoded decoded image. That is, the image block specified by the above motion vector is cut out from the reference frame for the frame in which the error has occurred (this is referred to as the “current frame”), and the slice in which the error has occurred is interpolated. Then, the work is continued until the next slice of the decodable start code, and then the normal decoding process is resumed. The content of this error compensation is the same as the content described in the above-mentioned conventional technique.

【0019】次に、一番最初のイントラフレームやイン
トラフィールド内のスライス内でエラーが発生した場合
には、参照フレームや参照フィールドがないため上記の
ような補間を行うことはできないので、次のような補間
を行う。
Next, when an error occurs in the slice in the first intra frame or intra field, the above interpolation cannot be performed because there is no reference frame or reference field. Interpolation like this is performed.

【0020】まず、一番最初のイントラフレームやイン
トラフィールド内の2番目以降のスライス内でエラーが
発生して復号が不可能になった場合のエラー処理につい
て説明する。この場合には、位置的にすぐ真上のマクロ
ブロックのミラーイメージを作成してマクロブロックを
補間する。なお、エラー補償が可能な最小単位はスライ
スであるので、実際には、復号可能なスライス全体につ
いてミラーイメージを作成して、エラーが発生したスラ
イスを補間することになる。
First, the error processing when an error occurs in the first intra-frame or the second and subsequent slices in the intra-field and decoding becomes impossible will be described. In this case, a mirror image of the macroblock immediately above the position is created to interpolate the macroblock. Since the minimum unit capable of error compensation is a slice, in reality, a mirror image is created for the entire decodable slice and the slice in which the error has occurred is interpolated.

【0021】つまり、図2(a)に示すように、通常の
スライスで2番目以降のスライスS11内のマクロブロ
ックにおいてエラーが発生した場合について説明する
と、エラー処理装置16は、図2(b)に示すように、
エラーが生じたスライスS11の位置的にすぐ真上のス
ライス、すなわちスライスS10の復号された画像デー
タを復号画像格納装置14から受け取り、この画像デー
タからミラーイメージを作成する。補間された画像デー
タは復号画像格納装置14に送られる。そして、補間が
完了したら、図2(c)に示すように、スタートコード
を飛ばして復号を続ける。
That is, as shown in FIG. 2A, the case where an error occurs in a macro block in the second and subsequent slices S11 in a normal slice will be described. The error processing device 16 is shown in FIG. As shown in
The decoded image data of the slice immediately above the slice S11 in which the error has occurred, that is, the decoded image data of the slice S10 is received from the decoded image storage device 14, and a mirror image is created from this image data. The interpolated image data is sent to the decoded image storage device 14. Then, when the interpolation is completed, as shown in FIG. 2C, the start code is skipped and the decoding is continued.

【0022】次に、一番最初のイントラフレームやイン
トラフィールド内の2番目以降のスライスのうち連続し
て2スライス以上復号が不可能になった場合について説
明する。通常のスライスで2番目以降のスライスのう
ち、連続して2スライス以上のスライス内のマクロブロ
ックにおいてエラーが発生した場合である。この場合に
は、位置的にすぐ真上のマクロブロックのミラーイメー
ジを作成して、マクロブロックを補間し、その後、以下
のスライスについても同様の操作を次々と下方に適用し
ていく。ここでも、実際には、復号可能なスライス全体
についてのミラーイメージを作成して、真下のスライス
を補間し、その後、補間したスライスのミラーイメージ
を作成してその下のスライスを補間し、以後同様の処理
を行うことになる。
Next, a case will be described in which it is impossible to continuously decode two or more slices of the first and second intra frames and the second and subsequent slices in the intra field. This is a case where an error occurs in macroblocks in two or more consecutive slices of the second and subsequent slices of a normal slice. In this case, a mirror image of the macroblock immediately above the position is created, the macroblock is interpolated, and then the same operation is applied to the following slices one after another. Again, actually, create a mirror image for the entire decodable slice, interpolate the slice directly below, then create a mirror image of the interpolated slice, interpolate the slice below it, and so on. Will be processed.

【0023】つまり、図3(a)に示すように、2番目
以降のスライスであるスライスS21とスライスS22
内のマクロブロックにおいて復号不可能になった場合に
ついて説明すると、エラー処理装置16は、図3(b)
に示すように、エラーが生じたスライスS21の位置的
にすぐ真上のスライス、すなわち、スライスS20の復
号された画像データを復号画像格納装置14から受け取
り、この画像データからミラーイメージの画像データを
作成する。このミラーイメージの画像データはスライス
S21の補間するためのものである。さらに、スライス
S21の補間に作成した該画像データについてのミラー
イメージの画像データを作成する。この画像データはス
ライスS22の補間用である。そして、これらのミラー
イメージの画像データは復号画像格納装置14に送られ
て格納される。そして、補間が完了したら、図3(c)
に示すように、スタートコードを飛ばして復号を続け
る。なお、上記の例では、連続して2スライス復号が不
可能となった場合について説明したが、3スライス以上
復号が不可能な場合でも同様に、復号可能なスライスの
真下のスライスから次々と下方にミラーイメージを作成
して補間を行う。
That is, as shown in FIG. 3A, the slices S21 and S22 which are the second and subsequent slices.
In the case where the macroblock in FIG.
As shown in FIG. 3, the decoded image data of the slice immediately above the slice S21 in which the error has occurred, that is, the decoded image data of the slice S20 is received from the decoded image storage device 14, and the image data of the mirror image is obtained from this image data. create. The image data of this mirror image is for interpolating the slice S21. Further, image data of a mirror image of the image data created by interpolation of the slice S21 is created. This image data is for interpolation of the slice S22. Then, the image data of these mirror images is sent to and stored in the decoded image storage device 14. Then, when the interpolation is completed, FIG.
As shown in, skip the start code and continue decoding. In addition, in the above example, the case where 2-slice decoding cannot be performed continuously has been described. However, even when 3 or more slices cannot be decoded, the slices immediately below the decodable slices are sequentially downward. Create a mirror image on and interpolate.

【0024】次に、一番最初のイントラフレームやイン
トラフィールド内で、最初のスライスが復号不可能にな
った場合について説明する。この場合には、復号可能な
次のスライスを先に復号しておいて、そのスライス内の
マクロブロックのミラーイメージを作成し、すぐ真上の
抜けたマクロブロック、つまり、直前のスライス内のマ
クロブロックを補間する。ここでも、実際には、復号可
能なスライス全体についてミラーイメージを作成して補
間を行うことになる。
Next, a case will be described in which the first slice cannot be decoded in the very first intra frame or intra field. In this case, the next decodable slice is decoded first, and then a mirror image of the macroblock in that slice is created, and the missing macroblock immediately above, that is, the macro in the previous slice, is created. Interpolate blocks. Here again, in practice, a mirror image is created and interpolation is performed for the entire decodable slice.

【0025】つまり、図4(a)に示すように、通常の
スライスで最初のスライスS31内のマクロブロックに
おいてエラーが発生した場合について説明すると、ま
ず、図4(b)に示すように、デコーダ10は、スター
トコードを飛ばして復号が可能な次のスライスS32を
先に復号しておき、この復号画像を復号画像格納装置1
4に格納しておく。そして、エラー処理装置16は、ス
ライスS32の該復号画像のミラーイメージを作成し
て、スライスS31を補間する。
That is, as shown in FIG. 4A, a case where an error occurs in a macroblock in the first slice S31 in a normal slice will be described. First, as shown in FIG. 10, the next slice S32 that can be decoded by skipping the start code is decoded first, and this decoded image is stored in the decoded image storage device 1
Store in 4. Then, the error processing device 16 creates a mirror image of the decoded image of the slice S32 and interpolates the slice S31.

【0026】次に、一番最初のイントラフレームやイン
トラフィールド内で、最初のスライスから連続して2ス
ライス以上が復号不可能になった場合について説明す
る。この場合には、復号可能なスライスを先に復号して
おいて、そのスライス内のマクロブロックのミラーイメ
ージを作成し、すぐ真上のマクロブロックを補間し、そ
の後、同様の操作を次々と上方に適用していく。ここで
も、上記と同様に、実際には、復号可能なスライス全体
についてミラーイメージを作成して補間を行うことにな
る。
Next, a case where two or more slices cannot be decoded consecutively from the first slice in the first intraframe or intrafield will be described. In this case, the decodable slice is decoded first, the mirror image of the macroblock in that slice is created, the macroblock immediately above is interpolated, and then the same operation is performed one after another. Will be applied to. Here again, in the same manner as described above, actually, a mirror image is created and interpolation is performed for the entire decodable slice.

【0027】つまり、図5(a)に示すように、通常の
スライスで最初のスライスS4からスライスS4n−1
内の各マクロブロックにおいてエラーが発生した場合に
ついて説明すると、まず、図5(b)に示すように、デ
コーダ10は、スタートコードを飛ばして復号が可能な
次のスライスS4nを先に復号しておき、この復号画像
を復号画像格納装置14に格納しておく。そして、エラ
ー処理装置16は、このスライスS4nの該復号画像の
ミラーイメージを作成する。この画像データはスライス
S4n−1の補間用である。さらに、スライスS4n−
1の補間に作成した該画像データについてのミラーイメ
ージの画像データを作成してスライスS4n−2を補間
する。このように次々と上方にミラーイメージの画像デ
ータを作成して補間を行う。
That is, as shown in FIG. 5 (a), the first slice S4 to the slice S4n-1 in the normal slices.
In the case where an error occurs in each macroblock in the above, first, as shown in FIG. 5B, the decoder 10 skips the start code and decodes the next slice S4n that can be decoded first. Next, this decoded image is stored in the decoded image storage device 14. Then, the error processing device 16 creates a mirror image of the decoded image of the slice S4n. This image data is for interpolation of the slice S4n-1. Furthermore, slice S4n-
The image data of the mirror image of the image data created in the interpolation of 1 is created and the slice S4n-2 is interpolated. In this way, the image data of the mirror image is created one after another and interpolation is performed.

【0028】以上のように本実施例の復号装置Aによれ
ば、隣接するスライスのミラーイメージを作成して補間
を行うので、一番最初のイントラフレームもしくはイン
トラフィールド内でのエラー処理が可能となる。なお、
上記のミラーイメージによる補間は、一番最初のイント
ラフレームもしくはイントラフィールド内でのエラー処
理に有用であるが、一番最初のイントラフレームもしく
はイントラフィールド以外のフレーム又はフィードでも
利用可能である。また、上記のエラー処理においては、
ミラーイメージを作成して補間するので、画像を垂直方
向を連続な状態にして、視覚的にも周波数的にも良好な
補間画像とすることができる。
As described above, according to the decoding apparatus A of this embodiment, since mirror images of adjacent slices are created and interpolation is performed, it is possible to perform error processing within the first intra frame or intra field. Become. In addition,
The interpolation with the mirror image described above is useful for error handling within the first intra-frame or intra-field, but can also be used for frames or feeds other than the first intra-frame or intra-field. Also, in the above error handling,
Since the mirror image is created and interpolated, the image can be made continuous in the vertical direction and can be an interpolated image that is good in terms of both visual and frequency.

【0029】なお、ある画像が表示された画面を見る場
合には、人間の視覚動作は上方から下方に向けて見る特
徴があるので、エラーが発生したスライスよりも上位置
に復号可能なスライスがある場合には、その復号可能な
スライスのミラーイメージにより補間を行うことが望ま
しい。また、上記の説明では、ミラーイメージの画像デ
ータを生成するに際し、あるスライスのミラーイメージ
を生成するものとして説明したが、マクロブロック単位
で補間が可能な場合には、あるマクロブロックのミラー
イメージを生成して補間を行うようにしてもよい。
When looking at a screen on which a certain image is displayed, since human visual action is characterized by looking downward from above, a slice that can be decoded is located above the slice in which an error has occurred. In some cases, it may be desirable to interpolate with the mirror image of the decodable slice. Further, in the above description, when the image data of the mirror image is generated, it is described that a mirror image of a certain slice is generated. However, when interpolation is possible in macroblock units, the mirror image of a certain macroblock is It may be generated and interpolated.

【0030】[0030]

【発明の効果】本発明に基づく請求項1に記載のエラー
処理装置によれば、ミラーイメージによって補間を行う
ので、一番最初のイントラフレームやイントラフィール
ドであっても、補間を行うことができ、また、あるフレ
ームやフィールドにおける先頭のスライスであっても補
間を行うことができる。特に、ミラーイメージを作成し
て補間するので、画像を垂直方向を連続な状態にして、
視覚的にも周波数的にも良好な補間画像とすることがで
きる。
According to the error processing device of the first aspect of the present invention, since the interpolation is performed by the mirror image, the interpolation can be performed even in the first intra-frame or intra-field. Also, interpolation can be performed even for the first slice in a certain frame or field. Especially, since a mirror image is created and interpolated, the image is made continuous in the vertical direction,
It is possible to obtain an interpolated image that is good both visually and in terms of frequency.

【0031】また、特に、請求項2に記載のエラー処理
装置によれば、あるフレームやフィールドにおける先頭
のスライスであっても、補間を行うことができ、ミラー
イメージにより補間を行うので連続した画像を得ること
ができる。また、特に、請求項3に記載のエラー処理装
置によれば、補間が必要なスライスが上下に2つ以上連
続している場合にも、補間を行うことができ、隣接する
スライスのマクロブロックのミラーイメージを作成して
補間を行うので、連続した画像を得ることができる。ま
た、特に、請求項4に記載のエラー処理装置によれば、
上方にあるマクロブロックから生成したミラーイメージ
により補間を行うので、あるピクチャの復号画像におい
て上方から連続した画像とすることができ、より視覚的
に連続性にある画像を得ることができる。
Further, in particular, according to the error processing device of the second aspect, even the first slice in a certain frame or field can be interpolated, and since interpolation is performed by the mirror image, continuous images are obtained. Can be obtained. Further, in particular, according to the error processing device of the third aspect, interpolation can be performed even when two or more slices that require interpolation are consecutive in the vertical direction, and macroblocks of adjacent slices can be interpolated. Since a mirror image is created and interpolation is performed, continuous images can be obtained. Further, in particular, according to the error processing device of claim 4,
Since the interpolation is performed by the mirror image generated from the macro block located above, the decoded image of a picture can be a continuous image from above, and a visually more continuous image can be obtained.

【0032】また、特に、請求項5に記載のエラー処理
装置によれば、最初のイントラフレームやイントラフィ
ールドにミラーイメージによる補間を行うので、参照フ
レームを持たない一番最初のイントラフレームや、参照
フィールドを持たない一番最初のイントラフィールドに
も補間を行うことができる。また、特に、請求項6に記
載のエラー処理装置によれば、全体としてより適切なエ
ラー補償を行うことができる。
Further, in particular, according to the error processing device of the fifth aspect, since the interpolation by the mirror image is performed on the first intra frame and the intra field, the first intra frame having no reference frame and the reference frame Interpolation can also be performed on the very first intra field that has no fields. Further, in particular, according to the error processing device of the sixth aspect, it is possible to perform more appropriate error compensation as a whole.

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

【図1】本発明の実施例に基づくエラー処理装置の構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an error processing device according to an embodiment of the present invention.

【図2】エラー処理の手順を示す説明図である。FIG. 2 is an explanatory diagram showing a procedure of error processing.

【図3】エラー処理の手順を示す説明図である。FIG. 3 is an explanatory diagram showing a procedure of error processing.

【図4】エラー処理の手順を示す説明図である。FIG. 4 is an explanatory diagram showing a procedure of error processing.

【図5】エラー処理の手順を示す説明図である。FIG. 5 is an explanatory diagram showing an error processing procedure.

【図6】従来のエラー処理であって、エラーコンシール
メントモーションベクトルによりエラー処理を説明する
ための説明図である。
FIG. 6 is an explanatory diagram illustrating conventional error processing, which is performed by using an error concealment motion vector.

【図7】従来のエラー処理であって、エラーコンシール
メントモーションベクトルによりエラー処理の手順を説
明するための説明図である。
FIG. 7 is an explanatory diagram illustrating a conventional error processing, which is an error processing procedure using an error concealment motion vector.

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

A 復号装置 10 デコーダ 12 コンシールメントモーションベクトル格納装置 14 復号画像格納装置 16 エラー処理装置 S10、S11、S21、S20、S21、S22、S
31、S32、S41、S42、S4n、S4n−1、
S4n−2 スライス
A Decoding device 10 Decoder 12 Concealment motion vector storage device 14 Decoded image storage device 16 Error processing device S10, S11, S21, S20, S21, S22, S
31, S32, S41, S42, S4n, S4n-1,
S4n-2 slice

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 画像信号を復号する際のエラー補償を行
うエラー処理装置であって、 あるマクロブロックを補間する場合に、該マクロブロッ
クの上方又は下方に隣接するマクロブロックのミラーイ
メージの画像データを生成することを特徴とするエラー
処理装置。
1. An error processing device for performing error compensation when decoding an image signal, wherein image data of a mirror image of a macroblock adjacent above or below the macroblock when the macroblock is interpolated. An error handling device characterized by:
【請求項2】 あるピクチャのフレーム又はフィールド
における最初のスライスのマクロブロックを補間する場
合に、該マクロブロックの真下のマクロブロックを先に
復号し、該復号したマクロブロックのミラーイメージに
より補間を行うことを特徴とする請求項1に記載のエラ
ー処理装置。
2. When interpolating a macroblock of a first slice in a frame or field of a picture, a macroblock immediately below the macroblock is first decoded, and interpolation is performed using a mirror image of the decoded macroblock. The error processing device according to claim 1, wherein
【請求項3】 上方又は下方に連続した2つ以上の各ス
ライスにおいて、マクロブロックの補間を行う場合に、
補間を行ういずれかのマクロブロックのスライスに隣接
した復号可能なスライスのマクロブロックのミラーイメ
ージを生成して補間を行うとともに、補間を行おうとす
るスライスの上又は下位置に隣接した補間済みのスライ
スのマクロブロックのミラーイメージを生成する処理を
1又は複数回順次行うことを特徴とする請求項1に記載
のエラー処理装置。
3. When interpolating a macroblock in each of two or more consecutive slices that are continuous upward or downward,
Interpolation is performed by generating a mirror image of a macroblock of a decodable slice adjacent to a slice of any macroblock to be interpolated, and also at an upper or lower position of the slice to be interpolated. The error processing device according to claim 1, wherein the process of generating the mirror image of the macroblock is sequentially performed once or a plurality of times.
【請求項4】 補間を行うべきマクロブロックの上方に
復号可能なマクロブロックがある場合には、該復号可能
なマクロブロックのミラーイメージを生成することを特
徴とする請求項1又は3に記載のエラー処理装置。
4. The mirror image of a decodable macroblock is generated when there is a decodable macroblock above the macroblock to be interpolated. Error handling device.
【請求項5】 最初のイントラフレーム又はイントラフ
ィールドのエラー補償に適用することを特徴とする請求
項1から4のいずれかに記載のエラー処理装置。
5. The error processing device according to claim 1, wherein the error processing device is applied to error compensation of the first intra frame or intra field.
【請求項6】 エラー処理装置が、さらに、通常のMP
EG規格のエラーコンシールメントモーションベクトル
によるエラー処理機能を有することを特徴とする請求項
1から5のいずれかに記載のエラー処理装置。
6. The error processing device further comprises a normal MP.
The error processing device according to any one of claims 1 to 5, which has an error processing function based on an EG standard error concealment motion vector.
JP7336228A 1995-11-29 1995-11-29 Error processing unit Pending JPH09154135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7336228A JPH09154135A (en) 1995-11-29 1995-11-29 Error processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7336228A JPH09154135A (en) 1995-11-29 1995-11-29 Error processing unit

Publications (1)

Publication Number Publication Date
JPH09154135A true JPH09154135A (en) 1997-06-10

Family

ID=18296971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7336228A Pending JPH09154135A (en) 1995-11-29 1995-11-29 Error processing unit

Country Status (1)

Country Link
JP (1) JPH09154135A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006513643A (en) * 2003-01-10 2006-04-20 トムソン ライセンシング Technology to define concealment order to minimize error propagation
US8218649B2 (en) 2008-06-13 2012-07-10 Kabushiki Kaisha Toshiba Information processing apparatus and recovery processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006513643A (en) * 2003-01-10 2006-04-20 トムソン ライセンシング Technology to define concealment order to minimize error propagation
US8218649B2 (en) 2008-06-13 2012-07-10 Kabushiki Kaisha Toshiba Information processing apparatus and recovery processing method

Similar Documents

Publication Publication Date Title
US7839931B2 (en) Picture level adaptive frame/field coding for digital video content
US7068722B2 (en) Content adaptive video processor using motion compensation
JP4014263B2 (en) Video signal conversion apparatus and video signal conversion method
US6931063B2 (en) Method and apparatus for controlling loop filtering or post filtering in block based motion compensationed video coding
JP2008536438A (en) Method and apparatus for decoding video signal using reference picture
US7822123B2 (en) Efficient repeat padding for hybrid video sequence with arbitrary video resolution
US8243820B2 (en) Decoding variable coded resolution video with native range/resolution post-processing operation
EP2276261A1 (en) Picture level adaptive frame/field coding for digital video signal
JP3331351B2 (en) Image data encoding method and apparatus
JPH09214970A (en) Image code converting system
US20080084932A1 (en) Controlling loop filtering for interlaced video frames
JP4310195B2 (en) Edit encoded audio / video sequences
US20060072668A1 (en) Adaptive vertical macroblock alignment for mixed frame video sequences
KR100215824B1 (en) MPEG decoder frame memory and video data decoding method
CN1957617A (en) Method and device for encoding digital video data
JPH0818979A (en) Image processing device
JPH09154135A (en) Error processing unit
KR100272818B1 (en) Image datd encoding device
JPH09154142A (en) Error processing unit
JPH09154141A (en) Error processing unit, decoder and coder
CN1784905A (en) Video encoding and decoding methods and corresponding encoding and decoding devices
JPH10126749A (en) Progressive scan converter
JPH07123412A (en) Moving image compression-encoding method
US8396124B2 (en) Method of predicting motion and texture data
JPH07312755A (en) Video coding / decoding device