Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2572067B2 - Defocus device - Google Patents
[go: Go Back, main page]

JP2572067B2 - Defocus device - Google Patents

Defocus device

Info

Publication number
JP2572067B2
JP2572067B2 JP62161268A JP16126887A JP2572067B2 JP 2572067 B2 JP2572067 B2 JP 2572067B2 JP 62161268 A JP62161268 A JP 62161268A JP 16126887 A JP16126887 A JP 16126887A JP 2572067 B2 JP2572067 B2 JP 2572067B2
Authority
JP
Japan
Prior art keywords
defocus
filter
recursive
delay
horizontal
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
JP62161268A
Other languages
Japanese (ja)
Other versions
JPS647775A (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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting 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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP62161268A priority Critical patent/JP2572067B2/en
Publication of JPS647775A publication Critical patent/JPS647775A/en
Application granted granted Critical
Publication of JP2572067B2 publication Critical patent/JP2572067B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)
  • Studio Circuits (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、画像処理用2次元ディジタルフィルタ、特
に直線位相特性を有する2次元リカーシブディジタルフ
ィルタを用いたデフォーカス装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a two-dimensional digital filter for image processing, and more particularly to a defocus device using a two-dimensional recursive digital filter having a linear phase characteristic.

[従来の技術] 従来、ディジタルフィルタによりデフォーカス効果を
得る技術としては、近傍画素の移動平均演算を行う2次
元トランスバーサルフィルタを用いる方式が知られてい
る。この2次元トランスバーサルフィルタには、複数個
のタップを有する遅延線群が水平・垂直に2次元的に配
置されており、これらのタップ出力に任意の重み係数を
かけ、それらを加えることにより、所望のインパルス応
答を得ようとするものである。すなわち、タップの配置
および重み係数を適当に選ぶことにより、光学的デフォ
ーカスの特性に近いものが得られる。
[Prior Art] Conventionally, as a technique for obtaining a defocus effect by a digital filter, a method using a two-dimensional transversal filter for performing a moving average calculation of neighboring pixels is known. In this two-dimensional transversal filter, a delay line group having a plurality of taps is arranged two-dimensionally in a horizontal and vertical manner. These tap outputs are multiplied by an arbitrary weighting factor, and by adding them, It is intended to obtain a desired impulse response. That is, by appropriately selecting the arrangement of the taps and the weighting coefficient, a characteristic close to the optical defocus characteristic can be obtained.

また、より簡易な装置で実現するものとして、リカー
シブディジタルフィルタにより2次元ローパスフィルタ
を構成し、これを用いる方式が知られている。これは、
1つの遅延線により遅延した値に適当な係数をかけて入
力に帰還することにより1次のローパスフィルタ特性を
持たせ、これを水平方向・垂直方向に作用させることに
よって、空間高調波成分を除去する2次元ディジタルフ
ィルタを構成するものである。
Further, as a method realized by a simpler device, there is known a method in which a two-dimensional low-pass filter is configured by a recursive digital filter and is used. this is,
The value delayed by one delay line is multiplied by an appropriate coefficient and fed back to the input to provide a first-order low-pass filter characteristic, which is applied in the horizontal and vertical directions to remove spatial harmonic components. To form a two-dimensional digital filter.

[発明が解決しようとする問題点] ところが、上述した2次元トランスバーサルフィルタ
は、光学的デフォーカスの特性に近いものが得られる反
面、デフォーカス量を大きくするには膨大な回路量を必
要とする欠点がある。
[Problems to be Solved by the Invention] However, the above-described two-dimensional transversal filter can provide a filter close to the optical defocus characteristic, but requires a huge amount of circuitry to increase the defocus amount. There are drawbacks.

また、上述した2次元リカーシブフィルタは、少ない
回路量で、大きなデフォーカス効果を得ることができる
が、位相特性が直線にならないため、画像に対して処理
を行うと、処理結果が左右・上下で非対称になる欠点が
ある。更に、1次のローパスフィルタのインパルス応答
が、光学的デフォーカスのインパルス応答と大きく異な
るため、デフォーカス画像が不自然になる欠点がある。
Further, the two-dimensional recursive filter described above can obtain a large defocus effect with a small amount of circuit, but since the phase characteristic does not become linear, when processing is performed on an image, the processing result becomes horizontal and vertical. There is a disadvantage of becoming asymmetric. Furthermore, since the impulse response of the first-order low-pass filter is significantly different from the impulse response of optical defocus, there is a disadvantage that the defocused image becomes unnatural.

よって本発明の目的は、リカーシブフィルタを使っ
て、上記2次元トランスバーサルフィルタと同様に光学
的デフォーカスに近い特性を持ち、直線位相特性を有す
る2次元ディジタルフィルタを構成することによって、
少ない回路数で、従来方式の欠点である、画像処理にお
ける非対称性、デフォーカス効果の不自然さを解消しよ
うとするものである。
Therefore, an object of the present invention is to construct a two-dimensional digital filter having a characteristic close to optical defocus and having a linear phase characteristic, similarly to the two-dimensional transversal filter, using a recursive filter.
An object of the present invention is to solve the disadvantages of the conventional method, that is, the asymmetry in image processing and the unnaturalness of the defocus effect, with a small number of circuits.

[問題点を解決するための手段] 上記の目的を達成するために、本発明は、ディジタル
画像信号に対して実時間デフォーカス処理を施すにあた
り、直線位相特性を有するリカーシブディジタルフィル
タを、前記ディジタル画像信号の垂直方向成分,水平方
向成分,斜め方向成分のうちの少なくとも一方向の成分
に作用させるデフォーカス装置であって、該リカーシブ
ディジタルフィルタは、1クロック期間および/または
1水平走査期間だけ遅延を与える帰還遅延手段を含み、
係数1の無限ループを与えるリカーシブ部分と、所定の
デフォーカス量に応じたクロック期間および/または水
平走査期間だけ時間が経過した後に、前記無限ループに
よる応答をゼロにキャンセルするトランスバーサル部分
とをトランスバーサル部分の後段にリカーシブ部分が接
続されるように縦続接続したものである。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a recursive digital filter having a linear phase characteristic when performing real-time defocus processing on a digital image signal. What is claimed is: 1. A defocusing device for operating at least one of a vertical component, a horizontal component, and an oblique component of an image signal, wherein said recursive digital filter is delayed by one clock period and / or one horizontal scanning period. And feedback delay means for providing
A recursive portion that provides an infinite loop with a coefficient of 1 and a transversal portion that cancels the response of the infinite loop to zero after a lapse of a clock period and / or a horizontal scanning period according to a predetermined defocus amount. This is a cascade connection in which a recursive part is connected to a stage subsequent to the versal part.

[作用] 本発明は、ディジタル画像信号に対し、光学的デフォ
ーカスと同様の効果を得るために用いる実時間デフォー
カス処理装置において、周辺画素の平均演算を行う、直
線位相特性を有するリカーシブディジタルフィルタを構
成し、これをディジタル画像信号に対して、水平,垂
直,斜め方向に作用させることによって、光学的デフォ
ーカスとほぼ同等の効果が得られるデフォーカス処理装
置を、少ない素子数で実現したものである。
[Function] The present invention relates to a recursive digital filter having a linear phase characteristic for performing an average calculation of peripheral pixels in a real-time defocus processing apparatus used to obtain the same effect as optical defocus on a digital image signal. A defocus processing device that achieves almost the same effect as optical defocus by applying digital, horizontal, vertical and oblique directions to digital image signals is realized with a small number of elements. It is.

すなわち、水平方向のリカーシブディジタルフィルタ
は、係数1の無限ループを持つリカーシブ部分(第1図
における7と8により構成される部分)と、デフォーカ
ス量に応じたクロック数だけ時間が経過したのち上記無
限ループによる応答をゼロにキャンセルするトランスバ
ーサル部分(第1図における5と6により構成される部
分)を、トランスバーサル部分の後段にリカーシブ部分
が接続されるように縦続に接続することによって、「直
線位相特性」を帯有させている。
That is, the recursive digital filter in the horizontal direction has a recursive portion having an infinite loop with a coefficient of 1 (a portion formed by 7 and 8 in FIG. 1) and the above-mentioned after a lapse of the number of clocks corresponding to the defocus amount. By connecting the transversal part (the part constituted by 5 and 6 in FIG. 1) for canceling the response due to the infinite loop to zero in cascade such that the recursive part is connected after the transversal part, Linear phase characteristic ".

ここで「直線位相特性」とは入力される信号に含まれ
るすべての周波数信号成分について遅延量がすべて同一
であることを言う。従って、直線位相特性を持つフィル
タで映像を処理すると像の歪みが起こらない。また、
「直線位相特性」とはインパルス応答が左右対称である
ことと等価である。より具体的に述べると、第3図の中
段に示した「本発明」のインパルス応答を見るとわかる
ように、応答が左右対称であり、かかる特性を有するフ
ィルタについて「直線位相特性」を有するリカーシブフ
ィルタと称している。
Here, the “linear phase characteristic” means that the delay amount is the same for all frequency signal components included in the input signal. Therefore, when an image is processed by a filter having a linear phase characteristic, image distortion does not occur. Also,
The “linear phase characteristic” is equivalent to the impulse response being symmetrical. More specifically, as can be seen from the impulse response of the “present invention” shown in the middle part of FIG. 3, the response is bilaterally symmetric, and a recursive filter having a “linear phase characteristic” It is called a filter.

同様に、垂直方向および斜め方向の各リカーシブディ
ジタルフィルタには、それぞれのリカーシブ部およびト
ランスバーサル部が含まれている。
Similarly, each of the recursive digital filters in the vertical direction and the oblique direction includes a respective recursive part and transversal part.

次に、上記の「デフォーカス量に応じたクロック数だ
け時間が経過したのち無限ループによる応答をゼロにキ
ャンセルする」ことについて、第2図を参照しながら、
以下に詳述する。
Next, regarding the above-mentioned "cancellation of the response by the infinite loop to zero after the elapse of the number of clocks corresponding to the defocus amount" with reference to FIG.
Details will be described below.

フィルタ出力に第2図(c)にあるような遅延された
マイナス成分がある限りインパルス応答は対称とならな
いが、第1図の7〜8で構成される無限ループにより、
遅延されたマイナス成分は出力されないこととなるた
め、結果的に対称なインパルス応答を得ることができ
る。
As long as the filter output has a delayed negative component as shown in FIG. 2C, the impulse response is not symmetrical.
Since the delayed negative component is not output, a symmetrical impulse response can be obtained as a result.

すなわち、第2図の時刻τから4τまでは無限ループ
の入力信号C(第1図参照)の信号成分がゼロであるた
め、無限ループの出力信号は時刻0の入力信号(プラス
成分)がループ内で遅延されて第2図(e)のように時
刻0の入力信号が反復して出力される。時刻5τでは、
無限ループの入力信号C(第1図参照)は時刻0の入力
信号が反転遅延されたマイナス信号となるため、無限ル
ープ内で遅延されたプラス信号とキャンセルされ、無限
ループの出力信号としてはゼロが出力される。さらに時
刻6τ以後は、遅延されたゼロ出力信号と無限ループの
ゼロ入力信号(C信号)との加算となるため、遅延され
たマイナス成分は出力されないことになる。
That is, since the signal component of the input signal C of the infinite loop (see FIG. 1) is zero from time τ to 4τ in FIG. 2, the output signal of the infinite loop is the input signal (plus component) at time 0 which is a loop. The input signal at time 0 is repeatedly output as shown in FIG. 2 (e). At time 5τ,
Since the input signal C (see FIG. 1) of the infinite loop is a minus signal obtained by inverting and delaying the input signal at time 0, the plus signal delayed in the infinite loop is canceled and the output signal of the infinite loop is zero. Is output. Further, after time 6τ, the delayed zero output signal and the zero input signal (C signal) of the infinite loop are added, so that the delayed negative component is not output.

かくして、デフォーカス量に応じたクロック数だけ時
間が経過したのち、無限ループによる応答をゼロにキャ
ンセルすることが可能となる。
Thus, after the time has elapsed by the number of clocks corresponding to the defocus amount, the response by the infinite loop can be canceled to zero.

[実施例] 次に、本発明を適用したデフォーカス装置の一実施例
について、図面を参照して説明する。
[Embodiment] Next, an embodiment of a defocus device to which the present invention is applied will be described with reference to the drawings.

第1図に示されるように、本デフォーカス装置は水平
方向フィルタ部1と、垂直方向フィルタ部2と、斜め方
向フィルタ部3の縦続接続によって構成されている。こ
こで、斜め方向フィルタ部3については、スイッチ4Aお
よび4Bによって入切が切換えられるようになっている。
As shown in FIG. 1, the present defocus device is configured by cascade connection of a horizontal direction filter unit 1, a vertical direction filter unit 2, and an oblique direction filter unit 3. Here, the diagonal direction filter unit 3 is switched on / off by switches 4A and 4B.

水平方向フィルタ部1は、3つの遅延素子5と8と1
0,減算器6,加算器7,乗算器9により構成されている。こ
こで、各遅延素子の遅延量は、次のとおりである。
The horizontal filter unit 1 has three delay elements 5, 8 and 1
0, a subtractor 6, an adder 7, and a multiplier 9. Here, the delay amount of each delay element is as follows.

いま、入力ディジタル画像信号のサンプリング間隔τ
を基本とし、デフォーカスの度合を決定する正の奇数を
m、あらかじめ定められた(m−1)/2の上限値をMと
すると、遅延素子5はm・τ、遅延素子8はτ、遅延素
子10は{M−(m−1)/2}・τの遅延量を有する。
Now, the sampling interval τ of the input digital image signal
If m is a positive odd number that determines the degree of defocus and M is a predetermined upper limit of (m−1) / 2, the delay element 5 is m · τ, the delay element 8 is τ, The delay element 10 has a delay amount of {M− (m−1) / 2} · τ.

垂直方向フィルタ部2は、3つの遅延素子11と14と1
6,減算器12,加算器13,乗算器15により構成されている。
ここで、各遅延素子の遅延量は、次のとおりである。
The vertical filter unit 2 includes three delay elements 11, 14 and 1
6, a subtractor 12, an adder 13, and a multiplier 15.
Here, the delay amount of each delay element is as follows.

いま、入力画像の走査線1本分の時間Τを基本とし、
デフォーカスの度合を決定する正の奇数をn、あらかじ
め定められた(n−1)/2の上限値をNとすると、遅延
素子11はn・T、遅延素子14はΤ、遅延素子16は{N−
(n−1)/2}・Τの遅延量を有する。なお、m,nの値
の比は、画素の縦,横の長さの比に定める。
Now, based on the time Τ for one scanning line of the input image,
Assuming that a positive odd number that determines the degree of defocus is n, and a predetermined upper limit of (n−1) / 2 is N, the delay element 11 is n · T, the delay element 14 is Τ, and the delay element 16 is {N-
(N-1) / 2} · Τ. Note that the ratio between the values of m and n is determined by the ratio between the vertical and horizontal lengths of the pixel.

斜め方向フィルタ部3は、4つの遅延素子17と20と21
と24,減算器18と22,加算器19と23,乗算器25により構成
されている。ここで、遅延素子17は5(Τ+τ)、遅延
素子20はΤ+τ、遅延素子21は5(Τ−τ)、遅延素子
24はΤ−τの遅延量を有する。
The oblique direction filter unit 3 includes four delay elements 17, 20 and 21.
, 24, subtractors 18 and 22, adders 19 and 23, and multiplier 25. Here, the delay element 17 is 5 (Τ + τ), the delay element 20 is Τ + τ, the delay element 21 is 5 (Τ−τ), the delay element
24 has a delay amount of Τ−τ.

次に、本デフォーカス装置の動作の詳細を順を追って
説明する。参考として、m=5,M=4において、入力信
号としてインパルスを与えた時の各部の波形を第2図に
示す。
Next, details of the operation of the present defocus device will be described step by step. For reference, FIG. 2 shows the waveform of each part when an impulse is given as an input signal when m = 5 and M = 4.

入力ラインAに加えられたディジタル画像データ(第
2図−a)は、遅延素子5によりm・τ遅延されライン
Bに現れる(第2図−b)。また、遅延を受けていない
ラインAの信号からラインBの信号が、減算器6によっ
て減算され、ラインCに出力される(第2図−c)。
The digital image data (FIG. 2A) applied to the input line A is delayed by m · τ by the delay element 5 and appears on the line B (FIG. 2B). Further, the signal on line B is subtracted from the signal on line A that has not been delayed by the subtractor 6 and output to line C (FIG. 2C).

次に、加算器7の出力を遅延素子8によりτだけ遅延
したラインD(第2図−d)の信号を帰還して加算器7
によりラインCの信号と加算することによって、ライン
Eの信号を得る(第2図−e)。
Next, the signal of the line D (FIG. 2D) obtained by delaying the output of the adder 7 by .tau.
To obtain the signal of the line E (FIG. 2-e).

ラインEの信号に乗算器9により係数1/mを乗ずるこ
とによって、ラインFの信号を得る(第2図−f)。
The signal of the line E is multiplied by the coefficient 1 / m by the multiplier 9 to obtain the signal of the line F (FIG. 2-f).

このように水平方向に対して画素の移動平均演算が行
われるが、これは水平方向に(m−1)τ/2だけ位相の
遅れた信号となるので、いかなるmの値に対しても同じ
量M・τだけ遅れるように補正するため、遅延素子10に
より{M−(m−1)/2}・τだけ遅延させ、水平方向
フィルタ部1の出力としてラインGの信号を得る(第2
図−g)。
In this way, the moving average calculation of the pixel is performed in the horizontal direction. Since this is a signal whose phase is delayed by (m-1) τ / 2 in the horizontal direction, the same applies to any value of m. In order to compensate for the delay by the amount M · τ, the signal is delayed by {M− (m−1) / 2} · τ by the delay element 10 to obtain the signal of the line G as the output of the horizontal filter unit 1 (second
Figure-g).

次に、水平方向フィルタ部1の出力が垂直方向フィル
タ部2に加えられるが、垂直方向フィルタ部2では、水
平方向フィルタ部1における遅延量τが遅延量Τに置換
されるのみで、ほとんど同様の動作を行うことから、動
作詳細は省略する。
Next, the output of the horizontal filter unit 1 is added to the vertical filter unit 2. In the vertical filter unit 2, the delay amount τ in the horizontal filter unit 1 is replaced by the delay amount Τ, and almost the same. Since the above operation is performed, details of the operation are omitted.

このようにして水平方向と垂直方向にフィルタリング
された信号が出力ラインHに現れる。この信号は、ある
画素を中心とする正方形の中にある画素の平均演算を行
って得られた信号である。
The signals filtered in the horizontal and vertical directions appear on the output line H in this manner. This signal is a signal obtained by performing an averaging operation of pixels in a square centered on a certain pixel.

ここまでの処理によって得られる画像は、光学的デフ
ォーカスに近いものとなっている。ところが、光学的デ
フォーカスの2次元インパルス応答が円形であるのに対
して、ここまでの処理系における2次元インパルス応答
が正方形なので、水平および垂直成分の多い画像に対し
て処理を行うと、一種のモアレが発生し、目障りな画像
になってしまう。そこで、さらに斜め方向のフィルタリ
ングを行う。
The image obtained by the processing up to this point is close to optical defocus. However, while the two-dimensional impulse response of the optical defocus is circular, while the two-dimensional impulse response in the processing system up to this point is square, if processing is performed on an image having many horizontal and vertical components, a kind of Moire occurs, resulting in an unsightly image. Therefore, filtering in the oblique direction is further performed.

垂直方向フィルタ部2の出力ラインHの信号は、スイ
ッチ4をa側に倒したときに斜め方向フィルタ部3に入
り、b側に倒したときには遅延素子26に入る。
The signal on the output line H of the vertical filter unit 2 enters the oblique filter unit 3 when the switch 4 is tilted to the a side, and enters the delay element 26 when the switch 4 is tilted to the b side.

斜め方向フィルタ部3は、遅延素子17と20,減算器18,
加算器19から構成される右斜め方向の処理部と、遅延素
子21と24,減算器22,加算器23から構成される左斜め方向
の処理部と、乗算器25とから成っている。また、デフォ
ーカス量は、デフォーカスの自然さとモアレの度合との
兼合いから適当な値、例えば5に設定されている。
The oblique direction filter unit 3 includes delay elements 17 and 20, a subtractor 18,
The processing unit includes a processing unit in the diagonal right direction including the adder 19, a processing unit in the diagonal left direction including the delay elements 21 and 24, the subtractor 22, and the adder 23, and a multiplier 25. The defocus amount is set to an appropriate value, for example, 5 based on the balance between the naturalness of defocus and the degree of moiré.

更に、遅延素子17および20はそれぞれ5(Τ+τ)お
よびΤ+τの遅延量を持ち、右斜め方向の処理部は、右
斜め下の画素に対して水平方向フィルタ部1の素子5,6,
7,8と同様の動作を行う。
Further, the delay elements 17 and 20 have delay amounts of 5 (Τ + τ) and Τ + τ, respectively, and the processing unit in the diagonally right direction applies the elements 5, 6, and
Performs the same operation as 7,8.

遅延素子21および24はそれぞれ5(Τ−τ)およびΤ
−τの遅延量を持ち、左斜め方向の処理部は、左斜め下
の画素に対して水平方向フィルタ部1の素子5,6,7,8と
同様の動作を行う。
Delay elements 21 and 24 are 5 (Τ−τ) and Τ, respectively.
The processing unit in the diagonally left direction has a delay amount of −τ, and performs the same operation as that of the elements 5, 6, 7, and 8 of the horizontal direction filtering unit 1 on the pixel in the diagonally lower left direction.

最後に、乗算器25により1/25が乗ぜられ、斜め方向フ
ィルタ部3の出力を得る。
Finally, the output of the diagonal direction filter unit 3 is obtained by multiplying by 1/25 by the multiplier 25.

斜め方向フィルタ部3を通すことにより4Τの遅延を
生じるので、スイッチ4をb側に倒し斜め方向フィルタ
3をスルーにしたときには、遅延素子26により同量の遅
延を行い、位相を補正している。
Since passing through the oblique direction filter section 3 causes a delay of 4 °, when the switch 4 is tilted to the b side to make the oblique direction filter 3 through, the same amount of delay is performed by the delay element 26 to correct the phase. .

以上のフィルタに対し、総合的なデフォーカス量を制
御するのがデフォーカス量制御部27である。このデフォ
ーカス量制御部27は、水平方向フィルタ部1および垂直
方向フィルタ部2のデフォーカス量m,nを制御するのと
共に、デフォーカス量が小さい範囲ではスイッチ4A,4B
をb側に倒し、デフォーカス量が大きいときはスイッチ
4A,4Bをa側に倒して斜め方向フィルタ処理を施す制御
を行う。
The defocus amount control unit 27 controls the overall defocus amount for the above filters. The defocus amount control unit 27 controls the defocus amounts m and n of the horizontal direction filter unit 1 and the vertical direction filter unit 2, and switches 4A and 4B in a range where the defocus amount is small.
To the b side, and when the defocus amount is large, switch
4A and 4B are tilted to the a side to perform control for performing oblique filtering.

[発明の効果] 本発明は、リカーシブフィルタを使って、光学的デフ
ォーカスの特性に近い特性を持つ、直線位相特性を有す
る2次元ディジタルフィルタを構成することによって、
従来方式の欠点である、画像処理における非対称性・デ
フォーカス効果の不自然さを解消し、左右・上下に対し
て対称な、光学系の効果に近い自然なデフォーカス処理
を可能とした。
[Effects of the Invention] The present invention provides a two-dimensional digital filter having a characteristic close to the characteristic of optical defocus and having a linear phase characteristic by using a recursive filter.
The disadvantages of the conventional method, that is, the unnaturalness of the asymmetry and defocus effect in image processing, have been eliminated, and natural defocus processing close to the effect of the optical system, symmetrical in the horizontal and vertical directions, has been made possible.

第3図は、光学系・本発明・従来の係数1次のローパ
スフィルタの、1次元におけるインパルス応答を示す。
本図からも、従来技術に比して、本発明が光学系の特性
に非常に近い特性を有することが分かる。
FIG. 3 shows a one-dimensional impulse response of an optical system, the present invention, and a conventional low-pass filter having a first order coefficient.
It can also be seen from the figure that the present invention has characteristics very close to those of the optical system as compared with the conventional technology.

更に、本発明ではリカーシブフィルタを使っているた
め、非常に少ない素子数で装置を構成することができ
る。例えば、水平方向のフィルタにおいて、m=51のも
のをトランスバーサルフィルタで実現しようとすると、
遅延量τの個別の遅延素子が50個、加算器が50個、乗算
器が1個必要である。これに対し、本発明では、遅延量
51τの遅延素子が1個、遅延量τの遅延素子が1個、減
算器が1個、加算器が1個、乗算器が1個で構成するこ
とができ、飛躍的に素子数を減らすことができる。
Further, since a recursive filter is used in the present invention, the device can be configured with a very small number of elements. For example, in a horizontal filter, if a filter with m = 51 is to be realized by a transversal filter,
50 individual delay elements, 50 adders, and one multiplier are required for the delay amount τ. In contrast, in the present invention, the delay amount
One delay element of 51τ, one delay element of delay amount τ, one subtractor, one adder and one multiplier can be composed, and the number of elements can be dramatically reduced. Can be.

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

第1図は本発明によるデフォーカス処理装置の一実施例
を示す構成図、 第2図(a)〜(g)は第1図に示した各部の信号を示
すタイミング図、 第3図は従来のデフォーカス装置と本発明のデフォーカ
ス装置のインパルス応答の比較説明図である。 1……水平方向フィルタ部、2……垂直方向フィルタ
部、3……斜め方向フィルタ部、4A,4B……切換えスイ
ッチ、26……遅延素子、27……デフォーカス量制御部、
m……デフォーカス量(正の奇数)、M……(m−1)
/2の上限値、n……デフォーカス量(正の奇数)、N…
…(n−1)/2の上限値、τ……入力画像データのサン
プリング間隔、Τ……入力画像の走査線1本分の時間。
FIG. 1 is a block diagram showing an embodiment of a defocus processing apparatus according to the present invention, FIGS. 2 (a) to 2 (g) are timing diagrams showing signals of respective parts shown in FIG. 1, and FIG. FIG. 4 is a comparative explanatory diagram of an impulse response of the defocus device of FIG. 1 horizontal filter section, 2 vertical filter section, 3 diagonal filter section, 4A, 4B changeover switch, 26 delay element, 27 defocus amount control section,
m: Defocus amount (positive odd number), M: (m-1)
/ 2 upper limit, n ... defocus amount (positive odd number), N ...
... Upper limit of (n−1) / 2, τ... Sampling interval of input image data, Δ... Time for one scanning line of input image.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ディジタル画像信号に対して実時間デフォ
ーカス処理を施すにあたり、直線位相特性を有するリカ
ーシブディジタルフィルタを、前記ディジタル画像信号
の垂直方向成分,水平方向成分,斜め方向成分のうちの
少なくとも一方向の成分に作用させるデフォーカス装置
であって、 該リカーシブディジタルフィルタは、 1クロック期間および/または1水平走査期間だけ遅延
を与える帰還遅延手段を含み、係数1の無限ループを与
えるリカーシブ部分と、 所定のデフォーカス量に応じたクロック期間および/ま
たは水平走査期間だけ時間が経過した後に、前記無限ル
ープによる応答をゼロにキャンセルするトランスバーサ
ル部分と をトランスバーサル部分の後段にリカーシブ部分が接続
されるように継続接続したことを特徴とするデフォーカ
ス装置。
When performing real-time defocus processing on a digital image signal, a recursive digital filter having a linear phase characteristic is provided with at least one of a vertical component, a horizontal component, and an oblique component of the digital image signal. A defocusing device for acting on a component in one direction, wherein the recursive digital filter includes feedback delay means for delaying by one clock period and / or one horizontal scanning period, and a recursive part for providing an infinite loop of coefficient 1. After a lapse of a clock period and / or a horizontal scanning period according to a predetermined defocus amount, a transversal portion for canceling the response by the infinite loop to zero is connected to a recursive portion at a stage subsequent to the transversal portion. Characterized by continuous connection Defocus device.
JP62161268A 1987-06-30 1987-06-30 Defocus device Expired - Lifetime JP2572067B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62161268A JP2572067B2 (en) 1987-06-30 1987-06-30 Defocus device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62161268A JP2572067B2 (en) 1987-06-30 1987-06-30 Defocus device

Publications (2)

Publication Number Publication Date
JPS647775A JPS647775A (en) 1989-01-11
JP2572067B2 true JP2572067B2 (en) 1997-01-16

Family

ID=15731877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62161268A Expired - Lifetime JP2572067B2 (en) 1987-06-30 1987-06-30 Defocus device

Country Status (1)

Country Link
JP (1) JP2572067B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4951144A (en) * 1989-04-12 1990-08-21 The Grass Valley Group, Inc. Recursive video blur effect

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5885673A (en) * 1981-11-18 1983-05-23 Matsushita Electric Ind Co Ltd Defocusing effect device

Also Published As

Publication number Publication date
JPS647775A (en) 1989-01-11

Similar Documents

Publication Publication Date Title
EP0641508B1 (en) Method and apparatus for enhancing sharpness of a sequence of images subject to continuous zoom
NL8501582A (en) VIDEO SIGNAL PROCESSING CIRCUIT FOR PROCESSING AN INTERLININATED VIDEO SIGNAL.
KR20050041849A (en) Method and apparatus for image interpolation based on adaptive polyphase filters
EP0318016A2 (en) Ghost Canceling filter circuit
JPH02121476A (en) Device and method of conducting nonlinear processing to digital signal
US6437827B1 (en) Filtering video signals containing chrominance information
JPS6322760B2 (en)
JP2572067B2 (en) Defocus device
EP0122096B1 (en) Chrominance inverting all-pass filter
JPH0993486A (en) Digital image processing unit
JP3107010B2 (en) Digital filter
JP2516940B2 (en) Waveform equalization circuit
JP2551113B2 (en) Noise reduction device
JP3417664B2 (en) Contour correction circuit for multi-chip color imaging device
JP2979712B2 (en) Filter device
JPH0137027B2 (en)
JP2574509B2 (en) Video signal processing device
JPH0290871A (en) Digitized ghost removing device
JP2686203B2 (en) Vertical interpolation circuit for video camera
JPH0366267A (en) Contour correction device
JP2538139B2 (en) Non-linear signal processor
JP3352116B2 (en) Image processing device
JPH0590898A (en) Filter circuit
JPH0793725B2 (en) Two-dimensional interpolation digital filter
JP3397377B2 (en) Imaging device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20071024

Year of fee payment: 11