JPH06292169A - Video signal reproducing device - Google Patents
Video signal reproducing deviceInfo
- Publication number
- JPH06292169A JPH06292169A JP9686593A JP9686593A JPH06292169A JP H06292169 A JPH06292169 A JP H06292169A JP 9686593 A JP9686593 A JP 9686593A JP 9686593 A JP9686593 A JP 9686593A JP H06292169 A JPH06292169 A JP H06292169A
- Authority
- JP
- Japan
- Prior art keywords
- output
- circuit
- data
- block
- motion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Image Processing (AREA)
Abstract
(57)【要約】
【目的】 動き判定の誤りを減少させ、相関の高い画素
を用いて補間することにより、補間画像の劣化を防止で
きるようにすることを目的とする。
【構成】 各画素ブロックの再生の可否を判定する可否
判定手段2により再生不可能と判定された画素ブロック
を補間する際に、補間される画素ブロックに隣接する複
数の画素ブロックにおける画素信号の時間的変化を動き
判定回路9で判定して1つの動き判定結果を出力するよ
うにして、判定誤りを低減させた動き判定結果を得ると
ともに、前記判定結果を得た後、前記動き判定出力を用
いて第1の補間回路(2、3、5)と第2の補間回路
(2、6、8)とを切り換え、前記画素ブロックが同一
画面と相関の高い場合には同一画面の画素情報を用い、
他の画面と相関の高い場合には他の画面の画素情報を用
いて補間することにより、画素ブロックに対し相関の小
さい画素を用いて補間してまう不都合を防止する。
(57) [Abstract] [Purpose] An object of the present invention is to reduce the error in motion determination and prevent deterioration of an interpolated image by interpolating using pixels with high correlation. When interpolating a pixel block that is determined to be unreproducible by a propriety determining unit 2 that determines whether or not each pixel block can be reproduced, the time of pixel signals in a plurality of pixel blocks adjacent to the pixel block to be interpolated The motion determination circuit 9 determines the dynamic change and outputs one motion determination result to obtain a motion determination result in which the determination error is reduced, and after the determination result is obtained, the motion determination output is used. To switch between the first interpolation circuit (2, 3, 5) and the second interpolation circuit (2, 6, 8), and when the pixel block has a high correlation with the same screen, the pixel information of the same screen is used. ,
When the correlation with another screen is high, the pixel information of the other screen is used to interpolate, thereby preventing the inconvenience of interpolating using pixels having a small correlation with the pixel block.
Description
【0001】[0001]
【産業上の利用分野】本発明は画像信号再生装置に関
し、さらに詳しくは、いわゆるブロック符号化された画
像信号を補間する装置に用いて好適なものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal reproducing apparatus, and more particularly, it is suitable for use in an apparatus for interpolating a so-called block coded image signal.
【0002】[0002]
【従来の技術】従来、この種の画像信号再生装置として
は、図5に示されるような構成の補間装置が知られてい
る。以下に、図5を用いて従来の画像信号再生装置の構
成を説明する。2. Description of the Related Art Conventionally, as this type of image signal reproducing apparatus, an interpolating apparatus having a configuration as shown in FIG. 5 has been known. The configuration of the conventional image signal reproducing apparatus will be described below with reference to FIG.
【0003】図5において、復号された信号は、入力端
子301より誤り訂正回路(ECC回路)302に入力
され、符号誤りの訂正が行われてフレームメモリ303
に入力される。この際、前記ECC回路302で訂正で
きなかった画像データは、前記フレームメモリ303に
は書き込まれず、空データとなるとともに、前記空デー
タのアドレスを示すエラーフラグがフラグメモリ304
に入力される。In FIG. 5, a decoded signal is input to an error correction circuit (ECC circuit) 302 from an input terminal 301, a code error is corrected, and a frame memory 303 is input.
Entered in. At this time, the image data that could not be corrected by the ECC circuit 302 is not written in the frame memory 303 and becomes empty data, and an error flag indicating the address of the empty data is stored in the flag memory 304.
Entered in.
【0004】305は動き判定回路であり、前記ECC
回路302の出力とフレームメモリ303の出力との差
をとり、前記差分データを画素ブロックごとに積算した
後、前記積算データと予め定められている所定値との比
較を行う。前記動き判定回路305は、前述の比較の結
果、前述の積算データが所定値よりも小さい場合には前
記画素ブロックについては動き無しと判定してローレベ
ル“0”を出力する。Reference numeral 305 denotes a motion judging circuit, which is the ECC.
After taking the difference between the output of the circuit 302 and the output of the frame memory 303 and integrating the difference data for each pixel block, the integrated data is compared with a predetermined value. As a result of the comparison, the motion determination circuit 305 determines that the pixel block has no motion and outputs a low level “0” when the integrated data is smaller than a predetermined value.
【0005】また、前述の比較の結果が、前述の積算デ
ータが所定値よりも大きい場合には、前記画素ブロック
は動き有りと判定してハイレベル“1”を出力するよう
になっており、これら動き判定回路305の出力を、以
下動きデータと称する。Further, when the result of the above-mentioned comparison shows that the above-mentioned integrated data is larger than a predetermined value, the pixel block is judged to be in motion, and a high level "1" is outputted. The output of these motion determination circuits 305 is hereinafter referred to as motion data.
【0006】前記動きデータは、第1の遅延回路306
に入力される。そして、後述する第3の遅延回路307
の出力データと第1の遅延回路306の出力する動きデ
ータとのタイミングが合致するように、前記第1の遅延
回路306の遅延時間が調整されている。The motion data is converted into the first delay circuit 306.
Entered in. Then, a third delay circuit 307 described later
The delay time of the first delay circuit 306 is adjusted such that the output data of the first delay circuit 306 and the motion data output from the first delay circuit 306 match the timing.
【0007】第1の遅延回路306の出力は、第1のス
イッチSW1のa端子に入力され、第2の遅延回路30
8の出力が前記第1のスイッチSW1のb端子に入力さ
れることにより、第2の遅延回路308を介して第1の
スイッチSW1と第2の遅延回路308との間にフィー
ドバックループが形成されている。The output of the first delay circuit 306 is input to the a terminal of the first switch SW1 and the second delay circuit 30
When the output of 8 is input to the b terminal of the first switch SW1, a feedback loop is formed between the first switch SW1 and the second delay circuit 308 via the second delay circuit 308. ing.
【0008】前記第1のスイッチSW1は、第5の遅延
回路309の出力が“0”の場合にはa端子に接続さ
れ、第5の遅延回路309の出力が“1”の場合にはb
端子に接続されるようになっている。第2の遅延回路3
08が出力する動きデータは、後述する第4の遅延回路
310が出力する画像データとタイミングが合致するよ
う、前記第2の遅延回路308の遅延時間が設定されて
いる。The first switch SW1 is connected to the a terminal when the output of the fifth delay circuit 309 is "0", and b when the output of the fifth delay circuit 309 is "1".
It is designed to be connected to terminals. Second delay circuit 3
The delay time of the second delay circuit 308 is set so that the motion data output from 08 is in timing with the image data output from the fourth delay circuit 310 described later.
【0009】一方、ECC回路302から出力される画
像データは第3の遅延回路307に入力され、ECC回
路302の出力に対し画面上で上部の画素ブロックのデ
ータを出力するように、前記第3の遅延回路307の遅
延時間が設定されている。On the other hand, the image data output from the ECC circuit 302 is input to the third delay circuit 307 so that the data of the upper pixel block on the screen is output with respect to the output of the ECC circuit 302. The delay time of the delay circuit 307 is set.
【0010】さらに、第3の遅延回路307から出力さ
れる画像データは第4の遅延回路310に入力され、第
3の遅延回路307の出力に対し画面上で上部の画素ブ
ロックのデータを出力するように、前記第4の遅延回路
310の遅延時間が設定されている。Further, the image data output from the third delay circuit 307 is input to the fourth delay circuit 310, and the data of the upper pixel block on the screen is output with respect to the output of the third delay circuit 307. Thus, the delay time of the fourth delay circuit 310 is set.
【0011】また、同じタイミングで、フラグメモリは
ECC回路302の出力データと同じ画素ブロックのエ
ラーフラグを出力し、第5の遅延回路309は第3の遅
延回路307の出力データと同じ画素ブロックのエラー
フラグを出力し、第6の遅延回路311は第4遅延回路
310の出力データと同じ画素ブロックのエラーフラグ
を出力するようになっている。Further, at the same timing, the flag memory outputs the error flag of the same pixel block as the output data of the ECC circuit 302, and the fifth delay circuit 309 outputs the error flag of the same pixel block as the output data of the third delay circuit 307. The error flag is output, and the sixth delay circuit 311 outputs the error flag of the same pixel block as the output data of the fourth delay circuit 310.
【0012】第3の遅延回路307の出力する画像デー
タは、第4の遅延回路310に入力されるとともに、第
2のスイッチSW2のc端子にも入力される。また、第
2のスイッチSW2のd端子には、ECC回路302の
出力と第4の遅延回路310の出力とから平均値演算回
路312によって求められた画素データの平均値が入力
される。The image data output from the third delay circuit 307 is input to the fourth delay circuit 310 and also to the c terminal of the second switch SW2. In addition, the average value of the pixel data obtained by the average value calculation circuit 312 from the output of the ECC circuit 302 and the output of the fourth delay circuit 310 is input to the d terminal of the second switch SW2.
【0013】したがって、第2のスイッチSW2のd端
子に入力されるデータは、第2のスイッチSW2のc端
子に入力される画像データに対し上下の画素ブロックに
おける画像データの平均値となっている。また、第2の
スイッチSW2は、後述する論理演算回路の出力が
“0”の場合にはc端子に接続され、論理演算回路の出
力が“1”の場合にはd端子に接続されるようになって
いる。Therefore, the data input to the d terminal of the second switch SW2 is the average value of the image data in the pixel blocks above and below the image data input to the c terminal of the second switch SW2. . Also, the second switch SW2 is connected to the c terminal when the output of the logic operation circuit described later is "0", and is connected to the d terminal when the output of the logic operation circuit is "1". It has become.
【0014】313は論理演算回路であり、フラグメモ
リ304、第5の遅延回路309、第6の遅延回路、3
11それぞれの出力するフラグデータおよび第1の遅延
回路306の出力する動き判定結果の組み合わせによっ
て前記論理演算回路313の出力が決定され、第2のス
イッチSW2に入力される。A logical operation circuit 313 includes a flag memory 304, a fifth delay circuit 309, a sixth delay circuit 3 and 3.
The output of the logical operation circuit 313 is determined by the combination of the flag data output from each of the 11 and the motion determination result output from the first delay circuit 306, and is input to the second switch SW2.
【0015】第2のスイッチSW2は、前記論理演算回
路313の出力によって、第3の遅延回路307と平均
値演算回路312との出力データのうちのどちらかを選
択し、出力端子に出力する。The second switch SW2 selects one of the output data of the third delay circuit 307 and the average value calculation circuit 312 according to the output of the logic operation circuit 313 and outputs it to the output terminal.
【0016】今、第3の遅延回路307の出力する画像
データに誤りがあったとすると、第5の遅延回路309
の出力するフラグデータは“1”となり、論理演算回路
313に入力されるとともに、第1のスイッチSW1に
も入力され、第1のスイッチSW1の入力はb端子に接
続される。このとき、第3の遅延回路307が出力する
画素ブロックに対し、上下の画素ブロックに誤りがない
場合には、フラグメモリ304および第6の遅延回路3
11がそれぞれの出力するフラグデータは“0”とな
る。If there is an error in the image data output from the third delay circuit 307, the fifth delay circuit 309
The flag data output by is 1 and is input to the logical operation circuit 313 and also to the first switch SW1, and the input of the first switch SW1 is connected to the b terminal. At this time, when there is no error in the pixel blocks above and below the pixel block output by the third delay circuit 307, the flag memory 304 and the sixth delay circuit 3
The flag data output by each of 11 is "0".
【0017】このときの動きデータは、第3の遅延回路
307の出力データに誤りがあるために信号として出力
できないので、第3の遅延回路307が出力するデータ
に対し上部の画素ブロックの動きデータを用いて動き検
出を行う。すなわち、第3の遅延回路307が出力する
画素ブロックに対し上部の画素ブロックに動きがある場
合には、第2の遅延回路308の出力する動きデータは
“1”となって、論理演算回路313の出力は“1”と
なり、第2のスイッチSW2に入力される。Since the motion data at this time cannot be output as a signal because the output data of the third delay circuit 307 has an error, the motion data of the upper pixel block with respect to the data output by the third delay circuit 307. Is used to detect motion. That is, when there is a motion in the upper pixel block with respect to the pixel block output by the third delay circuit 307, the motion data output by the second delay circuit 308 becomes “1” and the logical operation circuit 313. Output becomes "1" and is input to the second switch SW2.
【0018】論理演算回路313の出力が“1”となっ
た場合には、第2のスイッチSW2はd端子に接続され
平均値演算回路312の出力、すなわちフィールド内補
間のの結果が出力端子314から外部へ出力される。一
方、第3の遅延回路307が出力する画素ブロックに対
し上部の画素ブロックに動きが無い場合には、第2の遅
延回路308の出力する動きデータは“0”となって、
論理演算回路313の出力は“0”となり、第2のスイ
ッチSW2に入力される。When the output of the logical operation circuit 313 becomes "1", the second switch SW2 is connected to the d terminal and the output of the average value operation circuit 312, that is, the result of the intra-field interpolation is output terminal 314. Output to the outside. On the other hand, when there is no motion in the upper pixel block with respect to the pixel block output by the third delay circuit 307, the motion data output by the second delay circuit 308 becomes “0”,
The output of the logical operation circuit 313 becomes "0" and is input to the second switch SW2.
【0019】論理演算回路313の出力が“0”となっ
た場合には、第2のスイッチSW2はc端子に接続さ
れ、第3の遅延回路307の出力、すなわち入力端子3
01から入力される画素データの1フレーム前のデータ
であるフレーム間補間の結果が出力端子314から外部
へ出力される。When the output of the logical operation circuit 313 becomes "0", the second switch SW2 is connected to the c terminal, and the output of the third delay circuit 307, that is, the input terminal 3
The result of inter-frame interpolation, which is the data one frame before the pixel data input from 01, is output from the output terminal 314 to the outside.
【0020】[0020]
【発明が解決しようとする課題】しかしながら、前記従
来例においては、補間するブロックの上部の1ブロック
だけで動き判定を行っているために誤った動き判定を行
いやすく、補間される画素ブロックに対し相関の小さい
画素を用いて補間してしまい、補間された画像の画質が
劣化するといった問題点があった。However, in the above-mentioned conventional example, since the motion determination is performed only in the upper one block of the blocks to be interpolated, it is easy to make an erroneous motion determination, and the pixel block to be interpolated is erroneously determined. There is a problem that interpolation is performed using pixels having a small correlation, and the quality of the interpolated image deteriorates.
【0021】本発明は前述の問題点にかんがみ、動き判
定の誤りを減少させ、相関の高い画素を用いて補間でき
るようにすることを目的とする。In view of the above problems, it is an object of the present invention to reduce errors in motion determination and to enable interpolation using highly correlated pixels.
【0022】[0022]
【課題を解決するための手段】本発明の画像信号再生装
置は、画像信号を所定数の画素ごとにブロック化し符号
化したデータをブロック単位で復号化し、画像信号を得
る画像信号再生装置であって、所定の方法により生成さ
れた補間データを選択する選択手段と、前記選択手段に
より選択された補間データにより、復号化不能ブロック
のデータを補間する補間手段と、前記復号化不能ブロッ
クと同一画面の周囲ブロックの動きに基づいて、前記復
号化不能ブロックの動きを推定する動き推定手段と、前
記周囲ブロックのエラーを検出し、そのエラー状況に基
づいて前記補間手段を制御するエラーパターン検出手段
とを具備し、前記選択手段は、前記動き推定手段の推定
結果に基づいて前記補間データを選択するようにしてい
る。An image signal reproducing apparatus of the present invention is an image signal reproducing apparatus which obtains an image signal by blocking the encoded image signal for each predetermined number of pixels and decoding the encoded data in block units. A selecting means for selecting the interpolation data generated by a predetermined method, an interpolation means for interpolating the data of the undecodable block by the interpolation data selected by the selecting means, and the same screen as the undecodable block. Motion estimation means for estimating the motion of the undecodable block based on the motion of the surrounding blocks, and error pattern detection means for detecting an error in the surrounding blocks and controlling the interpolation means based on the error condition. The selecting means selects the interpolation data based on the estimation result of the motion estimating means.
【0023】また、本発明の他の特徴とするところは、
画像信号を所定数の画素ごとにブロック化し符号化した
データをブロック単位で復号化し、画像信号を得る画像
信号再生装置であって、所定の方法により生成された補
間データを用いて、復号化不能ブロックのデータを補間
する補間手段を備え、前記復号化不能ブロックと同一画
面の周囲ブロックの動きに基づいて、前記補間データを
選択的に用いるようにしている。Another characteristic of the present invention is that
An image signal reproducing device that obtains an image signal by decoding the encoded data in blocks of a predetermined number of pixels in units of blocks, which cannot be decoded using interpolation data generated by a predetermined method. An interpolation means for interpolating the data of the block is provided, and the interpolation data is selectively used based on the movement of the surrounding block on the same screen as the undecodable block.
【0024】[0024]
【作用】本発明は前記技術手段を有するので、再生不可
能と判定された画素ブロックを補間する際に、例えば、
補間される画素ブロックに隣接する複数の画素ブロック
における画素信号の時間的変化から1つの動き判定結果
を出力するようにして、判定誤りを低減させた動き判定
結果を得るとともに、前記判定結果を得た後、前記画素
ブロックが同一画面と相関の高い場合には同一画面の画
素情報を用い、前記画素ブロックが他の画面と相関の高
い場合には他の画面の画素情報を用いて補間することが
可能となり、画素ブロックに対し相関の小さい画素を用
いて補間してまう不都合が防止される。Since the present invention has the above technical means, when interpolating a pixel block determined to be unreproducible, for example,
One motion determination result is output from the temporal change of pixel signals in a plurality of pixel blocks adjacent to the pixel block to be interpolated to obtain a motion determination result with reduced determination error, and the determination result is obtained. After that, if the pixel block has a high correlation with the same screen, the pixel information of the same screen is used, and if the pixel block has a high correlation with another screen, the pixel information of the other screen is used for interpolation. This makes it possible to prevent the inconvenience of performing interpolation using pixels having a small correlation with the pixel block.
【0025】[0025]
【実施例】以下、図1を参照して本発明の画像信号再生
装置の一実施例を説明する。まず、不図示の復号回路に
より復号された信号は、入力端子1より誤り訂正回路
(ECC回路)2に入力され、ここで符号誤りの訂正が
行われた後でフレームメモリ3に入力される。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the image signal reproducing apparatus of the present invention will be described below with reference to FIG. First, a signal decoded by a decoding circuit (not shown) is input from an input terminal 1 to an error correction circuit (ECC circuit) 2, where a code error is corrected and then input to a frame memory 3.
【0026】この際、ECC回路2で訂正できなかった
画像データは、フレームメモリ3には書き込まれず、空
データとなるとともに、前記空データのアドレスを示す
エラーフラグがフラグメモリ4に入力される。5は4H
遅延する第1の遅延回路であり、前記第1の遅延回路5
の出力が後述する4H遅延する第3の遅延回路6の出力
のちょうど1フレーム前のデータとなるように、第1の
遅延回路の遅延時間が設定されている。At this time, the image data that cannot be corrected by the ECC circuit 2 is not written in the frame memory 3 but becomes empty data, and an error flag indicating the address of the empty data is input to the flag memory 4. 5 is 4H
A first delay circuit for delaying, and the first delay circuit 5
The delay time of the first delay circuit is set such that the output of the first delay circuit is data just one frame before the output of the third delay circuit 6 delayed by 4H, which will be described later.
【0027】第1の遅延回路5の出力は、4H遅延を行
う第2の遅延回路7に入力される。第2の遅延回路7の
遅延時間は、前記第2の遅延回路7の出力が後述する4
H遅延を行う第4の遅延回路8の出力のちょうど1フレ
ーム前となるように設定されている。そして、第1〜4
遅延回路の出力はそれぞれ動き判定回路9に入力され
る。The output of the first delay circuit 5 is input to the second delay circuit 7 which performs 4H delay. As for the delay time of the second delay circuit 7, the output of the second delay circuit 7 will be described later.
It is set to be exactly one frame before the output of the fourth delay circuit 8 which performs H delay. And first to fourth
The outputs of the delay circuits are input to the motion determination circuit 9, respectively.
【0028】動き判定回路9は、ECC回路2の出力と
フレームメモリ3の出力との差、および第2の遅延回路
7の出力と第4の遅延回路8の出力との差をそれぞれと
り、前記差分データの絶対値を全て積算した後、前記積
算データと予め定められている所定値との比較を行う。The motion determination circuit 9 takes the difference between the output of the ECC circuit 2 and the output of the frame memory 3 and the difference between the output of the second delay circuit 7 and the output of the fourth delay circuit 8, respectively, After integrating all the absolute values of the difference data, the integrated data is compared with a predetermined value.
【0029】動き判定回路9は、前記の比較の結果、前
記の積算データが所定値よりも小さい場合には動き無し
と判定してローレベル“0”を出力する。また、前記の
積算データが所定値よりも大きい場合には動き有りと判
定してハイレベル“1”を出力するようになっており、
以下、これら動き判定回路9の出力を以下動きデータと
称する。As a result of the comparison, the motion judging circuit 9 judges that there is no motion and outputs a low level "0" when the integrated data is smaller than a predetermined value. Further, when the integrated data is larger than a predetermined value, it is determined that there is motion and a high level “1” is output.
Hereinafter, the output of these motion determination circuits 9 will be referred to as motion data.
【0030】次いで、10は補間演算回路であり、この
補間演算回路10はECC回路2と第4の遅延回路8と
の出力から、フィールド内補間データを出力する。補間
演算回路10の出力は、第1のスイッチSW1のb端子
に入力される。Next, 10 is an interpolation calculation circuit, and this interpolation calculation circuit 10 outputs intra-field interpolation data from the outputs of the ECC circuit 2 and the fourth delay circuit 8. The output of the interpolation calculation circuit 10 is input to the b terminal of the first switch SW1.
【0031】第1のスイッチSW1の切り換え動作は、
動き判定回路9の出力によって制御され、動き判定回路
出力が“0”の場合にはa端子に接続され、“1”の場
合にはb端子にそれぞれ接続する。これにより、1フレ
ーム前の画素データである第5の遅延回路12の出力
(フレーム間補間データ)と、ECC回路2の出力と第
3の遅延回路6の出力とから、補間演算回路10によっ
て演算される補間値(フィールド内補間データ)との選
択が行われるようになっている。The switching operation of the first switch SW1 is as follows.
It is controlled by the output of the motion determination circuit 9, and when the motion determination circuit output is "0", it is connected to the a terminal, and when it is "1", it is connected to the b terminal. As a result, the interpolation calculation circuit 10 calculates from the output of the fifth delay circuit 12 (interframe interpolation data) which is the pixel data of one frame before, the output of the ECC circuit 2 and the output of the third delay circuit 6. The selected interpolated value (interpolated data in the field) is selected.
【0032】第1のスイッチSW1の出力は、第2のス
イッチSW2のc端子に入力されていて、この第2のス
イッチSW2により、補間データである第1のスイッチ
SW1の出力と未処理の第3の遅延回路6の出力データ
との選択が行われるようになっている。The output of the first switch SW1 is input to the c terminal of the second switch SW2, and the output of the first switch SW1 which is the interpolation data and the unprocessed first output are input by the second switch SW2. 3 and the output data of the delay circuit 6 are selected.
【0033】フラグメモリ4の出力は、第5の遅延回路
12に供給されている。また、第5の遅延回路12は、
第3の遅延回路6が出力する画素ブロックのエラーフラ
グを出力するように遅延時間が設定されている。The output of the flag memory 4 is supplied to the fifth delay circuit 12. In addition, the fifth delay circuit 12
The delay time is set so as to output the error flag of the pixel block output from the third delay circuit 6.
【0034】第6の遅延回路13の出力は、論理演算回
路14に供給されている。第6の遅延回路13は、第4
の遅延回路8が出力する画素ブロックのエラーフラグを
出力するように遅延時間が設定されている。The output of the sixth delay circuit 13 is supplied to the logical operation circuit 14. The sixth delay circuit 13 has a fourth
The delay time is set so as to output the error flag of the pixel block output from the delay circuit 8.
【0035】フラグメモリ4、第5の遅延回路12、第
6の遅延回路13の出力はそれぞれ論理演算回路14に
供給される。論理演算回路14は、前述した入力データ
から所定の論理演算を行って、第2のスイッチSW2を
制御するための信号を出力する。The outputs of the flag memory 4, the fifth delay circuit 12 and the sixth delay circuit 13 are supplied to the logical operation circuit 14, respectively. The logical operation circuit 14 performs a predetermined logical operation from the above-mentioned input data and outputs a signal for controlling the second switch SW2.
【0036】第2のスイッチSW2のc端子には第1の
スイッチSW1の出力が供給され、d端子には第3の遅
延回路6の出力がそれぞれ供給される。第2のスイッチ
SW2は、論理演算回路14の出力が“0”のときには
d端子に接続され、論理演算回路14の出力が“1”の
ときにはc端子に接続されることにより、補間データで
ある第1のスイッチSW1の出力と未処理の画素データ
である第3の遅延回路6の出力とが選択され、出力端子
15を通して外部に出力される。The output of the first switch SW1 is supplied to the c terminal of the second switch SW2, and the output of the third delay circuit 6 is supplied to the d terminal. The second switch SW2 is interpolated data by being connected to the d terminal when the output of the logical operation circuit 14 is "0" and connected to the c terminal when the output of the logical operation circuit 14 is "1". The output of the first switch SW1 and the output of the third delay circuit 6 which is unprocessed pixel data are selected and output to the outside through the output terminal 15.
【0037】論理演算回路14は、例えば、図2のよう
に構成されており、入力端子gおよびiからの入力が
“0”で、入力端子hからの入力が“1”のときだけそ
の出力が“1”となる。The logical operation circuit 14 is configured, for example, as shown in FIG. 2, and outputs only when the input from the input terminals g and i is "0" and the input from the input terminal h is "1". Becomes "1".
【0038】次に、本発明の画像信号再生装置に用いる
動き判定回路9の構成例を図4に示す。図4において、
501は入力端子hの入力信号と入力端子jの入力信号
との減算を行う第1の減算回路、502は入力端子iの
入力信号と入力端子kの入力信号との減算を行う第2の
減算回路、503は第1の減算回路501の出力信号の
絶対値を計算するための第1の絶対値演算回路、504
は第2の減算回路502の出力信号の絶対値を計算する
ための第2の絶対値演算回路、505は第1の絶対値演
算回路503の出力と第2の絶対値演算回路504の出
力との加算演算を行う第1の加算回路である。Next, FIG. 4 shows a structural example of the motion judging circuit 9 used in the image signal reproducing apparatus of the present invention. In FIG.
Reference numeral 501 is a first subtraction circuit that subtracts the input signal of the input terminal h and input signal of the input terminal j, and 502 is a second subtraction circuit that subtracts the input signal of the input terminal i and the input signal of the input terminal k. A circuit, 503 is a first absolute value calculation circuit for calculating the absolute value of the output signal of the first subtraction circuit 501, 504.
Is a second absolute value calculation circuit for calculating the absolute value of the output signal of the second subtraction circuit 502, and 505 is the output of the first absolute value calculation circuit 503 and the output of the second absolute value calculation circuit 504. Is a first adder circuit that performs the addition operation of.
【0039】506は第1の加算回路505と後述する
遅延回路507の出力との加算演算を行う第2の加算回
路、507は第2の加算回路506の出力を遅延する遅
延回路、510は遅延回路507の出力と比較するため
のデータがあらかじめ記憶されているリードオンリーメ
モリ(ROM)、511はライン遅延回路507の出力
とROM510の出力との差分を計算するための第3の
減算回路、512は第3の減算回路511の出力結果の
正負を判定するための正負判定回路、513は出力端子
である。なお、入力端子h、i、j、kは、図1におけ
る動き判定回路9に設けられている入力端子(図示せ
ず)に対応している。Reference numeral 506 is a second adder circuit for performing addition operation of the first adder circuit 505 and the output of a delay circuit 507, which will be described later, 507 is a delay circuit for delaying the output of the second adder circuit 506, and 510 is a delay circuit. A read only memory (ROM) 511 in which data to be compared with the output of the circuit 507 is stored in advance is a third subtraction circuit 512 for calculating the difference between the output of the line delay circuit 507 and the output of the ROM 510. Is a positive / negative determination circuit for determining the positive / negative of the output result of the third subtraction circuit 511, and 513 is an output terminal. The input terminals h, i, j, k correspond to the input terminals (not shown) provided in the motion determination circuit 9 in FIG.
【0040】次に、図5の動き判定回路の動作を説明す
る。入力端子hから入力される画像信号と入力端子jか
ら入力される画像信号とは、ちょうど1フレームの時間
差を有する。ある1画素に注目した場合、画面上におい
て動きの少ないときには1フレーム間の差分の絶対値は
小さくなるので、第1の絶対値演算回路503の出力は
小さくなる。Next, the operation of the motion determination circuit shown in FIG. 5 will be described. The image signal input from the input terminal h and the image signal input from the input terminal j have a time difference of exactly one frame. When attention is paid to a certain pixel, the absolute value of the difference between the frames becomes small when the amount of movement on the screen is small, so the output of the first absolute value calculation circuit 503 becomes small.
【0041】また、画面上において動きの多いときには
1フレーム間の差分の絶対値は大きくなるので第1の絶
対値演算回路503の出力は大きくなる。同様に、入力
端子iから入力される画像信号と入力端子kから入力さ
れる画像信号とは、ちょうど1フレームの時間差を有
し、動きの少ないときには第2の絶対値演算回路504
の出力は小さくなり、反対に画面上において動きの多い
ときには第2の絶対値演算回路504の出力は大きくな
る。Further, when there is a lot of movement on the screen, the absolute value of the difference between the frames becomes large, so that the output of the first absolute value calculation circuit 503 becomes large. Similarly, the image signal input from the input terminal i and the image signal input from the input terminal k have a time difference of exactly one frame, and when the motion is small, the second absolute value calculation circuit 504 is operated.
The output of the second absolute value calculation circuit 504 becomes large when there is a lot of movement on the screen.
【0042】第1の絶対値演算回路503の出力と第2
の絶対値演算回路504の出力とは、第1の加算回路5
05によって加算される。以下、第1の加算回路505
の出力を差分絶対値と称する。The output of the first absolute value calculation circuit 503 and the second
Output of the absolute value calculation circuit 504 of the first addition circuit 5
It is added by 05. Hereinafter, the first addition circuit 505
Is called the difference absolute value.
【0043】第2の加算回路506と遅延回路507
は、1つの画素ブロックについて前述の差分絶対値を加
算する。遅延回路507は、不図示の制御回路によって
画素ブロックごとに、前述の差分絶対値を1ブロックに
わたり加算するように制御される。以下、遅延回路50
7の出力を差分絶対値和と称する。Second adder circuit 506 and delay circuit 507
Adds the absolute difference value described above for one pixel block. The delay circuit 507 is controlled by a control circuit (not shown) so as to add the above-described absolute difference value over one block for each pixel block. Hereinafter, the delay circuit 50
The output of 7 is called the sum of absolute differences.
【0044】第3の減算回路511で前述の差分絶対値
和とROM510との減算が行われ、正負判定回路51
2で第3の減算回路出力の正負を判定することで、RO
M510にあらかじめ記憶されている比較値と差分絶対
値和との比較が行われる。正負判定回路512は、差分
絶対値和が比較値よりも大きな場合には動き有りとして
“1”を出力し、差分絶対値和が比較値よりも小さな場
合には動き無しとして“0”を出力する。この判定結果
は、画素ブロックごとに算出される。ROM510にあ
らかじめ記憶されている比較値は、例えば、画素ブロッ
クを構成する画素全部の合計値の半分の値などに設定さ
れる。The third subtraction circuit 511 subtracts the sum of absolute differences and the ROM 510, and the positive / negative determination circuit 51 is executed.
By determining whether the output of the third subtraction circuit is positive or negative at 2,
The comparison value previously stored in M510 and the sum of absolute differences are compared. The positive / negative determination circuit 512 outputs "1" as the motion is present when the difference absolute value sum is larger than the comparison value, and outputs "0" as no motion when the difference absolute value sum is smaller than the comparison value. To do. This determination result is calculated for each pixel block. The comparison value stored in advance in the ROM 510 is set to, for example, a half value of the total value of all the pixels forming the pixel block.
【0045】次に、図3を用いて本実施例の画像信号の
動作を説明する。図3は、画面上の画素ブロックを示し
ている。今、Bi,j+1 のブロックの画素データがECC
回路2から出力されているとすると、第3の遅延回路6
からはBi,j の画素データが出力されるとともに、第1
の遅延回路6からは1フレーム前のBi,j の画素データ
がされる。また、第4の遅延回路8からはBi,j-1 の画
素データが出力されるとともに、第2の遅延回路7から
は1フレーム前のBi,j-1 の画素データがそれぞれ出力
されている。Next, the operation of the image signal of this embodiment will be described with reference to FIG. FIG. 3 shows a pixel block on the screen. Now, the pixel data of the block of Bi, j + 1 is ECC
If it is output from the circuit 2, the third delay circuit 6
Outputs Bi, j pixel data from the
From the delay circuit 6 of 1, the pixel data of Bi, j one frame before is obtained. The fourth delay circuit 8 outputs Bi, j-1 pixel data, and the second delay circuit 7 outputs Bi, j-1 pixel data one frame before. .
【0046】また、フラグメモリ4からはBi,j+1 のエ
ラーフラグが、第5の遅延回路12からはBi,j のエラ
ーフラグが、第6の遅延回路13からはBi,j-1 のエラ
ーフラグがそれぞれ出力されている。The flag memory 4 outputs a Bi, j + 1 error flag, the fifth delay circuit 12 outputs a Bi, j error flag, and the sixth delay circuit 13 outputs a Bi, j-1 error flag. Error flags are output respectively.
【0047】動き判定回路9は、ブロックBi,j+1 と1
フレーム前のBi,j+1 との差をとるとともに、ブロック
Bi,j-1 と1フレーム前のBi,j-1 との差をとり、これ
らの差を2ブロック分積算し、積算した結果をあらかじ
め定められた所定の比較値と比較する。そして、前記の
積算データが所定値よりも小さい場合には動き無しと判
定してローレベル“0”を出力する。また、前記の積算
データが所定値よりも大きい場合には動き有りと判定し
てハイレベル“1”を出力する。The motion determination circuit 9 includes blocks Bi, j + 1 and 1
The difference between Bi, j + 1 before the frame and the difference between Bi, j-1 one block before and Bi, j-1 one frame before is calculated, and these differences are integrated for two blocks Is compared with a predetermined comparison value. When the integrated data is smaller than the predetermined value, it is determined that there is no motion and low level "0" is output. When the integrated data is larger than the predetermined value, it is determined that there is motion and a high level "1" is output.
【0048】このときに、ブロックBi,j-1 とBi,j+1
とがともに再生可能でブロックBi,j が再生不可能な場
合、論理演算回路14の出力は1になり、第2のスイッ
チSW2はc端子に接続され、ブロックBi,j が補間さ
れる状態になる。At this time, the blocks Bi, j-1 and Bi, j + 1
When both and are reproducible and the block Bi, j is not reproducible, the output of the logical operation circuit 14 becomes 1, the second switch SW2 is connected to the c terminal, and the block Bi, j is interpolated. Become.
【0049】ブロックBi,j の補間は動き判定回路9の
動きデータ出力によって異なる。動き判定回路9が
“0”を出力すると、第1のスイッチSW1はa端子に
接続され、ブロックBi,j はフレーム間補間とされる。
また動き判定回路9が“1”を出力すると、第1のスイ
ッチSW1はb端子に接続され、ブロックBi,j はフィ
ールド内補間とされる。本実施例の画像信号再生装置は
前記のごとく構成されているので、精度の良い補間を行
うことができる。The interpolation of the block Bi, j differs depending on the motion data output of the motion judging circuit 9. When the motion determination circuit 9 outputs "0", the first switch SW1 is connected to the a terminal, and the block Bi, j is interpolated between frames.
When the motion determination circuit 9 outputs "1", the first switch SW1 is connected to the b terminal and the block Bi, j is interpolated in the field. Since the image signal reproducing apparatus of this embodiment is configured as described above, it is possible to perform accurate interpolation.
【0050】[0050]
【発明の効果】本発明は前述したように本発明によれ
ば、動き判定の際に誤った動き判定が行われにくくな
り、補間される画素ブロックに対し相関の小さい画素を
用いて補間してしまうことがなくなるので、補間された
画像の画質劣化を低減することができる。As described above, according to the present invention, erroneous motion determination is less likely to occur during motion determination, and interpolation is performed using pixels having a small correlation with the interpolated pixel block. Since it does not occur, it is possible to reduce the image quality deterioration of the interpolated image.
【図1】本発明の画像信号再生装置の一実施例を示す構
成図である。FIG. 1 is a configuration diagram showing an embodiment of an image signal reproducing apparatus of the present invention.
【図2】本発明に用いる論理演算回路の一例を示す図で
ある。FIG. 2 is a diagram showing an example of a logical operation circuit used in the present invention.
【図3】本発明の画像信号再生装置の動作を説明する図
である。FIG. 3 is a diagram for explaining the operation of the image signal reproducing device of the present invention.
【図4】動き判定回路の一例を示す図である。FIG. 4 is a diagram illustrating an example of a motion determination circuit.
【図5】従来例を示す画像信号再生装置の構成図であ
る。FIG. 5 is a block diagram of an image signal reproducing apparatus showing a conventional example.
2 誤り訂正回路(ECC回路) 3 フレームメモリ 4 フラグメモリ 5、6、7、8 画素データの遅延回路 9 動き判定回路 10 補間演算回路 12、13 エラーフラグの遅延回路 14 論理演算回路 SW1 第1のスイッチ SW2 第2のスイッチ 2 error correction circuit (ECC circuit) 3 frame memory 4 flag memory 5, 6, 7, 8 pixel data delay circuit 9 motion determination circuit 10 interpolation calculation circuit 12 and 13 error flag delay circuit 14 logical calculation circuit SW1 first Switch SW2 Second switch
Claims (2)
化し符号化したデータをブロック単位で復号化し、画像
信号を得る画像信号再生装置であって、 所定の方法により生成された補間データを選択する選択
手段と、 前記選択手段により選択された補間データにより、復号
化不能ブロックのデータを補間する補間手段と、 前記復号化不能ブロックと同一画面の周囲ブロックの動
きに基づいて、前記復号化不能ブロックの動きを推定す
る動き推定手段と、 前記周囲ブロックのエラーを検出し、そのエラー状況に
基づいて前記補間手段を制御するエラーパターン検出手
段とを具備し、 前記選択手段は、前記動き推定手段の推定結果に基づい
て前記補間データを選択することを特徴とする画像信号
再生装置。1. An image signal reproducing apparatus which obtains an image signal by block-coding an image signal for each predetermined number of pixels and decoding encoded data in block units, wherein interpolation data generated by a predetermined method is selected. Selecting means, an interpolation means for interpolating the data of the non-decodable block by the interpolation data selected by the selecting means, and the non-decodable based on the motion of the surrounding block of the same screen as the non-decodable block. The motion estimation means for estimating the motion of the block; and the error pattern detection means for detecting the error of the surrounding block and controlling the interpolation means based on the error condition, wherein the selecting means comprises the motion estimating means. The image signal reproducing apparatus, wherein the interpolation data is selected based on the estimation result of 1.
化し符号化したデータをブロック単位で復号化し、画像
信号を得る画像信号再生装置であって、 所定の方法により生成された補間データを用いて、復号
化不能ブロックのデータを補間する補間手段を備え、 前記復号化不能ブロックと同一画面の周囲ブロックの動
きに基づいて、前記補間データを選択的に用いることを
特徴とする画像信号再生装置。2. An image signal reproducing apparatus which obtains an image signal by decoding an image signal into blocks for each predetermined number of pixels and decoding the encoded data in block units, wherein interpolation data generated by a predetermined method is used. And an interpolation means for interpolating the data of the non-decodable block, and the interpolated data is selectively used based on the movement of a surrounding block on the same screen as the non-decodable block. .
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9686593A JPH06292169A (en) | 1993-03-31 | 1993-03-31 | Video signal reproducing device |
| US08/876,109 US6266372B1 (en) | 1993-03-31 | 1997-06-13 | Apparatus for image reproduction using motion estimation |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9686593A JPH06292169A (en) | 1993-03-31 | 1993-03-31 | Video signal reproducing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06292169A true JPH06292169A (en) | 1994-10-18 |
Family
ID=14176343
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9686593A Pending JPH06292169A (en) | 1993-03-31 | 1993-03-31 | Video signal reproducing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06292169A (en) |
-
1993
- 1993-03-31 JP JP9686593A patent/JPH06292169A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2611607B2 (en) | Scene change detection device | |
| US5142537A (en) | Video signal processing circuit | |
| US6327391B1 (en) | Protecting image quality from occurrence of uncorrectable errors | |
| US20020048389A1 (en) | Motion image processor, motion image processing method and recording medium | |
| US20050249282A1 (en) | Film-mode detection in video sequences | |
| JPS6163969A (en) | Error corrector of digital television signal | |
| CA2090382C (en) | Moving picture receiving method and apparatus | |
| JP4421508B2 (en) | Method and apparatus for correcting film mode in still region | |
| US5943444A (en) | Image reproducing apparatus | |
| JP3363541B2 (en) | Image signal reproducing device and image processing device | |
| JPH06292169A (en) | Video signal reproducing device | |
| JP2939996B2 (en) | Adaptive Frame Interpolation for Inter-frame Prediction Decoder with Motion Compensation | |
| JPH06292170A (en) | Image signal playback device | |
| JP2565057B2 (en) | Interframe or interfield predictive coding method | |
| JP2897669B2 (en) | Motion vector detection device | |
| JP2762794B2 (en) | Scan line interpolator | |
| JPH1013836A (en) | Motion vector detection device | |
| JP2870770B2 (en) | Image restoration device | |
| JP2001148859A (en) | Error concealment device, error concealment method, and program recording medium | |
| JPH0472985A (en) | Frame interpolation system | |
| JPH07264077A (en) | Error detection and correction circuit | |
| JPH06282946A (en) | Picture signal reproducing device | |
| JP2546066B2 (en) | Error correction method for orthogonal transform coded image data | |
| JPH09284542A (en) | Image input device | |
| JPH06292183A (en) | Image signal playback device |