JP2712826B2 - Motion detection device - Google Patents

Motion detection device

Info

Publication number
JP2712826B2
JP2712826B2 JP2319404A JP31940490A JP2712826B2 JP 2712826 B2 JP2712826 B2 JP 2712826B2 JP 2319404 A JP2319404 A JP 2319404A JP 31940490 A JP31940490 A JP 31940490A JP 2712826 B2 JP2712826 B2 JP 2712826B2
Authority
JP
Japan
Prior art keywords
pixel
determination result
gate
pixels
output
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
JP2319404A
Other languages
Japanese (ja)
Other versions
JPH04192693A (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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2319404A priority Critical patent/JP2712826B2/en
Publication of JPH04192693A publication Critical patent/JPH04192693A/en
Application granted granted Critical
Publication of JP2712826B2 publication Critical patent/JP2712826B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Television Systems (AREA)
  • Processing Of Color Television Signals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION 【産業上の利用分野】[Industrial applications]

本発明は、ビデオ信号に基づいて画像のプリントを行
うビデオプリンタなどにおいて画像の動きを検出する動
き検出装置に関し、特に判定結果における誤りを検出す
る誤り検出手段の改良に関する。
The present invention relates to a motion detection device that detects a motion of an image in a video printer or the like that prints an image based on a video signal, and particularly to an improvement in an error detection unit that detects an error in a determination result.

【従来の技術】[Prior art]

画像の動き判定の誤りを検出除去する手法としては、
エリアフィルタが知られており、EDTVではよく用いられ
ている。このエリアフィルタは、一種の多数決回路であ
り、着目する画素における動き判定結果の誤りをその周
辺の画素の判定結果を用いて検出するものである。たと
えば、図5に示すようなmドット(テレビジョン画面の
水平方向に対応)×nライン(テレビジョン画面の垂直
方向に対応)の領域を想定する。中心は、誤り検出対象
の注目画素10である。最初に、この領域に含まれる画素
の各々における動きの判定が行われる。次に、「動き」
と判定された画素数が計数される。 この計数値は、たとえば図6に示すような特性のグラ
フにおける設定いき値Thと比較される。その結果、計数
値が設定いき値以下のときは注目画素10は「静止」と判
定され、計数値が設定いき値以上のときは注目画素は
「動き」と判定される(たとえば、テレビジョン学会技
術報告,Vol.12,No.51,PP.1〜6参照)。この判定結果と
最初の判定結果が比較されて、判定の誤りが検出され
る。すなわち、両者が一致しないとき「誤り」とされ
る。
Techniques for detecting and removing errors in image motion determination include:
Area filters are known and are often used in EDTV. This area filter is a kind of majority circuit, and detects an error of a motion determination result in a pixel of interest using a determination result of a peripheral pixel. For example, assume an area of m dots (corresponding to the horizontal direction of the television screen) × n lines (corresponding to the vertical direction of the television screen) as shown in FIG. The center is the target pixel 10 for error detection. First, the motion of each of the pixels included in this area is determined. Next, "movement"
The number of pixels determined to be is counted. This count value is compared with a set threshold value Th in a characteristic graph as shown in FIG. 6, for example. As a result, when the count value is equal to or smaller than the set threshold, the target pixel 10 is determined to be “still”, and when the count value is equal to or larger than the set threshold, the target pixel is determined to be “moving” (for example, the Television Society of Japan). See Technical Report, Vol. 12, No. 51, PP. This determination result is compared with the first determination result, and an erroneous determination is detected. That is, when the two do not match, it is determined as “error”.

【発明が解決しようとする課題】[Problems to be solved by the invention]

しかしながら、以上のような従来技術では、単純な多
数決を誤り検出の基本とするため、画像の動き部分と静
止部分との境界部では誤検出あるいは検出漏れが発生す
るという不都合がある。たとえば、上述した領域には、
25個の画素が含まれている。ここで、それらのうちの12
個が動き部分であり、12個が静止部分であるとする。ま
た、検出のいき値Thは13であるとする。すると、注目画
素の判定結果が誤りかどうかは、残りの一個が動きか静
止かによって、左右されることになる。 本発明は、これに鑑みてなされたもので、画像の動き
部分と静止部分との境界部でも誤動作せずに良好に動き
判定結果の誤り検出を行うことができ、特にフレームプ
リントにおける画質の向上に好適な動き検出装置を提供
することを、その目的とする。
However, in the above-described prior art, since simple majority is used as a basis for error detection, there is an inconvenience that erroneous detection or omission of detection occurs at a boundary portion between a moving portion and a still portion of an image. For example, in the area mentioned above,
It contains 25 pixels. Where 12 of them
It is assumed that each is a moving part and 12 are stationary parts. It is also assumed that the detection threshold value Th is 13. Then, whether the determination result of the target pixel is erroneous depends on whether the remaining one is moving or still. The present invention has been made in view of the above, and it is possible to satisfactorily detect an error of a motion determination result without malfunctioning even at a boundary portion between a moving portion and a still portion of an image, and particularly to improve image quality in frame printing. It is an object of the present invention to provide a motion detection device suitable for the above.

【課題を解決するための手段】[Means for Solving the Problems]

本発明は、注目画素を含む画素領域に含まれる画素の
動き判定結果を利用して注目画素の動き判定結果の誤り
を検出する動き検出装置において、画素の動き部分と静
止部分との境界部の注目画素に対して、隣接画素と周辺
画素の領域を各々設け、隣接画素内の判定結果が連続し
て等しくないとき、あるいは隣接画素及び周辺画素の判
定結果が連続して等しくないときは、その注目画素の判
定結果を誤りとする誤り検出手段を備えたことを特徴と
する。
The present invention provides a motion detection device that detects an error in a motion determination result of a target pixel using a motion determination result of a pixel included in a pixel region including the target pixel. For the target pixel, areas of adjacent pixels and peripheral pixels are provided, and when the determination results in the adjacent pixels are not continuously equal or when the determination results of the adjacent pixels and the peripheral pixels are not continuously equal, An error detecting means for making an error in the determination result of the target pixel is provided.

【作用】[Action]

本発明によれば、画素の動き部分と静止部分との境界
部でも誤動作せずに良好に動き判定結果の誤りを検出し
てその修正が行われ、更にフレームプリントに適用すれ
ば、その画質が向上する。
According to the present invention, an error in a motion determination result is detected and corrected satisfactorily without malfunction even at a boundary portion between a moving portion and a still portion of a pixel. improves.

【実施例】【Example】

以下、本発明による動き検出装置の一実施例につい
て、添付図面を参照しながら説明する。なお、上述した
従来例と同様または相当する部分については、同一の符
号を用いる。図中、「○」印は、その画素の動き判定結
果が「静止」であることを示し、「×」印は、その画素
の動き判定結果が「動き」であることを示す。 最初に、図2を参照しながら、本実施例の基本的な誤
り検出手法について説明する。その一つは、単発的な
「動き」または「静止」の判定は明らかに誤りであると
するものである。具体的には、注目画素10の判定結果が
「動き」で周辺の画素の判定結果が「静止」の場合、及
び注目画素10の判定結果が「静止」で周辺の画素の判定
結果が「動き」の場合には、注目画素10の判定結果は誤
りとされる。同図(A)の例では、中央の注目画素の判
定結果が「静止」であるのに対し、その周辺の画素の判
定結果は「動き」となっている。 二つ目は、注目画素10の上下左右あるいは斜めのいず
れかに同一の判定結果の画素が続いているときの注目画
素の判定結果は正しいとするものである。テレビジョン
画面でテロップが流れるような場合には、たとえば同図
(B)に示すように着目画素10と同一の「動き」の判定
結果の画素が連続するようになる。 本実施例では、このような手法で誤り検出が行われ、
また、注目画素10の判定結果が修正される。 次に、図1を参照しながら、本実施例の主要部の構成
について説明する。同図において、注目画素10の動き判
定結果は、端子12に外部より供給されるようになってい
る。また、注目画素10に隣接する8個の画素(「隣接画
素」という)の判定結果は、端子14A〜14Hに各々供給さ
れるようになっている。端子14A〜14Hは、2入力のEXNO
Rゲート16A〜16Hの一方の入力側に各々接続されてい
る。EXNORゲート16A〜16Hの他方の入力側には、端子12
が各々接続されている。これらEXNORゲート16A〜16Hの
出力側は、8入力のORゲート18,8入力のエンコーダ20,8
入力のゲート22の入力側に各々接続されている。 次に、エンコーダ20の出力側は、データセレクタ部24
の入力側に接続されている。このデータセレクタ部24
は、8入力のデータセレクタ24A,24B,24Cによって構成
されている。これらのデータセレクタ24A〜24Cには、隣
接画素の更に外側に隣接する16個の画素(「周辺画素」
という)の動き判定結果が入力されるようになってい
る。すなわち、注目画素10を中心とする5画素×5ライ
ンの領域の周辺の16画素の動き判定結果が、データセレ
クタ24A〜24Cに適宜振り分けられて入力されるようにな
っている。また、各データセレクタ24A〜24Cのセレクト
信号入力側には、エンコーダ20の出力側3ビットが各々
接続されている。 データセレクタ24A〜24Cの出力側は、2入力のEXNOR
ゲート26A〜26Cの入力側に各々接続されている。これら
のEXNORゲート26A〜26Cの他の入力側には、端子12が各
々接続されている。EXNORゲート26A〜26Cの出力側は、
3入力のORゲート28の入力側に各々接続されている。そ
して、このORゲート28の出力側は、上述したORゲート18
の出力側とともに、2入力のANDゲート30の入力側に各
々接続されている。 次に、ANDゲート30の出力側は、上述したゲート22の
出力側とともに、2入力のNORゲート32の出力側に接続
されている。このNORゲート32の出力側は、端子12とと
もに、2入力のEXORゲート34の入力側に接続されてい
る。そして、このEXORゲート34の出力側が出力端子36に
接続されている。 以上の各部のうち、EXNORゲート16A〜16H,26A〜26Cで
は、排他的論理和の否定の演算が行われ、入力の論理値
が一致したときに論理値の「H」が出力されるようにな
っている。エンコーダ20では、EXNORゲート16A〜16Hの
入力に基づいて、論理値が「H」である画素の位置が3
ビットで出力されるようになっている。すなわち、注目
画素10に隣接する8画素のうちの注目画素と同一の動き
判定結果の画素が、注目画素10に対しどの位置にあるか
がデータセレクタ部24に対して出力されるようになって
いる。 ゲート22は、入力に二つ以上の論理値の「H」があっ
たときに「H」を出力するものである。データセレクタ
部24は、エンコーダ20から指示された論理値「H」の画
素に隣接する3個の周辺画素の動き判定結果をデータセ
レクタ24A〜24Cから各々出力するものである。 次に、以上のように構成された実施例の動作につい
て、図3及び図4を参照しながら説明する。なお、図3
には判定結果の具体例が示されており、図4には主要動
作のフローチャートが示されている。 図示しない手段によって、注目画素10を中心とする5
画素×5ラインの領域に含まれる画素の動き判定が行わ
れる(図4ステップS10)。これらのうち、中心画素10
の判定結果は、端子12に供給される。また、中心画素10
の隣接画素,すなわち図3に太線40で示す枠内にある画
素(中心画素10を除く)の判定結果は、端子14A〜14Hに
各々供給される。更に、太線40で示す枠外の周辺画素の
判定結果は、データセレクタ部24に供給される。 a,隣接画素中に同一の判定結果のものがない場合(ステ
ップS12,S18) 最初に、注目画素10の判定結果と同一のものが隣接画
素中に存在しない場合、すなわち図2(A)に示すよう
な場合について説明する。このときは、端子12の論理値
と端子14A〜14Hの論理値とは一致しないので、EXNORゲ
ート16A〜16Hの出力は論理値の「L」となる。よって、
ORゲート18,ゲート22の出力も「L」となる。 このため、ANDゲート30の出力は「L」となり、NORゲ
ート32の入力はいずれも「L」となってその出力は論理
値の「H」となる。従って、EXORゲート34では、端子12
からの入力が反転して出力されるようになる。たとえ
ば、図2に示すように、注目画素10の判定結果が「静
止」の場合には、それがEXORゲート34で反転されて「動
き」が端子36から出力される。すなわち、注目画素10の
判定結果が誤りと判断され、修正されて出力されること
となる。 b,隣接画素中に同一の判定結果のものが二つ以上ある場
合(ステップS14,S20) 次に、注目画素10の隣接画素中に、注目画素10と同一
の判定結果のものが二つ以上ある場合について説明す
る。たとえば、図3(A)に示すような場合が該当す
る。同図のように、注目画素10と同一の判定結果の隣接
画素42,44が存在する。このときは、EXNORゲート16A〜1
6Hの出力の二つ以上が論理値の「H」となる。よって、
ORゲート18,ゲート22の出力も「H」となる。 このため、NORゲート32の出力は、ANDゲート30の出力
の論理値にかかわらず論理値の「L」となる。従って、
EXORゲート34では、端子12からの入力がそのまま出力さ
れるようになる。すなわち、注目画素10の判定結果が正
しいと判断され、そのまま出力されることとなる。 c,隣接画素中に同一の判定結果のものが一つで、周辺に
はない場合(ステップS16,S18) 次に、注目画素10の隣接画素中に、注目画素10と同一
の判定結果のものが一つしかなく、その画素の周辺には
同一の判定結果のものがない場合について説明する。た
とえば、図3(B)に示すような場合が該当する。同図
のように、注目画素10と同一の判定結果のものは、隣接
画素46しかない。この隣接画素46に隣接する周辺画素4
8,50,52は、いずれも異なる判定結果となっている。 このときは、ORゲート18の出力は論理値の「H」,ゲ
ート22の出力は論理値の「L」となる。また、エンコー
ダ20からは、隣接画素46の位置を示すアドレス情報がデ
ータセレクタ部24に出力される。データセレクタ部24で
は、入力されたアドレス情報に基づいて、隣接する周辺
画素48,50,52の判定結果が各々EXORゲート26A,26B,26C
に出力される。EXNORゲート26A,26B,26Cでは、これらの
判定結果と端子12から供給されている中心画素10の判定
結果とが比較される。この場合には、いずれも判定結果
は一致しないので、それらの出力は論理値の「L」とな
る。 このため、ORゲート28の出力は論理値の「L」,ANDゲ
ート30の出力も「L」となる。従って、NORゲート32の
入力はいずれも論理値の「L」となり、その出力は論理
値の「H」となる。よって、EXORゲート34では、端子12
からの入力が反転して出力されるようになる。たとえ
ば、図3(B)に示すような注目画素10の判定結果が
「動き」の場合には、それがEXORゲート34で反転されて
「静止」が端子36から出力される。すなわち、注目画素
10の判定結果が誤りと判断され、修正されて出力される
こととなる。 d,隣接画素中に同一の判定結果のものが一つで、周辺に
もある場合(ステップS16,S20) 次に、注目画素10の隣接画素中に、注目画素10と同一
の判定結果のものが一つあり、その画素の周辺に同一の
判定結果のものがある場合について説明する。たとえ
ば、図3(C)に示すような場合が該当する。同図のよ
うに、注目画素10と同一の判定結果のものは、隣接画素
45である。この隣接画素54に隣接する周辺画素56,58,60
のうち56は、注目画素10と同一の判定結果となってい
る。 このときは、エンコーダ20から、隣接画素54の位置を
示すアドレス情報がデータセレクタ部24に出力される。
データセレクタ部24では、入力されたアドレス情報に基
づいて、隣接する周辺画素56,58,60の判定結果が各々EX
NORゲート26A,26B,26Cに出力される。この場合には、周
辺画素56の判定結果が注目画素10と一致するので、それ
らの出力の一つが論理値の「H」となる。 このため、ORゲート28の出力は論理値の「H」,ANDゲ
ート30の出力も「H」となる。従って、NORゲート32の
入力は一方が論理値の「H」となり、その出力は論理値
の「L」となる。よって、EXORゲート34では、端子12か
らの入力がそのまま出力されるようになる。すなわち、
注目画素10の判定結果が正しいと判断され、そのまま出
力されることとなる。 このように、本実施例によれば、注目画素に対する単
発的な「動き」または「静止」の判定は誤りであるとし
て修正され、また、注目画素の上下左右あるいは斜めの
いずれかに同一の判定結果の画素が続いているときの注
目画素の判定結果は正しいとされ、その修正は行われな
い。このため、画像の動き部分と静止部分の境界部で
も、良好にフィルタリングが行われて特異点ないしノイ
ズが除去され、境界での画質が向上する。 このような動き検出をビデオプリンタの奇数,偶数フ
ィールドの画像を用いるフレームプリントに応用する
と、良好な動き補正が可能となり、その画質が向上す
る。 なお、本発明は、何ら上記実施例に限定されるもので
はない。たとえば、上記実施例では、注目画素を中心と
する5×5画素の領域を対象としたが、回路素子の増設
によって更にそれ以上の領域の画素を処理対象としても
よい。また、対象領域を、m画素×nライン(m≠n)
としてもよい。 その他、回路構成も同様の作用を奏するようにROMを
使用するなど種々設計変更可能であり、これらのものも
本発明に含まれる。
Hereinafter, an embodiment of a motion detection device according to the present invention will be described with reference to the accompanying drawings. Note that the same reference numerals are used for portions that are the same as or correspond to the above-described conventional example. In the figure, a mark “○” indicates that the motion determination result of the pixel is “still”, and a mark “x” indicates that the motion determination result of the pixel is “movement”. First, a basic error detection method according to the present embodiment will be described with reference to FIG. One is that the determination of sporadic "movement" or "stillness" is clearly incorrect. Specifically, the determination result of the target pixel 10 is “movement” and the determination result of the peripheral pixel is “still”, and the determination result of the target pixel 10 is “still” and the determination result of the peripheral pixel is “movement”. , The determination result of the target pixel 10 is determined to be erroneous. In the example of FIG. 9A, the determination result of the target pixel at the center is “still”, whereas the determination result of the peripheral pixels is “movement”. The second is that the determination result of the target pixel is correct when a pixel having the same determination result continues in any of the upper, lower, left, right, and oblique directions of the target pixel 10. In the case where a telop flows on the television screen, pixels having the same “movement” determination result as the pixel of interest 10 are continuous, for example, as shown in FIG. In this embodiment, error detection is performed by such a method,
Further, the determination result of the target pixel 10 is corrected. Next, a configuration of a main part of the present embodiment will be described with reference to FIG. In the figure, the motion determination result of the target pixel 10 is supplied to the terminal 12 from outside. The determination results of eight pixels adjacent to the target pixel 10 (referred to as “adjacent pixels”) are supplied to terminals 14A to 14H, respectively. Terminals 14A to 14H are two-input EXNO
R gates 16A to 16H are respectively connected to one input side. Terminal 12 is connected to the other input side of EXNOR gates 16A to 16H.
Are connected to each other. The output side of these EXNOR gates 16A to 16H is connected to an 8-input OR gate 18, an 8-input encoder 20, 8
Each is connected to the input side of an input gate 22. Next, the output side of the encoder 20 is connected to the data selector unit 24.
Is connected to the input side. This data selector 24
Is composed of eight input data selectors 24A, 24B, 24C. These data selectors 24A to 24C have 16 pixels ("peripheral pixels") adjacent to the outside of the adjacent pixels.
) Is input. That is, the motion determination results of 16 pixels around the 5 pixel × 5 line area centered on the target pixel 10 are appropriately distributed and input to the data selectors 24A to 24C. In addition, three bits on the output side of the encoder 20 are connected to the select signal input sides of the data selectors 24A to 24C, respectively. The output side of the data selectors 24A to 24C is a 2-input EXNOR
Each of the gates 26A to 26C is connected to an input side. Terminals 12 are connected to the other input sides of these EXNOR gates 26A to 26C, respectively. The output side of EXNOR gates 26A to 26C
It is connected to the input side of a three-input OR gate 28, respectively. The output side of the OR gate 28 is connected to the OR gate 18 described above.
Are connected to the input side of a two-input AND gate 30, respectively. Next, the output side of the AND gate 30 is connected to the output side of the two-input NOR gate 32 together with the output side of the gate 22 described above. The output side of the NOR gate 32 is connected to the input side of the two-input EXOR gate 34 together with the terminal 12. The output side of the EXOR gate 34 is connected to the output terminal 36. In each of the above units, the EXNOR gates 16A to 16H and 26A to 26C perform a NOT operation of the exclusive OR, and output the logical value “H” when the input logical values match. Has become. In the encoder 20, based on the inputs of the EXNOR gates 16A to 16H, the position of the pixel whose logical value is "H" is 3
It is output in bits. That is, the position of the pixel of the same motion determination result as the target pixel among the eight pixels adjacent to the target pixel 10 with respect to the target pixel 10 is output to the data selector unit 24. I have. The gate 22 outputs "H" when the input has two or more logical values "H". The data selector unit 24 outputs, from the data selectors 24A to 24C, the motion determination results of three neighboring pixels adjacent to the pixel having the logical value “H” specified by the encoder 20. Next, the operation of the embodiment configured as described above will be described with reference to FIGS. Note that FIG.
Shows a specific example of the determination result, and FIG. 4 shows a flowchart of the main operation. By means not shown in the figure, 5 with the target pixel 10 at the center
The motion of the pixels included in the pixel × 5 line area is determined (step S10 in FIG. 4). Of these, the central pixel 10
Is supplied to the terminal 12. Also, the central pixel 10
, That is, the pixels (excluding the center pixel 10) within the frame shown by the thick line 40 in FIG. 3 are supplied to the terminals 14A to 14H, respectively. Further, the determination result of the peripheral pixels outside the frame indicated by the thick line 40 is supplied to the data selector 24. a, When there is no identical determination result in the adjacent pixels (Steps S12 and S18) First, when there is no identical result in the adjacent pixels with the determination result of the target pixel 10, ie, in FIG. A case as shown will be described. At this time, since the logical value of the terminal 12 does not match the logical value of the terminals 14A to 14H, the outputs of the EXNOR gates 16A to 16H have the logical value “L”. Therefore,
The outputs of the OR gate 18 and the gate 22 also become "L". For this reason, the output of the AND gate 30 becomes "L", the input of the NOR gate 32 becomes "L", and the output thereof becomes the logical value "H". Therefore, in the EXOR gate 34, the terminal 12
Is inverted and output. For example, as shown in FIG. 2, when the determination result of the target pixel 10 is “still”, it is inverted by the EXOR gate 34 and “movement” is output from the terminal 36. That is, the determination result of the target pixel 10 is determined to be erroneous, and is corrected and output. b, When there are two or more pixels having the same determination result in the adjacent pixels (steps S14 and S20) Next, in the pixels adjacent to the pixel of interest 10, there are two or more pixels having the same determination result as the pixel of interest 10 A case will be described. For example, the case shown in FIG. As shown in the drawing, adjacent pixels 42 and 44 having the same determination result as the target pixel 10 exist. At this time, EXNOR gates 16A-1
Two or more of the outputs of 6H have the logical value “H”. Therefore,
The outputs of the OR gate 18 and the gate 22 also become "H". Therefore, the output of the NOR gate 32 has the logical value “L” regardless of the logical value of the output of the AND gate 30. Therefore,
In the EXOR gate 34, the input from the terminal 12 is output as it is. That is, the determination result of the target pixel 10 is determined to be correct, and is output as it is. c, When one of the adjacent pixels has the same determination result and is not in the vicinity (steps S16 and S18). Next, among the pixels adjacent to the target pixel 10, those having the same determination result as the target pixel 10 There will be described a case where there is only one and there is no result of the same determination around the pixel. For example, the case shown in FIG. As shown in the figure, the pixel having the same determination result as the target pixel 10 has only the adjacent pixel 46. Peripheral pixel 4 adjacent to this adjacent pixel 46
8, 50 and 52 all have different judgment results. At this time, the output of the OR gate 18 becomes a logical "H" and the output of the gate 22 becomes a logical "L". Further, the encoder 20 outputs address information indicating the position of the adjacent pixel 46 to the data selector 24. In the data selector unit 24, based on the input address information, the determination results of the adjacent peripheral pixels 48, 50, and 52 are respectively determined by EXOR gates 26A, 26B, and 26C.
Is output to The EXNOR gates 26A, 26B, and 26C compare these determination results with the determination result of the central pixel 10 supplied from the terminal 12. In this case, since none of the determination results match, the outputs of these become the logical value “L”. Therefore, the output of the OR gate 28 becomes "L" of a logical value, and the output of the AND gate 30 also becomes "L". Therefore, the input of each of the NOR gates 32 becomes a logical "L", and the output thereof becomes a logical "H". Therefore, in EXOR gate 34, terminal 12
Is inverted and output. For example, when the determination result of the target pixel 10 is “movement” as shown in FIG. 3B, it is inverted by the EXOR gate 34 and “still” is output from the terminal 36. That is, the pixel of interest
The judgment result of 10 is judged to be incorrect, and is corrected and output. d, In the case where there is one identical determination result in the adjacent pixels and there are also neighboring pixels (steps S16 and S20). Next, among the adjacent pixels of the attention pixel 10, those having the same determination result as the attention pixel 10 Is described, and there is a case where the same determination result exists around the pixel. For example, the case shown in FIG. As shown in the figure, a pixel having the same determination result as the target pixel 10
45. Peripheral pixels 56, 58, 60 adjacent to this adjacent pixel 54
56 have the same determination result as that of the target pixel 10. At this time, address information indicating the position of the adjacent pixel 54 is output from the encoder 20 to the data selector 24.
In the data selector unit 24, based on the input address information, the determination results of the adjacent peripheral pixels 56, 58, and 60 are each EX.
Output to NOR gates 26A, 26B, 26C. In this case, since the determination result of the peripheral pixel 56 matches the target pixel 10, one of those outputs becomes the logical value “H”. Therefore, the output of the OR gate 28 becomes "H" of a logical value, and the output of the AND gate 30 also becomes "H". Therefore, one of the inputs of the NOR gate 32 becomes a logical "H", and the output thereof becomes a logical "L". Therefore, in the EXOR gate 34, the input from the terminal 12 is output as it is. That is,
The determination result of the target pixel 10 is determined to be correct, and is output as it is. As described above, according to the present embodiment, the determination of the sporadic “movement” or “stillness” for the pixel of interest is corrected as an error, and the same determination is made for either the top, bottom, left, right, or diagonal of the pixel of interest. The determination result of the target pixel when the result pixel continues is determined to be correct, and the correction is not performed. For this reason, even at the boundary between the moving part and the stationary part of the image, the filtering is performed satisfactorily, the singular point or noise is removed, and the image quality at the boundary is improved. If such motion detection is applied to frame printing using images of odd and even fields of a video printer, good motion correction is possible, and the image quality is improved. The present invention is not limited to the above embodiment. For example, in the above embodiment, a region of 5 × 5 pixels centering on the pixel of interest is targeted, but pixels of a further region may be processed by adding circuit elements. The target area is defined as m pixels × n lines (m ≠ n).
It may be. In addition, the circuit configuration can be variously changed in design such as using a ROM so as to achieve the same operation, and these are also included in the present invention.

【発明の効果】【The invention's effect】

以上説明したように、本発明によれば、画素の動き部
分と静止部分との境界部の注目画素に対して、隣接画素
と周辺画素の領域を各々設け、隣接画素内の判定結果が
連続して等しくないとき、あるいは隣接画素及び周辺画
素の判定結果が連続して等しくないときは、その注目画
素の判定結果を誤りとすることとしたので、画素の動き
部分と静止部分との境界部でも誤動作せずに良好に動き
判定結果の誤りを検出してその修正が行われ、フレーム
プリントの画質の向上を図ることができるという効果が
ある。
As described above, according to the present invention, adjacent pixel and peripheral pixel areas are provided for the target pixel at the boundary between the moving part and the stationary part of the pixel, and the determination result in the adjacent pixel is continuous. When they are not equal to each other, or when the determination results of the adjacent pixel and the peripheral pixel are not continuously equal, the determination result of the target pixel is determined to be an error. There is an effect that the error of the motion determination result is detected and corrected satisfactorily without malfunction, and the image quality of the frame print can be improved.

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

図1は本発明による動き検出装置の一実施例を示す構成
図、図2は本実施例の基本的な誤り検出手法を示す説明
図、図3は本実施例における対象画素領域とその動き判
定結果の例を示す説明図、図4は本実施例の動作を示す
フローチャート、図5はエリアフィルタを示す説明図、
図6はエリアフィルタの作用を示す説明図である。 10……注目画素、12,14,36……端子、16A〜16H,26A〜26
C……EXNORゲート、18,28……ORゲート、20……エンコ
ーダ、22……ゲート、24……データセレクタ部、30……
ANDゲート、32……NORゲート、34……EXORゲート、42,4
4,46,54……隣接画素、48,50,52,56,58,60……周辺画
素。
FIG. 1 is a block diagram showing an embodiment of a motion detection apparatus according to the present invention, FIG. 2 is an explanatory diagram showing a basic error detection method of the present embodiment, and FIG. 3 is a target pixel region and motion determination in the present embodiment. FIG. 4 is an explanatory diagram showing an example of the result, FIG. 4 is a flowchart showing the operation of this embodiment, FIG. 5 is an explanatory diagram showing an area filter,
FIG. 6 is an explanatory diagram showing the operation of the area filter. 10: Pixel of interest, 12, 14, 36 ... Terminal, 16A-16H, 26A-26
C: EXNOR gate, 18, 28: OR gate, 20: Encoder, 22: Gate, 24: Data selector section, 30:
AND gate, 32 …… NOR gate, 34 …… EXOR gate, 42,4
4, 46, 54 ... adjacent pixels, 48, 50, 52, 56, 58, 60 ... peripheral pixels.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】注目画素を含む画素領域に含まれる画素の
動き判定結果を利用して注目画素の動き判定結果の誤り
を検出する動き検出装置において、 画素の動き部分と静止部分との境界部の注目画素に対し
て、隣接画素と周辺画素の領域を各々設け、隣接画素内
の判定結果が連続して等しくないとき、あるいは隣接画
素及び周辺画素の判定結果が連続して等しくないとき
は、その注目画素の判定結果を誤りとする誤り検出手段
を備えたことを特徴とする動き検出装置。
1. A motion detecting apparatus for detecting an error in a motion determination result of a pixel of interest using a motion determination result of a pixel included in a pixel area including the pixel of interest. For the pixel of interest, the area of the adjacent pixel and the peripheral pixel are respectively provided, and when the determination results in the adjacent pixels are not continuously equal, or when the determination results of the adjacent pixel and the peripheral pixel are not continuously equal, A motion detection device comprising: an error detection unit that makes an error in the determination result of the target pixel.
JP2319404A 1990-11-24 1990-11-24 Motion detection device Expired - Lifetime JP2712826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2319404A JP2712826B2 (en) 1990-11-24 1990-11-24 Motion detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2319404A JP2712826B2 (en) 1990-11-24 1990-11-24 Motion detection device

Publications (2)

Publication Number Publication Date
JPH04192693A JPH04192693A (en) 1992-07-10
JP2712826B2 true JP2712826B2 (en) 1998-02-16

Family

ID=18109810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2319404A Expired - Lifetime JP2712826B2 (en) 1990-11-24 1990-11-24 Motion detection device

Country Status (1)

Country Link
JP (1) JP2712826B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008526133A (en) * 2004-12-27 2008-07-17 インテル・コーポレーション Spatio-temporal adaptive video deinterlacing

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3444160B2 (en) * 1997-10-09 2003-09-08 松下電器産業株式会社 Moving object detection method
JP2000175081A (en) * 1998-12-01 2000-06-23 Fujitsu General Ltd Noise reduction circuit
JPWO2003088648A1 (en) * 2002-04-17 2005-08-25 松下電器産業株式会社 Motion detection device, image processing system, motion detection method, program, and recording medium
JP4677621B2 (en) * 2007-03-15 2011-04-27 公益財団法人ひろしま産業振興機構 Anomaly detection system and anomaly detection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62224871A (en) * 1986-03-26 1987-10-02 Hitachi Ltd Document picture processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008526133A (en) * 2004-12-27 2008-07-17 インテル・コーポレーション Spatio-temporal adaptive video deinterlacing

Also Published As

Publication number Publication date
JPH04192693A (en) 1992-07-10

Similar Documents

Publication Publication Date Title
US8509481B2 (en) Image processing apparatus, image processing method, imaging apparatus
US6377711B1 (en) Methods and systems for detecting the edges of objects in raster images using diagonal edge detection
KR100219999B1 (en) An image sensing apparatus having camera-shake detection function
US20070263905A1 (en) Motion detection method and apparatus
WO2013022113A1 (en) Image processing apparatus and control method therefor
SE469411B (en) SETTING TO DETECT AND REMOVE ERRORS EXCEEDING A SPECIFIC CONTRAST IN DIGITAL VIDEO SIGNALS
JP2712826B2 (en) Motion detection device
JPH08251474A (en) Motion vector detector, motion vector detection method, image shake correction device, image tracking device and image pickup device
JPH0422280A (en) Movement detector for picture
JPH04309078A (en) Jiggling detector for video data
JP4571605B2 (en) Noise reduction apparatus and method
JP2001119575A (en) Image processing unit
JP4087946B2 (en) Image processing device
JPS6225587A (en) Detector circuit for moving vector
US4163251A (en) Apparatus for the amplitude discrimination of a video signal
JP3251119B2 (en) Image processing device
JP2996469B2 (en) Automatic color / monochrome document determination method and apparatus
JP2002027324A (en) Apparatus and method for correcting defective pixel
JP2925890B2 (en) Video camera with image stabilization device
JP3223376B2 (en) Image region identification apparatus and method
JPH01318383A (en) Motion detecting circuit
JP2002027325A (en) Apparatus and method for correcting defective pixel
JP3442041B2 (en) Image processing apparatus and image processing method
KR100213027B1 (en) Noise eliminator of image signals
JPH06348848A (en) Detector for movement of picture signal