JPH08317386A - Decoding method and apparatus for interlaced coded image - Google Patents
Decoding method and apparatus for interlaced coded imageInfo
- Publication number
- JPH08317386A JPH08317386A JP12277395A JP12277395A JPH08317386A JP H08317386 A JPH08317386 A JP H08317386A JP 12277395 A JP12277395 A JP 12277395A JP 12277395 A JP12277395 A JP 12277395A JP H08317386 A JPH08317386 A JP H08317386A
- Authority
- JP
- Japan
- Prior art keywords
- field
- error
- data
- frame
- detected
- 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
Links
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】
【目的】 MPEG等の国際標準化方式により符号化さ
れたインターレス画像の復号を行なうためのインターレ
ス符号化画像の復号方法及び装置に関し、復号エラー発
生時にも表示劣化なく復帰が行なえるインターレス符号
化画像の復号方法及び装置を提供することを目的とす
る。
【構成】 符号化装置側でインターレス画像がフレーム
を構成するフィールド単位で符号化された符号化データ
を可変長復号化部12で復号化する際に符号化データに
エラーを検出すると、エラー復帰制御部17にエラー通
知が行なわれ、エラー復帰制御部17は可変長復号化部
12からのエラー通知に応じてエラーが検出されたフィ
ールドのデータを第1フィールドか、第2フィールド
か、また、次に復号されたフィールドが第1フィールド
か、第2フィールドかによってエラー検出フィールドに
近接する復号フィールドのデータで代用する。
(57) [Abstract] [Purpose] A decoding method and apparatus for an interlaced image for decoding an interless image encoded by an international standardization method such as MPEG, and recovers without display deterioration even when a decoding error occurs. It is an object of the present invention to provide a decoding method and apparatus for interlaced coded images that can be performed by When an error is detected in the coded data when the variable length decoding unit 12 decodes the coded data in which the interlaced image is coded in units of fields forming a frame on the coding device side, an error recovery is performed. An error notification is sent to the control unit 17, and the error recovery control unit 17 determines whether the data of the field in which an error is detected according to the error notification from the variable length decoding unit 12 is the first field, the second field, or Next, the data of the decoded field adjacent to the error detection field is used as a substitute depending on whether the decoded field is the first field or the second field.
Description
【0001】[0001]
【産業上の利用分野】本発明はインターレス符号化画像
の復号方法及び装置に係り、特に、MPEG等の国際標
準化方式により符号化されたインターレス画像の復号を
行なうためのインターレス符号化画像の復号化方法及び
装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for decoding an interless coded image, and more particularly to an interless coded image for decoding an interless image coded by an international standardization system such as MPEG. Decoding method and device.
【0002】動画像のディジタル伝送、蓄積サービスの
実現には、情報量を効率的に圧縮することが不可欠であ
る。このため、動画像の符号化方式として、種々の方式
が検討されてきた。その中で、時間軸方向の相関性を取
り除く方式として、フレーム間予測がある。この方式
は、初めのフレームを符号化する場合には、このフレー
ムの情報を全て符号化するが、それ以降のフレームは先
に符号化されたフレームとの差分を符号化する方式であ
る。この方式は特に、ほぼ画像が静止しているような場
合や、画面の一部分のみが移動している場合には特に有
効である。To realize digital transmission of moving images and storage services, it is essential to efficiently compress the amount of information. Therefore, various methods have been studied as a moving picture coding method. Among them, interframe prediction is a method for removing the correlation in the time axis direction. In this method, when the first frame is coded, all the information of this frame is coded, but the subsequent frames are the differences from the previously coded frame. This method is particularly effective when the image is almost stationary or when only a part of the screen is moving.
【0003】このようなことから、フレーム間予測は、
動画像符号化の国際標準化方式であるH.261,MP
EG−1,及びMPEG−2に採用されている。MPE
G−2はMPEG−1の拡張であり、NTSC信号、や
PAL信号などのインターレス画像を効率的に符号化で
きるような方式になっており、フィールドごとに独立し
た画像として符号化することが可能である。From the above, interframe prediction is
The H.264 standard, which is an international standardization method for moving image coding, 261 MP
It is used in EG-1 and MPEG-2. MPE
G-2 is an extension of MPEG-1 and has a system capable of efficiently encoding an interlaced image such as an NTSC signal or a PAL signal, and can be encoded as an independent image for each field. It is possible.
【0004】このような符号化方式により符号化された
データを復号化する場合には先に符号化されたフレーム
のデータが必要となるため、エラー等により復号化が行
なえない場合などには次の画像が得られず、したがっ
て、エラー等の発生時などにもデータを補償することに
よって次の画像の復号化を行なえるようにする必要があ
る。When the data encoded by such an encoding method is to be decoded, the data of the frame previously encoded is required. Therefore, if the decoding cannot be performed due to an error, etc. No image can be obtained. Therefore, it is necessary to compensate the data even when an error or the like occurs so that the next image can be decoded.
【0005】[0005]
【従来の技術】図6にインターレス画像の構成図を示
す。インターレス画像において、一つのフレーム20は
二つのフィールド21,22から構成される。フレーム
20は一ラインごとに二つのフィールド21,22が交
互に組み合わさって構成されており、位置的に上にある
フィールド21はトップフィールド21,下にあるフィ
ールド22はボトムフィールド22と呼ばれている。ま
た、二つのフィールド21,22の内、時間的に先に表
示されるフィールドを第一フィールド、後に表示される
フィールドを第二フィールドと呼ぶ。2. Description of the Related Art FIG. 6 shows a block diagram of an interlaced image. In the interlaced image, one frame 20 is composed of two fields 21 and 22. The frame 20 is configured by alternately combining two fields 21 and 22 for each line, and a field 21 located above is called a top field 21 and a field 22 located below is called a bottom field 22. There is. Of the two fields 21 and 22, the field displayed first in time is called the first field, and the field displayed later is called the second field.
【0006】また、トップフィールド、ボトムフィール
ドはどちらが第一フィールドになってもよいが、一度ど
ちらかに決まったら、それ以降フィールドの順番は変わ
らない。以下では説明を簡単にするためトップフィール
ドを第一フィールドとして説明を行なう。逆の場合も同
様である。Further, either the top field or the bottom field may be the first field, but once the one is determined, the order of the fields does not change thereafter. Below, in order to simplify the description, the top field will be described as the first field. The same applies to the opposite case.
【0007】ところで、フレーム間符号化を用いて画像
伝送を行う場合、通信路でデータがエラーした場合、復
号画像に大きな劣化が生じる。よって、あるフレームが
復号エラーで画像を再生できなかった場合、このフレー
ムを参照フレームとする符号化フレームは全て復号がで
きなくなり、次にフレーム間予測を行なっていないフレ
ームが伝送されるまで、表示できないことになる。By the way, in the case of performing image transmission using interframe coding, if data error occurs in the communication channel, the decoded image is greatly deteriorated. Therefore, if an image cannot be played back due to a decoding error in a certain frame, all coded frames that use this frame as a reference frame cannot be decoded, and display is continued until the next frame without inter-frame prediction is transmitted. It will not be possible.
【0008】このため、エラー発生時には次の画像が復
号可能となるまで復号エラー直前に復号できた画像を繰
り返し表示(フリーズ状態)していた。Therefore, when an error occurs, the image that can be decoded immediately before the decoding error is repeatedly displayed (freeze state) until the next image can be decoded.
【0009】[0009]
【発明が解決しようとする課題】しかるに、従来のイン
ターレス符号化画像の復号化方法では復号時に復号エラ
ーが発生した場合には復号エラー直前に復号できた画像
を繰り返し表示するため、動画などの場合、復号化が可
能となるまで画像がとまってしまい見る者に違和感を与
えてしまう等の問題点があった。However, in the conventional decoding method for interlaced coded images, if a decoding error occurs during decoding, the image that can be decoded immediately before the decoding error is repeatedly displayed, so that a moving image or the like is displayed. In this case, there is a problem in that the image is stopped until decoding becomes possible and the viewer feels uncomfortable.
【0010】本発明は上記の点に鑑みてなされたもの
で、復号エラー発生時にできるだけ早く復号化を行なう
ことにより違和感の少ない画像を表示できるインターレ
ス符号化画像の復号化方法及び装置を提供することを目
的とする。The present invention has been made in view of the above points, and provides a decoding method and apparatus for an interlaced coded image capable of displaying an image with less discomfort by performing decoding as soon as possible when a decoding error occurs. The purpose is to
【0011】[0011]
【課題を解決するための手段】図1に本発明の原理図を
示す。本発明のインターレス符号化画像の復号化方法は
インターレス画像をフレームを構成するフィールドを単
位として符号化する符号化方式によって生成された符号
化データを復号化する方法である。FIG. 1 shows the principle of the present invention. The decoding method of an interlaced coded image according to the present invention is a method of decoding coded data generated by a coding method in which an interless image is coded in units of fields constituting a frame.
【0012】本発明のインターレス符号化画像の復号化
方法において、エラー検出手順1は復号化されたフィー
ルドのデータのエラーを検出する。また、データ代用手
順2はエラー検出手順1でエラーが検出されたとき、エ
ラーが検出されたフィールドに近接し、かつ、復号化さ
れたフィールドのデータをエラーが検出されたデータに
代用する。In the method for decoding an interlaced coded image according to the present invention, the error detection procedure 1 detects an error in the data of the decoded field. Further, in the data substitution procedure 2, when an error is detected in the error detection procedure 1, the data of the field which is close to the field in which the error is detected and which is decoded is substituted for the data in which the error is detected.
【0013】請求項2では、前記フレームを第1フィー
ルド及び第2フィールドより構成し、前記データ代用手
順は前記エラー検出手順でエラーが検出されたフィール
ドが第2フィールドの場合にはその前に復号された第1
フィールドのデータを該第2フィールドに代用する第1
の利用手順を有することを特徴とする。According to a second aspect of the present invention, the frame is composed of a first field and a second field, and the data substituting procedure decodes before the second field if an error is detected in the error detecting procedure. First done
First substituting field data for the second field
It is characterized by having a use procedure of.
【0014】請求項3は、前記データ代用手順が前記エ
ラー検出手順でエラーが検出されたフィールドが第2フ
ィールドで、エラーが検出された後に復号化されたフィ
ールドが第2フィールドの場合には、復号化された第2
フィールドのデータを第1フィールドのデータに代用す
る第2の代用手順を有することを特徴とする。According to a third aspect of the present invention, when the data substitution procedure is the second field where the error is detected in the error detection procedure and the second field is the field decoded after the error is detected, Second decrypted
It is characterized by having a second substitution procedure for substituting the data of the field for the data of the first field.
【0015】請求項4は、前記データ代用手順が前記エ
ラー検出手順でエラーが検出されたフィールドが第1の
フィールドで、エラーが検出された後に復号化されたフ
ィールドがエラーが検出された第1フィールドとフレー
ムを形成する第2フィールドの場合には、復号化された
第2フィールドのデータを第1フィールドのデータに代
用する第3の代用手順を有することを特徴とする。According to a fourth aspect of the present invention, in the data substitution procedure, a field in which an error is detected in the error detection procedure is a first field, and in a field decoded after the error is detected, an error is detected in the first field. In the case of the second field forming a field and a frame, it is characterized by having a third substitution procedure for substituting the decoded second field data for the first field data.
【0016】請求項5は、前記データ代用手順が前記エ
ラー検出手順でエラーが検出されたフィールドが第1フ
ィールドで、エラーが検出された後に復号化されたフィ
ールドが第2フィールドで、かつ、エラーが検出された
第1フィールドと同一フレームを形成しない場合には復
号化された第2フィールドのデータを復号化された第2
フィールドと同一フレームを形成する第1フィールドの
データに代用する第4の代用手順を有することを特徴と
する。According to a fifth aspect of the present invention, in the data substitution procedure, the field in which an error is detected in the error detection procedure is the first field, the field decoded after the error is the second field, and the error is detected. Is not formed in the same frame as the detected first field, the decoded second field data is decoded into the second field.
It is characterized by having a fourth substitution procedure for substituting the data of the first field forming the same frame as the field.
【0017】請求項6は、前記データ代用手順を前記第
4の代用手順で代用され形成されたフレームのデータを
前記エラーが検出された第1フィールドを含むフレーム
のデータに代用する第5の代用手順を有することを特徴
とする。According to a sixth aspect of the present invention, the data substitution procedure is substituted by the fourth substitution procedure and the data of the formed frame is substituted for the data of the frame including the first field in which the error is detected. It is characterized by having a procedure.
【0018】[0018]
【作用】本発明の請求項1によれば、エラー検出手順で
復号エラーが検出された場合には近接する復号されたフ
ィールドのデータを代用することによりフレームの復号
を可能としているため、エラーに対して迅速なフレーム
の復帰動作が可能となりエラーによる画像のフレーム喪
失を最小限に留めることができると共に、後の復号に影
響を与えることなく復号を連続して行なえる。According to the first aspect of the present invention, when a decoding error is detected in the error detecting procedure, it is possible to decode the frame by substituting the data of the adjacent decoded field. On the other hand, a quick frame restoration operation is possible, frame loss of an image due to an error can be minimized, and decoding can be continuously performed without affecting subsequent decoding.
【0019】請求項2によれば、1フレームが第1フィ
ールド及び第2フィールドにより構成される場合におい
て、エラーが検出されたフィールドが第2フィールドの
場合にはその前に復号された第1フィールドのデータを
代用することによりエラーが生じたフィールドのフレー
ムを復帰させている。According to the second aspect, in the case where one frame is composed of the first field and the second field, when the field in which the error is detected is the second field, the first field decoded before the second field. The frame of the field in which the error has occurred is restored by substituting the data of.
【0020】請求項3によれば、エラーが検出されたフ
ィールドが第2フィールドでエラーが検出された後に復
号化されたフィールドが第2フィールドの場合に復号化
された第2フィールドをエラーが検出された第1フィー
ルドに代用することによりフレームを復帰させている。According to the third aspect, when the field in which the error is detected is the second field and the field decoded after the error is the second field, the error is detected in the second field decoded. The frame is restored by substituting the generated first field.
【0021】請求項4によれば、エラーが検出されたフ
ィールドが第1フィールドでエラーが検出された後に復
号化されたフィールドが第1フィールドとフレームを形
成する第2フィールドである場合には復号化された第2
フィールドをエラーが検出された第1フィールドに代用
することによりフレームを復帰させている。According to claim 4, when the field in which the error is detected is the second field which forms a frame with the first field after the error is detected in the first field, the decoding is performed. Secondized
The frame is restored by substituting the field for the first field in which an error was detected.
【0022】請求項5によればエラーが検出されたフィ
ールド第1フィールドで、エラーが検出された後に復号
化されたフィールドが第2フィールドで、かつ、エラー
が検出された第1フィールドと同一フレームを形成しな
い場合には復号化された第2フィールドを復号化された
第2フィールドと同一フレームを形成する第1フィール
ドに代用することによりフレームを復帰している。According to a fifth aspect of the present invention, the field in which an error is detected is the first field, the field which is decoded after the error is detected is the second field, and the same frame as the first field in which the error is detected. When the frame is not formed, the frame is restored by substituting the decoded second field for the first field forming the same frame as the decoded second field.
【0023】請求項6によれば、請求項5で復帰された
フレームをエラーが検出されたフィールドのフレームに
代用することにより失われたフレームを復帰させてい
る。請求項7によれば、エラー検出手段で復号エラーが
検出された場合には近接する復号されたフィールドのデ
ータをエラーが検出されたフィールドに代用することに
よりフレームを復帰させることにより、エラーに対して
迅速にフレーム復帰動作が可能となりエラーによる画像
のフレームの喪失を最小限に留めることが可能となり、
また、フレームが復帰されることから後の復号への影響
もなくなる。According to the sixth aspect, the lost frame is restored by substituting the frame restored in the fifth aspect for the frame of the field in which the error is detected. According to the seventh aspect, when a decoding error is detected by the error detecting means, the data of the adjacent decoded field is substituted for the field in which the error is detected to restore the frame. It is possible to quickly and quickly perform frame restoration operation, and it is possible to minimize the loss of image frames due to errors.
Further, since the frame is restored, there is no influence on the subsequent decoding.
【0024】[0024]
【実施例】図1に本発明の一実施例のブロック構成図を
示す。本実施例は国際標準化方式であるH.261,M
PEG1,MPEG2等の動画像符号化方法により符号
化された動画像を復号化する復号装置について説明す
る。1 is a block diagram of an embodiment of the present invention. This embodiment is based on the international standardization method H.264. 261, M
A decoding device for decoding a moving image encoded by a moving image encoding method such as PEG1 and MPEG2 will be described.
【0025】本実施例の復号装置11は符号化データを
元のデータに復元する可変長復号化部12,可変長復号
化部12で復元されたデータに逆量子化処理を行なう逆
量子化部13,逆量子化されたデータに逆離散コサイン
変換処理を行なう逆離散コサイン変換部18,復号画像
を保持するフレームメモリ14,逆離散コサイン変換部
18で逆離散コサイン変換されたデータとフレームメモ
リ14に保持された参照画面とを加算し、フレーム間予
測による復号画像を得る加算器15,フレームメモリ1
4に保持された復号画像を表示する表示部16,可変長
復号化部12でのデータ復号時にエラーが生じた際にエ
ラーが生じたデータを補償し、画像への影響が少なくな
るようにデータを制御するエラー復帰制御部17より構
成される。The decoding device 11 of the present embodiment includes a variable length decoding unit 12 for restoring encoded data to original data, and an inverse quantization unit for performing inverse quantization processing on the data restored by the variable length decoding unit 12. 13, an inverse discrete cosine transform unit 18 that performs an inverse discrete cosine transform process on the dequantized data, a frame memory 14 that holds a decoded image, a data and a frame memory 14 that are inverse discrete cosine transformed by the inverse discrete cosine transform unit 18. Adder 15 for obtaining a decoded image by inter-frame prediction and the frame memory 1
When an error occurs during data decoding in the display unit 16 and the variable length decoding unit 12 that display the decoded image held in 4, the data in which the error has occurred is compensated and the influence on the image is reduced. The error recovery control unit 17 for controlling
【0026】可変長復号化部12には符号化装置側で国
際標準化方式であるH.261,MPEG1,MPEG
2等の動画像符号化方法により符号化された動画像を符
号化データが供給される。可変長復号化部12は符号化
されたデータを復号し、データエラーが発生した場合に
はエラー復帰制御部17にエラー通知を行なう。The variable-length decoding unit 12 uses the H.264 standard, which is an international standardized system, on the encoding device side. 261, MPEG1, MPEG
The encoded data is supplied to the moving image encoded by the moving image encoding method such as 2. The variable length decoding unit 12 decodes the encoded data and notifies the error recovery control unit 17 of an error when a data error occurs.
【0027】可変長復号化部12で復号化された復号化
データは逆量子化部13に供給される。逆量子化部13
では可変長復号化部12から出力される復号化データに
対して逆量子化処理を行ない、その結果を逆離散コサイ
ン変換部18に供給する。逆離散コサイン変換部18に
は逆量子化部13から逆量子化データが供給される。逆
離散コサイン変換部18では逆量子部13から出力され
る逆量子化データに対して、逆離散コサイン変換処理を
行ない、その結果を加算器15に供給する。The decoded data decoded by the variable length decoding unit 12 is supplied to the inverse quantization unit 13. Inverse quantizer 13
Then, the inverse quantization processing is performed on the decoded data output from the variable length decoding unit 12, and the result is supplied to the inverse discrete cosine transform unit 18. The inverse quantized data is supplied from the inverse quantization unit 13 to the inverse discrete cosine transform unit 18. The inverse discrete cosine transform unit 18 performs an inverse discrete cosine transform process on the inverse quantized data output from the inverse quantum unit 13, and supplies the result to the adder 15.
【0028】加算器15には逆離散コサイン変換部18
から逆離散コサイン変換処理結果が供給されると共に、
フレームメモリ14からフレーム間予測に用いられる参
照画像データが供給されており、逆離散コサイン変換部
18からの逆離散コサイン変換処理結果と、フレームメ
モリ14からの参照画像データとを加算することにより
復号画像データを生成する。加算器15で復号された復
号画像データはフレームメモリ14に供給される。フレ
ームメモリ14は加算器15から供給された復号画像デ
ータを保持する。フレームメモリ14に保持された復号
画像データは表示部16に供給される。表示部16はフ
レームメモリ14から供給される画像データに応じた画
像を出力する。The adder 15 includes an inverse discrete cosine transform unit 18
The inverse discrete cosine transform processing result is supplied from
Reference image data used for inter-frame prediction is supplied from the frame memory 14, and decoding is performed by adding the inverse discrete cosine transform processing result from the inverse discrete cosine transform unit 18 and the reference image data from the frame memory 14. Generate image data. The decoded image data decoded by the adder 15 is supplied to the frame memory 14. The frame memory 14 holds the decoded image data supplied from the adder 15. The decoded image data stored in the frame memory 14 is supplied to the display unit 16. The display unit 16 outputs an image according to the image data supplied from the frame memory 14.
【0029】また、エラー復帰制御部17は可変長復号
化部12からエラー通知が供給されるとエラーが発生し
たフィールドに対してフレームメモリ14に保持された
他のフィールドの画像データを代用するようにフレーム
メモリ14のデータの書き換えを行なう。When the error recovery controller 17 receives an error notification from the variable length decoder 12, the error recovery controller 17 substitutes the image data of another field held in the frame memory 14 for the field in which the error occurred. Then, the data in the frame memory 14 is rewritten.
【0030】図3に本発明の一実施例のエラー復帰制御
部17によるエラー発生時のデータの補償動作のフロー
チャート、図4及び図5にエラー復帰制御部17による
エラー発生時のデータの補償動作説明図を示す。図4
(A)に示すようにインターレス画像は、フレームFL
は二つのフィールドTF,BFから構成される。フレー
ムFLは一ラインごとに二つのフィールドTF,BFが
交互に組み合わさって構成されており、位置的に上にあ
るフィールドはトップフィールドTF,下にあるフィー
ルドはボトムフィールドBFと呼ばれている。また、二
つのフィールドの内、時間的に先に表示されるフィール
ドを第1フィールド、後に表示されるフィールドを第2
フィールドと呼ぶ。FIG. 3 is a flowchart of the data compensation operation when an error occurs by the error recovery controller 17 according to one embodiment of the present invention, and FIGS. 4 and 5 show the data compensation operation when an error occurs by the error recovery controller 17. An explanatory view is shown. FIG.
As shown in (A), the interlaced image is a frame FL.
Is composed of two fields TF and BF. The frame FL is configured by alternately combining two fields TF and BF for each line, and a field located above is called a top field TF and a field located below is called a bottom field BF. Also, of the two fields, the field that is displayed earlier in time is the first field, and the field that is displayed later is the second field.
Call it the field.
【0031】エラー復帰制御部17ではデータにエラー
を検出すると、エラーが検出されたデータが第1フィー
ルドの画像データに相当するものか、第2フィールドの
画像データに相当するものかを判断する(ステップS1
-1,S1-2)。ステップS1-2で、第2フィールドに相
当する画像データにエラーが検出されたと判断される
と、次にエラー復帰制御部17は図4(B)に示すよう
にエラーが生じたフィールドBF1の前に復号された第
1フィールドFB1の復号画像データAをエラーが生じ
た第2フィールドBT1の復号画像データに代用する
(ステップS1-3)。When the error recovery control unit 17 detects an error in the data, it determines whether the data in which the error is detected corresponds to the image data of the first field or the image data of the second field ( Step S1
-1 , S1 -2 ). When it is determined in step S1-2 that an error has been detected in the image data corresponding to the second field, the error recovery control unit 17 then determines whether an error has occurred before the field BF1 as shown in FIG. 4B. the decoded image data a of the first field FB1 error decoded substitute the decoded image data of the second field BT1 that occurred (step S1 -3).
【0032】以上によりエラーが生じたフィールドの補
償が行なえる。1フレームのデータが得られるエラー復
帰制御部17は次のフィールドが復号化されると、復号
化されたフィールドが第1フィールドか第2フィールド
かを判断する(ステップS1 -4,S1-5)。ステップS
1-5で復号化されたフィールドが第1フィールドの場合
には一連のデータ補償処理を終了する。By the above, the correction of the field in which the error occurred
You can make a payment. Error recovery that can obtain 1 frame of data
The return controller 17 decodes when the next field is decoded.
The converted field is the first field or the second field
It is determined (step S1 -Four, S1-Five). Step S
1-FiveIf the field decoded by is the first field
Ends a series of data compensation processing.
【0033】また、ステップS1-5で次に復号化された
フィールドが第2フィールドの場合には図4(C)に示
すように復号化された第2フィールドBF2のデータB
を第2フィールドBF2と対をなし1つのフレームを形
成する第1フィールドTF2のデータBに代用する(ス
テップS1-6)。Further, data of the second field BF2 then decoded field in step S1 -5 is decoded as in the case of the second field shown in FIG. 4 (C) B
Is substituted for the data B of the first field TF2 forming a pair with the second field BF2 (step S1-6 ).
【0034】以上により復号できなかったフィールドが
補償され、1フレーム分の画像データが復元される。こ
のため、後に続くデータの画像予測等に影響を与えるこ
となく続けて画像を表示できるようになる。また、ステ
ップS1-2で、エラーが検出されたフィールドが第1フ
ィールドである場合にはエラー復帰制御部17は次のフ
ィールドが復号化されるのを待って、次に復号されたフ
ィールドが第1フィールドか、第2フィールドかを判断
する(ステップS1-7,S1-8)。As described above, the fields that could not be decoded are compensated and the image data for one frame is restored. Therefore, images can be continuously displayed without affecting the image prediction of the data that follows. If the field in which the error is detected is the first field in step S1-2 , the error recovery control unit 17 waits for the next field to be decoded, and the next decoded field becomes the first field. It is determined whether it is the 1st field or the 2nd field (steps S1 -7 and S1 -8 ).
【0035】ステップS1-8で、復号化されたフィール
ドが第1フィールドのときには、その後のフレーム形成
の処理に影響を与えることはないため、処理を終了す
る。また、ステップS1-8で復号化されたフィールドが
第2フィールドのときには、次に復号化された第2フィ
ールドがエラーが検出された第1フィールドと同一フレ
ームを示すフィールドか否かが判断される(ステップS
1-9)。In step S1-8 , when the decoded field is the first field, it does not affect the subsequent frame forming processing, so that the processing ends. If the field decoded in step S1-8 is the second field, it is determined whether the second field decoded next is the field showing the same frame as the first field in which an error is detected. (Step S
1-9 ).
【0036】ステップS1-9で、復号化された第2のフ
ィールドがエラーが検出された第1フィールドと同一フ
レームをなすフィールドである場合にはエラー復帰制御
部17は図5(A)に示すように復号化されたエラーが
検出された第1のフィールドTF3と対をなす第2フィ
ールドBF3のデータCがエラーが検出された第1フィ
ールドTB3のデータに代用される(ステップS
1-10 )。In step S1-9 , if the decoded second field is a field forming the same frame as the first field in which an error is detected, the error recovery control unit 17 shows in FIG. 5 (A). Thus, the data C of the second field BF3 which is paired with the first field TF3 in which the error is detected is substituted for the data of the first field TB3 in which the error is detected (step S).
1 -10 ).
【0037】以上により、エラーが検出されたフィール
ドを含むフレームを復元でき、後の処理に影響を与える
ことがなくなる。また、ステップS1-9で、次に復号化
されたフィールドがエラーが検出された第1フィールド
とは異なるフレームを形成する第2フィールドである場
合には、エラー復帰制御部17は図5(B)に示すよう
に復号された第2フィールドBF4のデータDを第2フ
ィールドBF4と対をなし、復号できなかった第1フィ
ールドTF4のデータに代用し、フレームFL2を生成
する(ステップS1-11 )。次にエラー復帰制御部17
は図5(C)に示すように復元された第2フィールドB
F4のデータDを第1フィールドTF4に代用すること
により生成されたフレームFL2をエラーが検出され第
1フィールドTF3と第1フィールドTF3と対をなす
第2フィールドBT3とで生成されるはずのフレームF
L1に代用する(ステップS1-12 )。As described above, the frame including the field in which the error is detected can be restored, and the subsequent processing is not affected. In step S1-9 , if the next decoded field is the second field forming a frame different from the first field in which the error is detected, the error recovery control unit 17 determines that the error recovery control unit 17 shown in FIG. ), The decoded data D of the second field BF4 is paired with the second field BF4, and is substituted for the undecoded data of the first field TF4 to generate the frame FL2 (step S1 -11 ). . Next, the error recovery control unit 17
Is the second field B restored as shown in FIG.
An error is detected in the frame FL2 generated by substituting the data D of F4 for the first field TF4, and the frame F supposed to be generated by the first field TF3 and the second field BT3 forming a pair with the first field TF3.
Substitute for L1 (step S1-12 ).
【0038】以上により、フレームFL2が復元され、
以後の処理に影響を与えることがなくなり、また、復元
されないはずのフレームFL1が復元でき、フレームの
連続性を維持できる。以上、本実施例によれば、フレー
ムを構成する二つのフィールドは、時間的に非常に短い
間隔でサンプルされているため、ほぼ同じ画像になって
いる。よって、フレームをフィールドごとに符号化する
ことにより、一方のフィールドが復号エラーになって
も、もう片方のフィールドが復号できるため、その復号
画像をコピーすることにより、元の符号化画像を正しく
復号した場合の画像とほぼ近い画像を得ることができ
る。この結果、この後のフレーム間予測を使用したフレ
ームも復号することができ、処理画像を滑らかに表示す
ることが可能になる。By the above, the frame FL2 is restored,
The subsequent processing is not affected, and the frame FL1 that should not be restored can be restored and the continuity of the frame can be maintained. As described above, according to the present embodiment, the two fields constituting the frame are sampled at a very short time interval, so that the images are almost the same. Therefore, by encoding the frame for each field, even if one of the fields has a decoding error, the other field can be decoded.By copying the decoded image, the original encoded image can be decoded correctly. It is possible to obtain an image that is almost similar to the image in the case. As a result, the subsequent frame using inter-frame prediction can also be decoded, and the processed image can be displayed smoothly.
【0039】したがって、インターレス画像をフィール
ド単位で符号化する場合に、復号エラーが生じた場合に
も、そのフレームを予測画像としているフレームも復号
することができ、表示を劣化なく行なうことができる。Therefore, when an interlaced image is encoded in field units, even if a decoding error occurs, the frame whose frame is the predicted image can also be decoded and the display can be performed without deterioration. .
【0040】[0040]
【発明の効果】上述の如く、本発明の請求項1によれ
ば、エラー検出手順で復号エラーが検出された場合には
近接する復号されたフィールドのデータを代用すること
によりフレームの復号を可能としているため、エラーに
対して迅速なフレームの復帰動作が可能となりエラーに
よる画像のフレーム喪失を最小限に留めることができる
と共に、後の復号に影響を与えることなく復号を連続し
て行なえる等の特長を有する。As described above, according to the first aspect of the present invention, when a decoding error is detected in the error detecting procedure, it is possible to decode the frame by substituting the data of the adjacent decoded field. As a result, it is possible to quickly recover frames due to errors, minimize frame loss of images due to errors, and perform decoding continuously without affecting subsequent decoding. With the features of.
【0041】請求項2によれば、1フレームが第1フィ
ールド及び第2フィールドにより構成される場合におい
て、エラーが検出されたフィールドが第2フィールドの
場合にはその前に復号された第1フィールドのデータを
代用することによりエラーが生じたフィールドのフレー
ムを復帰させていることができ、フレームを非連続とす
ることがなくなると共に次の復号への影響を排除できる
等の特長を有する。According to the second aspect, in the case where one frame is composed of the first field and the second field, when the field in which the error is detected is the second field, the first field decoded before that is the first field. It is possible to restore the frame of the field in which the error has occurred by substituting the data of (1), and it is possible to eliminate the influence of the next decoding by eliminating the discontinuity of the frame.
【0042】請求項3によれば、エラーが検出されたフ
ィールドが第2フィールドでエラーが検出された後に復
号化されたフィールドが第2フィールドの場合に復号化
された第2フィールドをエラーが検出された第1フィー
ルドに代用することによりフレームを復帰させているこ
とにより、エラーが発生し、次のフレームが復号できな
かった場合でも復号化後は直ちにフレームを形成するこ
とができ、フレームの喪失を最小に留めることができる
と共に、次の復号への影響も最小限に留めることができ
る等の特長を有する。According to the third aspect, when the field in which the error is detected is the second field and the field decoded after the error is the second field, the error is detected in the second field decoded. Since the frame is restored by substituting the first field that was written, even if an error occurs and the next frame cannot be decoded, the frame can be formed immediately after the decoding, and the frame is lost. , And the effect on the next decoding can be minimized.
【0043】請求項4によれば、エラーが検出されたフ
ィールドが第1フィールドでエラーが検出された後に復
号化されたフィールドが第1フィールドとフレームを形
成する第2フィールドである場合には復号化された第2
フィールドをエラーが検出された第1フィールドに代用
することによりフレームを復帰させていることによりフ
レームを連続して形成できると共に次の復号への影響を
排除できる等の特長を有する。According to claim 4, when the field in which the error is detected is the second field which forms a frame with the first field after the error is detected in the first field, the decoding is performed. Secondized
By substituting the field for the first field in which an error is detected, the frame is restored, so that the frame can be formed continuously and the influence on the next decoding can be eliminated.
【0044】請求項5によれば、エラーが検出されたフ
ィールド第1フィールドで、エラーが検出された後に復
号化されたフィールドが第2フィールドで、かつ、エラ
ーが検出された第1フィールドと同一フレームを形成し
ない場合には復号化された第2フィールドを復号化され
た第2フィールドと同一フレームを形成する第1フィー
ルドに代用することによりフレームを復帰させているた
め、エラーが発生し、次のフィールドが復号できなかっ
た場合でも復号化された後に、直ちにフレームが復帰さ
れ、フレームの喪失を最小限に留めることができ、また
その後の復号への影響も最小限に留めることができる等
の特長を有する。According to the fifth aspect, the field in which the error is detected is the first field, the field decoded after the error is detected is the second field, and the same as the first field in which the error is detected. If the frame is not formed, the decoded second field is replaced with the first field forming the same frame as the decoded second field to restore the frame, so that an error occurs, and Even if the field of is not decoded, the frame is restored immediately after being decoded, the loss of the frame can be minimized, and the influence on the subsequent decoding can be minimized. Has features.
【0045】請求項6によれば、請求項5で復帰された
フレームをエラーが検出されたフィールドのフレームに
代用することにより失われたフレームを復帰させている
ため、フレームの喪失を最小限に留め、次の復号への影
響も最小限とすることができる等の特長を有する。According to the sixth aspect, since the lost frame is restored by substituting the frame restored in the fifth aspect for the frame of the field in which the error is detected, the loss of the frame is minimized. It has features such as being able to minimize the influence on the next decoding.
【0046】請求項7によれば、エラー検出手段で復号
エラーが検出された場合には近接する復号されたフィー
ルドのデータをエラーが検出されたフィールドに代用す
ることによりフレームを復帰させることにより、エラー
に対して迅速にフレーム復帰動作が可能となりエラーに
よる画像のフレームの喪失を最小限に留めることが可能
となり、また、フレームが復帰されることから後の復号
への影響もなくなる等の特長を有する。According to the seventh aspect, when a decoding error is detected by the error detecting means, the data of the adjacent decoded field is substituted for the field in which the error is detected to restore the frame. Features such as rapid frame restoration operation for errors, minimizing the loss of image frames due to errors, and eliminating the impact on subsequent decoding as frames are restored Have.
【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.
【図2】本発明の一実施例のブロック構成図である。FIG. 2 is a block diagram of an embodiment of the present invention.
【図3】本発明の一実施例のエラー復帰処理の動作フロ
ーチャートである。FIG. 3 is an operation flowchart of error recovery processing according to an embodiment of the present invention.
【図4】本発明の一実施例のエラー復帰処理の動作説明
図である。FIG. 4 is an operation explanatory diagram of error recovery processing according to an embodiment of the present invention.
【図5】本発明の一実施例のエラー復帰処理の動作説明
図である。FIG. 5 is an operation explanatory diagram of error recovery processing according to an embodiment of the present invention.
【図6】インターレス画像の構成を説明するための図で
ある。FIG. 6 is a diagram for explaining the structure of an interlaced image.
1 エラー検出手順 2 データ代用手順 11 復号化装置 12 可変長復号化部 13 逆量子化部 14 フレームメモリ 15 加算器 16 表示部 17 エラー復帰制御部 S1-1〜S1-12 処理ステップ1 Error Detection Procedure 2 Data Substitution Procedure 11 Decoding Device 12 Variable Length Decoding Section 13 Inverse Quantization Section 14 Frame Memory 15 Adder 16 Display Section 17 Error Recovery Control Section S1 -1 to S1 -12 Processing Steps
Claims (7)
フィールドを単位として符号化する符号化方式によって
生成された符号化データを復号するインターレス符号化
画像の復号化方法において、 復号化されたフィールドのデータのエラー検出するエラ
ー検出手順と、 前記エラー検出手順でエラーが検出されたとき、エラー
が検出されたフィールドに近接し、かつ、復号化された
フィールドのデータを前記エラーが検出されたフィール
ドのデータに代用するデータ代用手順とを有することを
特徴とするインターレス符号化画像の復号化方法。1. A decoding method of an interlaced coded image, which decodes coded data generated by a coding method of coding an interlaced image in units of fields constituting a frame, wherein: An error detection procedure for detecting an error in the data, and when an error is detected in the error detection procedure, the data in the field adjacent to the error is detected, and the decoded field data of the field in which the error is detected is detected. A method for decoding an interlaced coded image, comprising a data substitution procedure for substituting for data.
フィールドより構成されており、 前記データ代用手順は前記エラー検出手順でエラーが検
出されたフィールドが第2フィールドの場合にはその前
に復号された第1フィールドのデータを該第2フィール
ドに代用する第1の代用手順を有することを特徴とする
請求項1記載のインターレス符号化画像の復号化方法。2. The frame comprises a first field and a second field.
When the field in which an error is detected in the error detection procedure is the second field, the data substitution procedure substitutes the data of the first field decoded before that for the second field. The method for decoding an interlaced coded image according to claim 1, further comprising a first substitute procedure.
フィールドより構成されており、 前記データ代用手順は前記エラー検出手順でエラーが検
出されたフィールドが第2フィールドで、エラーが検出
された後に復号化されたフィールドが第2フィールドの
場合には、エラー検出後復号化された第2フィールドの
データを第1フィールドのデータに代用する第2の代用
手順を有することを特徴とする請求項1又は2記載のイ
ンターレス符号化画像の復号化方法。3. The frame comprises a first field and a second field.
If the field in which the error is detected in the error detection procedure is the second field and the field decoded after the error is the second field is an error, The decoding method of an interlaced coded image according to claim 1 or 2, further comprising a second substitution procedure for substituting the data of the second field, which is decoded after the detection, with the data of the first field.
フィールドより構成されており、 前記データ代用手順は前記エラー検出手順でエラーが検
出されたフィールドが第1のフィールドで、エラーが検
出された後に復号化されたフィールドがエラーが検出さ
れた第1フィールドとフレームを形成する第2フィール
ドの場合には、復号化された第2フィールドのデータを
第1フィールドのデータに代用する第3の代用手順を有
することを特徴とする請求項1乃至3のいずれか記載の
インターレス符号化画像の復号化方法。4. The frame comprises a first field and a second field.
In the data substitution procedure, the field in which an error is detected in the error detection procedure is the first field, and the field decoded after the error is detected is the first field in which the error is detected. In the case of a second field forming a frame with a frame, a third substitution procedure for substituting the data of the decoded second field for the data of the first field is included. Or a method for decoding an interlaced coded image as described above.
フィールドより構成されており、 前記データ代用手順は前記エラー検出手順でエラーが検
出されたフィールドが第1フィールドで、エラーが検出
された後に復号化されたフィールドが第2フィールド
で、かつ、エラーが検出された第1フィールドと同一フ
レームを形成しない場合には復号化された第2フィール
ドのデータを復号化された第2フィールドと同一フレー
ムを形成する第1フィールドのデータに代用する第4の
代用手順を有することを特徴とする請求項1乃至4のい
ずれか一項記載のインターレス符号化画像の復号化方
法。5. The frame includes a first field and a second field.
In the data substitution procedure, the field in which the error is detected in the error detection procedure is the first field, the field decoded after the error is the second field, and the error is A fourth substitute for substituting the data of the decoded second field for the data of the first field forming the same frame as the decoded second field when the same frame as the detected first field is not formed. The method of decoding an interlaced coded image according to any one of claims 1 to 4, further comprising a procedure.
順で代用され形成されたフレームのデータを前記エラー
が検出された第1フィールドを含むフレームのデータに
代用する第5の代用手順を有することを特徴とする請求
項5記載のインターレス符号化画像の復号化方法。6. The data substituting procedure has a fifth substituting procedure for substituting the data of the frame formed by substituting by the fourth substituting procedure for the data of the frame including the first field in which the error is detected. The method of decoding an interlaced coded image according to claim 5, wherein.
フィールドを単位として符号化する符号化方式によって
生成された符号化データを復号するインターレス符号化
画像の復号化装置において、 復号化されたフィールドのデータのエラー検出するエラ
ー検出手段と、 前記エラー検出手順でエラーが検出されたとき、エラー
が検出されたフィールドに近接し、かつ、復号化された
フィールドのデータを前記エラーが検出されたフィール
ドのデータに代用するデータ代用手段とを有することを
特徴とするインターレス符号化画像の復号化装置。7. A decoding device for interlaced coded images, which decodes coded data generated by a coding method for coding interlaced images in units of fields constituting a frame, Error detecting means for detecting an error in the data, when an error is detected in the error detecting procedure, the data of the field adjacent to the field in which the error is detected, and the decoded field of the field in which the error is detected is detected. An apparatus for decoding an interlaced coded image, comprising: data substitute means for substituting for data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12277395A JPH08317386A (en) | 1995-05-22 | 1995-05-22 | Decoding method and apparatus for interlaced coded image |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12277395A JPH08317386A (en) | 1995-05-22 | 1995-05-22 | Decoding method and apparatus for interlaced coded image |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08317386A true JPH08317386A (en) | 1996-11-29 |
Family
ID=14844264
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12277395A Pending JPH08317386A (en) | 1995-05-22 | 1995-05-22 | Decoding method and apparatus for interlaced coded image |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08317386A (en) |
-
1995
- 1995-05-22 JP JP12277395A patent/JPH08317386A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100317412B1 (en) | Video Signal Compressor Using Noise Reduction | |
| US7146056B2 (en) | Efficient spatial scalable compression schemes | |
| US20030012286A1 (en) | Method and device for suspecting errors and recovering macroblock data in video coding | |
| US20060133475A1 (en) | Video coding | |
| US6795498B1 (en) | Decoding apparatus, decoding method, encoding apparatus, encoding method, image processing system, and image processing method | |
| EP1134981A1 (en) | Automatic setting of optimal search window dimensions for motion estimation | |
| JPH0818979A (en) | Image processing device | |
| JP4518599B2 (en) | 3: 2 pulldown detection and optimized video compression encoder in motion estimation phase | |
| JP3895414B2 (en) | Video decoding device | |
| US6556714B2 (en) | Signal processing apparatus and method | |
| JPH09322175A (en) | Moving picture decoding method and apparatus | |
| JPH08317386A (en) | Decoding method and apparatus for interlaced coded image | |
| JPH08149471A (en) | Reducing method for mosquito noise generated at time of decoding image data and image data decoder | |
| JPH08172628A (en) | Reduction method of quantized noise caused when converted and coded image data are decoded and decoder for image data subjected to conversion coding | |
| JPH09261530A (en) | Video recorder | |
| JP3526316B2 (en) | Video compression encoding method | |
| JPH09289642A (en) | Video signal encoding method, video signal decoding method and apparatus | |
| JP3862479B2 (en) | How to prevent drift errors in video downconversion | |
| JPH02222388A (en) | Moving picture encoding method | |
| JPH11187408A (en) | Dynamic image coder and its coding processing method | |
| JPH07222144A (en) | Method for minimizing time delay in transmitting moving image with low data rate and reproducing method for moving image | |
| JPH06169453A (en) | Image data encoding and decoding apparatus and method | |
| JPH09238345A (en) | Image signal encoding method and apparatus, image signal transmission method, image signal decoding method and apparatus, and recording medium | |
| KR100312418B1 (en) | Intra mode code selection method in video coder | |
| JP3168723B2 (en) | Video signal encoding device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20030107 |