[go: up one dir, main page]

JP3306928B2 - Digital image signal receiving / reproducing device - Google Patents

Digital image signal receiving / reproducing device

Info

Publication number
JP3306928B2
JP3306928B2 JP28072592A JP28072592A JP3306928B2 JP 3306928 B2 JP3306928 B2 JP 3306928B2 JP 28072592 A JP28072592 A JP 28072592A JP 28072592 A JP28072592 A JP 28072592A JP 3306928 B2 JP3306928 B2 JP 3306928B2
Authority
JP
Japan
Prior art keywords
data
interpolation
pixel
optimal
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP28072592A
Other languages
Japanese (ja)
Other versions
JPH06113275A (en
Inventor
哲二郎 近藤
敦雄 矢田
秀雄 中屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP28072592A priority Critical patent/JP3306928B2/en
Publication of JPH06113275A publication Critical patent/JPH06113275A/en
Application granted granted Critical
Publication of JP3306928B2 publication Critical patent/JP3306928B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、ディジタル画像信号
を例えばディジタルVTRによって記録/再生するのに
適用されるディジタル画像信号の受信/再生装置、特
に、エラーである画素データの補間に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image signal receiving / reproducing apparatus applied to record / reproduce a digital image signal by, for example, a digital VTR, and more particularly to interpolation of pixel data having an error.

【0002】[0002]

【従来の技術】ディジタルビデオ信号を磁気テープ等の
記録媒体を用いて伝送する時に、記録/再生の過程でエ
ラーが発生する。通常は、エラー対策のために、エラー
訂正符号が使用される。しかしながら、エラー訂正符号
の訂正能力を超える程度のエラーが発生した場合には、
再生画像中でエラーが目立たないように、補間処理がな
される。
2. Description of the Related Art When a digital video signal is transmitted using a recording medium such as a magnetic tape, an error occurs in a recording / reproducing process. Usually, an error correction code is used as a measure against errors. However, when an error occurs that exceeds the correction capability of the error correction code,
Interpolation processing is performed so that errors are not noticeable in the reproduced image.

【0003】補間処理は、画像情報の持つ空間的な相関
を利用するもので、エラー画素の近傍の正しい2個の画
素の値の平均値を演算し、エラー画素の値を平均値で置
き換えるものである。なるべくエラー画素の真値に近い
補間値を生成するために、複数の補間値の中で選択した
ものを補間値として採用する適応補間が好ましい。すな
わち、エラーである補間対象画素に対して、異なった方
向(水平方向、垂直方向、斜め方向等)に位置する2個
の画素データの平均値を生成する。そして、各補間値を
生成するための2個の画素データの差分値の絶対値を演
算し、この絶対差分値の中で最小であるものを検出し、
これと対応する補間値を最適なものとして選択する。
The interpolation process utilizes a spatial correlation of image information, and calculates an average value of two correct pixels near an error pixel and replaces the error pixel value with the average value. It is. In order to generate an interpolation value that is as close as possible to the true value of the error pixel, adaptive interpolation using a selected one of the plurality of interpolation values as the interpolation value is preferable. That is, an average value of two pixel data located in different directions (horizontal direction, vertical direction, diagonal direction, etc.) is generated for the interpolation target pixel which is an error. Then, the absolute value of the difference value between the two pixel data for generating each interpolation value is calculated, and the absolute value of the absolute difference value that is smallest is detected.
The interpolation value corresponding to this is selected as the optimal one.

【0004】[0004]

【発明が解決しようとする課題】従来の適応補間装置
は、複数の補間値の中の最適値を選択するために、2個
の画素データの絶対差分値の大きさ、すなわち、補間対
象画素を中心とする1次元の方向のレベル傾斜を用い、
この傾斜が最小の場合が最適と判断している。しかしな
がら、最適な補間を検出するのに、1次元方向のレベル
傾斜で判定しても、充分な精度が期待できず、選択補間
値の精度も低くなる問題があった。さらに、最適な補間
値を選択するために、減算回路、比較回路等のハードウ
ェアを必要とする問題がある。
In order to select an optimum value among a plurality of interpolated values, a conventional adaptive interpolator determines the magnitude of the absolute difference value between two pixel data, that is, the pixel to be interpolated. Using a one-dimensional level gradient centered on
The case where the inclination is minimum is determined to be optimal. However, there is a problem that sufficient accuracy cannot be expected even if the determination is made based on the one-dimensional level gradient in order to detect the optimum interpolation, and the accuracy of the selected interpolation value is reduced. Further, there is a problem that hardware such as a subtraction circuit and a comparison circuit is required to select an optimal interpolation value.

【0005】従って、この発明の目的は、精度が従来の
装置より高くでき、ハードウェアが簡単なディジタル画
像信号の受信/再生装置を提供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a digital image signal receiving / reproducing apparatus whose accuracy can be higher than that of a conventional apparatus and whose hardware is simple.

【0006】この発明の他の目的は、現在の最適補間を
過去の受信/再生されたデータを学習することで求める
ことができるディジタル画像信号の受信/再生装置を提
供することにある。
Another object of the present invention is to provide a digital image signal receiving / reproducing apparatus capable of finding the current optimum interpolation by learning past received / reproduced data.

【0007】[0007]

【課題を解決するための手段】請求項1の発明は、受信
または再生されたディジタル画像信号中でエラーの画素
データを補間するようにしたディジタル画像信号の受信
/再生装置において、 受信または再生された補間対象画
素に対して近接する複数の受信または再生された画素デ
ータを圧縮符号化し、圧縮符号化出力を発生するための
符号化手段と、 受信または再生された補間対象画素に対
して近接する複数の受信または再生された画素データを
使用し、互いに異なる複数の補間演算式でそれぞれ求め
られた複数の補間値と補間対象画素の真値との誤差を最
小とする補間演算式を決定し、決定された補間演算式と
対応する最適補間データを生成し、圧縮符号化出力のそ
れぞれに対する最適補間データの出現度数が複数フレー
ム分積算された度数分布表を形成し、度数分布表におい
て、圧縮符号化出力のそれぞれに対する最適補間データ
の出現度数が最大値となる最適補間データを検出し、検
出された最適補間データが圧縮符号化出力のそれぞれに
対して記憶されたマッピングテーブルを作成するマッピ
ングテーブル作成手段と、 遅延された圧縮符号化出力が
マッピングテーブルに供給され、遅延された補間対象画
素がエラーである場合に、マッピングテーブルから出力
される最適補間データと対応する補間演算式でもって生
成された最適補間値を、エラーである補間対象画素の代
わりに、選択的に出力するための手段とからなることを
特徴とするディジタル画像信号の受信/再生装置であ
る。
According to the first aspect of the present invention, there is provided a digital image signal which has been received or reproduced, and has a pixel having an error.
Reception of digital image signal with data interpolated
/ Interpolation target image received or reproduced by the reproduction device
Multiple received or reproduced pixel data
Data for compression encoding and generating a compression encoded output.
The encoding means and the received or reproduced pixel to be interpolated
Multiple adjacent received or reproduced pixel data
Using different interpolation formulas
The error between the multiple interpolated values obtained and the true value of the interpolation target pixel is minimized.
The interpolation formula to be small is determined, and the determined interpolation calculation formula and
Generates the corresponding optimal interpolation data and outputs the compression encoded output.
The frequency of appearance of the optimal interpolation data for each
Form a frequency distribution table integrated by
The optimal interpolation data for each of the compression encoded outputs
The optimal interpolation data with the maximum appearance frequency of
The output optimal interpolation data is
Map to create a mapping table stored for
Means for generating the encoding table and the delayed compression-encoded output
The interpolation target image supplied to the mapping table and delayed
Output from mapping table when element is error
Generated with the optimal interpolation data
The generated optimal interpolation value is substituted for the pixel to be interpolated in error.
Instead, the present invention is a digital image signal receiving / reproducing apparatus characterized by comprising means for selectively outputting .

【0008】請求項2の発明は、受信または再生された
ディジタル画像信号中でエラーの画素データを補間する
ようにしたディジタル画像信号の受信/再生装置におい
て、 受信または再生された補間対象画素に対して近接す
る複数の受信または再生された画素データを圧縮符号化
し、圧縮符号化出力を発生するための符号化回路と、
レーニングによって予め用意され、遅延された圧縮符号
化出力が供給され、圧縮符号化出力と最適補間データと
の関係を示す第1のマッピングテーブルが格納された第
1のマッピングテーブル記憶回路と、 受信または再生さ
れた画素データを使用して作成され、遅延された圧縮符
号化出力が供給され、圧縮符号化出力と最適補間データ
との関係を示す第2のマッピングテーブルが格納された
第2のマッピングテーブル記憶回路と、 遅延された補間
対象画素がエラーである場合に、第1および第2のマッ
ピングテーブルの選択された一方から出力される最適補
間データと対応する補間演算式でもって生成された最適
補間値を、エラーである補間対象画素の代わりに、選択
的に出力するための回路と、 受信または再生された補間
対象画素に対して近接する複数の受信または再生された
画素データを使用し、互いに異なる複数の補間演算式で
それぞれ求められた複数の補間値と補間対象画素の真値
との誤差を最小とする補間演算式を決定し、決定された
補間演算式と対応する最適補間データを生成し、圧縮符
号化出力のそれぞれに対する最適補間データの出現度数
複数フレーム分積算された度数分布表を形成し、度数
分布表において、圧縮符号化出力のそれぞれに対する最
適補間データの出現度数が最大値となる最適補間データ
を検出し、検出された最適補間データが記憶された第2
のマッピングテーブルを圧縮符号化出力のそれぞれに対
して作成する第2のマッピングテーブル作成回路とから
なり、 第1のマッピングテーブルをトレーニングにおい
て作成する第1のマッピングテーブル作成回路は、用意
されたディジタル画像信号中の補間対象画素に対して近
接する複数の画素データを圧縮符号化し、圧縮符号化出
力を形成し、用意されたディジタル画像信号中の補間対
象画素に対して近接する複数の画素データを使 用し、互
いに異なる複数の補間演算式でそれぞれ求められた複数
の補間値と補間対象画素の真値との誤差を最小とする補
間演算式を決定し、決定された補間演算式と対応する最
適補間データを生成し、圧縮符号化出力のそれぞれに対
する最適補間データの出現度数が複数フレーム分積算さ
れた度数分布表を形成し、度数分布表において、圧縮符
号化出力のそれぞれに対する最適補間データの出現度数
が最大値となる最適補間データを検出し、検出された最
適補間データが記憶された第1のマッピングテーブルを
圧縮符号化出力のそれぞれに対して作成することを特徴
とするディジタル画像信号の受信/再生装置である。
According to a second aspect of the present invention , error pixel data is interpolated in a received or reproduced digital image signal.
Digital image signal receiving / reproducing apparatus
Close to the received or reproduced pixel to be interpolated.
Compression encoding of multiple received or reproduced pixel data
And an encoding circuit for generating a compression encoded output, DOO
Delayed compression code prepared by training
Output is supplied, and the compression encoded output and the optimal interpolation data are
The first mapping table storing the first mapping table
1 mapping table storage circuit and the received or reproduced
Compressed code created using delayed pixel data
The encoded output is supplied, and the compressed encoded output and the optimal interpolation data
A second mapping table indicating the relationship with is stored
Second mapping table storage circuit and delayed interpolation
If the target pixel is in error, the first and second maps
Optimal complement output from the selected one of the ping tables
Generated by the interpolating equation corresponding to the interim data
Select the interpolation value instead of the interpolation target pixel which is in error
Output circuit and received or reproduced interpolation
Multiple received or reproduced signals in proximity to the target pixel
Using pixel data and multiple different interpolation formulas
Multiple interpolated values found and the true value of the interpolated pixel
And the interpolation formula that minimizes the error with
Generates the optimal interpolation data corresponding to the interpolation formula and
Frequency of optimal interpolated data for each output
There is formed a frequency distribution table which is integrated a plurality of frames, most for the frequency distribution table, each of the compression encoded output
A second optimal interpolation data in which the frequency of appearance of the optimal interpolation data has a maximum value is detected, and the detected optimal interpolation data is stored.
Mapping table for each compressed encoded output
From the second mapping table creation circuit
Become the first mapping table for training
The first mapping table creation circuit created by
Close to the interpolation target pixel in the digital image signal
Compression encoding of multiple adjacent pixel data and compression encoding
Form an interpolated pair in the prepared digital image signal
A plurality of pixel data close to the Elephant pixel use, each other
The numbers calculated using different interpolation formulas
To minimize the error between the interpolation value of
And determine the interpolation formula that corresponds to the determined interpolation formula.
Generates the appropriate interpolation data, and
Of the optimal interpolation data to be integrated
Form a frequency distribution table, and in the frequency distribution table,
Frequency of optimal interpolated data for each output
The optimal interpolation data with the maximum value is detected, and the maximum
The first mapping table in which the appropriate interpolation data is stored
Created for each compression encoded output
And a digital image signal receiving / reproducing apparatus.

【0009】[0009]

【作用】補間対象画素をそれに対して近接する複数の画
素によって補間する時に、最適補間を行うための演算式
あるいは使用すべき画素がメモリ装置に格納されたマッ
ピングテーブルにより指定される。このマッピングテー
ブルは、現在から過去のkフレームの受信/再生データ
に関して、最適補間を決定するもので、可変のものであ
る。可変マッピングテーブルによって、実際に受信/再
生される画像データに適応して高精度にエラーを補間す
ることができる。
When a pixel to be interpolated is interpolated by a plurality of pixels adjacent thereto, an arithmetic expression for performing optimal interpolation or a pixel to be used is specified by a mapping table stored in a memory device. This mapping table determines the optimal interpolation for the received / reproduced data of k frames from the present to the past and is variable. By using the variable mapping table, errors can be interpolated with high accuracy in accordance with image data actually received / reproduced.

【0010】[0010]

【実施例】以下、この発明の一実施例について説明す
る。図1は、この一実施例、すなわち、ディジタルVT
Rの信号処理の概略的構成を示す。1で示す入力端子か
らビデオ信号が供給され、A/D変換器2によって、1
サンプルが例えば8ビットにディジタル化される。この
A/D変換器2の出力データがブロック化回路3に供給
される。この実施例では、ブロック化回路3では、1フ
レームの有効領域が(4×4)画素、(8×8)画素等
の大きさのブロックに分割される。
An embodiment of the present invention will be described below. FIG. 1 illustrates this embodiment, namely, the digital VT.
1 shows a schematic configuration of R signal processing. A video signal is supplied from an input terminal denoted by reference numeral 1 and the A / D converter 2 outputs a video signal.
The sample is digitized, for example, to 8 bits. The output data of the A / D converter 2 is supplied to the blocking circuit 3. In this embodiment, the blocking circuit 3 divides the effective area of one frame into blocks each having a size of (4 × 4) pixels, (8 × 8) pixels, or the like.

【0011】ブロック化回路3からのブロックの順序に
走査変換されたディジタルビデオ信号がシャフリング回
路4に供給される。シャフリング回路4では、例えばブ
ロックの単位で、シャフリングがなされる。シャフリン
グは、ブロックの空間的な位置をシャッフルするもので
ある。シャフリング回路4の出力がブロック符号化回路
5に供給される。ブロック符号化回路5は、ブロック毎
に画素データを圧縮符号化する。ADRC、コサイン変
換(DCT)等をブロック符号化として採用できる。シ
ャフリング回路4がブロック符号化回路5の後に設けら
れることもある。
The digital video signal scan-converted in the order of blocks from the blocking circuit 3 is supplied to the shuffling circuit 4. In the shuffling circuit 4, shuffling is performed, for example, in units of blocks. Shuffling shuffles the spatial position of a block. The output of the shuffling circuit 4 is supplied to the block encoding circuit 5. The block encoding circuit 5 compression-encodes pixel data for each block. ADRC, cosine transform (DCT) and the like can be adopted as block coding. The shuffling circuit 4 may be provided after the block encoding circuit 5.

【0012】この一実施例では、ブロック符号化とし
て、ADRCを用いている。ブロック符号化回路5で
は、各ブロックのダイナミックレンジDRと最小値MI
Nとが検出され、最小値が除去されたビデオデータが量
子化ステップで再量子化される。4ビット固定長のAD
RCの場合では、ダイナミックレンジDRを1/16とする
ことによって、量子化ステップΔが得られる。この量子
化ステップΔで、最小値が除去されたビデオデータが除
算され、商を切り捨てにより整数化した値が量子化デー
タとされる。ダイナミックレンジDR、最小値MINお
よび量子化データがブロック符号化回路5の出力データ
である。各ブロックに重要語として、ダイナミックレン
ジDRおよび最小値MINが発生する。
In this embodiment, ADRC is used as block coding. In the block coding circuit 5, the dynamic range DR of each block and the minimum value MI
N is detected, and the video data from which the minimum value has been removed is re-quantized in the quantization step. 4-bit fixed-length AD
In the case of RC, the quantization step Δ is obtained by setting the dynamic range DR to 1/16. In the quantization step Δ, the video data from which the minimum value has been removed is divided, and the value obtained by rounding down the quotient to an integer is used as the quantized data. The dynamic range DR, the minimum value MIN, and the quantized data are output data of the block encoding circuit 5. A dynamic range DR and a minimum value MIN are generated as important words in each block.

【0013】ブロック符号化回路5の出力データがフレ
ーミング回路6に供給される。フレーミング回路6は、
エラー訂正符号のパリティを発生するとともに、シンク
ブロックが連続する構造の記録データを発生する。エラ
ー訂正符号としては、例えばデータのマトリクス状配列
の水平方向および垂直方向のそれぞれに対してエラー訂
正符号化を行う積符号を採用することができる。符号化
データおよびパリティに対して、シンクブロック同期信
号およびID信号が付加される。シンクブロックが連続
する記録データがチャンネル符号化回路7に供給され、
直流分を低減させるためのチャンネル符号化の処理を受
ける。
The output data of the block encoding circuit 5 is supplied to a framing circuit 6. The framing circuit 6
A parity of an error correction code is generated, and recording data having a structure in which sync blocks are continuous is generated. As the error correction code, for example, a product code for performing error correction coding in each of a horizontal direction and a vertical direction of a matrix arrangement of data can be adopted. A sync block synchronization signal and an ID signal are added to the encoded data and parity. The recording data in which the sync blocks continue are supplied to the channel encoding circuit 7,
It undergoes channel coding processing to reduce the DC component.

【0014】チャンネル符号化回路7の出力データがビ
ットストリームに変換され、さらに記録アンプ8を介し
て回転ヘッドHに供給され、記録データが磁気テープT
上に斜めのトラックとして記録される。通常、複数の回
転ヘッドが使用されるが、簡単のために、一つのヘッド
のみが図示されている。
The output data of the channel encoding circuit 7 is converted into a bit stream, and is further supplied to a rotary head H via a recording amplifier 8 so that the recording data is transferred to a magnetic tape T.
Recorded as diagonal tracks on top. Usually, a plurality of rotating heads are used, but only one head is shown for simplicity.

【0015】磁気テープTから回転ヘッドHにより取り
出された再生データは、再生アンプ11を介してチャン
ネル復号回路12に供給され、チャンネル符号化の復号
がなされる。チャンネル復号回路12の出力データがフ
レーム分解回路13に供給され、記録データからの各種
のデータの分離とエラー訂正がなされる。フレーム分解
回路13から発生する出力データには、再生データの他
にエラー訂正した後のエラーの有無を示すエラーフラグ
が含まれる。
The reproduction data taken out of the magnetic tape T by the rotary head H is supplied to a channel decoding circuit 12 via a reproduction amplifier 11 and is subjected to channel coding decoding. The output data of the channel decoding circuit 12 is supplied to a frame decomposing circuit 13, where various kinds of data are separated from recording data and error correction is performed. The output data generated from the frame decomposition circuit 13 includes an error flag indicating the presence or absence of an error after error correction in addition to the reproduction data.

【0016】フレーム分解回路13の出力データが重要
語訂正回路14に供給される。重要語訂正回路14は、
エラーフラグによって、エラーであることが示される重
要語(すなわち、ブロック毎のダイナミックレンジDR
および最小値MIN)を訂正するものである。重要語訂
正回路14の出力データがブロック復号回路15に供給
される。この復号回路15は、エラーでない重要語を使
用してADRC復号を行い、また、重要語がエラーのブ
ロックに関しては、重要語訂正回路14において、訂正
された重要語を使用してADRCの復号を行う。重要語
訂正回路14は、エラーを訂正できない場合に、重要語
を推定する機能を有しているのが好ましい。
The output data of the frame decomposition circuit 13 is supplied to an important word correction circuit 14. The important word correction circuit 14
An important word indicating an error by the error flag (that is, the dynamic range DR for each block)
And the minimum value MIN). Output data of the important word correction circuit 14 is supplied to a block decoding circuit 15. The decoding circuit 15 performs ADRC decoding using an important word that is not erroneous, and decodes the ADRC using the corrected important word in the important word correcting circuit 14 for a block in which the important word is erroneous. Do. It is preferable that the important word correction circuit 14 has a function of estimating an important word when an error cannot be corrected.

【0017】ブロック復号回路15では、例えばADR
C復号の場合、量子化コードのビット数を4ビットとす
る時に、各画素の復号値Liを発生する。この復号値L
iは次式で表される。 Li=〔(DR/24 )×xi+MIN+0.5〕 =〔Δ×xi+MIN+0.5〕
In the block decoding circuit 15, for example, ADR
In the case of C decoding, when the number of bits of the quantization code is 4 bits, a decoded value Li of each pixel is generated. This decrypted value L
i is represented by the following equation. Li = [(DR / 2 4 ) × xi + MIN + 0.5] = [Δ × xi + MIN + 0.5]

【0018】但し、xiはコード信号の値、Δは量子化
ステップ、〔 〕はガウス記号である。上式の〔 〕内
の演算を例えばROMで実現し、最小値MINの加算を
行う構成をブロック復号回路15が有している。
Here, xi is the value of the code signal, Δ is the quantization step, and [] is the Gaussian symbol. The block decoding circuit 15 has a configuration in which the operation in [] of the above equation is realized by, for example, a ROM and the minimum value MIN is added.

【0019】ブロック復号回路15の復号データ、すな
わち、各画素と対応する復元データがディシャフリング
回路16に供給される。この回路16は、記録側のシャ
フリング回路4と相補的なもので、ブロックの空間的な
位置を元の位置に戻す処理を行う。ディシャフリング回
路16の出力データがブロック分解回路17に供給され
る。ブロック分解回路17によって、データの順序がブ
ロックの順序からラスター走査の順序へ戻される。ブロ
ック分解回路17の出力データがエラー補間回路18に
供給される。エラー補間回路18は、画素単位でエラー
であるデータを周辺の画素データで補間する。エラー補
間回路18の出力データがD/A変換器19に供給さ
れ、出力端子20には、各画素と対応し、ラスター走査
の順序の復元データが得られる。
The decoded data of the block decoding circuit 15, that is, restored data corresponding to each pixel is supplied to a deshuffling circuit 16. This circuit 16 is complementary to the shuffling circuit 4 on the recording side, and performs processing for returning the spatial position of the block to the original position. Output data of the deshuffling circuit 16 is supplied to the block decomposition circuit 17. The order of the data is returned from the order of the blocks to the order of the raster scanning by the block decomposition circuit 17. Output data of the block decomposition circuit 17 is supplied to an error interpolation circuit 18. The error interpolation circuit 18 interpolates data having an error in pixel units with peripheral pixel data. Output data of the error interpolation circuit 18 is supplied to a D / A converter 19, and restored data of the order of raster scanning corresponding to each pixel is obtained at an output terminal 20.

【0020】エラー補間回路18に対してこの発明が適
用される。図2は、この発明によるエラー補間回路18
の一例である。21で示す入力端子から再生データが供
給され、これがデータメモリ23に蓄えられる。22で
示す入力端子から再生データに付随するエラーフラグが
供給され、これがエラーフラグメモリ24に蓄えられ
る。これらのメモリ22および24は、1フレーム分の
データおよびエラーフラグを記憶できる容量を有してい
る。
The present invention is applied to the error interpolation circuit 18. FIG. 2 shows an error interpolation circuit 18 according to the present invention.
This is an example. Reproduction data is supplied from an input terminal indicated by reference numeral 21 and stored in a data memory 23. An error flag accompanying the reproduction data is supplied from an input terminal indicated by reference numeral 22, and is stored in an error flag memory 24. These memories 22 and 24 have a capacity capable of storing data for one frame and an error flag.

【0021】データメモリ23は、補間対象画素を中心
とする(5×5)画素のブロックの画素データを同時に
発生する。図3において、BLK1は、一つのブロック
を示す。黒いドットで示す補間対象画素Xを中心とする
(5×5)のブロックが構成される。この25個の画素
の中で、A〜Pの16個の画素が補間演算に使用され
る。補間演算は、下記のように、種々の補間方向に関し
ての補間値IP1〜IP8を形成するものである。
The data memory 23 simultaneously generates pixel data of a block of (5 × 5) pixels centering on the pixel to be interpolated. In FIG. 3, BLK1 indicates one block. A (5 × 5) block centered on the interpolation target pixel X indicated by a black dot is configured. Of the 25 pixels, 16 pixels A to P are used for the interpolation calculation. The interpolation operation forms interpolation values IP1 to IP8 for various interpolation directions as described below.

【0022】 IP1=(A+B)/2 IP2=(C+D)/2 IP3=(E+F)/2 IP4=(G+H)/2 IP5=(I+J)/2 IP6=(K+L)/2 IP7=(M+N)/2 IP8=(O+P)/2IP1 = (A + B) / 2 IP2 = (C + D) / 2 IP3 = (E + F) / 2 IP4 = (G + H) / 2 IP5 = (I + J) / 2 IP6 = (K + L) / 2 IP7 = (M + N) / 2 IP8 = (O + P) / 2

【0023】データメモリ23から出力されるブロック
の画素データA〜Pと補間対象画素Xとは、順次ブロッ
クに含まれる。図3に示すように、データメモリ23の
読出しは、ブロックBLK1を形成すると、次にブロッ
クBLK2を形成するようになされる。すなわち、水平
方向に1画素ずつずれたブロックを順次形成する。重複
したブロックの形成のために、データメモリ23が設け
られている。また、1ライン期間にわたってブロックの
形成を終了して、その下に、新たなブロックを形成する
時には、1ラインずれたブロックを形成する。エラーフ
ラグメモリ24からのエラーフラグも、各データと同期
して出力される1ビットのフラグである。
The pixel data A to P of the block output from the data memory 23 and the pixel X to be interpolated are sequentially included in the block. As shown in FIG. 3, reading of the data memory 23 is performed such that when the block BLK1 is formed, the block BLK2 is formed next. That is, blocks shifted one pixel at a time in the horizontal direction are sequentially formed. A data memory 23 is provided for forming overlapping blocks. In addition, when the formation of a block is completed for one line period and a new block is formed therebelow, a block shifted by one line is formed. The error flag from the error flag memory 24 is also a 1-bit flag output in synchronization with each data.

【0024】データメモリ23からの画素A〜PがAD
RC符号化回路25および演算回路26に供給される。
補間対象画素Xが遅延回路27を介してセレクタ28に
供給される。演算回路26は、最適補間と指定された演
算式に応じて、補間値IP1〜IP8の何れかを出力す
る。この例では、最適補間のための演算式を指定する情
報がセレクタ29から演算回路26に供給され、演算回
路26がこの指定された演算式で補間値を生成する。演
算回路26の出力がその一方の入力としてセレクタ28
に供給される。セレクタ28の他方の入力として遅延回
路27の出力が供給される。
The pixels A to P from the data memory 23 are AD
It is supplied to the RC encoding circuit 25 and the arithmetic circuit 26.
The interpolation target pixel X is supplied to the selector 28 via the delay circuit 27. The arithmetic circuit 26 outputs one of the interpolation values IP1 to IP8 according to the arithmetic expression designated as the optimal interpolation. In this example, information designating an arithmetic expression for optimal interpolation is supplied from the selector 29 to the arithmetic circuit 26, and the arithmetic circuit 26 generates an interpolated value using the specified arithmetic expression. The output of the arithmetic circuit 26 is used as one input of the selector 28.
Supplied to The output of the delay circuit 27 is supplied as the other input of the selector 28.

【0025】遅延回路31を介されたエラーフラグがセ
レクタ28に対して、制御信号として供給される。
お、遅延回路31は、最適補間データを決定するのに要
する時間、エラーフラグメモリ24からのエラーフラグ
とADRCエンコーダ25の出力データMとを遅延させ
る時間合わせ用のものである。補間対象画素がエラーで
あることがエラーフラグで示される時には、セレクタ2
8が演算回路26からの補間値を選択し、この補間値が
出力端子32に発生する。補間対象画素がエラーでない
時には、遅延回路27からの実際の画素データが選択的
に出力端子32に取り出される。
The error flag via the delay circuit 31 is supplied to the selector 28 as a control signal. What
Note that the delay circuit 31 is required to determine the optimal interpolation data.
Time, error flag from error flag memory 24
And the output data M of the ADRC encoder 25 are delayed.
It is for time adjustment. When the error flag indicates that the interpolation target pixel is in error, the selector 2
8 selects an interpolation value from the arithmetic circuit 26, and this interpolation value is generated at the output terminal 32. When the pixel to be interpolated is not an error, actual pixel data from the delay circuit 27 is selectively taken out to the output terminal 32.

【0026】ADRC符号化回路25は、25画素のブ
ロック毎に画素値の最大値MAX、最小値MIN、MA
XとMINの差であるダイナミックレンジDRを検出
し、このダイナミックレンジDRに適応して画素値をn
ビットに再量子化する。但し、画素値が8ビットの時に
は、(7≧n≧1)であり、データが圧縮される。
The ADRC encoding circuit 25 has a maximum pixel value MAX, a minimum pixel value MIN, and a minimum pixel value MIN for each block of 25 pixels.
A dynamic range DR which is a difference between X and MIN is detected, and a pixel value is set to n according to the dynamic range DR.
Requantize to bits. However, when the pixel value is 8 bits, (7 ≧ n ≧ 1), and the data is compressed.

【0027】ADRC符号化回路25の一例を図4に示
す。図4において、入力端子41からのデータに関し
て、検出回路42がブロック毎に最大値MAX、最小値
MINを検出する。減算回路43に対してMAXおよび
MINが供給され、その出力にダイナミックレンジDR
が発生する。遅延回路44を介された入力データおよび
MINが減算回路45に供給され、減算回路45から最
小値が除去されることで、正規化された画素データが発
生する。ダイナミックレンジDRが量子化回路46に供
給され、正規化された画素データがダイナミックレンジ
DRで割算され、出力端子47にnビットの量子化デー
タが取り出される。
FIG. 4 shows an example of the ADRC encoding circuit 25. 4, the detection circuit 42 detects the maximum value MAX and the minimum value MIN for each block from the data from the input terminal 41. MAX and MIN are supplied to the subtraction circuit 43, and the dynamic range DR
Occurs. The input data and MIN that have passed through the delay circuit 44 are supplied to the subtraction circuit 45, and the minimum value is removed from the subtraction circuit 45, thereby generating normalized pixel data. The dynamic range DR is supplied to the quantization circuit 46, the normalized pixel data is divided by the dynamic range DR, and n-bit quantized data is extracted from the output terminal 47.

【0028】図2に戻って説明すると、上述のnビット
ADRC符号化回路25の出力データの中で、中央位置
の補間対象画素Xを除くそのブロックの16画素A〜P
の量子化データを同時化した(16×nビット)の出力
データ(データMと称する)を発生する。このデータM
が遅延回路31を介して固定のマッピングテーブル33
に読出しアドレス信号として供給される。従って、マッ
ピングテーブル33のアドレスは、(2n*16)個存在す
る。
Returning to FIG. 2, among the output data of the n-bit ADRC encoding circuit 25, 16 pixels A to P of the block excluding the pixel X to be interpolated at the center position
, And output data (referred to as data M) of (16 × n bits) obtained by synchronizing the quantized data. This data M
Is fixed mapping table 33 via delay circuit 31
Is supplied as a read address signal. Therefore, the mapping table 33 has (2 n * 16 ) addresses.

【0029】また、データメモリ22からの補間対象画
素Xと画素A〜Pとが最適補間決定回路35に対して供
給される。決定回路35は、周辺画素A〜Pを使用して
前述の8種類の補間値IP1〜IP8を発生し、真値で
ある補間対象画素Xと各補間値IP1〜IP8との差分
の絶対値を生成し、この値が最小のものを最適補間と決
定する。補間演算が8種類存在するので、決定回路54
からの出力データ(データSと称する)は、3ビットで
ある。ADRC符号化回路25の出力である、データM
とこのデータSの両者を併せた(16×n+3)ビット
がスイッチング回路36に供給される。
Further, the interpolation target pixel X and the pixels A to P from the data memory 22 are supplied to the optimum interpolation determination circuit 35. The decision circuit 35 generates the above-described eight types of interpolation values IP1 to IP8 using the peripheral pixels A to P, and calculates the absolute value of the difference between the interpolation target pixel X which is a true value and each of the interpolation values IP1 to IP8. Generated and the one with the smallest value is determined as the optimal interpolation. Since there are eight types of interpolation calculations, the decision circuit 54
Output data (referred to as data S) is 3 bits. Data M which is the output of the ADRC encoding circuit 25
(16 × n + 3) bits, which are both the data and the data S, are supplied to the switching circuit 36.

【0030】スイッチング回路36は、k個の積算メモ
リM1〜Mkのそれぞれに対して、kフレーム期間中の
各1フレーム期間の各ブロック毎に発生する(16×
n)ビット長のデータをアドレスとして供給すると共
に、3ビット長のデータSを供給し、1フレーム期間の
処理が終了すると、次のフレームのデータMおよびSを
次の積算メモリに供給する。メモリM1〜Mkは、各ア
ドレスに関する度数分布表を形成するものである。つま
り、1フレーム内で(16×nビット)のデータMと3
ビットのデータSとが出現する度数が積算される。ある
フレームの度数分布表がメモリMiに形成されると、次
のフレームの度数分布表がメモリMi+1 に形成される。
このようにして、現在処理しているフレームから過去k
フレーム分の度数分布表がメモリM1〜Mkにそれぞれ
格納される。この場合、メモリM1〜Mkに対して、
ラーフラグメモリ24からエラーフラグが供給され、補
間対象画素Xがエラーの場合には、度数としてカウント
することが禁止される。これは、補間対象画素Xがエラ
ーの場合には、最適補間決定回路35からのデータSの
信頼性が乏しいからである。
The switching circuit 36 is generated for each of the k accumulation memories M1 to Mk for each block of each one frame period in the k frame period (16 ×
Co when the data M n) bits long is supplied as address
Is supplied with data S having a length of 3 bits,
When the processing is completed, the data M and S of the next frame are
It is supplied to the next accumulation memory. The memories M1 to Mk form a frequency distribution table for each address. That is, in one frame, (16 × n bits) data M and 3
The frequency at which the bit data S appears is integrated. When a frequency distribution table for a certain frame is formed in the memory Mi, a frequency distribution table for the next frame is formed in the memory Mi + 1.
In this way, from the frame currently being processed, the past k
Frequency distribution tables for frames are stored in the memories M1 to Mk, respectively. In this case, the memory M1~Mk, d
An error flag is supplied from the error flag memory 24, and when the interpolation target pixel X has an error, counting as a frequency is prohibited. This is because when the interpolation target pixel X has an error, the reliability of the data S from the optimal interpolation determination circuit 35 is poor.

【0031】メモリM1〜Mkに格納された度数分布表
が加算回路37にて足し合わされる。加算回路37は、
端子38からの重み係数wiによって、重み加算を行う
ようにされている。重み係数wi(i=1,2,・・
・,k)は、kフレーム分の度数を単純加算する時に
は、常に1である。これは、画像が時間方向に大きな変
化を有しないとき、並びに通常の場合である。また、シ
ーンチェンジのような時間方向の画像の変化が大きい時
には、変化の前後で度数分布が大きく変化する。この時
には、シーンチェンジより以前の度数分布を使用しなで
精度を高める必要がある。この必要に応えるために、変
化より前のフレームに関しては、重み係数wiが0とさ
れ、その後のフレームに関しては重み係数wi+1 が1と
される。
The frequency distribution tables stored in the memories M1 to Mk are added by an adder circuit 37. The addition circuit 37
Weight addition is performed by the weight coefficient wi from the terminal 38. Weight coefficient wi (i = 1, 2,...)
, K) is always 1 when the frequencies for k frames are simply added. This is the case when the image has no significant change in the time direction, as well as in the normal case. Further, when the change of the image in the time direction such as a scene change is large, the frequency distribution changes largely before and after the change. At this time, it is necessary to improve the accuracy without using the frequency distribution before the scene change. To meet this need, the weighting factor wi is set to 0 for the frame before the change, and the weighting factor wi + 1 is set to 1 for the subsequent frame.

【0032】加算回路37の出力が検出回路39に供給
される。検出回路39は、kフレームの加算された度数
分布表の各データMに関しての最大値を検出し、検出さ
れた最大値と対応する情報、すなわち、データMとkフ
レームに関しての最適補間番号を示すデータSとの対を
可変マッピングテーブル34に送る。具体的には、デー
タMを順次変化させ、データMの各値における最大度数
と対応するデータSを検出し、これらのデータMとデー
タSとの対を可変マッピングテーブル34が受け取る。
The output of the adding circuit 37 is supplied to the detecting circuit 39. The detection circuit 39 detects the maximum value of each data M in the frequency distribution table to which the k frames have been added, and indicates information corresponding to the detected maximum value, that is, the data M and the optimal interpolation number for the k frame. The pair with the data S is sent to the variable mapping table 34. Specifically, the data M is sequentially changed, data S corresponding to the maximum frequency in each value of the data M is detected, and a pair of the data M and the data S is received by the variable mapping table 34.

【0033】可変マッピングテーブル34は、検出回路
39からのデータMとデータSとの対を受け取り、デー
タMをアドレスとし、データSの値を書込む。その結
果、データMをアドレスとし、データSを出力とするマ
ッピングテーブルが作成される。また、可変マッピング
テーブル34に対しては、遅延回路31を介されたデー
タMが入力される。従って、周辺のデータA〜Pの符号
化出力(データM)によって定まる最適な補間を示すデ
ータSが可変マッピングテーブル34から発生する。
The variable mapping table 34 receives a pair of data M and data S from the detection circuit 39, writes the value of the data S using the data M as an address. As a result, a mapping table is created in which data M is used as an address and data S is used as an output. Further, the data M that has passed through the delay circuit 31 is input to the variable mapping table 34. Therefore, data S indicating the optimal interpolation determined by the encoded outputs (data M) of the peripheral data A to P is generated from the variable mapping table 34.

【0034】固定マッピングテーブル33も、遅延回路
31を介されたデータMを入力とし、データSを出力す
るテーブルである。但し、テーブルは、予めトレーニン
グによって形成されている。二つのマッピングテーブル
33および34の出力がセレクタ29に供給され、その
一方が端子30からの制御信号に応じて選択される。こ
の制御信号は、使用するマッピングテーブルを指定する
ものである。セレクタ29からのデータSが演算回路2
6に供給され、データSで示される最適な補間演算が演
算回路26でなされる。その結果の補間値がセレクタ2
8に供給される。
The fixed mapping table 33 is also a table that receives data M passed through the delay circuit 31 and outputs data S. However, the table is formed in advance by training. The outputs of the two mapping tables 33 and 34 are supplied to a selector 29, one of which is selected according to a control signal from a terminal 30. This control signal specifies a mapping table to be used. The data S from the selector 29 is supplied to the arithmetic circuit 2
6 and the arithmetic circuit 26 performs an optimal interpolation operation indicated by the data S. The resulting interpolated value is the selector 2
8 is supplied.

【0035】可変マッピングテーブル33の作成を説明
する前に、図5を参照して、固定マッピングテーブル3
3の作成について説明する。図5において、51には、
ディジタルビデオ信号が供給され、これがデータメモリ
52に供給される。データメモリ52からの順次ブロッ
クの出力がADRC符号化回路53および最適補間決定
回路54に供給される。ADRC符号化回路53の出力
(データMに相当する)および決定回路54の出力(デ
ータSに相当する)がメモリ55に対して、アドレスと
して供給される。
Before explaining the creation of the variable mapping table 33, referring to FIG.
3 will be described. In FIG. 5, at 51,
A digital video signal is supplied, which is supplied to a data memory 52. The output of the sequential block from the data memory 52 is supplied to an ADRC encoding circuit 53 and an optimal interpolation determining circuit 54. The output of the ADRC encoding circuit 53 (corresponding to data M) and the output of the decision circuit 54 (corresponding to data S) are supplied to the memory 55 as addresses.

【0036】これらのデータメモリ52、ADRC符号
化回路53、決定回路54は、図2中の補間回路18の
データメモリ23、ADRC符号化回路25、決定回路
35と同じ機能を有する別の回路である。但し、入力デ
ータは、トレーニングのための標準的なビデオデータで
あるのが好ましく、例えば種々の絵柄の静止画像からな
る信号を採用できる。
The data memory 52, the ADRC encoding circuit 53, and the decision circuit 54 are different circuits having the same functions as the data memory 23, the ADRC encoding circuit 25, and the decision circuit 35 of the interpolation circuit 18 in FIG. is there. However, the input data is preferably standard video data for training. For example, a signal composed of still images of various patterns can be adopted.

【0037】決定回路54は、周辺画素A〜Pを使用し
て前述の8種類の補間値IP1〜IP8を発生し、真値
である補間対象画素Xと各補間値IP1〜IP8との差
分の絶対値を生成し、この値が最小のものを最適補間と
決定する。補間演算が8種類存在するので、決定回路5
4からの出力データは、3ビットである。一方、ADR
C符号化回路53の出力は、16×nビットである。こ
れらの二つのデータを併せた(16×n+3)ビットが
メモリ55のアドレスとされる。
The decision circuit 54 generates the above-mentioned eight types of interpolation values IP1 to IP8 using the peripheral pixels A to P, and calculates the difference between the interpolation target pixel X which is a true value and each of the interpolation values IP1 to IP8. An absolute value is generated, and the one having the minimum value is determined as the optimal interpolation. Since there are eight types of interpolation calculations, the decision circuit 5
The output data from 4 is 3 bits. On the other hand, ADR
The output of the C encoding circuit 53 is 16 × n bits. The (16 × n + 3) bits combining these two data are used as the address of the memory 55.

【0038】図6Aは、メモリ55のメモリ領域を表し
ている。ADRC符号化回路53で発生したデータで規
定される(2n*16)個のアドレスによってメモリ領域の
縦方向が規定され、横方向が最適補間の種類と対応する
3 個のアドレスで規定される。メモリ55は、指定さ
れたアドレスに関して、読出し動作および書込み動作を
1サイクル期間に行う。メモリ55の読出し出力が加算
回路56に供給され、加算回路56によって+1された
値がメモリ55の同一アドレスに再び書込まれる。
FIG. 6A shows a memory area of the memory 55. By being the (2 n * 16) pieces of the address specified by the generated data ADRC encoding circuit 53 is prescribed longitudinal direction of the memory area, the lateral direction is defined by two corresponding three address types and optimum interpolation You. The memory 55 performs a read operation and a write operation for a specified address in one cycle period. The read output of the memory 55 is supplied to the adding circuit 56, and the value incremented by 1 by the adding circuit 56 is rewritten at the same address of the memory 55.

【0039】種々の絵柄の静止画像信号の供給が終了す
ると、すなわち、トレーニングが終了すると、メモリ5
5には、度数分布表が蓄えられる。図6Aにおいて矢印
で示すように、縦方向のあるアドレスについて見ると、
図6Bに示すように、8個のアドレスのそれぞれの度数
のデータが存在する。
When the supply of the still image signals of various pictures ends, that is, when the training ends, the memory 5
5 stores a frequency distribution table. As shown by an arrow in FIG. 6A, when looking at a certain address in the vertical direction,
As shown in FIG. 6B, there are data of the respective frequencies of the eight addresses.

【0040】メモリ55の読出しアドレスは、アドレス
カウンタ57で形成される。トレーニングが終了する
と、この読出しアドレスによって、メモリ55の各アド
レスのデータが読出される。読出しアドレスは、0〜2
n*16まで、インクリメントする。読出されたデータが検
出回路58に供給される。検出回路58は、各アドレス
の度数分布表(図6B)の中の最大度数のアドレス(す
なわち、最適補間番号)を検出する。
The read address of the memory 55 is formed by an address counter 57. When the training is completed, the data at each address of the memory 55 is read by the read address. The read address is 0-2
Increment to n * 16 . The read data is supplied to the detection circuit 58. The detection circuit 58 detects the address of the maximum frequency (that is, the optimal interpolation number) in the frequency distribution table of each address (FIG. 6B).

【0041】検出回路58の検出信号がメモリ59に対
して、データ入力として供給され、アドレスカウンタ5
7からのアドレスに従って書込まれる。このようにし
て、トレーニングを行った結果、メモリ59には、5×
5の領域において、補間に使用する16画素のADRC
符号化データで規定されるアドレス(データM)と、そ
のアドレスの最適補間データ(データS)が格納され
る。このメモリ59に格納されたテーブルが上述のよう
に、補間回路18において使用される固定マッピングテ
ーブル33である。
The detection signal of the detection circuit 58 is supplied to the memory 59 as a data input, and the address counter 5
7 is written according to the address. As a result of training in this manner, 5 ×
ADRC of 16 pixels used for interpolation in area 5
The address (data M) defined by the encoded data and the optimal interpolation data (data S) at that address are stored. The table stored in the memory 59 is the fixed mapping table 33 used in the interpolation circuit 18 as described above.

【0042】可変マッピングテーブル34も、上述の固
定マッピングテーブル33の形成と同様の考え方でなさ
れる。但し、固定のマッピングテーブル33は、標準的
な絵柄のデータを使用するのに対して、可変マッピング
テーブル34は、以前のkフレームの再生データを使用
する。積算用のメモリM1〜Mkには、それぞれ図6A
に示す度数分布表が形成される。この度数分布表が加算
回路37において加算されることによって、kフレーム
分の度数分布表が得られる。
The variable mapping table 34 is based on the same concept as the formation of the fixed mapping table 33 described above. However, the fixed mapping table 33 uses standard picture data, while the variable mapping table 34 uses the previous k frame reproduction data. Each of the integration memories M1 to Mk has the configuration shown in FIG.
Is formed. The frequency distribution table is added in the adder circuit 37 to obtain a frequency distribution table for k frames.

【0043】そして、検出回路39において、データM
のそれぞれに関して、最大度数のデータSが検出され
る。データMと最大度数のデータSとの対が可変マッピ
ングテーブル34に供給される。そして、可変マッピン
グテーブル34と上述のように予め作成された固定マッ
ピングテーブル33との一方によって、最適補間を示す
データSが出力される。このデータSに応じた演算式で
演算回路26が補間値を発生する。この補間値がエラー
である補間対象画素Xに代えてセレクタ28により選択
される。
Then, in the detection circuit 39, the data M
, The data S having the maximum frequency is detected. A pair of the data M and the data S having the maximum frequency is supplied to the variable mapping table 34. Then, data S indicating the optimal interpolation is output by one of the variable mapping table 34 and the fixed mapping table 33 created in advance as described above. The arithmetic circuit 26 generates an interpolated value using an arithmetic expression according to the data S. The interpolation value is selected by the selector 28 in place of the interpolation target pixel X having an error.

【0044】なお、演算回路26には、遅延回路31を
介してエラーフラグが供給され、画素A〜Pの何れかに
エラーが存在する時には、上述のマッピングテーブル3
3あるいは34からの最適補間データが使用できないこ
とが検出される。この場合には、エラーでない2画素の
値の平均値を補間値として形成し、これをセレクタ28
に出力する。
An error flag is supplied to the arithmetic circuit 26 via the delay circuit 31. When an error exists in any of the pixels A to P, the above-described mapping table 3 is used.
It is detected that the optimal interpolation data from 3 or 34 cannot be used. In this case, the average value of the values of the two pixels without error is formed as an interpolation value, and this is used as the selector 28.
Output to

【0045】なお、上述の実施例と異なり、補間に使用
する複数画素のデータ量を圧縮するために、複数画素の
平均値を演算し、この平均値に対する各画素値の差をベ
クトル量子化するようにしても良い。また、補間方法と
しては、空間的補間のみならず、時間方向の補間をも最
適補間の候補の一つとして採用しても良い。さらに、ブ
ロック符号化回路5がDCTであっても良い。
Unlike the above-described embodiment, in order to compress the data amount of a plurality of pixels used for interpolation, an average value of a plurality of pixels is calculated, and the difference between each pixel value and the average value is vector-quantized. You may do it. As an interpolation method, not only spatial interpolation but also interpolation in the time direction may be adopted as one of the candidates for the optimal interpolation. Further, the block encoding circuit 5 may be a DCT.

【0046】[0046]

【発明の効果】この発明は、周辺画素の値に応じた最適
な補間を過去のkフレームの受信/再生データを解析す
ることによって、あるいは予めトレーニングによって求
めているので、単に2画素の差の絶対値の大小に基づい
て最適な補間を決定するのと比較して、より精度を高く
できる。さらに、最適な補間を決定するための減算回
路、比較回路を必要とせず、ハードウエアを簡単とでき
る。
According to the present invention, since the optimum interpolation according to the value of the peripheral pixel is obtained by analyzing the received / reproduced data of the past k frames or by training in advance, the difference between the two pixels is simply obtained. The accuracy can be made higher as compared with determining the optimal interpolation based on the magnitude of the absolute value. Further, the hardware can be simplified without the need for a subtraction circuit and a comparison circuit for determining the optimal interpolation.

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

【図1】この発明を適用することができるディジタルV
TRの記録/再生回路のブロック図である。
FIG. 1 shows a digital V to which the present invention can be applied.
It is a block diagram of a recording / reproducing circuit of TR.

【図2】この発明の一実施例におけるエラー補間回路の
一例の構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of an example of an error interpolation circuit according to an embodiment of the present invention;

【図3】この発明の一実施例におけるブロックの構成の
一例を示す略線図である。
FIG. 3 is a schematic diagram illustrating an example of a block configuration according to an embodiment of the present invention.

【図4】この発明の一実施例におけるADRC符号化回
路のブロック図である。
FIG. 4 is a block diagram of an ADRC encoding circuit according to one embodiment of the present invention.

【図5】この発明の一実施例におけるマッピングテーブ
ルを作成するためのトレーニング時の構成を示すブロッ
ク図である。
FIG. 5 is a block diagram showing a configuration at the time of training for creating a mapping table in one embodiment of the present invention.

【図6】マッピングテーブルを作成する時の説明のため
の略線図である。
FIG. 6 is a schematic diagram illustrating a case where a mapping table is created.

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

18 エラー補間回路 25 ADRC符号化回路 26 補間演算回路 28 セレクタ 33 固定マッピングテーブル 34 可変マッピングテーブル 18 Error interpolation circuit 25 ADRC encoding circuit 26 Interpolation operation circuit 28 Selector 33 Fixed mapping table 34 Variable mapping table

フロントページの続き (56)参考文献 特開 平4−139959(JP,A) 特開 平1−200883(JP,A) 特開 平2−214388(JP,A) 特開 平2−217086(JP,A) 特開 平2−238787(JP,A) 特開 平3−30522(JP,A) 特開 昭63−111781(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 Continuation of front page (56) References JP-A-4-139959 (JP, A) JP-A-1-200883 (JP, A) JP-A-2-214388 (JP, A) JP-A-2-217086 (JP) JP-A-2-238787 (JP, A) JP-A-3-30522 (JP, A) JP-A-63-111781 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB Name) H04N 7/24-7/68

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受信または再生されたディジタル画像信
中でエラーの画素データを補間するようにしたディジ
タル画像信号の受信/再生装置において、 受信または再生された補間対象画素に対して近接する複
数の受信または再生された画素データを圧縮符号化し、
圧縮符号化出力を発生するための符号化手段と、 上記受信または再生された補間対象画素に対して近接す
る複数の受信または再生された画素データを使用し、互
いに異なる複数の補間演算式でそれぞれ求められた複数
の補間値と上記補間対象画素の真値との誤差を最小とす
る補間演算式を決定し、決定された上記補間演算式と対
応する最適補間データを生成し、上記圧縮符号化出力の
それぞれに対する上記最適補間データの出現度数が複数
フレーム分積算された度数分布表を形成し、上記度数分
布表において、上記圧縮符号化出力のそれぞれに対する
上記最適補間データの出現度数が最大値となる上記最適
補間データを検出し、検出された上記最適補間データが
上記圧縮符号化出力のそれぞれに対して記憶されたマッ
ピングテーブルを作成するマッピングテーブル作成手段
と、 遅延された上記圧縮符号化出力が上記マッピングテーブ
ルに供給され、遅延された上記補間対象画素がエラーで
ある場合に、上記マッピングテーブルから出力される上
記最適補間データと対応する補間演算式でもって生成さ
れた最適補間値を、上記エラーである上記補間対象画素
の代わりに、選択的に出力するための手段とからなる
とを特徴とするディジタル画像信号の受信/再生装置。
1. A digitizer for interpolating erroneous pixel data in a received or reproduced digital image signal.
In a total image signal receiving / reproducing apparatus, a plurality of pixels close to a received or reproduced pixel to be interpolated.
Compression encoding of a number of received or reproduced pixel data,
Encoding means for generating a compression encoded output, to the proximity to said received or reproduced interpolation target pixel
Using multiple received or reproduced pixel data
The numbers calculated using different interpolation formulas
And the true value of the pixel to be interpolated.
Is determined, and a pair is determined with the determined interpolation expression.
Generate the optimal interpolation data corresponding to
Multiple occurrences of the above optimal interpolation data for each
Form a frequency distribution table integrated for each frame, and
In the cloth table, for each of the compression-encoded outputs
The above optimum in which the frequency of appearance of the above optimum interpolation data becomes the maximum value
Interpolation data is detected, and the detected optimal interpolation data is
The stored map for each of the above compression encoded outputs.
Mapping table creation means for creating a ping table
And the delayed encoded output is mapped to the mapping table.
The interpolation target pixel supplied to the
If there is, output from the above mapping table
Generated by the optimal interpolation data and the corresponding interpolation
The optimal interpolation value obtained by the interpolation
A digital image signal receiving / reproducing apparatus, characterized by comprising means for selectively outputting the digital image signal in place of
【請求項2】 受信または再生されたディジタル画像信
中でエラーの画素データを補間するようにしたディジ
タル画像信号の受信/再生装置において、 受信または再生された補間対象画素に対して近接する複
数の受信または再生された画素データを圧縮符号化し、
圧縮符号化出力を発生するための符号化手段と、 トレーニングによって予め用意され、遅延された上記圧
縮符号化出力が供給され、上記圧縮符号化出力と最適補
間データとの関係を示す第1のマッピングテーブルが格
納された第1のマッピングテーブル記憶手段と、 受信または再生された画素データを使用して作成され、
遅延された上記圧縮符号化出力が供給され、上記圧縮符
号化出力と最適補間データとの関係を示す第2のマッピ
ングテーブルが格納された第2のマッピングテーブル記
憶手段と、 遅延された補間対象画素がエラーである場合に、上記第
1および第2のマッピングテーブルの選択された一方か
ら出力される最適補間データと対応する補間演算式でも
って生成された最適補間値を、上記エラーである上記補
間対象画素の代わりに、選択的に出力するための手段
と、 上記受信または再生された補間対象画素に対して近接す
る複数の受信または再生された画素データを使用し、互
いに異なる複数の補間演算式でそれぞれ求められた複数
の補間値と上記補間対象画素の真値との誤差を最小とす
る補間演算式を決定し、決定された上記補間演算式と対
応する最適補間データを生成し、上記圧縮符号化出力の
それぞれに対する上記最適補間データの出現度数が 複数
フレーム分積算された度数分布表を形成し、上記度数分
布表において、上記圧縮符号化出力のそれぞれに対する
上記最適補間データの出現度数が最大値となる上記最適
補間データを検出し、検出された上記最適補間データが
記憶された上記第2のマッピングテーブルを上記圧縮符
号化出力のそれぞれに対して作成する第2のマッピング
テーブル作成手段とからなり、 上記第1のマッピングテーブルを上記トレーニングにお
いて作成する第1のマッピングテーブル作成手段は、用
意されたディジタル画像信号中の補間対象画素に対して
近接する複数の画素データを圧縮符号化し、圧縮符号化
出力を形成し、上記用意されたディジタル画像信号中の
上記補間対象画素に対して近接する複数の画素データを
使用し、互いに異なる複数の補間演算式でそれぞれ求め
られた複数の補間値と上記補間対象画素の真値との誤差
を最小とする補間演算式を決定し、決定された上記補間
演算式と対応する最適補間データを生成し、上記圧縮符
号化出力のそれぞれに対する上記最適補間データの出現
度数が複数フレーム分積算された度数分布表を形成し、
上記度数分布表において、上記圧縮符号化出力のそれぞ
れに対する上記最適補間データの出現度数が最大値とな
る上記最適補間データを検出し、検出された上記最適補
間データが記憶された上記第1のマッピングテーブルを
上記圧縮符号化出力のそれぞれに対して作成することを
特徴とする ディジタル画像信号の受信/再生装置。
2. A digitizer for interpolating erroneous pixel data in a received or reproduced digital image signal.
In a total image signal receiving / reproducing apparatus, a plurality of pixels close to a received or reproduced pixel to be interpolated.
Compression encoding of a number of received or reproduced pixel data,
Encoding means for generating a compression encoded output, is prepared in advance by training, it delayed the pressure
The compressed encoded output is supplied, and the compressed encoded output is
The first mapping table indicating the relationship with inter-data
Created using the stored first mapping table storage means and the received or reproduced pixel data,
The delayed compressed encoded output is provided and the compressed code
Second map showing the relationship between the encoded output and the optimal interpolation data
Of the second mapping table in which the mapping table is stored
When the delayed interpolation target pixel is in error,
Selected one of the first and second mapping tables
The optimal interpolation data output from the
The optimal interpolation value generated by
Means for selectively outputting in place of target pixel
When, to close with respect to the received or reproduced interpolation target pixel
Using multiple received or reproduced pixel data
The numbers calculated using different interpolation formulas
And the true value of the pixel to be interpolated.
Is determined, and a pair is determined with the determined interpolation expression.
Generate the optimal interpolation data corresponding to
Multiple occurrences of the above optimal interpolation data for each
To form a frequency distribution table which has been integrated frame, in the frequency distribution table, for each of the compression encoded output
The optimal interpolation data in which the appearance frequency of the optimal interpolation data is the maximum value is detected, and the detected optimal interpolation data is
The stored second mapping table is stored in the compressed code
A second mapping to be created for each of the encoded outputs
Means for creating a table, wherein the first mapping table is used for the training.
The first mapping table creation means created by using
For the pixel to be interpolated in the intended digital image signal
Compression encoding of multiple neighboring pixel data, and compression encoding
Forming an output, and
A plurality of pixel data adjacent to the interpolation target pixel is
Using different interpolation formulas
Between the calculated interpolation values and the true value of the interpolation target pixel
Is determined, and the determined interpolation formula is determined.
Generate the optimal interpolation data corresponding to the arithmetic expression and
Appearance of the above optimal interpolation data for each of the encoded outputs
Form a frequency distribution table in which frequencies are integrated for multiple frames,
In the frequency distribution table, each of the compression-encoded outputs
The frequency of occurrence of the optimal interpolation data for
The optimal interpolation data is detected, and the detected optimal interpolation data is detected.
The first mapping table in which the interim data is stored
What to create for each of the above compression encoded outputs
Characteristic digital image signal receiving / reproducing device.
【請求項3】 上記度数分布表を形成する時に、補間対
象画素がエラーの場合は、度数に含めないように処理す
ることを特徴とする請求項1記載のディジタル画像信号
の受信/再生装置。
3. When forming the frequency distribution table, an interpolation pair
If the target pixel has an error, process it so that it is not included in the frequency.
Claim 1 Symbol placement of the digital image signal, characterized in Rukoto
Receiving / reproducing device.
JP28072592A 1992-09-25 1992-09-25 Digital image signal receiving / reproducing device Expired - Lifetime JP3306928B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28072592A JP3306928B2 (en) 1992-09-25 1992-09-25 Digital image signal receiving / reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28072592A JP3306928B2 (en) 1992-09-25 1992-09-25 Digital image signal receiving / reproducing device

Publications (2)

Publication Number Publication Date
JPH06113275A JPH06113275A (en) 1994-04-22
JP3306928B2 true JP3306928B2 (en) 2002-07-24

Family

ID=17629076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28072592A Expired - Lifetime JP3306928B2 (en) 1992-09-25 1992-09-25 Digital image signal receiving / reproducing device

Country Status (1)

Country Link
JP (1) JP3306928B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915842A (en) * 2021-02-08 2022-08-16 晶晨半导体(上海)股份有限公司 Video data processing method, module, chip and storage medium

Also Published As

Publication number Publication date
JPH06113275A (en) 1994-04-22

Similar Documents

Publication Publication Date Title
US5495298A (en) Apparatus for concealing detected erroneous data in a digital image signal
US6327391B1 (en) Protecting image quality from occurrence of uncorrectable errors
US5122876A (en) Image signal restoring apparatus
US5815636A (en) Image reproducing apparatus
JP3306928B2 (en) Digital image signal receiving / reproducing device
JP3363541B2 (en) Image signal reproducing device and image processing device
US5915040A (en) Image processing apparatus
JP3207739B2 (en) Image playback device
JPH04183186A (en) Image recording and reprodcing device
JP3282245B2 (en) Error correction device in block coding.
JPH06113256A (en) Receiver/reproducing device for digital picture signal
JPH0686247A (en) Receiver/reproducer for digital picture signal
JP2692807B2 (en) Digital signal recording apparatus and recording method
JP3235917B2 (en) Image recording and playback device
JPH06113276A (en) Reception/reproduction device for digital picture signal
US6778758B1 (en) Image processing apparatus
JP3291786B2 (en) Transmission device for block transform coded data
JP3271102B2 (en) Digital image signal decoding device
JP3271097B2 (en) Digital image signal decoding device
JPH0686259A (en) Transmitter for block conversion encoded data
JPH0330522A (en) Information quantity arithmetic unit
JPH0799647A (en) Image signal reproducing device
JP2707666B2 (en) Playback device
JP2826897B2 (en) Motion compensation circuit
JP2674505B2 (en) Video signal recording / reproducing device

Legal Events

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

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120517

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130517

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130517

Year of fee payment: 11