JP2003274413A - Error handling apparatus and method - Google Patents

Error handling apparatus and method

Info

Publication number
JP2003274413A
JP2003274413A JP2002070851A JP2002070851A JP2003274413A JP 2003274413 A JP2003274413 A JP 2003274413A JP 2002070851 A JP2002070851 A JP 2002070851A JP 2002070851 A JP2002070851 A JP 2002070851A JP 2003274413 A JP2003274413 A JP 2003274413A
Authority
JP
Japan
Prior art keywords
macroblock
average
block
error processing
decoded
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
JP2002070851A
Other languages
Japanese (ja)
Inventor
Yoshitaka Yoshida
善貴 吉田
Akio Sanada
明生 真田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002070851A priority Critical patent/JP2003274413A/en
Publication of JP2003274413A publication Critical patent/JP2003274413A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To apply excellent error compensation with a less memory quantity and a small processing load to a picture in which an error is caused. <P>SOLUTION: An image signal decoding section 100 receiving a bit stream decodes encoded image data. An in-block average pixel value calculation section 103 calculates an average value of an in-block pixel decoded by the image signal decoding section 100. An error processing section 102 applies error compensation for decoding the image signal by the image signal decoding section 100 and when a macro block is interpolated, the error compensation is realized by using a reference image on the basis of an average value of pixels of a block first decoded in a picture calculated by the in-block average pixel value calculation section 103. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像復号処理にお
けるエラー処理装置に関し、特に、MPEGの復号処理
におけるエラー処理装置に関する。
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 an error processing device in MPEG decoding processing.

【0002】[0002]

【従来の技術】従来から、MPEGは、主に動画データ
を圧縮する画像標準符号化の技術として知られている。
以下に、MPEG−4ビデオ・ビットストリームを例に
挙げて説明する。MPEG−4における画像データは、
シーケンス、VOP(ビデオオブジェクトプレーン)、
VP(ビデオパケット)、MB(マクロブロック)、ブ
ロックの5層の階層構造からなっている。そして、MP
EG−4のビットストリームでは、構成単位である上記
シーケンス、VOP、VPごとに先頭にスタートコード
が付されていて、復号時においてエラーが生じた場合に
は、次のスタートコードまで読み飛ばすことによってす
ぐに復号が回復できるようになっている。
2. Description of the Related Art Conventionally, MPEG is known as a standard image coding technique for mainly compressing moving image data.
The MPEG-4 video bitstream will be described below as an example. The image data in MPEG-4 is
Sequence, VOP (Video Object Plane),
It has a hierarchical structure of five layers of VP (video packet), MB (macro block), and block. And MP
In the bit stream of EG-4, a start code is added to the beginning of each of the above sequence, VOP, and VP, which is a structural unit, and if an error occurs during decoding, skip to the next start code. The decryption can be restored immediately.

【0003】ここで、読み飛ばした部分については、エ
ラーが生じて抜けたマクロブロックを前VOPの同じ空
間的位置のマクロブロックで置き換える、つまり、本来
の画像に似た画像で置き換えて目立たなくする方法が一
般的である。また、参照画像を持たない一番最初のVO
Pには代用するVOPがないため、参照画像の代わりに
適当な値で初期化した画像を使用するように構成されて
いる。
Here, for the skipped portion, the macro block that has been omitted due to an error is replaced with the macro block at the same spatial position of the previous VOP, that is, it is replaced with an image similar to the original image to make it inconspicuous. The method is common. Also, the first VO that does not have a reference image
Since P has no substitute VOP, it is configured to use an image initialized with an appropriate value instead of the reference image.

【0004】また、特開平9−154135号公報(エ
ラー処理装置)では、エラーが生じて抜けたマクロブロ
ックの位置的にすぐ真上の位置のマクロブロックのミラ
ーイメージを生成して抜けたマクロブロックの補間に使
用し、エラー補償をフレーム内の画像で置き換えるよう
に構成する方法が開示されている。
Further, in Japanese Laid-Open Patent Publication No. 9-154135 (error processing device), a macro block is generated by generating a mirror image of a macro block located immediately above the macro block which is missing due to an error. Is used to interpolate and configure the error compensation to be replaced by the image in the frame.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前VO
Pの同じ空間的位置のマクロブロックで置き換える方法
では、前VOPの画像を参照画像として保存するための
メモリが必要となる。また、1枚目のピクチャやシーン
チェンジのあったピクチャ、INTRAピクチャ等で
は、前ピクチャとの時間的相関が小さいため、前VOP
の同じ位置のマクロブロックで置き換えても周辺の画像
との差が大きく、適切なエラー補償が出来ない場合があ
る。
[Problems to be Solved by the Invention]
The method of replacing the macroblock of P with the same spatial position requires a memory for storing the image of the previous VOP as a reference image. Further, in the first picture, the scene-changed picture, the INTRA picture, etc., the temporal correlation with the previous picture is small, so that the previous VOP
Even if it is replaced with the macro block at the same position, there is a large difference from the surrounding image, and there are cases where appropriate error compensation cannot be performed.

【0006】また、特開平9−154135号公報で開
示された方法では、VOP内でミラーイメージによる補
間を行っているので、参照画像を保存するためのメモリ
を必要としないが、逆に、ミラーイメージを生成するた
めのメモリが必要となり、また処理負荷も増大するとい
う問題がある。
Further, in the method disclosed in Japanese Patent Application Laid-Open No. 9-154135, since the interpolation by the mirror image is performed in the VOP, the memory for storing the reference image is not necessary, but conversely, the mirror is used. There is a problem that a memory for generating an image is required and the processing load increases.

【0007】本発明はかかる点に鑑みてなされたもので
あり、エラーが生じたピクチャに対し、少ないメモリ量
と処理負荷で良好なエラー補償が行えるエラー処理装置
を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an error processing apparatus capable of performing good error compensation for a picture in which an error has occurred, with a small memory amount and a processing load.

【0008】[0008]

【課題を解決するための手段】本発明のエラー処理装置
は、ビットストリームを受けて、符号化された画像デー
タを復号する画像信号復号化手段と、前記画像信号復号
化手段にて復号が行われたブロック内画素の平均値を算
出するブロック内平均画素値算出手段と、前記画像信号
復号化手段にて画像信号を復号する際のエラー補償を行
うエラー処理手段であって、あるマクロブロックを補間
する場合に、前記ブロック内平均画素値算出手段にて算
出されたピクチャ内で最初に復号が行われたブロックの
画素の平均値に基づく参照画像を用いてエラー補償を行
うエラー処理手段と、を具備する構成を採る。
An error processing apparatus of the present invention receives an image signal decoding means for receiving a bit stream and decoding encoded image data, and performs decoding by the image signal decoding means. In-block average pixel value calculating means for calculating the average value of the in-block pixels, and error processing means for performing error compensation when the image signal is decoded by the image signal decoding means. In the case of interpolation, error processing means for performing error compensation using a reference image based on the average value of the pixels of the block which is first decoded in the picture calculated by the in-block average pixel value calculation means, The configuration including is adopted.

【0009】この構成によれば、エラー補償に用いるた
めの前ピクチャの画像をメモリに保存しておく必要がな
いので、特別なフレームメモリを必要としない。また、
参照画像が固定された画像ではなく最初に復号したブロ
ックの画素の平均値によって適応的に変化するので、エ
ラー補償を行ったマクロブロックが視覚的にも周波数的
にも良好な補間画像として得られる。
According to this structure, since it is not necessary to store the image of the previous picture used for error compensation in the memory, no special frame memory is required. Also,
Since the reference image is not a fixed image but adaptively changes depending on the average value of the pixels of the first decoded block, the error-compensated macroblock can be obtained as a visually and frequency-interpolated image. .

【0010】本発明のエラー処理装置は、ビットストリ
ームを受けて、符号化された画像データを復号する画像
信号復号化手段と、前記画像信号復号化手段にてビット
ストリームの復号が行われる際に、ピクチャ内で復号さ
れたブロックのDC係数を抽出するDC係数抽出手段
と、前記画像信号復号化手段にて画像信号を復号する際
のエラー補償を行うエラー処理手段であって、あるマク
ロブロックを補間する場合に、前記DC係数抽出手段に
て抽出されたピクチャ内で最初に復号が行われたブロッ
クにおけるDC係数に基づく参照画像を用いてエラー補
償を行うエラー処理手段と、を具備する構成を採る。
The error processing device of the present invention receives an image signal decoding means for receiving a bit stream and decoding encoded image data, and an image signal decoding means for decoding the bit stream by the image signal decoding means. , A DC coefficient extracting means for extracting a DC coefficient of a block decoded in a picture, and an error processing means for performing an error compensation when the image signal is decoded by the image signal decoding means, In the case of interpolation, an error processing unit for performing error compensation using a reference image based on the DC coefficient in the block first decoded in the picture extracted by the DC coefficient extraction unit is provided. take.

【0011】この構成によれば、エラー補償に用いるた
めの前ピクチャの画像をメモリに保存しておく必要がな
いので、特別なフレームメモリを必要としない。また、
ブロック内の画素の平均値を算出するよりも処理負荷が
小さくなる。さらに、参照画像が最初に復号したブロッ
クのDC係数によって適応的に変化するので、エラー補
償を行ったマクロブロックが視覚的にも周波数的にも良
好な補間画像として得られる。
According to this configuration, since it is not necessary to store the image of the previous picture used for error compensation in the memory, no special frame memory is required. Also,
The processing load is smaller than that of calculating the average value of the pixels in the block. Further, the reference image adaptively changes depending on the DC coefficient of the first decoded block, so that the error-compensated macroblock can be obtained as a visually and frequency-interpolated image.

【0012】本発明のエラー処理装置は、前記ブロック
内平均画素値算出手段にて算出されたマクロブロック内
の各ブロックの平均画素値からマクロブロック内画素の
平均値を算出するマクロブロック内平均画素値算出手
段、を具備し、前記エラー処理手段は、あるマクロブロ
ックを補間する場合に、前記マクロブロック内平均画素
値算出手段にて算出されたピクチャ内で最初に復号が行
われたマクロブロックでの平均画素値を参照画像として
用いる構成を採る。
The error processing device of the present invention calculates the average value of macroblock pixels from the average pixel value of each block in the macroblock calculated by the block average pixel value calculation means. The error processing means is a macroblock which is first decoded in the picture calculated by the intra-macroblock average pixel value calculation means when interpolating a macroblock. The average pixel value of is used as a reference image.

【0013】この構成によれば、エラー補償に用いるた
めの前ピクチャの画像をメモリに保存しておく必要がな
いので、特別なフレームメモリを必要としない。また、
参照画像が最初に復号したブロックだけではなくマクロ
ブロックの画素の平均値によって適応的に変化するの
で、より画面全体の値に近い値でエラー補償を行うこと
ができ、エラー補償を行ったマクロブロックが視覚的に
も周波数的にも良好な補間画像として得られる。
According to this structure, since it is not necessary to store the image of the previous picture used for error compensation in the memory, no special frame memory is required. Also,
Since the reference image adaptively changes not only in the first decoded block but also in the average value of the pixels of the macroblock, it is possible to perform error compensation at a value closer to the value of the entire screen. Is obtained as an interpolated image that is good both visually and in terms of frequency.

【0014】本発明のエラー処理装置は、前記DC係数
抽出手段にて抽出されたピクチャ内各ブロックでのDC
係数のマクロブロック平均値を算出するマクロブロック
内平均DC係数算出手段、を具備し、前記エラー処理手
段は、あるマクロブロックを補間する場合に、前記マク
ロブロック内平均DC係数算出手段にて算出されたピク
チャ内で最初に復号が行われたマクロブロックでのDC
係数平均値を参照画像として用いる構成を採る。
According to the error processing apparatus of the present invention, the DC in each block in the picture extracted by the DC coefficient extracting means is
An intra-macro-block average DC coefficient calculating means for calculating a macro-block average value of coefficients, wherein the error processing means is calculated by the intra-macro-block average DC coefficient calculating means when interpolating a certain macro block. In the first decoded macroblock in the selected picture
A configuration is used in which the coefficient average value is used as a reference image.

【0015】この構成によれば、エラー補償に用いるた
めの前ピクチャの画像をメモリに保存しておく必要がな
いので、特別なフレームメモリを必要としない。また、
マクロブロック内の画素の平均値を算出するより処理負
荷が小さく、さらに参照画像が最初に復号したマクロブ
ロックのDC係数の平均値によって適応的に変化するの
で、より画面全体の値に近い値でエラー補償を行うこと
ができ、エラー補償を行ったマクロブロックが視覚的に
も周波数的にも良好な補間画像として得られる。
According to this configuration, since it is not necessary to store the image of the previous picture used for error compensation in the memory, no special frame memory is required. Also,
The processing load is smaller than that of calculating the average value of pixels in the macroblock, and the reference image adaptively changes according to the average value of the DC coefficient of the first decoded macroblock. The error compensation can be performed, and the macroblock subjected to the error compensation can be obtained as an interpolated image that is good in terms of both visual and frequency.

【0016】本発明のエラー処理装置は、前記ブロック
内平均画素値算出手段及びマクロブロック内平均画素値
算出手段にて算出されたスライス内の各マクロブロック
の平均画素値からスライスの平均値を算出するスライス
内平均画素値算出手段、を具備し、前記エラー処理手段
は、あるマクロブロックを補間する場合に、前記スライ
ス内平均画素値算出手段にて算出されたピクチャの先頭
のスライス内のマクロブロックの平均画素値を参照画像
として用いる構成を採る。
The error processing apparatus of the present invention calculates the average value of the slice from the average pixel value of each macroblock in the slice calculated by the intra-block average pixel value calculation means and the macroblock average pixel value calculation means. In-slice average pixel value calculating means, wherein the error processing means, when interpolating a certain macroblock, the macroblock in the first slice of the picture calculated by the in-slice average pixel value calculating means The average pixel value of is used as a reference image.

【0017】この構成によれば、エラー補償に用いるた
めの前ピクチャの画像をメモリに保存しておく必要がな
いので、特別なフレームメモリを必要としない。また、
参照画像が固定された画像ではなくピクチャの先頭のス
ライス内の画素の平均値によって適応的に変化するの
で、マクロブロックの画素の平均値よりもさらに画面全
体の値に近い値でエラー補償を行うことができ、エラー
補償を行ったマクロブロックが視覚的にも周波数的にも
より高精度な補間画像として得られる。
According to this configuration, since it is not necessary to store the image of the previous picture used for error compensation in the memory, no special frame memory is required. Also,
Since the reference image is not a fixed image but adaptively changes according to the average value of the pixels in the first slice of the picture, error compensation is performed with a value closer to the value of the entire screen than the average value of the macroblock pixels. Thus, the macroblock subjected to the error compensation can be obtained as an interpolated image with higher accuracy both visually and in terms of frequency.

【0018】本発明のエラー処理装置は、前記DC係数
抽出手段及びマクロブロック内平均DC係数算出手段に
て抽出された各マクロブロックのDC係数のスライスで
の平均を算出するスライス内平均DC係数算出手段、を
具備し、前記エラー処理手段は、あるマクロブロックを
補間する場合に、前記スライス内平均DC係数算出手段
にて算出されたピクチャの先頭のスライス内の各ブロッ
クのDC係数の平均を参照画像として用いる構成を採
る。
The error processing apparatus of the present invention calculates the average DC coefficient in slices for calculating the average of the DC coefficients of each macroblock extracted by the DC coefficient extraction means and the intra-macroblock average DC coefficient calculation means in slices. The error processing means refers to the average of the DC coefficients of the blocks in the first slice of the picture calculated by the in-slice average DC coefficient calculation means when interpolating a certain macroblock. The configuration used as an image is adopted.

【0019】この構成によれば、エラー補償に用いるた
めの前ピクチャの画像をメモリに保存しておく必要がな
いので、特別なフレームメモリを必要としない。また、
スライス内の画素の平均値を算出するより処理負荷が小
さくなる。さらに、スライス内の各ブロックのDC係数
の平均値によって参照画像が適応的に変化するので、よ
り画面全体の値に近い値でエラー補償を行うことがで
き、エラー補償を行ったマクロブロックが視覚的にも周
波数的にもより高精度な補間画像として得られる。
According to this structure, since it is not necessary to store the image of the previous picture used for error compensation in the memory, no special frame memory is required. Also,
The processing load is smaller than that of calculating the average value of the pixels in the slice. Further, since the reference image adaptively changes according to the average value of the DC coefficient of each block in the slice, error compensation can be performed with a value closer to the value of the entire screen, and the macroblock that has performed the error compensation can be visually recognized. It is possible to obtain an interpolated image with higher accuracy both in terms of frequency and frequency.

【0020】本発明のエラー処理装置は、前記エラー処
理手段は、ピクチャの先頭のマクロブロックまたはスラ
イスが正常に復号できなかった場合、次に正常に復号で
きたマクロブロックまたはスライスのデータを用いてエ
ラー補償を行う構成を採る。
In the error processing device of the present invention, when the first macroblock or slice of a picture cannot be decoded normally, the error processing means uses the data of the next macroblock or slice that can be decoded normally. Adopt a configuration for error compensation.

【0021】この構成によれば、あるピクチャの先頭の
マクロブロックやスライスであっても補間を行うことが
できる。また、前ピクチャをメモリに保存しておく必要
がないので、特別なフレームメモリを必要としない。さ
らに、エラー補償を行ったマクロブロックが視覚的にも
周波数的にも良好な補間画像として得られる。
According to this configuration, interpolation can be performed even for the head macroblock or slice of a picture. Further, since it is not necessary to store the previous picture in the memory, no special frame memory is needed. Further, the error-compensated macroblock can be obtained as an interpolated image that is good both visually and in terms of frequency.

【0022】本発明のエラー処理方法は、ビットストリ
ームを受けて、符号化された画像データを復号する画像
信号復号化工程と、前記画像信号復号化工程にて復号が
行われたブロック内画素の平均値を算出するブロック内
平均画素値算出工程と、前記画像信号復号化工程にて画
像信号を復号する際のエラー補償を行うエラー処理工程
であって、あるマクロブロックを補間する場合に、前記
ブロック内平均画素値算出工程にて算出されたピクチャ
内で最初に復号が行われたブロックの画素の平均値に基
づく参照画像を用いてエラー補償を行うエラー処理工程
と、を具備する方法を採る。
The error processing method according to the present invention includes an image signal decoding step of receiving a bitstream and decoding encoded image data, and a pixel in block decoded in the image signal decoding step. An intra-block average pixel value calculation step of calculating an average value, and an error processing step of performing error compensation when decoding the image signal in the image signal decoding step, wherein when interpolating a macroblock, And an error processing step of performing error compensation using a reference image based on the average value of pixels of the block which is first decoded in the picture calculated in the intra-block average pixel value calculation step. .

【0023】この方法によれば、エラー補償に用いるた
めの前ピクチャの画像をメモリに保存しておく必要がな
いので、特別なフレームメモリを必要としない。また、
参照画像が固定された画像ではなく最初に復号したブロ
ックの画素の平均値によって適応的に変化するので、エ
ラー補償を行ったマクロブロックが視覚的にも周波数的
にも良好な補間画像として得られる。
According to this method, since it is not necessary to store the image of the previous picture used for error compensation in the memory, no special frame memory is required. Also,
Since the reference image is not a fixed image but adaptively changes depending on the average value of the pixels of the first decoded block, the error-compensated macroblock can be obtained as a visually and frequency-interpolated image. .

【0024】本発明のプログラムは、上記発明に記載さ
れた方法をコンピュータに実行させるプログラムであ
り、そのプログラムが機械に読み取り可能となることに
よって、請求項のいずれか一つの動作をコンピュータが
実行することができる。
The program of the present invention is a program for causing a computer to execute the method described in the above invention, and the computer executes the operation of any one of the claims by making the program readable by a machine. be able to.

【0025】本発明の画像通信装置は、上記発明のいず
れかに記載されたエラー処理装置を具備する構成を採
る。
The image communication apparatus of the present invention has a configuration including the error processing apparatus described in any of the above inventions.

【0026】本発明の移動体通信システムは、上記発明
に記載された画像通信装置を具備する構成を採る。
The mobile communication system of the present invention has a configuration including the image communication device described in the above invention.

【0027】[0027]

【発明の実施の形態】本発明の骨子は、あるマクロブロ
ックを補間する場合に、ピクチャ内で最初に復号された
ブロックの画素平均値またはDC係数を参照画像として
用いることによって、エラーが生じたピクチャに対し、
少ないメモリ量と処理負荷で良好なエラー補償が行える
ようにすることである。
BEST MODE FOR CARRYING OUT THE INVENTION In the essence of the present invention, when interpolating a macroblock, an error is caused by using the pixel average value or DC coefficient of the first decoded block in a picture as a reference image. For the picture
This is to enable good error compensation with a small memory amount and a processing load.

【0028】以下、本発明の実施の形態について、図面
を参照して詳細に説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0029】(実施の形態1)図1は、本発明の実施の
形態1に係るエラー処理装置の構成を示すブロック図で
ある。図1に示すように、実施の形態1に係るエラー処
理装置は、画像信号復号化部100と、復号画像格納部
101と、エラー処理部102と、ブロック内平均画素
値算出部103とで構成されている。
(Embodiment 1) FIG. 1 is a block diagram showing a configuration of an error processing apparatus according to Embodiment 1 of the present invention. As shown in FIG. 1, the error processing apparatus according to the first embodiment includes an image signal decoding unit 100, a decoded image storage unit 101, an error processing unit 102, and an intra-block average pixel value calculation unit 103. Has been done.

【0030】画像信号復号化部100では、外部から送
られるビットストリームを受信し、符号化された画像デ
ータが復号される。復号画像格納部101には、画像信
号復号化部100にて復号された画像データが格納され
る。エラー処理部102では、エラー補償が行われ、デ
ータの抜けが生じたマクロブロックの補間が行われる。
ブロック内平均画素値算出部103では、復号済みのブ
ロック内の画素から平均値が参照画像として算出され
る。
The image signal decoding unit 100 receives the bit stream sent from the outside and decodes the encoded image data. The decoded image storage unit 101 stores the image data decoded by the image signal decoding unit 100. In the error processing unit 102, error compensation is performed and interpolation is performed on macroblocks in which data is missing.
The in-block average pixel value calculation unit 103 calculates an average value as a reference image from the pixels in the decoded block.

【0031】次いで、上記構成を有する実施の形態1に
係るエラー処理装置の動作について、図1を参照して説
明する。
Next, the operation of the error processing apparatus according to the first embodiment having the above configuration will be described with reference to FIG.

【0032】図1において、画像信号復号化部100で
は、外部から送られてくるビットストリームについて復
号処理が行われる。ここで、画像信号復号化部100で
は、通常、エラーが生じない状態で復号された場合に
は、復号画像がマクロブロックごとに復号画像格納部1
01に送られて格納される。また、復号された画像デー
タは、ブロック内平均画素値算出部103に出力され
る。ブロック内平均画素値算出部103では、復号が行
われたブロックの画素の平均値が参照画像として算出さ
れ、エラー処理部102に出力される。
In FIG. 1, the image signal decoding unit 100 performs a decoding process on a bit stream sent from the outside. Here, in the image signal decoding unit 100, when the image is normally decoded without any error, the decoded image is stored in the decoded image storage unit 1 for each macroblock.
01 and stored. Further, the decoded image data is output to the intra-block average pixel value calculation unit 103. The intra-block average pixel value calculation unit 103 calculates the average value of the pixels of the decoded block as a reference image, and outputs the reference image to the error processing unit 102.

【0033】一方、画像信号復号化部100では、ビッ
トストリームがあるマクロブロックで復号不可能になっ
た場合には、そのエラーが生じたマクロブロックが属す
るビデオパケットの先頭のマクロブロック番号がエラー
処理部102に送られる。
On the other hand, in the image signal decoding unit 100, when decoding becomes impossible in a certain macroblock of the bitstream, the leading macroblock number of the video packet to which the macroblock in which the error has occurred belongs to the error processing. Sent to the section 102.

【0034】エラー処理部102では、すでに復号され
た復号画像における参照画像から代用のマクロブロック
が抽出される。つまり、エラーが発生したピクチャの参
照画像から同じ位置の画像ブロックが抽出され、エラー
が発生したビデオパケット内の補間が行われ、復号画像
格納部101に格納される。このエラー補償の内容は、
上記従来の技術で説明した内容と同一である。画像信号
復号化部100では、次の復号可能なスタートコードの
ビデオパケットまでその作業が続けられ、その後通常の
復号処理に戻る。
The error processing unit 102 extracts a substitute macroblock from the reference image in the already decoded decoded image. That is, the image block at the same position is extracted from the reference image of the picture in which the error has occurred, interpolation is performed in the video packet in which the error has occurred, and the image block is stored in the decoded image storage unit 101. The content of this error compensation is
The content is the same as that described in the above-mentioned conventional technique. In the image signal decoding unit 100, the operation is continued until the next decodable start code video packet, and then the normal decoding process is resumed.

【0035】ここで、エラー処理部102では、ビット
シーケンスにおける最初のピクチャにおいては、その前
にピクチャがない、すなわち、時間的に前にピクチャが
存在せず、参照する画像がない場合には、上記のような
補間を行うことができない。そこで、エラー処理部10
2では、ブロック内平均画素値算出部103にて算出さ
れた最初に復号を行ったブロックの画素の平均値を参照
画像として用いてエラーが発生したビデオパケットの補
間が行われ、復号画像格納部101に格納される。
Here, in the error processing unit 102, when there is no picture before the first picture in the bit sequence, that is, when there is no previous picture in time and there is no picture to refer to, The above interpolation cannot be performed. Therefore, the error processing unit 10
In 2, the video pixel in which an error has occurred is interpolated using the average value of the pixels of the first decoded block calculated by the intra-block average pixel value calculation unit 103 as the reference image, and the decoded image storage unit It is stored in 101.

【0036】このように、実施の形態1によれば、ある
ピクチャでエラー補償を行う際に、前ピクチャの値を使
用しないので、画像を保管するためのメモリを削減する
ことができる。また、エラー補償に用いる参照画像が固
定された画像ではなく最初に復号したブロックの画素の
平均値(ピクチャ)によって適応的に変化するので、本
来の画像と同じような値で補間することができ、より適
切なエラー補償を行うことが可能となる。
As described above, according to the first embodiment, since the value of the previous picture is not used when performing error compensation on a certain picture, it is possible to reduce the memory for storing the image. Also, since the reference image used for error compensation is not a fixed image but adaptively changes according to the average value (picture) of the pixels of the first decoded block, it is possible to interpolate with the same value as the original image. It becomes possible to perform more appropriate error compensation.

【0037】(実施の形態2)図2は、本発明の実施の
形態2に係るエラー処理装置の構成を示すブロック図で
ある。図2において、実施の形態2に係るエラー処理装
置は、画像信号復号化部100と、復号画像格納部10
1と、エラー処理部102と、DC(Direct Current)係
数抽出部201とで構成されている。
(Embodiment 2) FIG. 2 is a block diagram showing the configuration of an error processing apparatus according to Embodiment 2 of the present invention. In FIG. 2, the error processing apparatus according to the second embodiment includes an image signal decoding unit 100 and a decoded image storage unit 10.
1, an error processing unit 102, and a DC (Direct Current) coefficient extraction unit 201.

【0038】すなわち、図2に示すように、実施の形態
2に係るエラー処理装置では、図1に示したブロック内
平均画素値算出部103に代えて、DC係数抽出部20
1が設けられている。ここでは、この実施の形態2に関
わる部分を中心に説明する。
That is, as shown in FIG. 2, in the error processing device according to the second embodiment, instead of the intra-block average pixel value calculation unit 103 shown in FIG.
1 is provided. Here, the description will focus on the part related to the second embodiment.

【0039】DC係数抽出部201では、ビットストリ
ームを画像信号復号化部100にて復号する際に、DC
係数が抽出される。DC係数は、エラー処理部102に
て参照画像として用いられる。
In the DC coefficient extraction unit 201, when the image signal decoding unit 100 decodes the bit stream, the DC
The coefficients are extracted. The DC coefficient is used as a reference image by the error processing unit 102.

【0040】次いで、上記構成を有する実施の形態2に
係るエラー処理装置の動作について、図2を参照して説
明する。
Next, the operation of the error processing apparatus according to the second embodiment having the above configuration will be described with reference to FIG.

【0041】図2において、画像信号復号化部100に
てビットストリームを復号する際に、DC係数抽出部2
01にてDC係数が抽出される。DC係数は、DCT変
換(離散コサイン変換:Discrete Cosine Transform)
によって変換された領域の直流成分であり、ブロック内
の画素値の平均を示している。
In FIG. 2, when the image signal decoding unit 100 decodes a bitstream, the DC coefficient extraction unit 2
At 01, the DC coefficient is extracted. The DC coefficient is a DCT transform (Discrete Cosine Transform)
It is the DC component of the area converted by, and indicates the average of the pixel values in the block.

【0042】ビットストリームには隣接するブロックの
DC係数との差分が格納されている。復号の際にはビッ
トストリームから取り出したDC係数の差分と、既に復
号された隣接するブロックのDC係数とを足し合わせる
ことで、元のDC係数を復号することができる。
The bit stream stores the difference from the DC coefficient of the adjacent block. At the time of decoding, the original DC coefficient can be decoded by adding the DC coefficient difference extracted from the bit stream and the DC coefficient of the already decoded adjacent block.

【0043】エラー処理部102では、ビットストリー
ムがあるマクロブロックで復号不可能となった場合に
は、DC係数抽出部201において予め取り出されてい
たDC係数を用いて参照画像領域が初期化され、エラー
の生じたビデオパケットの補間が行われる。
In the error processing unit 102, when the bitstream cannot be decoded in a certain macroblock, the reference image area is initialized using the DC coefficient extracted in advance by the DC coefficient extraction unit 201, Interpolation of errored video packets is performed.

【0044】このように、実施の形態2によれば、実施
の形態1と同様に、あるピクチャでエラー補償を行う際
に、前ピクチャの値を使用しないので、画像を保管する
ためのメモリを削減することができる。加えて、ブロッ
クのDC係数を用いるので、ブロック内の画素の平均値
を算出する実施の形態1よりも処理負荷が小さい。ま
た、参照画像が最初の復号したブロックのDC係数によ
って適応的に変化するので、エラー補償を行ったマクロ
ブロックが視覚的にも周波数的にも良好な補間画像とし
て得られるなどの優れた効果が期待できる。
As described above, according to the second embodiment, as in the first embodiment, the value of the previous picture is not used when performing error compensation on a certain picture, so that a memory for storing an image is provided. Can be reduced. In addition, since the DC coefficient of the block is used, the processing load is smaller than that in the first embodiment in which the average value of the pixels in the block is calculated. Further, since the reference image adaptively changes according to the DC coefficient of the first decoded block, an excellent effect such as obtaining an error-compensated macroblock as a visually or frequency-interpolated image that is good is obtained. Can be expected.

【0045】(実施の形態3)図3は、本発明の実施の
形態3に係るエラー処理装置の構成を示すブロック図で
ある。図3において、実施の形態3に係るエラー処理装
置は、画像信号復号化部100と、復号画像格納部10
1と、エラー処理部102と、ブロック内平均画素値算
出部103及びマクロブロック内平均画素値算出部30
1とで構成されている。
(Embodiment 3) FIG. 3 is a block diagram showing the configuration of an error processing apparatus according to Embodiment 3 of the present invention. In FIG. 3, the error processing apparatus according to the third embodiment includes an image signal decoding unit 100 and a decoded image storage unit 10.
1, the error processing unit 102, the intra-block average pixel value calculation unit 103, and the macro-block average pixel value calculation unit 30.
It is composed of 1 and 1.

【0046】すなわち、図3に示すように、実施の形態
3に係るエラー処理装置では、実施の形態1(図1)に
示した構成において、マクロブロック内平均画素値算出
部301が、ブロック内平均画素値算出部103とエラ
ー処理部102との間に設けられている。ここでは、こ
の実施の形態3に関わる部分を中心に説明する。
That is, as shown in FIG. 3, in the error processing apparatus according to the third embodiment, in the configuration shown in the first embodiment (FIG. 1), the intra-macroblock average pixel value calculation unit 301 It is provided between the average pixel value calculation unit 103 and the error processing unit 102. Here, the description will focus on the part related to the third embodiment.

【0047】マクロブロック内平均画素値算出部301
では、ブロック内平均画素値算出部103にて算出され
たマクロブロック内の各ブロックの平均画素値から、マ
クロブロックの画素の平均値が参照画像として算出され
る。
Intra-macroblock average pixel value calculation unit 301
Then, from the average pixel value of each block in the macroblock calculated by the in-block average pixel value calculation unit 103, the average value of the pixels of the macroblock is calculated as a reference image.

【0048】次いで、上記構成が期待できる実施の形態
3に係るエラー処理装置の動作について、図3を参照し
て説明する。図3において、ビットストリームがあるマ
クロブロックで復号不可能となった場合には、ブロック
内平均画素値算出部103にて、最初に復号が行われた
ブロックの画素の平均値が算出され、さらに、マクロブ
ロック内平均画素値算出部301にて、最初に復号が行
われたマクロブロックの画素の平均値が算出される。
Next, the operation of the error processing apparatus according to the third embodiment, which can be expected to have the above-mentioned configuration, will be described with reference to FIG. In FIG. 3, when a bitstream becomes undecodable in a certain macroblock, the intra-block average pixel value calculation unit 103 calculates the average value of the pixels of the first decoded block, and In the intra-macroblock average pixel value calculation unit 301, the average value of the pixels of the macroblock that is first decoded is calculated.

【0049】エラー処理部102では、マクロブロック
内平均画素値算出部301にて算出された値を用いて参
照画像領域が初期化され、エラーの生じたビデオパケッ
トの補間が行われる。
In the error processing unit 102, the reference image area is initialized using the value calculated by the intra-macroblock average pixel value calculation unit 301, and the video packet in which the error has occurred is interpolated.

【0050】このように、実施の形態3によれば、実施
の形態1、2と同様に、あるピクチャでエラー補償を行
う際に、前ピクチャの値を使用しないので、画像を保管
するためのメモリを削減することができる。加えて、参
照画像が最初に復号したブロックだけではなく、マクロ
ブロックの画素の平均値によって適応的に変化するの
で、より画面全体の値に近い値でエラー補償を行うこと
ができ、視覚的にも周波数的にも良好な補間画像が得ら
れるという優れた効果が期待できる。
As described above, according to the third embodiment, as in the first and second embodiments, the value of the previous picture is not used when performing error compensation on a certain picture, so that the image can be stored. The memory can be reduced. In addition, since the reference image adaptively changes not only in the first decoded block but also in the average value of the pixels of the macroblock, it is possible to perform error compensation with a value closer to the value of the entire screen, and visually. An excellent effect that an interpolated image excellent in terms of frequency and frequency can be obtained can be expected.

【0051】(実施の形態4)図4は、本発明の実施の
形態4に係るエラー処理装置の構成を示すブロック図で
ある。図4において、実施の形態4に係るエラー処理装
置は、画像信号復号化部100と、復号画像格納部10
1と、エラー処理部102と、DC係数抽出部201及
びマクロブロック内平均DC係数算出部401とで構成
されている。
(Embodiment 4) FIG. 4 is a block diagram showing the configuration of an error processing apparatus according to Embodiment 4 of the present invention. In FIG. 4, the error processing apparatus according to the fourth embodiment includes an image signal decoding unit 100 and a decoded image storage unit 10.
1, an error processing unit 102, a DC coefficient extraction unit 201, and an intra-macroblock average DC coefficient calculation unit 401.

【0052】すなわち、図4に示すように、実施の形態
4に係るエラー処理装置では、実施の形態2(図2)に
示した構成において、マクロブロック内平均DC係数算
出部401が、DC係数抽出部201とエラー処理部1
02との間に設けられている。ここでは、この実施の形
態4に関わる部分を中心に説明する。
That is, as shown in FIG. 4, in the error processing apparatus according to the fourth embodiment, in the configuration shown in the second embodiment (FIG. 2), the intra-macroblock DC coefficient calculating section 401 has the DC coefficient Extraction unit 201 and error processing unit 1
It is provided between 02 and. Here, the description will focus on the part related to the fourth embodiment.

【0053】マクロブロック内平均DC係数算出部40
1では、DC係数抽出部201にて抽出された各ブロッ
クのDC係数のマクロブロックでの平均値が参照画像と
して算出される。
Intra-macroblock average DC coefficient calculator 40
In 1, the average value of the DC coefficient of each block extracted by the DC coefficient extraction unit 201 in the macro block is calculated as a reference image.

【0054】次いで、上記構成が期待できる実施の形態
4に係るエラー処理装置の動作について、図4を参照し
て説明する。図4において、画像信号復号化部100に
てビットストリームを復号する際に、DC係数抽出部2
01にてDC係数が抽出される。そして、DC係数抽出
部201にてマクロブロック内の各ブロックのDC係数
が抽出された後、マクロブロック内平均DC係数算出部
401にてDC係数の平均値が参照画像として算出され
る。
Next, the operation of the error processing apparatus according to the fourth embodiment, which can be expected to have the above-mentioned configuration, will be described with reference to FIG. In FIG. 4, when the image signal decoding unit 100 decodes a bitstream, the DC coefficient extraction unit 2
At 01, the DC coefficient is extracted. Then, after the DC coefficient of each block in the macroblock is extracted by the DC coefficient extraction unit 201, the average DC coefficient value in the macroblock is calculated by the intra-macroblock average DC coefficient calculation unit 401 as a reference image.

【0055】エラー処理部102では、ビットストリー
ムがあるマクロブロックで復号不可能となった場合に
は、マクロブロック内平均DC係数算出部401におい
て算出した値を用いて参照画像領域が初期化され、エラ
ーの生じたビデオパケットの補間が行われる。
In the error processing unit 102, when the bitstream cannot be decoded in a certain macroblock, the reference image area is initialized using the value calculated by the intra-macroblock average DC coefficient calculation unit 401, Interpolation of errored video packets is performed.

【0056】このように、実施の形態4によれば、実施
の形態1〜3と同様に、あるピクチャでエラー補償を行
う際に、前ピクチャの値を使用しないので、画像を保管
するためのメモリを削減することができる。加えて、マ
クロブロック内の各ブロックのDC係数を用いるので、
マクロブロック内の全画素の平均値を算出するよりも処
理負荷が小さくなる。また、参照画像が最初に復号した
マクロブロックのDC係数の平均値によって適応的に変
化するので、より画面全体の値に近い値でエラー補償を
行うことができ、視覚的にも周波数的にも良好な補間画
像が得られるという優れた効果が期待できる。
As described above, according to the fourth embodiment, as in the first to third embodiments, when the error compensation is performed on a certain picture, the value of the previous picture is not used, so that the image is stored. The memory can be reduced. In addition, since the DC coefficient of each block in the macroblock is used,
The processing load is smaller than that of calculating the average value of all pixels in the macroblock. In addition, since the reference image adaptively changes according to the average value of the DC coefficient of the macroblock decoded first, it is possible to perform error compensation with a value closer to the value of the entire screen, and visually and in terms of frequency. An excellent effect that a good interpolation image can be obtained can be expected.

【0057】(実施の形態5)図5は、本発明の実施の
形態5に係るエラー処理装置の構成を示すブロック図で
ある。図5において、実施の形態5に係るエラー処理装
置は、画像信号復号化部100と、復号画像格納部10
1と、エラー処理部102と、ブロック内平均画素値算
出部103、マクロブロック内平均画素値算出部301
及びスライス内平均画素値算出部501とで構成されて
いる。
(Embodiment 5) FIG. 5 is a block diagram showing the configuration of an error processing apparatus according to Embodiment 5 of the present invention. In FIG. 5, the error processing apparatus according to the fifth embodiment includes an image signal decoding unit 100 and a decoded image storage unit 10.
1, an error processing unit 102, an in-block average pixel value calculation unit 103, and an in-macroblock average pixel value calculation unit 301
And an intra-slice average pixel value calculation unit 501.

【0058】すなわち、図5に示すように、実施の形態
5に係るエラー処理装置では、実施の形態3(図3)に
示した構成において、スライス内平均画素値算出部50
1が、マクロブロック内平均画素値算出部301とエラ
ー処理部102との間に設けられている。ここでは、こ
の実施の形態5に関わる部分を中心に説明する。
That is, as shown in FIG. 5, in the error processing device according to the fifth embodiment, in the configuration shown in the third embodiment (FIG. 3), the intra-slice average pixel value calculation unit 50 is used.
1 is provided between the intra-macroblock average pixel value calculation unit 301 and the error processing unit 102. Here, the description will focus on the part related to the fifth embodiment.

【0059】スライス内平均画素値算出部501は、ブ
ロック内平均画素値算出部103とマクロブロック内平
均画素値算出部301によって算出されたスライス内の
各マクロブロックの平均画素値から、スライスの平均値
が算出される。なお、スライスは、1ピクチャの左端か
ら右端へ至る一連のマクロブロック集合であり、1スラ
イスは、16ラインで構成されている。
The intra-slice average pixel value calculation unit 501 calculates the average of slices from the average pixel value of each macroblock in the slice calculated by the intra-block average pixel value calculation unit 103 and the macroblock average pixel value calculation unit 301. The value is calculated. A slice is a set of macroblocks from the left end to the right end of one picture, and one slice is composed of 16 lines.

【0060】次いで、上記構成が期待できる実施の形態
5に係るエラー処理装置の動作について、図5を参照し
て説明する。図5において、ビットストリームがあるマ
クロブロックで復号不可能となった場合には、ブロック
内平均画素値算出部103にて、最初に復号が行われた
ブロックの画素の平均値が算出され、さらにマクロブロ
ック内平均画素値算出部301にて、最初に復号が行わ
れたマクロブロックの画素の平均値が算出される。
Next, the operation of the error processing apparatus according to the fifth embodiment, which can be expected to have the above configuration, will be described with reference to FIG. In FIG. 5, when decoding is not possible in a macroblock having a bitstream, the intra-block average pixel value calculation unit 103 calculates the average value of the pixels of the first decoded block, and The intra-macroblock average pixel value calculation unit 301 calculates the average value of the pixels of the macroblock that is first decoded.

【0061】そして、スライス内平均画素値算出部50
1にて、ブロック内平均画素値算出部103およびマク
ロブロック内平均画素値算出部301にて算出された最
初に復号を行ったスライス内の各マクロブロックの平均
画素値から、スライスの平均値が参照画像として算出さ
れる。
Then, the intra-slice average pixel value calculation unit 50
1, the average pixel value of the slice is calculated from the average pixel value of each macroblock in the first decoded slice calculated by the intra-block average pixel value calculation unit 103 and the macroblock average pixel value calculation unit 301. It is calculated as a reference image.

【0062】エラー処理部102では、スライス内平均
画素値算出部501にて算出された値を用いて参照画像
領域が初期化され、エラーの生じたビデオパケットの補
間が行われる。
In the error processing unit 102, the reference image area is initialized using the value calculated by the intra-slice average pixel value calculation unit 501, and the video packet in which the error has occurred is interpolated.

【0063】このように、実施の形態5によれば、実施
の形態1〜4と同様に、あるピクチャでエラー補償を行
う際に、前ピクチャの値を使用しないので、画像を保管
するためのメモリを削減することができる。加えて、参
照画像が固定された画像ではなくピクチャの先頭のスラ
イス内の画素の平均値によって適応的に変化するので、
マクロブロックの画素の平均値よりもさらに画面全体の
値に近い値でエラー補償を行うことができ、視覚的にも
周波数的にもより高精度な補間画像が得られるという優
れた効果が期待できる。
As described above, according to the fifth embodiment, as in the first to fourth embodiments, when the error compensation is performed on a certain picture, the value of the previous picture is not used, so that the image is stored. The memory can be reduced. In addition, since the reference image is not a fixed image but changes adaptively according to the average value of the pixels in the first slice of the picture,
It is possible to perform error compensation with a value that is closer to the value of the entire screen than the average value of the pixels of the macro block, and it is expected to have an excellent effect that a highly accurate interpolated image can be obtained visually and in frequency. .

【0064】(実施の形態6)図6は、本発明の実施の
形態6に係るエラー処理装置の構成を示すブロック図で
ある。図6において、実施の形態6に係るエラー処理装
置は、画像信号復号化部100と、復号画像格納部10
1と、エラー処理部102と、DC係数抽出部201、
マクロブロック内平均DC係数算出部401及びスライ
ス内平均DC係数算出部601とで構成されている。
(Sixth Embodiment) FIG. 6 is a block diagram showing the structure of an error processing apparatus according to the sixth embodiment of the present invention. In FIG. 6, the error processing apparatus according to the sixth embodiment includes an image signal decoding unit 100 and a decoded image storage unit 10.
1, an error processing unit 102, a DC coefficient extraction unit 201,
The macro block average DC coefficient calculation unit 401 and the slice average DC coefficient calculation unit 601 are included.

【0065】すなわち、図6に示すように、実施の形態
6に係るエラー処理装置では、実施の形態4(図4)に
示した構成において、スライス内平均DC係数算出部6
01が、マクロブロック内平均DC係数算出部401と
エラー処理部102との間に設けられている。ここで
は、この実施の形態6に関わる部分を中心に説明する。
That is, as shown in FIG. 6, in the error processing apparatus according to the sixth embodiment, the intra-slice average DC coefficient calculation unit 6 has the configuration shown in the fourth embodiment (FIG. 4).
01 is provided between the intra-macroblock average DC coefficient calculation unit 401 and the error processing unit 102. Here, the description will focus on the part related to the sixth embodiment.

【0066】スライス内平均DC係数算出部601で
は、DC係数抽出部201とマクロブロック内平均DC
係数算出部401によって抽出された各マクロブロック
のDC係数のスライスでの平均値が参照画像として算出
される。
The intra-slice average DC coefficient calculating section 601 includes a DC coefficient extracting section 201 and an intra-macroblock average DC coefficient.
An average value of DC coefficients of each macroblock extracted by the coefficient calculation unit 401 in a slice is calculated as a reference image.

【0067】次いで、上記構成が期待できる実施の形態
4に係るエラー処理装置の動作について、図6を参照し
て説明する。図6において、画像信号復号化部100に
てビットストリームを復号する際に、DC係数抽出部2
01にてDC係数が抽出される。DC係数抽出部201
にてスライス内の各ブロックのDC係数が抽出された
後、マクロブロック内平均DC係数算出部401にてD
C係数の平均値が参照画像として算出される。
Next, the operation of the error processing apparatus according to the fourth embodiment, which can be expected to have the above configuration, will be described with reference to FIG. In FIG. 6, when the image signal decoding unit 100 decodes a bitstream, the DC coefficient extraction unit 2
At 01, the DC coefficient is extracted. DC coefficient extraction unit 201
After the DC coefficient of each block in the slice is extracted at D, the intra-macroblock average DC coefficient calculation unit 401
The average value of the C coefficient is calculated as the reference image.

【0068】そして、スライス内平均DC係数算出部6
01では、DC係数抽出部201とマクロブロック内平
均DC係数算出部401とによって抽出された各マクロ
ブロックのDC係数のスライスでの平均値が参照画像と
して算出される。
Then, the intra-slice average DC coefficient calculation unit 6
In 01, the average value of the DC coefficient of each macroblock extracted by the DC coefficient extraction unit 201 and the intra-macroblock average DC coefficient calculation unit 401 in a slice is calculated as a reference image.

【0069】エラー処理部102では、ビットストリー
ムがあるマクロブロックで復号不可能となった場合に
は、スライス内平均DC係数算出部601にて算出され
た値を用いて参照画像領域が初期化され、エラーの生じ
たビデオパケットの補間が行われる。
In the error processing unit 102, when the bitstream cannot be decoded in a certain macroblock, the reference image area is initialized using the value calculated by the intra-slice average DC coefficient calculation unit 601. The video packets in error are interpolated.

【0070】このように、実施の形態6によれば、実施
の形態1〜5と同様に、あるピクチャでエラー補償を行
う際に、前ピクチャの値を使用しないので、画像を保管
するためのメモリを削減することができる。加えて、ス
ライス内の各ブロックのDC係数を用いるので、スライ
ス内の画素の平均値を算出するよりも処理負荷が小さく
なる。また、スライス内の各ブロックのDC係数の平均
値によって参照画像が適応的に変化するので、より画面
全体の値に近い値でエラー補償を行うことができ、視覚
的にも周波数的にもより高精度な補間画像が得られるな
どの優れた効果が期待できる。
As described above, according to the sixth embodiment, as in the first to fifth embodiments, the value of the previous picture is not used when performing error compensation on a certain picture, so that the image can be stored. The memory can be reduced. In addition, since the DC coefficient of each block in the slice is used, the processing load is smaller than that in calculating the average value of the pixels in the slice. Further, since the reference image adaptively changes according to the average value of the DC coefficient of each block in the slice, error compensation can be performed with a value closer to the value of the entire screen, and it is more visually and frequency-wise. An excellent effect such as obtaining a highly accurate interpolated image can be expected.

【0071】ここで、実施の形態1〜6において、エラ
ー処理部102は、ピクチャの先頭のマクロブロックま
たはスライスが正常に復号できなかった場合には、次に
正常に復号できたマクロブロックまたはスライスのデー
タを用いてエラー補償を行うようになっている。したが
って、あるピクチャの先頭のマクロブロックやスライス
であっても補間を行うことができるようになる。
Here, in the first to sixth embodiments, when the first macroblock or slice of a picture cannot be decoded normally, the error processing unit 102 decodes the next macroblock or slice that has been decoded normally. Error compensation is performed using the data of. Therefore, it becomes possible to perform interpolation even on the head macroblock or slice of a certain picture.

【0072】なお、本発明に係るエラー処理装置にて実
施されるエラー処理方法をコンピュータに実行させるプ
ログラムを生成することができ、そのプログラムが機械
に読み取り可能となることによって、いずれか一つの動
作をコンピュータが実行することができる。
A program that causes a computer to execute the error processing method implemented by the error processing device according to the present invention can be generated, and the program can be read by a machine, so that any one of the operations can be performed. Can be performed by a computer.

【0073】また、本発明に係るエラー処理装置は、画
像通信装置として組み込むことが可能であるので、その
ような画像通信装置を具備した移動体通信システムを実
現することも可能である。
Since the error processing device according to the present invention can be incorporated as an image communication device, it is possible to realize a mobile communication system equipped with such an image communication device.

【0074】[0074]

【発明の効果】以上説明したように、本発明によれば、
エラーが生じたピクチャに対し、少ないメモリ量と処理
負荷で良好なエラー補償が行えるようになる。
As described above, according to the present invention,
With respect to a picture in which an error has occurred, good error compensation can be performed with a small memory amount and a processing load.

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

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

【図2】本発明の実施の形態2に係るエラー処理装置の
構成を示すブロック図
FIG. 2 is a block diagram showing a configuration of an error processing device according to a second embodiment of the present invention.

【図3】本発明の実施の形態3に係るエラー処理装置の
構成を示すブロック図
FIG. 3 is a block diagram showing a configuration of an error processing device according to a third embodiment of the present invention.

【図4】本発明の実施の形態4に係るエラー処理装置の
構成を示すブロック図
FIG. 4 is a block diagram showing a configuration of an error processing device according to a fourth embodiment of the present invention.

【図5】本発明の実施の形態5に係るエラー処理装置の
構成を示すブロック図
FIG. 5 is a block diagram showing a configuration of an error processing device according to a fifth embodiment of the present invention.

【図6】本発明の実施の形態6に係るエラー処理装置の
構成を示すブロック図
FIG. 6 is a block diagram showing a configuration of an error processing device according to a sixth embodiment of the present invention.

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

100 画像信号復号化部 101 復号画像格納部 102 エラー処理部 103 ブロック内平均画素値算出部 201 DC係数抽出部 301 マクロブロック内平均画素値算出部 401 マクロブロック内平均DC係数算出部 501 スライス内平均画素値算出部 601 スライス内平均DC係数算出部 100 image signal decoding unit 101 Decoded image storage unit 102 error processing unit 103 block average pixel value calculation unit 201 DC coefficient extraction unit 301 Average pixel value calculation unit in macro block 401 Average DC Coefficient Calculation Unit in Macroblock 501 slice average pixel value calculation unit 601 Intra-Slice Average DC Coefficient Calculation Unit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 MA00 RF09 TA76 TB06 TB08 TC02 TC04 TC22 TD03 UA05 5J064 AA02 AA04 BB04 BB08 BC01 BC21 BC27    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5C059 MA00 RF09 TA76 TB06 TB08                       TC02 TC04 TC22 TD03 UA05                 5J064 AA02 AA04 BB04 BB08 BC01                       BC21 BC27

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 ビットストリームを受けて、符号化され
た画像データを復号する画像信号復号化手段と、前記画
像信号復号化手段にて復号が行われたブロック内画素の
平均値を算出するブロック内平均画素値算出手段と、前
記画像信号復号化手段にて画像信号を復号する際のエラ
ー補償を行うエラー処理手段であって、あるマクロブロ
ックを補間する場合に、前記ブロック内平均画素値算出
手段にて算出されたピクチャ内で最初に復号が行われた
ブロックの画素の平均値に基づく参照画像を用いてエラ
ー補償を行うエラー処理手段と、を具備することを特徴
とするエラー処理装置。
1. A block which receives a bit stream and which decodes encoded image data, and a block which calculates an average value of pixels in a block decoded by the image signal decoding unit. An internal average pixel value calculation means and an error processing means for performing error compensation when the image signal is decoded by the image signal decoding means, and when the macroblock is interpolated, the block average pixel value calculation is performed. An error processing device that performs error compensation using a reference image based on an average value of pixels of a block that is first decoded in a picture calculated by the device.
【請求項2】 ビットストリームを受けて、符号化され
た画像データを復号する画像信号復号化手段と、前記画
像信号復号化手段にてビットストリームの復号が行われ
る際に、ピクチャ内で復号されたブロックのDC係数を
抽出するDC係数抽出手段と、前記画像信号復号化手段
にて画像信号を復号する際のエラー補償を行うエラー処
理手段であって、あるマクロブロックを補間する場合
に、前記DC係数抽出手段にて抽出されたピクチャ内で
最初に復号が行われたブロックにおけるDC係数に基づ
く参照画像を用いてエラー補償を行うエラー処理手段
と、を具備することを特徴とするエラー処理装置。
2. An image signal decoding means for receiving a bitstream and decoding encoded image data, and a decoding within a picture when the bitstream is decoded by the image signal decoding means. A DC coefficient extracting means for extracting the DC coefficient of the block, and an error processing means for performing error compensation when the image signal is decoded by the image signal decoding means. An error processing device comprising: an error processing device that performs error compensation using a reference image based on a DC coefficient in a block first decoded in a picture extracted by the DC coefficient extraction device. .
【請求項3】 前記ブロック内平均画素値算出手段にて
算出されたマクロブロック内の各ブロックの平均画素値
からマクロブロック内画素の平均値を算出するマクロブ
ロック内平均画素値算出手段、を具備し、前記エラー処
理手段は、あるマクロブロックを補間する場合に、前記
マクロブロック内平均画素値算出手段にて算出されたピ
クチャ内で最初に復号が行われたマクロブロックでの平
均画素値を参照画像として用いることを特徴とする請求
項1記載のエラー処理装置。
3. An in-macroblock average pixel value calculating means for calculating an average value of pixels in the macroblock from an average pixel value of each block in the macroblock calculated by the in-block average pixel value calculating means. Then, the error processing means refers to the average pixel value in the macroblock decoded first in the picture calculated by the in-macroblock average pixel value calculation means when interpolating a certain macroblock. The error processing device according to claim 1, wherein the error processing device is used as an image.
【請求項4】 前記DC係数抽出手段にて抽出されたピ
クチャ内各ブロックでのDC係数のマクロブロック平均
値を算出するマクロブロック内平均DC係数算出手段、
を具備し、前記エラー処理手段は、あるマクロブロック
を補間する場合に、前記マクロブロック内平均DC係数
算出手段にて算出されたピクチャ内で最初に復号が行わ
れたマクロブロックでのDC係数平均値を参照画像とし
て用いることを特徴とする請求項2記載のエラー処理装
置。
4. An intra-macroblock average DC coefficient calculating means for calculating a macroblock average value of DC coefficients in each block in a picture extracted by the DC coefficient extracting means,
The error processing means, when interpolating a certain macroblock, the DC coefficient average in the macroblock decoded first in the picture calculated by the intra-macroblock average DC coefficient calculating means. The error processing device according to claim 2, wherein the value is used as a reference image.
【請求項5】 前記ブロック内平均画素値算出手段及び
マクロブロック内平均画素値算出手段にて算出されたス
ライス内の各マクロブロックの平均画素値からスライス
の平均値を算出するスライス内平均画素値算出手段、を
具備し、前記エラー処理手段は、あるマクロブロックを
補間する場合に、前記スライス内平均画素値算出手段に
て算出されたピクチャの先頭のスライス内のマクロブロ
ックの平均画素値を参照画像として用いることを特徴と
する請求項3記載のエラー処理装置。
5. An in-slice average pixel value for calculating an average value of a slice from average pixel values of respective macroblocks in a slice calculated by the in-block average pixel value calculating means and the in-macroblock average pixel value calculating means The error processing means refers to the average pixel value of the macroblock in the first slice of the picture calculated by the intra-slice average pixel value calculation means when interpolating a certain macroblock. The error processing device according to claim 3, wherein the error processing device is used as an image.
【請求項6】 前記DC係数抽出手段及びマクロブロッ
ク内平均DC係数算出手段にて抽出された各マクロブロ
ックのDC係数のスライスでの平均を算出するスライス
内平均DC係数算出手段、を具備し、前記エラー処理手
段は、あるマクロブロックを補間する場合に、前記スラ
イス内平均DC係数算出手段にて算出されたピクチャの
先頭のスライス内の各ブロックのDC係数の平均を参照
画像として用いることを特徴とする請求項4記載のエラ
ー処理装置。
6. An intra-slice average DC coefficient calculation means for calculating an average of DC coefficients of each macro block extracted by the DC coefficient extraction means and macro block average DC coefficient calculation means in a slice, When the certain macroblock is interpolated, the error processing means uses the average of the DC coefficients of the blocks in the first slice of the picture calculated by the intra-slice average DC coefficient calculation means as a reference image. The error processing device according to claim 4.
【請求項7】 前記エラー処理手段は、ピクチャの先頭
のマクロブロックまたはスライスが正常に復号できなか
った場合、次に正常に復号できたマクロブロックまたは
スライスのデータを用いてエラー補償を行うことを特徴
とする請求項1から請求項6のいずれかに記載のエラー
処理装置。
7. The error processing means, when the first macroblock or slice of a picture cannot be decoded normally, performs error compensation using the data of the macroblock or slice that has been successfully decoded next. The error processing device according to any one of claims 1 to 6, which is characterized.
【請求項8】 ビットストリームを受けて、符号化され
た画像データを復号する画像信号復号化工程と、前記画
像信号復号化工程にて復号が行われたブロック内画素の
平均値を算出するブロック内平均画素値算出工程と、前
記画像信号復号化工程にて画像信号を復号する際のエラ
ー補償を行うエラー処理工程であって、あるマクロブロ
ックを補間する場合に、前記ブロック内平均画素値算出
工程にて算出されたピクチャ内で最初に復号が行われた
ブロックの画素の平均値に基づく参照画像を用いてエラ
ー補償を行うエラー処理工程と、を具備することを特徴
とするエラー処理方法。
8. A block for receiving a bitstream and decoding encoded image data, and a block for calculating an average value of pixels in the block decoded in the image signal decoding step. An inner average pixel value calculation step and an error processing step of performing error compensation when decoding an image signal in the image signal decoding step, wherein the intra-block average pixel value calculation is performed when a certain macroblock is interpolated. An error processing step of performing error compensation using a reference image based on an average value of pixels of a block which is first decoded in the picture calculated in the step.
【請求項9】 請求項8に記載された方法をコンピュー
タに実行させるプログラム。
9. A program for causing a computer to execute the method according to claim 8.
【請求項10】 請求項1から請求項7のいずれかに記
載されたエラー処理装置を具備することを特徴とする画
像通信装置。
10. An image communication device comprising the error processing device according to claim 1. Description:
【請求項11】 請求項10に記載された画像通信装置
を具備することを特徴とする移動体通信システム。
11. A mobile communication system comprising the image communication device according to claim 10.
JP2002070851A 2002-03-14 2002-03-14 Error handling apparatus and method Pending JP2003274413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002070851A JP2003274413A (en) 2002-03-14 2002-03-14 Error handling apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002070851A JP2003274413A (en) 2002-03-14 2002-03-14 Error handling apparatus and method

Publications (1)

Publication Number Publication Date
JP2003274413A true JP2003274413A (en) 2003-09-26

Family

ID=29201304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002070851A Pending JP2003274413A (en) 2002-03-14 2002-03-14 Error handling apparatus and method

Country Status (1)

Country Link
JP (1) JP2003274413A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101044509A (en) * 2004-10-18 2007-09-26 汤姆森特许公司 Methods, apparatus and system for film grain simulation
JP2011239464A (en) * 2011-07-27 2011-11-24 Toshiba Corp Decoder

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101044509A (en) * 2004-10-18 2007-09-26 汤姆森特许公司 Methods, apparatus and system for film grain simulation
JP2008518289A (en) * 2004-10-18 2008-05-29 トムソン ライセンシング Block average determination method for film grain size simulation
US9117260B2 (en) 2004-10-18 2015-08-25 Thomson Licensing Methods for determining block averages for film grain simulation
US9953401B2 (en) 2004-10-18 2018-04-24 Thomson Licensing Apparatus and system for determining block averages for film grain simulation
JP2011239464A (en) * 2011-07-27 2011-11-24 Toshiba Corp Decoder

Similar Documents

Publication Publication Date Title
EP1535467B1 (en) Method for error concealment in video sequences
KR100931873B1 (en) Video Signal Encoding/Decoding Method and Video Signal Encoder/Decoder
JP3630474B2 (en) Moving picture transmission system and moving picture transmission apparatus
JP3297293B2 (en) Video decoding method and video decoding device
KR100945546B1 (en) Coding dynamic filters
US7324595B2 (en) Method and/or apparatus for reducing the complexity of non-reference frame encoding using selective reconstruction
US8743970B2 (en) Video decoding with error detection and concealment
JP4401336B2 (en) Encoding method
US20030095603A1 (en) Reduced-complexity video decoding using larger pixel-grid motion compensation
JP2009260977A (en) Video data compression using combination of irreversible compression and reversible compression
JP4245576B2 (en) Image compression / decompression method, image compression apparatus, and image expansion apparatus
US20130034156A1 (en) Inter-prediction method and video encoding/decoding method using the inter-prediction method
JP2000333163A (en) Decoder, its method, coder, its method, image processing system and image processing method
JP3519441B2 (en) Video transmission equipment
US20060133490A1 (en) Apparatus and method of encoding moving picture
JPH0818979A (en) Image processor
JP2006295569A (en) Moving picture decoder
US20060140277A1 (en) Method of decoding digital video and digital video decoder system thereof
JP2002027483A (en) Picture coding system, picture decoding system, and storage media
JP2003274413A (en) Error handling apparatus and method
JP3822821B2 (en) Image playback display device
JP2820636B2 (en) Video compression device
JPH0795536A (en) Device and method for reversely reproducing moving image
JP3526316B2 (en) Video compression encoding method
JPH08149479A (en) Extremely low bit rate video encoding method