JP2006246400A - Video data repairing apparatus and method, and video compression coding system employing the same - Google Patents
Video data repairing apparatus and method, and video compression coding system employing the same Download PDFInfo
- Publication number
- JP2006246400A JP2006246400A JP2005063055A JP2005063055A JP2006246400A JP 2006246400 A JP2006246400 A JP 2006246400A JP 2005063055 A JP2005063055 A JP 2005063055A JP 2005063055 A JP2005063055 A JP 2005063055A JP 2006246400 A JP2006246400 A JP 2006246400A
- Authority
- JP
- Japan
- Prior art keywords
- data
- video data
- interpolation
- line
- error
- 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.)
- Withdrawn
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
本発明は映像データ修復装置と修復方法とに関し、特に映像圧縮符号化装置に入力する映像データのエラー修復を行う装置と方法とに関する。 The present invention relates to a video data restoration apparatus and a restoration method, and more particularly to an apparatus and method for performing error restoration of video data input to a video compression coding apparatus.
映像データを伝送するための映像圧縮符号化装置においては、エラーがある映像データは正しく符号化できない。エラーした映像データを使って圧縮符号化をおこなった場合には、その周辺の映像データに影響が及ぶので、画質を劣化させてしまう。このため、映像圧縮符号化装置は、入力する映像データに対し、水平走査線1本(1ライン:1H)分のデータごとにエラー検出を行ない、エラーを検出すると、その1ライン分のデータを捨てて符号化する。その結果、画面表示時の垂直方向のデータサイズが元々の映像データに対して小さくして符号化を行なっていた。 In a video compression encoding apparatus for transmitting video data, video data having an error cannot be encoded correctly. When compression encoding is performed using the video data in error, the peripheral video data is affected, and the image quality is deteriorated. For this reason, the video compression coding apparatus performs error detection for each piece of data for one horizontal scanning line (1 line: 1H) for the input video data. Throw away and encode. As a result, encoding is performed with the data size in the vertical direction when the screen is displayed smaller than the original video data.
垂直方向のデータサイズを変えずに、また、画質を劣化させずに圧縮符号化するためには、エラーが検出された1ライン分のデータを修復してから、映像圧縮符号化装置に入力してやればよい。そのため、エラー検出されたラインのデータを、関連性のある他のラインのデータを参照して生成した補間データで置換することにより、修復する技術が各種提案されている。 In order to perform compression coding without changing the data size in the vertical direction and without degrading the image quality, the data for one line in which an error is detected can be restored and then input to the video compression coding apparatus. That's fine. For this reason, various techniques for repairing data by replacing error detected line data with interpolation data generated by referring to other related line data have been proposed.
例えば、特許文献1には、欠落したラインの補間データを、時間的に離れているが(通常、隣接フィールド)、画面上の垂直位置としては接近している1つまたは2つのライン(通常、隣接ライン)のデータから算出する技術が記載されている。
For example,
エラー発生ラインを修復する際、参照元(修復元)である関連性のある他のラインとしては、動きのある映像の場合は、隣接ラインでよいが、動きの少ない映像の場合は、隣接フレームの同一位置のラインの方が適している。すなわち、エラー発生ラインに対する最適な(最も元の映像データに近い)補間データを生成しようとすると、映像データの動きの状態に応じて、エラー発生ラインに対する補間データの参照元ラインの時間的及び位置的関係を可変とする必要がある。 When repairing an error occurrence line, another related line that is a reference source (restoration source) may be an adjacent line in the case of a video with motion, but an adjacent frame in the case of a video with little motion. The same line is more suitable. That is, when the optimum interpolation data (closest to the original video data) for the error occurrence line is to be generated, the time and position of the reference source line of the interpolation data for the error occurrence line according to the motion state of the video data. It is necessary to make the target relationship variable.
しかし、特許文献1記載の技術では、エラー発生ラインに対し、あらかじめ設定された時間的及び位置的関係にあるラインによってしか補間データを生成できない。つまり特許文献1記載技術では、映像データの動きの状態に応じた最適な補間データを、常には生成することができない。
However, with the technique described in
本発明の目的は、映像データの動きの状態に応じて、常に最適な(最も元の映像データに近い)エラー修復用の補間データの生成を可能とした映像データ修復装置と修復方法、及びそれを用いた映像圧縮符号化システムを提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a video data restoration apparatus and restoration method capable of always generating optimum interpolation data for error restoration (closest to the original video data) according to the state of motion of the video data, and the same An object of the present invention is to provide a video compression encoding system using the above.
本発明の請求項1に係る映像データ修復装置は、所定単位のデータを順次連続して構成した映像データを受信し、エラーのある映像データを修復する映像データ修復装置において、前記所定単位ごとに映像データのエラー検出を行なうエラー検出手段と、エラー検出対象単位データに対し所定の時間的及び位置的関係を有する複数の単位データに基づいて複数の補間データを生成する補間データ生成手段と、前記補間データ生成手段が生成する複数の補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有する。 According to a first aspect of the present invention, there is provided a video data restoration device that receives video data comprising a predetermined unit of data sequentially and recovers video data having an error, for each predetermined unit. Error detection means for performing error detection of video data, interpolation data generation means for generating a plurality of interpolation data based on a plurality of unit data having a predetermined temporal and positional relationship with the error detection target unit data, and Among the plurality of interpolation data generated by the interpolation data generation means, there is provided data selection means for determining the interpolation data closest to the original video data and replacing the video data in which an error is detected with the corresponding interpolation data.
本発明の請求項2に係る映像データ修復装置は、所定単位のデータを順次連続して構成した映像データを受信し、エラーのある映像データを修復する映像データ修復装置において、前記所定単位ごとに映像データのエラー検出を行なうエラー検出手段と、エラー検出対象単位データの前後の単位データから補間データを生成する第1の補間データ生成手段、エラー検出対象単位データのフィールドと異なるフィールドの単位データから補間データを生成する第2の補間データ生成手段、及びエラー検出対象単位データのフレームと異なるフレームの単位データから補間データを生成する第3の補間データ生成手段の内、少なくとも2つの任意に選択された補間データ生成手段と、前記任意に選択された補間データ生成手段がそれぞれ出力する補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有する。 According to a second aspect of the present invention, there is provided a video data repairing apparatus for receiving video data comprising a predetermined unit of data successively in sequence, and repairing video data having errors in each predetermined unit. From error detection means for detecting an error in video data, first interpolation data generation means for generating interpolation data from unit data before and after error detection target unit data, and unit data in a field different from the field of error detection target unit data The second interpolation data generation means for generating the interpolation data and the third interpolation data generation means for generating the interpolation data from the unit data of a frame different from the frame of the error detection target unit data are arbitrarily selected. Output from the interpolation data generation means and the arbitrarily selected interpolation data generation means, respectively. Among between data, it determines interpolation data closest to the original image data, and a data selection means for replacing the video data error is detected in the relevant interpolation data.
本発明の請求項3に係る映像データ修復装置は、入力した映像データのエラー検出を行なうエラー検出手段と、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させる第1のラインメモリ及び第2のラインメモリと、入力した映像データを、1フィールド−1ライン分遅延させるフィールドメモリと、前記フィールドメモリの出力をそれぞれ、1ライン分及び2ライン分遅延させる第3のラインメモリ及び第4のラインメモリと、前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成するライン補間データ生成手段と、前記第3のラインメモリから出力される1フィールド遅延した映像データと、前記第4のラインメモリから出力される1フィールド+1ライン分遅延した映像データとからフィールド補間データを生成するフィールド補間データ生成手段と、前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ及び前記フィールド補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有する。
According to a third aspect of the present invention, there is provided a video data restoration device comprising: an error detecting means for detecting an error of input video data; a first line memory for delaying input video data by one line and two lines; A second line memory; a field memory for delaying input video data by one field—one line; a third line memory for delaying an output of the field memory by one line and two lines; Line memory, line interpolation data generating means for generating line interpolation data from the input video data and video data delayed by two lines output from the second line memory, and the
本発明の請求項4に係る映像データ修復装置は、入力した映像データのエラー検出を行なうエラー検出手段と、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させる第1のラインメモリ及び第2のラインメモリと、入力した映像データを1フレーム分遅延させるフレームメモリと、前記フレームメモリの出力を1ライン分遅延させる第3のラインメモリと、前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成するライン補間データ生成手段と、前記第3のラインメモリから出力される1フレーム+1ライン分遅延した映像データからフレーム補間データを生成するフレーム補間データ生成手段と、前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ及び前記フレーム補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有する。 According to a fourth aspect of the present invention, there is provided a video data restoration device comprising: an error detection means for detecting an error of input video data; a first line memory for delaying the input video data by one line and two lines; A second line memory; a frame memory that delays the input video data by one frame; a third line memory that delays an output of the frame memory by one line; the input video data; Line interpolation data generating means for generating line interpolation data from the video data delayed by two lines output from the line memory, and frame interpolation from the video data delayed by one frame + 1 line output from the third line memory If no error is detected by the frame interpolation data generation means for generating data and the error detection means When the video data delayed by one line output from the first line memory is set as normal video data and an error is detected by the error detection means, the most original video among the line interpolation data and the frame interpolation data is detected. A data selection unit that determines interpolation data close to the data and replaces video data in which an error is detected in the interpolation data;
本発明の請求項5に係る映像データ修復装置は、入力した映像データのエラー検出を行なうエラー検出手段と、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させる第1のラインメモリ及び第2のラインメモリと、入力した映像データを、1フィールド−1ライン分遅延させるフィールドメモリと、前記フィールドメモリの出力をそれぞれ、1ライン分及び2ライン分遅延させる第3のラインメモリ及び第4のラインメモリと、入力した映像データを1フレーム分遅延させるフレームメモリと、前記フレームメモリの出力を1ライン分遅延させる第5のラインメモリと、前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成するライン補間データ生成手段と、前記第3のラインメモリから出力される1フィールド遅延した映像データと、前記第4のラインメモリから出力される1フィールド+1ライン分遅延した映像データとからフィールド補間データを生成するフィールド補間データ生成手段と、前記第5のラインメモリから出力される1フレーム+1ライン分遅延した映像データからフレーム補間データを生成するフレーム補間データ生成手段と、前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ、前記フィールド補間データ、及び前記フレーム補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有する。 According to a fifth aspect of the present invention, there is provided a video data restoration apparatus, an error detection means for detecting an error of input video data, a first line memory for delaying the input video data by one line and two lines, and A second line memory; a field memory for delaying input video data by one field—one line; a third line memory for delaying an output of the field memory by one line and two lines; A line memory, a frame memory that delays input video data by one frame, a fifth line memory that delays output of the frame memory by one line, the input video data, and the second line memory Interpolation data for generating line interpolation data from video data delayed by 2 lines output from A field for generating field interpolation data from the generating means, video data delayed by one field output from the third line memory, and video data delayed from one field + 1 line output from the fourth line memory Interpolation data generation means, frame interpolation data generation means for generating frame interpolation data from video data delayed from 1 frame + 1 line output from the fifth line memory, and the error detection means must detect errors. When the video data output from the first line memory is delayed by one line as normal video data and an error is detected by the error detection means, the line interpolation data, the field interpolation data, and the frame interpolation data Among them, the interpolation data closest to the original video data is judged and And a data selection means for replacing the video data error is detected between the data.
本発明の請求項6に係る映像データ修復装置は、請求項3乃至5のいずれかに係る映像データ修復装置において、前記エラー検出手段が、ラインごとに付加されたCRCにより映像信号のエラー検出を行なう。 The video data restoration device according to claim 6 of the present invention is the video data restoration device according to any one of claims 3 to 5, wherein the error detection means detects an error of the video signal by CRC added for each line. Do.
本発明の請求項7に係る映像データ修復装置は、請求項3乃至5のいずれかに係る映像データ修復装置において、前記エラー検出手段が、画素ごとに付加されたパリティにより映像信号のエラー検出を行なう。
The video data restoration device according to
本発明の請求項8に係る映像圧縮符号化システムは、請求項1乃至7のいずれか1項に係る映像データ修復装置と、前記映像データ修復装置から出力される映像データの圧縮符号化を行う映像圧縮符号化装置とを有する。 According to an eighth aspect of the present invention, there is provided a video compression encoding system that performs compression encoding of the video data restoration device according to any one of the first to seventh aspects and the video data output from the video data restoration device. A video compression encoding device.
本発明の請求項9に係る映像データ修復方法は、所定単位のデータを順次連続して構成した映像データを受信し、エラーのある映像データを修復する映像データ修復装置における映像データ修復方法において、前記所定単位ごとに映像データのエラー検出を行い、エラー検出対象単位データに対し所定の時間的及び位置的関係を有する複数の単位データに基づいて複数の補間データを生成し、前記複数の補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換える。 A video data restoration method according to claim 9 of the present invention is a video data restoration method in a video data restoration device that receives video data comprising a predetermined unit of data successively and restores video data having errors. Error detection of video data is performed for each predetermined unit, a plurality of interpolation data is generated based on a plurality of unit data having a predetermined temporal and positional relationship with the error detection target unit data, and the plurality of interpolation data Of these, the interpolation data closest to the original video data is determined, and the video data in which an error is detected is replaced with the corresponding interpolation data.
本発明の請求項10に係る映像データ修復方法は、所定単位のデータを順次連続して構成した映像データを受信し、エラーのある映像データを修復する映像データ修復装置における映像データ修復方法において、前記所定単位ごとに映像データのエラー検出を行ない、エラー検出対象単位データの前後の単位データから補間データを生成する第1の補間データ生成手段、エラー検出対象単位データのフィールドと異なるフィールドの単位データから補間データを生成する第2の補間データ生成手段、及びエラー検出対象単位データのフレームと異なるフレームの単位データから補間データを生成する第3の補間データ生成手段の内、少なくとも2つの任意に選択された補間データ生成手段がそれぞれ出力する補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換える。
A video data restoration method according to
本発明の請求項11に係る映像データ修復方法は、エラー検出手段で、入力した映像データのエラー検出を行ない、第1のラインメモリ及び第2のラインメモリで、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させ、フィールドメモリで、入力した映像データを1フィールド−1ライン分遅延させ、第3のラインメモリ及び第4のラインメモリで、前記フィールドメモリの出力をそれぞれ、1ライン分及び2ライン分遅延させ、前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成し、前記第3のラインメモリから出力される1フィールド遅延した映像データと、前記第4のラインメモリから出力される1フィールド+1ライン分遅延した映像データとからフィールド補間データを生成し、前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ及び前記フィールド補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換える。 In the video data restoration method according to claim 11 of the present invention, the error detection means detects the error of the input video data, and the input video data is detected by the first line memory and the second line memory, respectively. The input video data is delayed by one field and one line in the field memory, and the output of the field memory is output by one line in each of the third line memory and the fourth line memory. Line interpolation data is generated from the input video data and the video data delayed by two lines output from the second line memory, and output from the third line memory. 1 field delayed video data and 1 field + 1 line delayed video output from the fourth line memory Field interpolation data is generated from the data, and if no error is detected by the error detection means, the video data delayed by one line output from the first line memory is set as normal video data, and the error detection is performed. When an error is detected by the means, the interpolation data closest to the original video data is determined from the line interpolation data and the field interpolation data, and the video data in which the error is detected is replaced with the corresponding interpolation data.
本発明の請求項12に係る映像データ修復方法は、エラー検出手段で、入力した映像データエラー検出手段のエラー検出を行ない、第1のラインメモリ及び第2のラインメモリで、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させ、フレームメモリで、入力した映像データを1フレーム分遅延させ、第3のラインメモリで、前記フレームメモリの出力を1ライン分遅延させ、前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成し、前記第3のラインメモリから出力される1フレーム+1ライン分遅延した映像データからフレーム補間データを生成し、前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ及び前記フレーム補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換える。 In the video data restoration method according to claim 12 of the present invention, the error detection means performs error detection of the input video data error detection means, and the input video data is detected by the first line memory and the second line memory. The input video data is delayed by one frame and two lines, respectively, the input video data is delayed by one frame in the frame memory, the output of the frame memory is delayed by one line in the third line memory, and the input video is delayed. Line interpolation data is generated from the data and the video data delayed by two lines output from the second line memory, and a frame is generated from the video data delayed from one frame + 1 line output from the third line memory. If interpolation data is generated and no error is detected by the error detection means, 1 is output from the first line memory. When the video data delayed by IN is set as normal video data and an error is detected by the error detection means, the interpolation data closest to the original video data is determined from the line interpolation data and the frame interpolation data, and the corresponding interpolation is performed. Replace video data in which error is detected with data.
本発明の請求項13に係る映像データ修復方法は、エラー検出手段で、入力した映像データのエラー検出を行ない、第1のラインメモリ及び第2のラインメモリで、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させ、フィールドメモリで、入力映像データを、1フィールド−1ライン分遅延させ、第3のラインメモリ及び第4のラインメモリで、前記フィールドメモリの出力をそれぞれ、1ライン分及び2ライン分遅延させ、フレームメモリで、入力した映像データを1フレーム分遅延させ、第5のラインメモリで、前記フレームメモリの出力を1ライン分遅延させ、前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成し、前記第3のラインメモリから出力される1フィールド遅延した映像データと、前記第4のラインメモリから出力される1フィールド+1ライン分遅延した映像データとからフィールド補間データを生成し、前記第5のラインメモリから出力される1フレーム+1ライン分遅延した映像データからフレーム補間データを生成し、前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ、前記フィールド補間データ、及び前記フレーム補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換える。 In the video data restoration method according to claim 13 of the present invention, the error detection means detects an error of the input video data, and each of the input video data is 1 by the first line memory and the second line memory. The input video data is delayed by one field and one line in the field memory, and the output of the field memory is output by one line in the third line memory and the fourth line memory, respectively. The input video data is delayed by one frame and two lines, the input video data is delayed by one frame in the frame memory, the output of the frame memory is delayed by one line in the fifth line memory, the input video data, Line interpolation data is generated from the video data delayed by two lines output from the second line memory, and the third line is generated. Field interpolation data is generated from the video data delayed by one field output from the memory and the video data delayed by one field + 1 line output from the fourth line memory, and output from the fifth line memory. If the frame interpolation data is generated from the video data delayed by one frame + one line and no error is detected by the error detection means, the video data delayed by one line output from the first line memory is normal. When an error is detected by the error detection means as video data, the interpolation data closest to the original video data is determined from the line interpolation data, the field interpolation data, and the frame interpolation data. Replace detected video data.
本発明の請求項14に係る映像データ修復方法は、請求項11乃至13のいずれか1項に係る映像データ修復方法において、ラインごとに付加されたCRCにより映像信号のエラー検出を行なう。 A video data restoration method according to a fourteenth aspect of the present invention is the video data restoration method according to any one of the eleventh to thirteenth aspects, wherein error detection of a video signal is performed by a CRC added for each line.
本発明の請求項15に係る映像データ修復方法は、請求項11乃至13のいずれか1項に係る映像データ修復方法において、画素ごとに付加されたパリティにより映像信号のエラー検出を行なう。 A video data restoration method according to a fifteenth aspect of the present invention is the video data restoration method according to any one of the eleventh to thirteenth aspects, wherein error detection of a video signal is performed using a parity added for each pixel.
本発明によれば、映像データのエラーを検出した場合に、時間的及び位置的関係がそれぞれ異なる複数の単位データに基づいて複数の補間データを生成し、これらの補間データの内、どの補間データが最も元の映像データに近いか判定し、該当補間データでエラー検出された映像データを置き換える。これにより、映像データの動きの状態に応じて、常に最適な(最も元の映像データに近い)エラー修復用の補間データを生成することができる。 According to the present invention, when an error in video data is detected, a plurality of pieces of interpolation data are generated based on a plurality of unit data having different temporal and positional relationships, and any one of these pieces of interpolation data is generated. Is the closest to the original video data, and the video data in which the error is detected is replaced with the corresponding interpolation data. Accordingly, it is possible to generate interpolation data for error correction that is always optimal (closest to the original video data) according to the motion state of the video data.
まず本発明の概要を説明する。映像データのエラーを検出した場合に、エラーが有った映像データ(1ライン分の映像データ)の修復方法としては、次の3種類がある。(1)エラーが有ったラインの前後のラインの映像データから補間データを生成する。(2)エラーが有ったラインのフィールドの前のフィールドの映像データから補間データを生成する。(3)エラーが有ったラインのフレームの前のフレームの映像データで補間する。これらの補間方法のうち、最も元の映像データに近い補間方法を判定して、エラーが有った映像データを補間(置換)する。これにより、エラーによる映像データの画面垂直方向の変化を防ぎ、かつ、画質の劣化を押さえることができる。 First, the outline of the present invention will be described. When an error in video data is detected, there are the following three types of methods for repairing video data having an error (video data for one line). (1) Interpolation data is generated from video data of lines before and after the line with an error. (2) Interpolation data is generated from the video data of the field preceding the field of the line where the error occurred. (3) Interpolation is performed with the video data of the frame before the frame of the line with the error. Among these interpolation methods, an interpolation method closest to the original video data is determined, and video data having an error is interpolated (replaced). Thereby, it is possible to prevent the video data from being changed in the vertical direction of the screen due to an error, and to suppress the deterioration of the image quality.
図1は、本発明の映像データ修復装置の一実施例(実施例1)を示すブロック構成図であり、映像圧縮符号化システムに適用した例を示す。 FIG. 1 is a block diagram showing an embodiment (Embodiment 1) of a video data restoration apparatus of the present invention, showing an example applied to a video compression coding system.
図1において、本例の映像データ修復装置は、ラインメモリ1と、CRCエラー検出部2と、映像データ選択部3と、CRC符号再計算部4と、ライン補間部20と、フレーム補間部30と、フィールド補間部40と、補間データ選択部60とを有している。CRC符号再計算部4の出力が、映像圧縮符号化装置5に入力されており、映像データ修復装置及び映像圧縮符号化装置の全体で映像圧縮符号化システムを構成している。映像データ修復装置は、エラーが無い場合は入力映像データを選択し、エラーがある場合は補間処理した映像データを選択して映像圧縮符号化装置へ送出する。補間処理した映像データとしては、ライン補間データ、フレーム補間データ、及びフィールド補間データのうちから最適な補間データを選択する。
In FIG. 1, the video data restoration apparatus of this example includes a
次に、各部の構成、動作を詳細に説明する。 Next, the configuration and operation of each unit will be described in detail.
本例の映像データ修復装置が処理する映像データ信号は、インターレース走査方式のデジタル信号であり、フレームレートは約30枚/秒で、1フレームは2フィールドから成っている。1フィールドあたりの水平走査線(ライン:以下、Hと表記)数は、例えば約250本(約550本も可)とする。1ライン(1H)あたりの画素数(サンプリング数)は、例えば約900画素とする。各1H分の映像データは、各画素(サンプリング点)対応に、所定ビット数のデータ値がそれぞれ割り当てられている。また、各1H分の映像データの最後にはCRC(Cyclic Redundancy Check:巡回冗長検査)符号が付加されている。 The video data signal processed by the video data restoration apparatus of this example is a digital signal of an interlace scanning method, the frame rate is about 30 frames / second, and one frame consists of two fields. The number of horizontal scanning lines (line: hereinafter referred to as H) per field is, for example, about 250 (about 550 is also possible). The number of pixels per line (1H) (sampling number) is, for example, about 900 pixels. Each 1H video data is assigned a data value of a predetermined number of bits corresponding to each pixel (sampling point). Also, a CRC (Cyclic Redundancy Check) code is added to the end of each 1H video data.
ラインメモリ1は、映像データ修復装置に入力した映像データを1ライン(1H)分遅延させる。ラインメモリ1の出力を「遅延基準データ」として、補間データ生成、補間データ選択、映像データ選択の処理を行なう。なお、遅延基準データから見れば、ラインメモリ1に入力した映像データは、1H進んだデータ、すなわち、−1H遅延データとなる。
The
CRCエラー検出部2は、入力した映像データ(遅延基準データ)に誤りが無いか、1HごとにCRCチェックを行なう。CRCエラー検出部2は、映像データに誤りがある場合は、「映像データ選択制御信号」を、映像データ選択部3に送る。 The CRC error detection unit 2 performs a CRC check every 1H to check whether there is an error in the input video data (delay reference data). The CRC error detection unit 2 sends a “video data selection control signal” to the video data selection unit 3 when there is an error in the video data.
映像データ選択部3は、映像データ選択制御信号を受信しなければ、入力映像データを選択、出力するが、映像データ選択制御信号を受信すると、補間処理をした映像データを選択、出力する。 If the video data selection control signal is not received, the video data selection unit 3 selects and outputs the input video data. When the video data selection control signal is received, the video data selection unit 3 selects and outputs the interpolated video data.
CRC符号再計算部4は、映像データ選択部3の出力中の補間処理映像データに対してCRC符号の再計算を行い、計算結果を補間処理映像データに付加して、後段の装置、例えば映像圧縮符号化装置5へ、映像データとして送出する。
The CRC
なお、このCRC符号再計算部4は、制御処理を簡単にするために、映像データ選択部3の全ての出力映像データ(入力映像データ及び補間処理映像データ)に対してCRC符号の再計算を行い、計算結果の置換あるいは付加をするようにしてもよい。
The
ライン補間部20は、ラインメモリ21と、ラインメモリ22と、減算器23と、補間データ生成部24とを有している。
The
ラインメモリ21は、遅延基準データを1H遅延させ、「+1H遅延データ」として出力する。この+1H遅延データは、エラーが無い場合に選択する映像データとして、映像データ選択部3へ送出される。
The
ラインメモリ22は、+1H遅延データを1H遅延させ、「+2H遅延データ」として出力する。
The
補間データ生成部24は、遅延基準データと+2H遅延データとを加算して「ライン補間データ」を生成し、補間データ選択部60へ送出する。なお、この加算処理をより詳細に説明すると、遅延基準データと+2H遅延データとを画素ごとに加算し2で割る、すなわち画素ごとに遅延基準データと+2H遅延データとの平均を求め、ライン補間データとする。
The interpolation
減算器23は、遅延基準データと、+2H遅延データとの差分を計算し、計算結果を「補間選択係数K1」として、補間データ選択部60へ送出する。なお、この差分計算処理をより詳細に説明すると、遅延基準データと+2H遅延データとの画素ごとの差分(絶対値)を求め、全画素分の総和を求め、補間選択係数K1とする。
The
フレーム補間部30は、フレームメモリ31と、2つのラインメモリ32,33と、2つの減算器34,35と、加算器36と、補間データ生成部37とを有している。
The
フレームメモリ31は、遅延基準データを1フレーム遅延させ、「1フレーム遅延データ」として出力する。
The
ラインメモリ32は、1フレーム遅延データを1H遅延させ、「1フレーム+1H遅延データ」として出力する。
The
ラインメモリ33は、1フレーム+1H遅延データを1H遅延させ、「1フレーム+2H遅延データ」として出力する。
The line memory 33
補間データ生成部37は、ラインメモリ32の出力である1フレーム+1H遅延データを「フレーム補間データ」として、補間データ選択部60へ送出する。フレーム補間データも画素ごとのデータである。
The interpolation
減算器34は、遅延基準データと、1フレーム遅延データとの差分(画素ごとの差分絶対値)を計算し、計算結果を加算器36へ出力する。
The subtractor 34 calculates a difference between the delay reference data and the one-frame delay data (difference absolute value for each pixel), and outputs the calculation result to the
減算器35は、ライン補間部20で得た+2H遅延データと、1フレーム+2H遅延データとの差分(画素ごとの差分絶対値)を計算し、計算結果を加算器36へ出力する。
The
加算器36は、減算器34の出力と、減算器35の出力とを加算し、加算結果を「補間選択係数K2」として、補間データ選択部60へ送出する。すなわち、補間選択係数K2は、遅延基準データと1フレーム遅延データとの画素ごとの差分(絶対値)の全画素分の総和と、+2H遅延データと1フレーム+2H遅延データとの差分(絶対値)の全画素分の総和との和となる。
The
フィールド補間部40は、フィールドメモリ41と、3つのラインメモリ42,43,44と、3つの加算器45,47,49と、2つの減算器46,48と、補間データ生成部50とを有している。
The
フィールドメモリ41は、ラインメモリ1で1H遅延させる前の入力映像データである「−1H遅延データ」を1フィールド遅延させて、「1フィールド−1H遅延データ」として出力する。
The
ラインメモリ42は、1フィールド−1H遅延データを1H遅延させて、「1フィールド遅延データ」として出力する。 The line memory 42 delays the 1 field-1H delay data by 1H and outputs it as “1 field delay data”.
ラインメモリ43は、1フィールド遅延データを1H遅延させて、「1フィールド+1H遅延データ」として出力する。 The line memory 43 delays the 1-field delay data by 1H and outputs it as “1 field + 1H delay data”.
ラインメモリ44は、1フィールド+1H遅延データを1H遅延させて、「1フィールド+2H遅延データ」として出力する。
The line memory 44
補間データ生成50は、ラインメモリ42から出力された1フィールド遅延データと、ラインメモリ43から出力された1フィールド+1H遅延データとを加算(画素ごとの平均値算出)して、「フィールド補間データ」を生成し、補間データ選択部60へ送出する。
The
加算器45は、1フィールド−1H遅延データと、1フィールド遅延データとを加算(画素ごとの平均値算出)し、加算結果を減算器46へ出力する。この加算結果(平均値)は、遅延基準データや、1フレーム遅延データのライン位置に相当するデータを示す。
The adder 45 adds 1 field-1H delay data and 1 field delay data (calculates an average value for each pixel), and outputs the addition result to the
減算器は、加算器45の出力と、遅延基準データとの差分(画素ごとの差分絶対値)を計算し、計算結果を加算器49へ出力する。 The subtracter calculates a difference (difference absolute value for each pixel) between the output of the adder 45 and the delay reference data, and outputs the calculation result to the adder 49.
加算器47は、1フィールド+1H遅延データと、1フィールド+2H遅延データとを加算(画素ごとの平均値算出)し、加算結果を減算器48へ出力する。この加算結果(平均値)は、+2H遅延データや、1フレーム+2H遅延データのライン位置に相当するデータを示す。
The
減算器48は、加算器47の出力と、ライン補間部20からの+2H遅延データとの差分(画素ごとの差分絶対値)を計算し、計算結果を加算器49へ出力する。
The
加算器49は、減算器46の出力と、減算器48の出力とを加算して、加算結果を「補間選択係数K3」として、補間データ選択部60へ送出する。すなわち、補間選択係数K3は、1フィールド−1H遅延データ及び1フィールド遅延データの平均値と遅延基準データとの差分絶対値の全画素分の総和と、1フィールド+1H遅延データ及び1フィールド+2H遅延データの平均値と+2H遅延データとの差分絶対値の全画素分の総和との和となる。
The adder 49 adds the output of the
補間データ選択部60は、選択部61と、最小値比較部62とを有している。
The interpolation
最小値比較部62は、ライン補間部20、フレーム補間部30、及びフィールド補間部40でそれぞれ得られた、補間選択係数K1、K2、及びK3を互いに比較して、値が一番小さい補間選択係数を示す補間データ選択制御信号を、選択部61へ出力する。
The minimum
選択部61は、補間データ選択制御信号の値に応じて、ライン補間部20、フレーム補間部30、及びフィールド補間部40のいずれかからの補間データ選択し、映像データ選択部3へ送出する。すなわち、選択部61は、補間選択係数K1が一番小さい場合はライン補間データを選択し、補間選択係数K2が一番小さい場合にはフレーム補間データを選択し、補間選択係数K3が一番小さい場合にはフィールド補間データを選択する。
The
ここで、エラーを検出した映像データに対する、補間種類別の補間データの生成、補間について、図2を参照して説明する。図2は、エラーがある画像データを中心に、映像データの垂直方向の一部について説明するものである。横方向は1H分の映像データである。 Here, generation and interpolation of interpolation data for each interpolation type for video data in which an error has been detected will be described with reference to FIG. FIG. 2 explains part of the video data in the vertical direction centering on image data having an error. The horizontal direction is video data for 1H.
図2中、黒丸で示す点は、エラーの無い映像データで、補間データ生成に利用する画像データを示し、白丸で示す点は、補間されるエラーがある映像データを示す。 In FIG. 2, dots indicated by black circles are video data without errors and indicate image data used for generating interpolation data, and dots indicated by white circles indicate video data having errors to be interpolated.
点1−3は、ライン補間データによる補間を示しており、エラーした映像データの周辺データ(点1−1,1−2)の差分が小さい場合に有効であり、動きのある映像データに適する。 Point 1-3 indicates interpolation by line interpolation data, which is effective when the difference between the peripheral data (points 1-1 and 1-2) of the video data in error is small, and is suitable for moving video data. .
点2−3は、フレーム補間データによる補間を示しており、エラーした映像データと1フレーム前の映像データ(点2−1)との差分が“0”か小さい場合に有効であり、静止画の場合の映像データに適する。 Point 2-3 indicates interpolation based on frame interpolation data, which is effective when the difference between the video data in error and the video data of one frame before (point 2-1) is “0” or small. Suitable for video data.
点3−3は、フィールド補間データによる補間を示しており、エラーした映像データの周辺データ(点3−1,3−2)の差分が小さい場合で、ライン補間よりも早い動きのある映像データに適する。 A point 3-3 indicates interpolation using field interpolation data. When the difference between the peripheral data (points 3-1 and 3-2) of the error video data is small, the video data moves faster than the line interpolation. Suitable for.
映像圧縮符号化装置5は、映像データ修復装置で修復されエラーが無い映像データを、圧縮符号化する。 The video compression encoding device 5 compresses and encodes video data restored by the video data restoration device and having no error.
次に、図1,2とともに、図3〜6に示すタイムチャートを参照して、本実施例の動作を詳細に説明する。 Next, the operation of the present embodiment will be described in detail with reference to the time charts shown in FIGS.
図3は、ライン補間部20の動作を表すタイムチャートであり、併せてラインメモリ1、及びCRCエラー検出部2の動作も表している。
FIG. 3 is a time chart showing the operation of the
ラインメモリ1の映像入力の「b1’」がエラーを含む映像データ(1H分の映像データ)、「a1」、「c1」〜「g1」はエラーの無い正常な映像データ(各1H分の映像データ)である。
“B1 ′” of the video input of the
映像入力a1〜g1は、ラインメモリ1で1H遅延して遅延基準データとして出力される。映像入力はさらに、ライン補間部20のラインメモリ21、ラインメモリ22でそれぞれ1H遅延して出力されて、+1H遅延データ、+2H遅延データのように1Hづつ遅延した映像データとして出力される。
The video inputs a1 to g1 are delayed by 1H in the
CRCエラー検出部2では、映像データb1’のCRC符号を入力した後、エラーを検出して出力に“1”(論理値1:ハイレベル信号)を立てる。CRCエラー検出部2はエラーを検出後、次の映像データ、図3においては、「c1」でCRCエラーが無いことを検出できるまで出力を“1”とする。 The CRC error detection unit 2 inputs the CRC code of the video data b1 ', detects an error, and sets "1" (logical value 1: high level signal) to the output. After detecting the error, the CRC error detection unit 2 sets the output to “1” until the next video data, in FIG. 3, “c1” can detect that there is no CRC error.
ライン補間部20では、減算器23で補間選択係数K1を計算する。概略の計算式は次のようになる。補間選択係数K1=(遅延基準データ)−(+2H遅延データ)=(a1−c1)。より詳しくは、各画素対応に、a1とc1との差分絶対値を求め、全画素分の差分絶対値の総和を求める。
In the
補間データ生成部24でライン補間データを計算する。概略の計算式は次のようになる。ライン補間データ=(遅延基準データ)+(+2H遅延データ)=(a1+c1)。より詳しくは、各画素対応に、a1とc1との平均値を求める。
The interpolation
ライン補間部20は、計算した補間選択係数K1、及びライン補間データとを、補間データ選択部60へ出力する。
The
なお、CRCエラー検出部2でのエラー検出情報(例えば、映像データ選択制御信号)を、図示していない適切な手段によりライン補間部20へ通知するようにしてもよい。これにより、補間選択係数K1及びライン補間データの計算は、CRCエラー検出時のみとすることができる。
Note that error detection information (for example, video data selection control signal) in the CRC error detection unit 2 may be notified to the
図4は、フレーム補間部30の動作を表すタイムチャートであり、併せてラインメモリ1、及びCRCエラー検出部2の動作を表している。
FIG. 4 is a time chart showing the operation of the
映像データ「a0」〜「f0」は、ラインメモリ1の出力(遅延基準データ)を、フレームメモリ31で1フレーム遅延した1フレーム遅延データであり、映像入力a1〜f1の1フレーム前の映像データである。ラインメモリ32と、ラインメモリ33とは、1フレーム遅延データをそれぞれ1Hづつ遅延させて、1フレーム+1H遅延データと、1フレーム+2H遅延データとを出力する。
The video data “a0” to “f0” are 1-frame delayed data obtained by delaying the output (delay reference data) of the
減算器34で、(1フレーム遅延データ)−(遅延基準データ)を計算し、減算器35で、(1フレーム+2H遅延データ)−(+2H遅延データ)を計算し、それぞれ加算器36へ出力する。
The subtractor 34 calculates (1 frame delay data) − (delay reference data), and the
加算器36は、減算器34の出力と、減算器35との出力より補間選択係数K2を計算する。概略の計算式は次のようになる。補間選択係数K2=((1フレーム遅延データ)−(遅延基準データ))+((1フレーム+2H遅延データ)−(+2H遅延データ))=((c0−c1)+(a0−a1))。より詳しくは、各画素対応に、c0とc1との差分絶対値と、a0とa1との差分絶対値とを求め、全画素分の差分絶対値の総和を求める。
The
補間データ生成部37は、フレーム補間データを計算する。概略の計算式は次のようになる。(フレーム補間データ)=(1フレーム+1H遅延データ)=b0。より詳しくは、各画素対応にb0を算出する。
The interpolation
フレーム補間部30は、計算した補間選択係数K2、及びフレーム補間データを、補間データ選択部60へ出力する。
The
なお、ライン補間部20の場合と同様に、CRCエラー検出部2でのエラー検出情報をフレーム補間部20へ通知するようにしてもよい。これにより、補間選択係数K2及びフレーム補間データの計算は、CRCエラー検出時のみとすることができる。
As in the case of the
図5は、フィールド補間部40の動作を表すタイムチャートであり、併せてラインメモリ1、及びCRCエラー検出部2の動作を表している。
FIG. 5 is a time chart showing the operation of the
映像データ「A0」〜「G0」は、ラインメモリ1への入力映像をフィールドメモリ41で1フィールド遅延した1フィールド−1H遅延データであり、映像入力a1〜g1の1フィールド前の映像データである。
Video data “A0” to “G0” are 1 field-1H delayed data obtained by delaying the input video to the
ラインメモリ42と、ラインメモリ43と、ラインメモリとは、1フィールド−1H遅延データをそれぞれ1Hづつ遅延させて、1フィールド遅延データと1フィールド+1H遅延データと1フィールド+2H遅延データを出力する。
The line memory 42, the line memory 43, and the
加算器45は、((1フィールド−1H遅延データ)+(1フィールド遅延データ))を計算し、減算器46へ出力する。
The adder 45 calculates ((1 field-1H delay data) + (1 field delay data)) and outputs it to the
減算器46は、((加算器45の出力)−(遅延基準データ))を計算して、加算器49へ出力する。
The
加算器47は、((1フィールド+1H遅延データ)+(1フィールド+2H遅延データ))を計算し、減算器48へ出力する。
The
減算器48は、((加算器47の出力)−(+2H遅延データ))を計算して、加算器49へ出力する。
The
加算器49は、減算器46の出力と、減算器48の出力とにより、補間選択係数K3を計算する。概略の計算式は次のようになる。補間選択係数K3=〔[(1フィールド−1H遅延データ)+(1フィールド遅延データ)]−(遅延基準データ)〕+〔[(1フィールド+1H遅延データ)+(1フィールド+2H遅延データ)]−(+2H遅延データ)〕=〔[(D0+C0)−c1]〕+〔[(B0+A0)−a1]〕。より詳しくは、D0及びC0の画素ごとの平均値と、c1との画素ごとの差分絶対値を求め、B0及びA0の画素ごとの平均値と、a1との画素ごとの差分絶対値を求め、全画素分の差分絶対値の総和を求める。
The adder 49 calculates an interpolation selection coefficient K3 based on the output of the
補間データ生成部50は、フィールド補間データを計算する。概略の計算式は次のようになる。(フィールド補間データ)=(1フィールド遅延データ)+(1フィールド+1H遅延データ)=(C0+B0)。より詳しくは、C0及びB0の画素ごとの平均値を求める。
The interpolation
フィールド補間部40は、計算した補間選択係数K3、及びフィールド補間データを、補間データ選択部60へ出力する。
The
なお、ライン補間部20の場合と同様に、CRCエラー検出部2でのエラー検出情報をフィールド補間部40へ通知するようにしてもよい。これにより、補間選択係数K3及びフィールド補間データの計算は、CRCエラー検出時のみとすることができる。
As in the case of the
図6は、補間データ選択部60の動作を表すタイムチャートである。補間データ選択部60は、各補間部(ライン補間部20、フレーム補間部30、フィールド補間部40)がそれぞれ出力する補間選択係数K1、補間選択係数K2、補間選択係数K3について比較を行い、一番値の小さいものを判定する。
FIG. 6 is a time chart showing the operation of the interpolation
補間データ選択部60は、一番値が小さい補間選択係数を出力している補間部の補間データを補間処理映像データとして採用し、出力する。例えば、(補間選択係数K3)>(補間選択係数K1)>(補間選択係数K2)、と判定された場合は、図6に示すように、フレーム補間データが補間処理映像データとして採用される。
The interpolation
映像データ選択部3は、CRCエラー検出部2が出力する映像データ選択制御信号の値に応じて、映像データを選択(1H単位で選択)し、CRC符号再計算部4へ出力する。映像データ選択制御信号の値がエラー無しを示す“0”(論理値0:ローレベル信号)の時は、映像データ選択部3は、ラインメモリ21が出力する+1H遅延データを選択する。映像データ選択制御信号の値がエラー有りを示す“1”(論理値1:ハイレベル信号)の時は、映像データ選択部3は、補間データ選択部60からの補間処理映像データを選択する。
The video data selection unit 3 selects video data (selected in units of 1H) according to the value of the video data selection control signal output from the CRC error detection unit 2 and outputs the video data to the CRC
CRC符号再計算部4は、映像データ選択部3が出力中の補間処理映像データに対して、CRC符号の再計算を行い付加することにより、エラーのあった映像データの修復を完了させる。CRC符号再計算部4は、修復分を含む全映像データを後段の装置、本実施例の場合、映像圧縮符号化装置5へ出力する。なお、CRC符号再計算部4は、上述したように、制御処理を簡単にするために、映像データ選択部3の全ての出力映像データ(入力映像データ及び補間処理映像データ)に対してCRC符号の再計算を行うようにすることができる。CRC符号再計算部4は、再計算して得たCRC符号を、エラーのあった映像データの補間処理映像データに付加するだけでなく、エラーのなかった入力映像データのCRC符号を同じCRC符号で置き換える。このようにすることにより、CRC符号再計算部4が、どのような場合にCRC符号の再計算を行う必要があるか判断する必要がなくなり、制御処理を簡単化することができる。
The CRC
上述したように本実施例によれば、映像データのエラーを検出した場合に、ライン補間部、フィールド補間部、及びフレーム補間部の各々から所定の補間データと、補間データと元の映像データとの類似度合いを示す選択係数を出力する。選択係数を比較することにより、いずれの補間データが最も元の映像データに近いか判定し、該当補間データで、エラーがあったラインの映像データを補間(置換)する。 As described above, according to the present embodiment, when an error in video data is detected, predetermined interpolation data, interpolation data, and original video data from each of the line interpolation unit, the field interpolation unit, and the frame interpolation unit, A selection coefficient indicating the degree of similarity is output. By comparing the selection coefficients, it is determined which interpolation data is closest to the original video data, and the video data of the line with the error is interpolated (replaced) with the corresponding interpolation data.
なお、ライン補間部は、エラーが有ったラインの前後のラインの映像データから補間データを生成する。この補間データは、エラーした映像データの周辺データの差分が小さい場合に有効であり、動きのある映像データに適する。 Note that the line interpolation unit generates interpolation data from video data of lines before and after the line having an error. This interpolation data is effective when the difference between the peripheral data of the video data in error is small, and is suitable for moving video data.
フィールド補間部は、エラーが有ったラインのフィールドの前のフィールドの映像データから補間データを生成する。この補間データは、エラーした映像データの周辺データの差分が小さい場合で、ライン補間よりも早い動きのある映像データに適する。 The field interpolation unit generates interpolation data from the video data of the field preceding the field of the line having the error. This interpolation data is suitable for video data that moves faster than line interpolation when the difference between the peripheral data of the video data in error is small.
フレーム補間部は、エラーが有ったラインのフレームの前のフレームの映像データで補間する。この補間データは、エラーした映像データと1フレーム前の映像データとの差分が“0”か小さい場合に有効であり、静止画の場合の映像データに適する。 The frame interpolating unit interpolates with the video data of the frame before the frame of the line having the error. This interpolation data is effective when the difference between the error video data and the video data of one frame before is “0” or small, and is suitable for video data in the case of a still image.
このように、本実施例によれば、映像の動きの状態に応じて修復元ラインの選択を可能としたことにより、常に最適な(最も元の映像データに近い)エラー修復用の補間データを生成することができる。さらに、映像圧縮符号化装置へ破綻の無い映像データを出力することができ、圧縮符号化処理における、エラーによる映像データの垂直方向の変化を防ぎ、かつ、画質の劣化を押さえることができる。 As described above, according to the present embodiment, the restoration source line can be selected according to the motion state of the video, so that the optimum error correction interpolation data (closest to the original video data) can always be obtained. Can be generated. Furthermore, it is possible to output video data without failure to the video compression encoding apparatus, to prevent a change in the vertical direction of the video data due to an error in compression encoding processing, and to suppress deterioration in image quality.
図7は、本発明の映像データ修復装置の他の実施例(実施例2)を示すブロック構成図であり、映像圧縮符号化システムに適用した例を示す。本例の映像データ修復装置の基本的な構成は、図1に示す実施例1の映像データ修復装置のものと同様である。本例の映像データ修復装置が、実施例1のそれと異なる点は、映像データのエラー検出の手段として、CRCを用いる代わりにパリティを用いる点が異なる。 FIG. 7 is a block diagram showing another embodiment (embodiment 2) of the video data restoration apparatus of the present invention, and shows an example applied to a video compression encoding system. The basic configuration of the video data restoration apparatus of this example is the same as that of the video data restoration apparatus of Example 1 shown in FIG. The video data restoration apparatus of this example is different from that of the first embodiment in that parity is used instead of CRC as means for detecting error in video data.
図7において、本例の映像データ修復装置は、ラインメモリ1と、パリティエラー検出部8と、映像データ選択部3と、CRC符号再計算部4と、ライン補間部20と、フレーム補間部30と、フィールド補間部40と、補間データ選択部60とを有している。CRC符号再計算部4の出力が、映像圧縮符号化装置5に入力されており、映像データ修復装置及び映像圧縮符号化装置の全体で映像圧縮符号化システムを構成している。映像データ修復装置は、エラーが無い場合は入力映像データを選択し、エラーがある場合は補間処理した映像データを選択して映像圧縮符号化装置へ送出する。補間処理した映像データとしては、ライン補間データ、フレーム補間データ、及びフィールド補間データのうちから最適な補間データを選択する。
In FIG. 7, the video data restoration apparatus of this example includes a
パリティエラー検出部8を除いた他の各部の内部構成及び機能は、図1に示すものと同様なので、詳細説明は省略する。ただし、ライン補間部20の補間データ生成部24と、フレーム補間部30の補間データ生成部37と、フィールド補間部40の補間データ生成部50とにおいて、図1に示すものと、次の点が異なる。すなわち、各補間データ生成部24、37、50はそれぞれ、補間データを生成するとき、各画素対応のデータに合わせて、そのパリティ情報を生成する。
Since the internal configuration and functions of other units except the parity error detection unit 8 are the same as those shown in FIG. 1, detailed description thereof is omitted. However, the interpolation
以下、パリティエラー検出部8についての説明を行なう。 Hereinafter, the parity error detection unit 8 will be described.
ラインメモリ1への入力映像データは、1ライン(1H)分ごとに分割され、各1H分の映像データの最後にはCRC符号が付加されている。1ライン分の入力映像データは各々、複数の画素対応のデータと、そのパリティ情報とで構成されている。
Input video data to the
ラインメモリ1の出力は、ライン補間部20に入力され、ラインメモリ21から「+1H遅延データ」として出力される。
The output of the
パリティエラー検出部8は、ラインメモリ21の出力である+1H遅延データを入力し、画素ごとにデータに付与されたパリティをチェックして、入力した映像データに誤りが無いか判定する。パリティエラー検出部8は、映像データに誤りがある場合は、「映像データ選択制御信号」を、映像データ選択部3に送る。
The parity error detection unit 8 receives the + 1H delay data that is the output of the
本実施例におけるライン補間部20、フレーム補間部30、フィールド補間部40及び補間データ選択部60各々の動作を表すタイムチャートして、実施例1の説明で用いた図3〜図6に示すタイムチャートを用いることができる。ただし、CRCエラー検出を、パリティエラー検出と読み換える。
FIGS. 3 to 6 are time charts showing the operations of the
映像データ選択部3は、パリティエラー検出部8が出力する映像データ選択制御信号の値に応じて、映像データを選択(1H/画素単位で選択)し、CRC符号再計算部4へ出力する。映像データ選択制御信号の値がエラー無しを示す“0”(論理値0:ローレベル信号)の時は、映像データ選択部3は、ラインメモリ21が出力する+1H遅延データを選択する。映像データ選択制御信号の値がエラー有りを示す“1”(論理値1:ハイレベル信号)の時は、映像データ選択部3は、補間データ選択部60からの補間処理映像データを選択する。
The video data selection unit 3 selects video data (selected in units of 1H / pixel) according to the value of the video data selection control signal output from the parity error detection unit 8 and outputs the video data to the CRC
CRC符号再計算部4は、映像データ選択部3が出力中の補間処理映像データに対して、CRC符号の再計算を行い付加することにより、、エラーのあった映像データの修復を完了させる。CRC符号再計算部4は、修復分を含む全映像データを後段の装置、本実施例の場合、映像圧縮符号化装置5へ出力する。なお、本実施例においても、CRC符号再計算部4の制御処理を簡単化するために、映像データ選択部3の全ての出力映像データ(入力映像データ及び補間処理映像データ)に対してCRC符号の再計算を行うようにすることができる。CRC符号再計算部4は、再計算して得たCRC符号を、エラーのあった映像データの補間処理映像データに付加するだけでなく、エラーのなかった入力映像データのCRC符号を同じCRC符号で置き換える。
The CRC
以上説明したように本実施例によれば、画素対応のパリティによりエラーの有無を判定できるので、入力映像データの1画素毎に補間処理を制御することができ、図1の実施例1と同様の効果を得ることができる。 As described above, according to the present embodiment, since the presence or absence of an error can be determined by the parity corresponding to the pixel, the interpolation processing can be controlled for each pixel of the input video data, which is the same as the first embodiment of FIG. The effect of can be obtained.
次に、本発明の映像データ修復装置のさらに他の実施例を説明する。 Next, still another embodiment of the video data restoration device of the present invention will be described.
上述した実施例1及び実施例2の映像データ修復装置では、補間データの作成手段として、ライン補間部20、フレーム補間部30、及びフィールド補間部40の3つの手段を設けていた。しかし、実施例1及び2の変形として、補間データ作成手段を、ライン補間部20とフィールド補間部40との2つのみで構成する第1の変形例がある。あるいは、ライン補間部20とフレーム補間部30との2つの補間データ作成手段のみで構成する第2の変形例がある。さらに、2つのラインメモリ21,22だけ残してライン補間部20を削除し、フレーム補間部30とフィールド補間部40の2つの補間データ作成手段のみで構成する第3の変形例がある。
In the video data restoration devices of the first and second embodiments described above, three means of the
上述したように、ライン補間部は、エラーが有ったラインの前後のラインの映像データから補間データを生成する。ライン補間データは、エラーした映像データの周辺データの差分が小さい場合に有効であり、動きのある映像データに適する。 As described above, the line interpolation unit generates interpolation data from the video data of the lines before and after the line having the error. The line interpolation data is effective when the difference between the peripheral data of the erroneous video data is small, and is suitable for moving video data.
フィールド補間部は、エラーが有ったラインのフィールドの前のフィールドの映像データから補間データを生成する。フィールド補間データは、エラーした映像データの周辺データの差分が小さい場合で、ライン補間よりも早い動きのある映像データに適する。 The field interpolation unit generates interpolation data from the video data of the field preceding the field of the line having the error. Field interpolation data is suitable for video data that moves faster than line interpolation when the difference between the peripheral data of the video data in error is small.
フレーム補間部は、エラーが有ったラインのフレームの前のフレームの映像データで補間する。フレーム補間データは、エラーした映像データと1フレーム前の映像データとの差分が“0”か小さい場合に有効であり、静止画の場合の映像データに適する。 The frame interpolating unit interpolates with the video data of the frame before the frame of the line having the error. The frame interpolation data is effective when the difference between the error video data and the video data of one frame before is “0” or small, and is suitable for video data in the case of a still image.
したがって、ライン補間部と、フィールド補間部とを設けた場合(第1の変形例)は、動きのある映像データと、それよりも早い動きのある映像データとから補間データを選択するのに適する。 Therefore, when the line interpolation unit and the field interpolation unit are provided (first modified example), it is suitable for selecting interpolation data from video data with motion and video data with faster motion. .
ライン補間部と、フレーム補間部とを設けた場合(第2の変形例)は、動きのある映像データと、静止画の場合の映像データとから補間データを選択するのに適する。 When the line interpolation unit and the frame interpolation unit are provided (second modification), it is suitable for selecting the interpolation data from the moving image data and the image data in the case of a still image.
フィールド補間部と、フレーム補間部とを設けた場合(第3の変形例)は、早い動きのある映像データと、静止画の場合の映像データとから補間データを選択するのに適する。 When the field interpolation unit and the frame interpolation unit are provided (third modification), it is suitable for selecting the interpolation data from the video data with fast motion and the video data in the case of a still image.
その他の部分は、実施例1及び実施例2と同様なので、詳細説明は省略する。 Since other parts are the same as those in the first and second embodiments, detailed description thereof is omitted.
本実施例(変形例1〜3)によれば、映像の動きの状態に応じた修復元ラインの選択を可能とした特徴を維持したまま、映像データ修復装置のハードウェア規模を小さくすることができる。
According to the present embodiment (
映像データを圧縮等、加工して送受信するような放送、通信に関する映像装置、および、ハードディスク、VTR等記録媒体に記録して配布された映像データを再生する装置。 A video device related to broadcasting and communication that compresses and processes video data and transmits / receives it, and a device that reproduces video data recorded and distributed on a recording medium such as a hard disk or VTR.
2 CRCエラー検出部
3 映像データ選択部
4 CRC符号再計算部
5 映像圧縮符号化装置
8 パリティエラー検出部
20 ライン補間部
30 フレーム補間部
40 フィールド補間部
60 補間データ選択部
2 CRC Error Detection Unit 3 Video
Claims (15)
前記所定単位ごとに映像データのエラー検出を行なうエラー検出手段と、
エラー検出対象単位データに対し所定の時間的及び位置的関係を有する複数の単位データに基づいて複数の補間データを生成する補間データ生成手段と、
前記補間データ生成手段が生成する複数の補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有することを特徴とする映像データ修復装置。 In a video data restoration device that receives video data composed of a predetermined unit of data sequentially and restores video data with errors,
Error detection means for detecting an error in the video data for each predetermined unit;
Interpolation data generating means for generating a plurality of interpolation data based on a plurality of unit data having a predetermined temporal and positional relationship with respect to the error detection target unit data;
A plurality of interpolation data generated by the interpolation data generating means, determining the interpolation data closest to the original video data, and data selection means for replacing the video data in which an error is detected with the corresponding interpolation data, Video data restoration device.
前記所定単位ごとに映像データのエラー検出を行なうエラー検出手段と、
エラー検出対象単位データの前後の単位データから補間データを生成する第1の補間データ生成手段、エラー検出対象単位データのフィールドと異なるフィールドの単位データから補間データを生成する第2の補間データ生成手段、及びエラー検出対象単位データのフレームと異なるフレームの単位データから補間データを生成する第3の補間データ生成手段の内、少なくとも2つの任意に選択された補間データ生成手段と、
前記任意に選択された補間データ生成手段がそれぞれ出力する補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有することを特徴とする映像データ修復装置。 In a video data restoration device that receives video data composed of a predetermined unit of data sequentially and restores video data with errors,
Error detection means for detecting an error in the video data for each predetermined unit;
First interpolation data generating means for generating interpolation data from unit data before and after error detection target unit data, and second interpolation data generating means for generating interpolation data from unit data in a field different from the field of error detection target unit data And at least two arbitrarily selected interpolation data generating means among the third interpolation data generating means for generating interpolation data from unit data of a frame different from the frame of the error detection target unit data;
A data selection unit that determines interpolation data closest to the original video data from among the interpolation data output by the arbitrarily selected interpolation data generation unit and replaces the video data in which an error is detected by the corresponding interpolation data; A video data restoration device characterized by that.
入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させる第1のラインメモリ及び第2のラインメモリと、
入力した映像データを、1フィールド−1ライン分遅延させるフィールドメモリと、
前記フィールドメモリの出力をそれぞれ、1ライン分及び2ライン分遅延させる第3のラインメモリ及び第4のラインメモリと、
前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成するライン補間データ生成手段と、
前記第3のラインメモリから出力される1フィールド遅延した映像データと、前記第4のラインメモリから出力される1フィールド+1ライン分遅延した映像データとからフィールド補間データを生成するフィールド補間データ生成手段と、
前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ及び前記フィールド補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有することを特徴とする映像データ修復装置。 Error detection means for detecting an error in the input video data;
A first line memory and a second line memory for delaying input video data by one line and two lines, respectively;
A field memory for delaying input video data by one field and one line;
A third line memory and a fourth line memory for delaying the output of the field memory by one line and two lines, respectively;
Line interpolation data generating means for generating line interpolation data from the input video data and video data delayed by two lines output from the second line memory;
Field interpolation data generating means for generating field interpolation data from video data delayed by one field output from the third line memory and video data delayed from one field + 1 line output from the fourth line memory When,
If no error is detected by the error detecting means, the video data delayed from one line output from the first line memory is set as normal video data, and when the error is detected by the error detecting means, the line interpolation data And a data selection unit for determining interpolation data closest to the original video data among the field interpolation data and replacing the video data in which an error is detected with the corresponding interpolation data.
入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させる第1のラインメモリ及び第2のラインメモリと、
入力した映像データを1フレーム分遅延させるフレームメモリと、
前記フレームメモリの出力を1ライン分遅延させる第3のラインメモリと、
前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成するライン補間データ生成手段と、
前記第3のラインメモリから出力される1フレーム+1ライン分遅延した映像データからフレーム補間データを生成するフレーム補間データ生成手段と、
前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ及び前記フレーム補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有することを特徴とする映像データ修復装置。 Error detection means for detecting an error in the input video data;
A first line memory and a second line memory for delaying input video data by one line and two lines, respectively;
A frame memory that delays input video data by one frame;
A third line memory for delaying the output of the frame memory by one line;
Line interpolation data generating means for generating line interpolation data from the input video data and video data delayed by two lines output from the second line memory;
Frame interpolation data generating means for generating frame interpolation data from video data delayed by one frame + 1 line output from the third line memory;
If no error is detected by the error detecting means, the video data delayed from one line output from the first line memory is set as normal video data, and when the error is detected by the error detecting means, the line interpolation data And a video data restoration device comprising: data selection means for determining interpolation data closest to the original video data among the frame interpolation data and replacing video data in which an error is detected with the interpolation data.
入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させる第1のラインメモリ及び第2のラインメモリと、
入力した映像データを、1フィールド−1ライン分遅延させるフィールドメモリと、
前記フィールドメモリの出力をそれぞれ、1ライン分及び2ライン分遅延させる第3のラインメモリ及び第4のラインメモリと、
入力した映像データを1フレーム分遅延させるフレームメモリと、
前記フレームメモリの出力を1ライン分遅延させる第5のラインメモリと、
前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成するライン補間データ生成手段と、
前記第3のラインメモリから出力される1フィールド遅延した映像データと、前記第4のラインメモリから出力される1フィールド+1ライン分遅延した映像データとからフィールド補間データを生成するフィールド補間データ生成手段と、
前記第5のラインメモリから出力される1フレーム+1ライン分遅延した映像データからフレーム補間データを生成するフレーム補間データ生成手段と、
前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ、前記フィールド補間データ、及び前記フレーム補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えるデータ選択手段とを有することを特徴とする映像データ修復装置。 Error detection means for detecting an error in the input video data;
A first line memory and a second line memory for delaying input video data by one line and two lines, respectively;
A field memory for delaying input video data by one field and one line;
A third line memory and a fourth line memory for delaying the output of the field memory by one line and two lines, respectively;
A frame memory that delays input video data by one frame;
A fifth line memory for delaying the output of the frame memory by one line;
Line interpolation data generating means for generating line interpolation data from the input video data and video data delayed by two lines output from the second line memory;
Field interpolation data generating means for generating field interpolation data from video data delayed by one field output from the third line memory and video data delayed from one field + 1 line output from the fourth line memory When,
Frame interpolation data generating means for generating frame interpolation data from video data delayed by 1 frame + 1 line output from the fifth line memory;
If no error is detected by the error detecting means, the video data delayed from one line output from the first line memory is set as normal video data, and when the error is detected by the error detecting means, the line interpolation data And a data selection means for determining an interpolation data closest to the original video data among the field interpolation data and the frame interpolation data and replacing the video data in which an error is detected with the corresponding interpolation data. Video data restoration device.
前記映像データ修復装置から出力される映像データの圧縮符号化を行う映像圧縮符号化装置とを有することを特徴とする映像圧縮符号化システム。 The video data restoration device according to any one of claims 1 to 7,
A video compression encoding system comprising: a video compression encoding device that performs compression encoding of video data output from the video data restoration device.
前記所定単位ごとに映像データのエラー検出を行い、
エラー検出対象単位データに対し所定の時間的及び位置的関係を有する複数の単位データに基づいて複数の補間データを生成し、
前記複数の補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えることを特徴とする映像データ修復方法。 In a video data restoration method in a video data restoration device that receives video data composed of a predetermined unit of data sequentially and restores video data having an error,
Perform error detection of video data for each predetermined unit,
Generating a plurality of interpolation data based on a plurality of unit data having a predetermined temporal and positional relationship with respect to the error detection target unit data;
A video data restoration method comprising: determining interpolation data closest to the original video data among the plurality of interpolation data, and replacing video data in which an error is detected with the interpolation data.
前記所定単位ごとに映像データのエラー検出を行ない、
エラー検出対象単位データの前後の単位データから補間データを生成する第1の補間データ生成手段、エラー検出対象単位データのフィールドと異なるフィールドの単位データから補間データを生成する第2の補間データ生成手段、及びエラー検出対象単位データのフレームと異なるフレームの単位データから補間データを生成する第3の補間データ生成手段の内、少なくとも2つの任意に選択された補間データ生成手段がそれぞれ出力する補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えることを特徴とする映像データ修復方法。 In a video data restoration method in a video data restoration device that receives video data composed of a predetermined unit of data sequentially and restores video data having an error,
Perform error detection of video data for each predetermined unit,
First interpolation data generating means for generating interpolation data from unit data before and after error detection target unit data, and second interpolation data generating means for generating interpolation data from unit data in a field different from the field of error detection target unit data , And third interpolation data generating means for generating interpolation data from unit data in a frame different from the frame of the error detection target unit data, and at least two arbitrarily selected interpolation data generating means respectively output interpolation data A video data restoration method comprising: determining interpolation data closest to the original video data, and replacing video data in which an error is detected with the corresponding interpolation data.
第1のラインメモリ及び第2のラインメモリで、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させ、
フィールドメモリで、入力した映像データを1フィールド−1ライン分遅延させ、
第3のラインメモリ及び第4のラインメモリで、前記フィールドメモリの出力をそれぞれ、1ライン分及び2ライン分遅延させ、
前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成し、
前記第3のラインメモリから出力される1フィールド遅延した映像データと、前記第4のラインメモリから出力される1フィールド+1ライン分遅延した映像データとからフィールド補間データを生成し、
前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ及び前記フィールド補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えることを特徴とする映像データ修復方法。 The error detection means detects errors in the input video data,
In the first line memory and the second line memory, the input video data is delayed by one line and two lines, respectively.
In the field memory, the input video data is delayed by 1 field-1 line,
In the third line memory and the fourth line memory, the output of the field memory is delayed by one line and two lines, respectively.
Generating line interpolation data from the input video data and video data delayed by two lines output from the second line memory;
Generating field interpolation data from video data delayed by one field output from the third line memory and video data delayed from one field + 1 line output from the fourth line memory;
If no error is detected by the error detecting means, the video data delayed from one line output from the first line memory is set as normal video data, and when the error is detected by the error detecting means, the line interpolation data A video data restoration method comprising: determining interpolation data closest to the original video data among the field interpolation data, and replacing video data in which an error is detected with the interpolation data.
第1のラインメモリ及び第2のラインメモリで、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させ、
フレームメモリで、入力した映像データを1フレーム分遅延させ、
第3のラインメモリで、前記フレームメモリの出力を1ライン分遅延させ、
前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成し、
前記第3のラインメモリから出力される1フレーム+1ライン分遅延した映像データからフレーム補間データを生成し、
前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ及び前記フレーム補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えることを特徴とする映像データ修復方法。 The error detection means performs error detection of the input video data error detection means,
In the first line memory and the second line memory, the input video data is delayed by one line and two lines, respectively.
In the frame memory, the input video data is delayed by one frame,
In the third line memory, the output of the frame memory is delayed by one line,
Generating line interpolation data from the input video data and video data delayed by two lines output from the second line memory;
Generating frame interpolation data from video data delayed by 1 frame + 1 line output from the third line memory;
If no error is detected by the error detecting means, the video data delayed from one line output from the first line memory is set as normal video data, and when the error is detected by the error detecting means, the line interpolation data A video data restoration method comprising: determining interpolation data closest to the original video data among the frame interpolation data, and replacing the video data in which an error is detected with the interpolation data.
第1のラインメモリ及び第2のラインメモリで、入力した映像データをそれぞれ、1ライン分及び2ライン分遅延させ、
フィールドメモリで、入力映像データを、1フィールド−1ライン分遅延させ、
第3のラインメモリ及び第4のラインメモリで、前記フィールドメモリの出力をそれぞれ、1ライン分及び2ライン分遅延させ、
フレームメモリで、入力した映像データを1フレーム分遅延させ、
第5のラインメモリで、前記フレームメモリの出力を1ライン分遅延させ、
前記入力した映像データと、前記第2のラインメモリから出力される2ライン分遅延した映像データとからライン補間データを生成し、
前記第3のラインメモリから出力される1フィールド遅延した映像データと、前記第4のラインメモリから出力される1フィールド+1ライン分遅延した映像データとからフィールド補間データを生成し、
前記第5のラインメモリから出力される1フレーム+1ライン分遅延した映像データからフレーム補間データを生成し、
前記エラー検出手段でエラーを検出しなければ、前記第1のラインメモリから出力される1ライン分遅延した映像データを正常な映像データとし、前記エラー検出手段でエラーを検出すると、前記ライン補間データ、前記フィールド補間データ、及び前記フレーム補間データの内、最も元の映像データに近い補間データを判定し、該当補間データでエラー検出された映像データを置き換えることを特徴とする映像データ修復方法。 The error detection means detects errors in the input video data,
In the first line memory and the second line memory, the input video data is delayed by one line and two lines, respectively.
In the field memory, the input video data is delayed by 1 field-1 line,
In the third line memory and the fourth line memory, the output of the field memory is delayed by one line and two lines, respectively.
In the frame memory, the input video data is delayed by one frame,
In the fifth line memory, the output of the frame memory is delayed by one line,
Generating line interpolation data from the input video data and video data delayed by two lines output from the second line memory;
Generating field interpolation data from video data delayed by one field output from the third line memory and video data delayed from one field + 1 line output from the fourth line memory;
Generating frame interpolation data from video data delayed by 1 frame + 1 line output from the fifth line memory;
If no error is detected by the error detecting means, the video data delayed from one line output from the first line memory is set as normal video data, and when the error is detected by the error detecting means, the line interpolation data A video data restoration method comprising: determining interpolation data closest to the original video data among the field interpolation data and the frame interpolation data, and replacing the video data in which an error is detected with the interpolation data.
14. The video data restoration method according to claim 11, wherein error detection of the video signal is performed based on a parity added for each pixel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005063055A JP2006246400A (en) | 2005-03-07 | 2005-03-07 | Video data repairing apparatus and method, and video compression coding system employing the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005063055A JP2006246400A (en) | 2005-03-07 | 2005-03-07 | Video data repairing apparatus and method, and video compression coding system employing the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006246400A true JP2006246400A (en) | 2006-09-14 |
Family
ID=37052286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005063055A Withdrawn JP2006246400A (en) | 2005-03-07 | 2005-03-07 | Video data repairing apparatus and method, and video compression coding system employing the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006246400A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010100866A1 (en) * | 2009-03-03 | 2010-09-10 | パナソニック株式会社 | Imaging apparatus which corrects effects of flash |
-
2005
- 2005-03-07 JP JP2005063055A patent/JP2006246400A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010100866A1 (en) * | 2009-03-03 | 2010-09-10 | パナソニック株式会社 | Imaging apparatus which corrects effects of flash |
CN102342091A (en) * | 2009-03-03 | 2012-02-01 | 松下电器产业株式会社 | Imaging apparatus which corrects effects of flash |
JP5167405B2 (en) * | 2009-03-03 | 2013-03-21 | パナソニック株式会社 | Imaging device for correcting the effect of flash |
CN102342091B (en) * | 2009-03-03 | 2014-12-10 | 松下电器产业株式会社 | Imaging apparatus which corrects effects of flash |
US8976272B2 (en) | 2009-03-03 | 2015-03-10 | Panasonic Intellectual Property Management Co., Ltd. | Imaging apparatus which corrects effects of flash |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5144545B2 (en) | Moving picture codec apparatus and method | |
US6327391B1 (en) | Protecting image quality from occurrence of uncorrectable errors | |
JP3137119B2 (en) | Error correction device | |
JP5521202B2 (en) | Multi-view image encoding method, multi-view image decoding method, multi-view image encoding device, multi-view image decoding device, multi-view image encoding program, and multi-view image decoding program | |
US8274602B2 (en) | Image processing apparatus and image processing method with redundant frame detection | |
JP2004159294A (en) | Frame interpolation and apparatus using the frame interpolation | |
JP4978576B2 (en) | Encoding method, encoding apparatus, decoding method, and decoding apparatus | |
JP2001186521A (en) | Image decoder and method therefor | |
US20100039517A1 (en) | Film cadence detection | |
US8594196B2 (en) | Spatial Wyner Ziv coding | |
US11290740B2 (en) | Image coding apparatus, image coding method, and storage medium | |
JP2009200985A (en) | Video processing apparatus | |
KR100450320B1 (en) | Method/Module of Digital TV image signal processing with Auto Error Correction | |
JP2006246400A (en) | Video data repairing apparatus and method, and video compression coding system employing the same | |
JP2008109270A (en) | Moving image regeneration apparatus with camera shake correction function | |
US20110013853A1 (en) | Approach for determining motion vector in frame rate up conversion | |
JP2006332950A (en) | Device for interpolated image generation by bidirectional moving vector, and program | |
JP6726160B2 (en) | Imaging device, imaging system, signal processing device, and signal processing method | |
JP2006303910A (en) | Film mode detecting apparatus | |
KR102620281B1 (en) | Apparatus and Method for Selecting Skip Frames | |
JP4552264B2 (en) | Error correction apparatus and method | |
JP4555186B2 (en) | Digital video decoding apparatus and digital video decoding method | |
JP3469597B2 (en) | Decoding device for block transform code | |
JP3270861B2 (en) | Decoding device for block transform code | |
JP2718384B2 (en) | Image restoration device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20070119 |
|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080513 |