[go: up one dir, main page]

JP2912540B2 - Spatial filter circuit - Google Patents

Spatial filter circuit

Info

Publication number
JP2912540B2
JP2912540B2 JP6010054A JP1005494A JP2912540B2 JP 2912540 B2 JP2912540 B2 JP 2912540B2 JP 6010054 A JP6010054 A JP 6010054A JP 1005494 A JP1005494 A JP 1005494A JP 2912540 B2 JP2912540 B2 JP 2912540B2
Authority
JP
Japan
Prior art keywords
data
image
output
area
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP6010054A
Other languages
Japanese (ja)
Other versions
JPH07220071A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP6010054A priority Critical patent/JP2912540B2/en
Publication of JPH07220071A publication Critical patent/JPH07220071A/en
Application granted granted Critical
Publication of JP2912540B2 publication Critical patent/JP2912540B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば、ディジタル映
像信号を空間フィルタ処理する場合において、有効な画
像データと本来有効な画像データの存在しない画像領域
外のデータを用いて空間フィルタ処理を行う際、画像領
域外の疑似的なデータを作成する空間フィルタ回路に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, performing spatial filtering on a digital video signal by using effective image data and data outside an image area where there is no originally valid image data. when, to a spatial filter circuit to create a pseudo data outside the image area.

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
例えば、次のような文献に記載されるものがあった。 文献;TTC標準第V巻第3分冊 「高位レイヤプロト
コル符号化方式」電信電話技術委員会発行、P.323
−324第1の従来例 図2は、第1の従来例の空間フィルタ処理方法を示す図
であり、前記文献に記載された1枚の画像に対してフィ
ルタ処理をかける場合のフィルタ特性について示したも
のである。このフィルタは1枚の画像を3×3の領域
に分割された空間フィルタであり、基本的に1/4,1
/2,1/4の係数を持つ非再帰型フィルタを水平及び
垂直方向に組み合わせたもので構成される。有効な画面
領域の境界の部分(これを画像エッジと呼ぶ)の処理で
は、フィルタのタップの一方が有効領域画面の外に出て
しまい、有効な画面外の本来データのない部分の値を用
いて演算を行うことになる。従って、図2の画面の四隅
部分A上下端B左右端Cの画像のエッジ部分ではタ
ップの一部で有効なデータが得られないため、0,1,
0の係数を持つフィルタで置き換え、内部領域Dについ
ては1/4,1/2,1/4の係数を持つ非再帰型フィ
ルタで処理を行う。このように、画面の四隅部分A、上
下端B、左右端C、内部領域Dで異なる処理を行い、有
効な画面外の本来データのない部分の値を用いて演算を
行うことがないようにしている。
2. Description of the Related Art Conventionally, techniques in such a field include:
For example, there is one described in the following literature. Literature; TTC Standard Vol. V, 3rd volume, "Higher Layer Protocol Coding Method", published by the Telegraph and Telephone Technical Committee, p. 323
-324 first conventional example Figure 2 shows the spatial filtering method of the first conventional example
This shows filter characteristics in a case where a filter process is performed on one image described in the above document. This filter is a spatial filter which is divided one image area of 3 × 3, basically 1 / 4,1
It is composed of a combination of non-recursive filters having coefficients of / 2 and 1/4 in the horizontal and vertical directions. In the processing of the boundary part of the effective screen area ( this is called an image edge), one of the taps of the filter goes out of the effective area screen, and the value of the part outside the effective screen without the original data is used. Calculation. Therefore, at the four corners A , upper and lower ends B , and left and right ends C of the image shown in FIG.
The filter is replaced by a filter having a coefficient of 0, and the internal region D is processed by a non-recursive filter having coefficients of 1/4, 1/2, and 1/4. In this manner, different processing is performed at the four corners A, the upper and lower ends B, the left and right ends C, and the internal area D of the screen, so that the calculation is not performed using the value of the part outside the effective screen without the original data. ing.

【0003】図3は、図2第1の従来例のフィルタ処
理を実現するための空間フィルタ回路の一例を示す構成
図である。この空間フィルタ回路では、ディジタル画像
データINを入力する入力端子1とデータの有効区間
を示すイネーブル信号ENAを入力する入力端子2を有
している。入力端子1には、1/4,1/2,1/4の
係数を持ち水平方向にフィルタ処理をする3タップ水平
フィルタ3と、その3タップ水平フィルタ3で処理に要
する時間分信号を遅延させる時間合わせ回路4とが接続
されている。3タップ水平フィルタ3及び時間合わせ回
路4の出力側には、フィルタの特性を切り替えるセレク
タ5が接続されている。セレクタ5の出力側には、1/
4,1/2,1/4の係数を持ち垂直方向にフィルタ処
理をする3タップ垂直フィルタ6と の3タップ垂直
フィルタ6で処理に要する時間分信号を遅延させる時間
合わせ回路7とが接続されている。3タップ垂直フィル
タ6と時間合わせ回路7の出力側にはフィルタの特性
切り替えるセレクタ8が接続されている。セレクタ8
には出力端子9が接続されている。イネーブル信号入
力端子2には、画像エッジを検出し、フィルタの特性を
切り替えるための切り替え信号S10aS10bを出
力するエッジ検出回路10接続されている。エッジ検
出回路10の出力側にはセレクタ5及びセレクタ8が
接続されている。S3は3タップ水平フィルタ3の出力
信号、S4は時間合わせ回路4の出力信号、S6は3タ
ップ垂直フィルタ6の出力信号、S7は時間合わせ回路
7の出力信号、及びOUTはセレクタ8の出力信号であ
る。
[0003] Figure 3 is a configuration <br/> diagram illustrating an example of a spatial filter circuit for implementing the filtering process of the first conventional example of FIG. In the space filter circuit is used, the number and the input terminal 1 for inputting digital image data IN, an input terminal 2 for inputting an enable signal ENA indicating the valid interval of the data
You are. The input terminal 1, delay and 3-tap horizontal filter 3 for filtering in the horizontal direction has a coefficient of 1 / 4,1 / 2,1 / 4, the time duration signals required for processing in the 3-tap horizontal filter 3 A time adjusting circuit 4 for connection is connected. On the output side of the 3-tap horizontal filter 3 and the output of the time adjustment circuit 4, a selector 5 for switching the characteristics of the filter is connected. On the output side of the selector 5, 1 /
And 3-tap vertical filter 6 for filtering in the vertical direction has a coefficient of 4,1 / 2,1 / 4, and a combined circuit 7 time for delaying the time duration signals required for processing a three-tap vertical filter 6 of that It is connected. 3 to the output side of the combined circuit 7-tap vertical filter 6 and the time, El selector 8 switches the characteristic of the filter is connected. Selector 8
Is connected to an output terminal 9. The enable signal input terminal 2, to detect the image edge, toggle signal S10a for switching the characteristics of the filter, the edge detection circuit 10 which outputs a S10b are connected. The output side of the edge detection circuit 10, the selector 5 and the selector 8 is connected. S3, 3 tap output signal of the horizontal filter 3, the time combined output signal of the circuit 4 S4, S6 is the output signal of the 3-tap vertical filter 6, S7 the output signal of the combined circuit 7 time,及 Beauty OUT is the output of the selector 8 Signal.

【0004】次に、この図3の空間フィルタ回路の動作
を説明する。走査線単位にディジタル画像データINが
入力端子1に入力されて、3タップ水平フィルタ3及び
時間合わせ回路4へ送られる。3タップ水平フィルタ3
では1/4,1/2,1/4の係数でフィルタ処理を
行いセレクタ5に信号S3を出力する。時間合わせ回
路4では3タップ水平フィルタ3で要する時間だけ入
力データを遅延して信号S4としてセレクタ5に出力す
る。即ち、0,1,0の係数でフィルタ処理を行ったと
同等の処理を行う。イネーブル信号ENAが入力端子2
に入力されると、エッジ検出回路10ではそのイネーブ
ル信号ENAに基づいて図2で示す四隅部分A、上下端
B、左右端C、及び内部領域Dを区別し、切り替え信号
S10a,S10bそれぞれセレクタ58に出力す
る。セレクタ5では、信号S10aに基づき信号S3と
信号S4いずれかを選択して、3タップ垂直フィルタ6
及び時間合わせ回路7に出力する。3タップ垂直フィル
タ6では、1/4,1/2,1/4の係数で空間フィル
タ処理を行いセレクタ8に信号S6を出力する。時間
合わせ回路7では、3タップ垂直フィルタ7で処理に要
する時間だけ遅延して入力データを信号S7としてセレ
クタ8に出力する。セレクタ8では、信号S10bに基
いて信号S6と信号S7のいずれかを選択し出力端
子9に信号OUTを出力する。このように画面領域外
のデータの存在しない部分とそれ以外の領域についてフ
ィルタの演算内容を換えることにより空間フィルタ処
理を行っている。また、画面領域外のデータの存在しな
い部分の値をある固定値に置き換える方法が一般に行わ
れている。以下、この方法について説明する。
Next, the operation of the spatial filter circuit shown in FIG. 3 will be described. Digital image data IN is input to the input terminal 1 for each scanning line and sent to the 3-tap horizontal filter 3 and the time alignment circuit 4. 3-tap horizontal filter 3
In, to filter by a factor of 1 / 4,1 / 2,1 / 4, and outputs a signal S3 to the selector 5. The time alignment circuit 4 delays the input data by the time required by the three-tap horizontal filter 3 and outputs it to the selector 5 as a signal S4. That is, the same processing as that performed by performing the filter processing with the coefficients of 0, 1, 0 is performed. Enable signal ENA is input terminal 2
Once entered, the four corners illustrated in Figure 2 based on the edge detection circuit 10, the enable <br/> Le signal ENA A, upper and lower ends B, left and right ends C, and to distinguish the internal region D, the switching signal
S10a and S10b are output to selectors 5 and 8, respectively . The selector 5 selects either the signal S3 or the signal S4 based on the signal S10a, and
And to force out the mating circuit 7 time. In the 3-tap vertical filter 6 performs spatial filter processing by a factor of 1 / 4,1 / 2,1 / 4, and outputs a signal S6 to the selector 8. The time alignment circuit 7 outputs the input data to the selector 8 as a signal S7 with a delay of the time required for processing by the 3-tap vertical filter 7. The selector 8 selects one of the signal S6 and the signal S7 to have groups <br/> Dzu the signal S10b, and outputs a signal OUT at the output terminal 9. Thus, by changing the calculation contents of the filter for the existent parts and other areas of the data outside the screen area have performed a spatial filter processing. In addition, a method of replacing a value of a portion where no data exists outside a screen area with a fixed value is generally performed. Hereinafter, this method will be described.

【0005】第2の従来例 図4(A),(B),(C)第2の従来の空間フ
ィルタ処理方法を説明するためのエッジ処理説明図であ
る。図4(A)のように5個の入力を用いて出力データ
を作成する場合は、画像エッジの出力Y(0)は有効な
値を持つ有効入力データX(0)〜X(2)の3個と
データのないブランキング領域の疑似的なデータX(−
2)及びX(−1)の2個より得られる。7個の入力を
用いて出力データを作成する図4(B)の場合では、画
像エッジの出力は有効な値を持つ4個有効入力データ
データのないブランキング領域の疑似的なデータ3
個より得られる。7個の入力を用いて出力データを作成
し出力が画像エッジより1画素だけ中に入った図
C)の場合では、画像エッジの出力は有効な値を持つ
5個の有効入力データとブランキング領域の疑似的な
データ2個より得られる。一例として、図4(A)の場
合において次式(1)で表される5個のデータの平均
を出力する場合について説明する。 Y(n)={X(n−2)+X(n−1)+X(n) +X(n+1)+X(n+2)}/5 ・・・(1) ブランキング領域の疑似的なデータの値を固定値に置き
換える方法について8ビットの画像データの場合につ
いて説明する。画像データは0〜255までの値をと
画像データX(0)〜X(5)が1次関数で変化
し、それぞれ60,80,100,120,140,1
60とする。この時、ブランキング領域の値を黒の値で
ある16にする第1の方法とブランキング領域の値に
画像エッジのデータX(0)を用いる第2の方法とがあ
る。第1の方法では、出力データがY(0)=72
(1)=75.2Y(2)=100Y(3)=12
0となる。第2の方法では、出力データがY(0)=7
Y(1)=84Y(2)=100Y(3)=1
20となる。
[0005] second prior art Figure 4 (A), (B) , (C) is an edge processing explanatory diagram for explaining a spatial filtering method of the second conventional example. When creating an output data using FIG yo urchin five inputs (A), the output Y (0) valid input data X (0) with the valid values of the image edges ~X (2) Three ,
Pseudo data X (-
2) and X (-1). Seven in the case of Figure 4 to create an output data using input (B), the output of the image edges and four valid input data with a valid value, pseudo Day without data blanking area TA3
Obtained from pieces. FIG. 4 in which output data is created using seven inputs and the output is located only one pixel from the image edge
In the case ( C), the output of the image edge is obtained from five pieces of valid input data having valid values and two pieces of pseudo data of a blanking area. As an example, in the case of FIG. 4 (A), the case will be described of outputting the average of the five data represented by the following formula (1). Y (n) = {X (n−2) + X (n−1) + X (n) + X (n + 1) + X (n + 2)} / 5 (1) The value of the pseudo data in the blanking area is how to replace the fixed value will be described for the case of image data of 8 bits. The image data takes values from 0 to 255, and the image data X (0) to X (5) change by a linear function, and are respectively 60, 80, 100, 120, 140, 1
60. At this time, there is a second method of using the first method of the value of the blanking region 16 is a black value, the data X of the image edge to the value of the blanking region (0). In the first method, the output data is Y (0) = 72 , Y
(1) = 75.2 , Y (2) = 100 , Y (3) = 12
It becomes 0. In the second method, the output data is Y (0) = 7
2 , Y (1) = 84 , Y (2) = 100 , Y (3) = 1
It will be 20.

【0006】図5は第2の従来の空間フィルタ処理
方法を実現するための空間フィルタ回路の構成図であ
る。この空間フィルタ回路は、ディジタル画像データI
Nを入力する入力端子20及びイネーブル信号ENA
を入力する入力端子21を有している。入力端子20に
は、遅延型フリップフロップ(以下、DFFと呼ぶ)2
2及びDFF23のデータ入力端子が接続されている。
DFF22の出力側にはDFF24が接続され、さらに
その出力側にはDFF25が接続されている。DFF2
5の出力側にはセレクタ26が接続され、さらにその出
力側には5画素平均値回路27が接続されている。入力
端子21にはエッジ検出回路28が接続され、さらにそ
の出力側にはDFF23及びセレクタ26が接続されて
いる。S23はDFF23の出力信号、S25はDFF
25の出力信号S26はセレクタ26の出力信号
28a,S28bはエッジ検出回路28の制御信号であ
る。図6はの空間フィルタ回路の動作を説明する
ための図であり、この図を用いて動作を説明する。エッ
ジ検出回路28ではイネーブル信号ENAに基づいて
エッジ画像X(0)の位置を検出して制御信号S28a
をDFF23に出力し、制御信号S28bをセレクタ2
6に出力する。DFF23ではエッジ画像X(0)をラ
ッチし、セレクタ26にエッジ画像X(0)を信号S2
3として出力する。ディジタル画像データINをDFF
22,24,25で3クロックCLK分遅延させる。セ
レクタ26では、制御信号S28bに基づいて信号S2
5及びS23の切り替えを行い、ディジタル画像データ
X(0),X(0),X(1),X(2),X(3)
の順に信号S26を5画素平均値回路27に出力す
る。5画素平均値回路27では、式(1)に従って入力
された5画素の平均値をとり、出力端子29に出力信号
OUTを出力する。
[0006] Figure 5 is a block diagram of a spatial filter circuit for implementing a spatial filtering method of the second conventional example. This spatial filter circuit is provided with digital image data I
Input terminal 20 for inputting the N, and the enable signal ENA
Is input. The input terminal 20 has a delay flip-flop (hereinafter, referred to as DFF) 2
Data input pin 2 and DFF23 are connected.
A DFF 24 is connected to the output side of the DFF 22, and a DFF 25 is connected to the output side. DFF2
A selector 26 is connected to the output side of 5, and a 5-pixel average value circuit 27 is connected to the output side. An edge detection circuit 28 is connected to the input terminal 21, and a DFF 23 and a selector 26 are connected to the output side. S23 is the output signal of DFF23, S25 is the DFF
25 the output signal of the output signal of the selector 26 S26, S
28a and S28b are control signals of the edge detection circuit 28. FIG. 6 is a diagram for explaining the operation of the spatial filter circuit of FIG. 5 , and the operation will be described with reference to FIG. The edge detection circuit 28 detects the position of the edge image X (0) based on the enable signal ENA and controls the control signal S28a.
Is output to the DFF 23, and the control signal S28b is output to the selector 2
6 is output. The DFF 23 latches the edge image X (0) and sends the edge image X (0) to the selector 26 as a signal S2.
Output as 3. DFF digital image data IN
The delay is made by three clocks CLK at 22 , 24 and 25. The selector 26, signal based on the control signal S28b S2
5 and S23, and the digital image data X (0), X (0), X (1), X (2), X (3) ,
Outputs ... order signals S26 to 5 pixel averaging circuit 27. The five-pixel average value circuit 27 calculates an average value of the input five pixels according to the equation (1), and outputs an output signal OUT to an output terminal 29.

【0007】第3の従来例 次に前記文献に記載されている画像エッジ部分のみ演
算内容をえる第3の従来の空間フィルタ処理方法を
説明する。この第3の従来例では、画像エッジであるデ
ータY(0)に対して、次式(2)で表される3個のデ
ータの平均で処理し、画像エッジより1画素だけ中に入
ったデータY(1)に対して、次式(3)で表される4
個のデータの平均で処理するものである。 Y(0)={X(0)+X(1)+X(2)}/3 ・・・(2) Y(1)={X(0)+X(1)+X(2)+X(3)}/4 ・・・(3) 画像データのない部分の値を固定値に置き換える場合と
同じ条件で式(2)及び(3)に代入すると、出力は
Y(0)=80Y(1)=90Y(2)=100
Y(3)=120となる。図7は第3の従来の空間
フィルタ処理方法を実現するための空間フィルタ回路の
構成図である。この空間フィルタ回路は、ディジタル画
像データINを入力する入力端子30及びイネーブル
信号ENAを入力する入力端子31を有している。入力
端子30は、3画素平均値回路32、4画素平均値回
路33及び5画素平均値回路34接続されている。3
画素平均値回路32、4画素平均値回路33及び5画素
平均値回路34の出力側には、セレクタ35が接続さ
れ、さらにその出力側には出力端子37が接続されてい
る。入力端子31はエッジ検出回路36接続され、
その出力側にセレクタ35が接続されている。
[0007] The third conventional example will be explained a third conventional example spatial filtering method may varying only computations in image edge portion that is described in the literature. In the third conventional example, the data Y (0), which is an image edge, is processed by averaging three pieces of data represented by the following equation (2), and only one pixel is located within the image edge. For the data Y (1) , 4 represented by the following equation (3)
The processing is performed by averaging the pieces of data. Y (0) = {X (0) + X (1) + X (2)} / 3 (2) Y (1) = {X (0) + X (1) + X (2) + X (3)} / 4 (3) Substituting the values of the portion without image data into the equations (2) and (3) under the same conditions as when replacing the values with fixed values, the output is Y (0) = 80 , Y (1) ) = 90 , Y (2) = 100 ,
Y (3) = 120. Figure 7 is a spatial filter circuit for implementing a spatial filtering method of the third conventional example
It is a block diagram. This spatial filter circuit has an input terminal 30 for inputting digital image data IN , and an input terminal 31 for inputting an enable signal ENA. The input terminal 30, three pixels averaging circuit 32,4 pixel average value circuit 33 and the 5 pixel averaging circuit 34 is connected. 3
A selector 35 is connected to the output side of the pixel average value circuit 32, the 4-pixel average value circuit 33, and the 5-pixel average value circuit 34, and an output terminal 37 is connected to the output side. Edge detection circuit 36 is connected to the input terminal 31,
Selector 35 is connected to its output side.

【0008】図8は図7の空間フィルタ回路の動作を
説明するための図であり、この図を用いて動作を説明す
る。エッジ検出回路36では、イネーブル信号ENAに
基づいて画像データX(0)及びX(1)の位置を検出
信号S36a及びS36bをセレクタ35に出力す
る。3画素平均値回路32では、式(2)に基づいて3
画素平均を行い出力データYa(n)(n=0,1,
2,…)を信号S32としてセレクタ35に出力する。
4画素平均値回路33では、式(3)に基づいて4画素
平均を行い出力データYb(n)(n=0,1,2,
…)を信号S33としてセレクタ35に出力する。5画
素平均値回路34では、次式(4)に基づいて5画素平
均を行い、出力データYc(n)(n=0,1,2,
…)を信号S34としてセレクタ35に出力する。 Yc(n)={X(n−2)+X(n−1)+X(n) +X(n+1)+X(n+2)}/5 ・・・(4) セレクタ35では、制御信号S36a及びS36bに基
づいて信号S32,S33,S34のいずれかを選択
し、出力データYa(0),Yb(1),Yc(2),
Yc(3),…を信号OUTとして出力端子37に出力
する。
FIG. 8 is a diagram for explaining the operation of the spatial filter circuit of FIG. 7, and the operation will be described with reference to FIG. The edge detection circuit 36 detects the position of the image data X (0) and X (1) based on the enable signal ENA, and outputs a signal S36a及beauty S 36b to the selector 35. In the three-pixel average value circuit 32, 3
Pixel averaging is performed , and output data Ya (n) (n = 0, 1, 1)
, ...) Are output to the selector 35 as a signal S32.
The 4-pixel averaging circuit 33 performs 4-pixel averaging based on Equation (3), and outputs data Yb (n) (n = 0, 1, 2, 2, 3).
..) Are output to the selector 35 as a signal S33. The 5-pixel average value circuit 34 performs 5-pixel averaging based on the following equation (4), and outputs the output data Yc (n) (n = 0, 1, 2,.
..) Are output to the selector 35 as a signal S34. Yc (n) = {X ( n-2) + X (n-1) + X (n) + X (n + 1) + X (n + 2)} / 5 ··· (4) In the selector 35, the control signal S36a及beauty S 36b select one of the signals S32, S33, S34 on the basis of the
And output data Ya (0), Yb (1), Yc (2),
Yc (3),... Are output to the output terminal 37 as a signal OUT.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、従来の
空間フィルタ回路においては、次の(1),(2)の
うな課題があった。 (1)出力画像が不連続になる課題 入力データX(n)が1次関数で変化し出力が入力5画
素の平均で求められる場合は入力データX(n)は次
式(5)で表され、これを式(1)に代入すると、次
(6)に示されるように入力データと出力データと
しくなる。 X(n)=an+b ・・・(5) Y(n)={X(n−2)+X(n−1)+X(n) +X(n+1)+X(n+2)}/5 ={a(n−2)+b+a(n−1)+b +a(n)+b+a(n+1)+b+a(n+2)+b}/5 =an+b =X(n) ・・・(6) しかしながら、第2の従来例の第1及び第2の方法
3の従来例に示したように画像エッジでは入力データ
と出力データが異なり他の部分と不連続になり画質劣
化の原因となり問題点があった。 (2)回路規模上の課題 第3の従来例では、図及び図に示すように画像エ
ッジ部分で処理手順を変更し異なる空間フィルタ処理
を行うための回路が独立して必要となり回路の規模が
大きくなり問題点があった。本発明は前記従来技術が
持っていた課題として、画像エッジの出力データが他の
部分と不連続になり画質劣化の原因となり、画像エッジ
の部分で処理手順を変更するための回路が独立して必要
となるため回路の規模が大きくなるというについて解
決した空間フィルタ回路を提供するものである。
However, the conventional spatial filter circuit has the following problems (1) and (2) . (1) The problem that the output image becomes discontinuous When the input data X (n) changes by a linear function and the output is obtained by the average of five input pixels , the input data X (n) is expressed by the following equation (5). represented, when it is substituted into equation (1), and the input and output data as shown in the following equation (6) becomes equal <br/> properly. X (n) = an + b (5) Y (n) = {X (n−2) + X (n−1) + X (n) + X (n + 1) + X (n + 2)} / 5 = {a (n) −2) + b + a (n−1) + b + a (n) + b + a (n + 1) + b + a (n + 2) + b} / 5 = an + b = X (n) However, the first and second prior art examples As shown in the second method and the third conventional example, at the image edge, input data and output data are different and discontinuous with other portions, which causes a problem that image quality is deteriorated. (2) In the challenge third conventional example of the circuit scale, as shown in FIGS. 7 and 8, by changing the processing procedure by the image edge portion, circuitry for performing different spatial filtering is required independently However, there is a problem that the scale of the circuit is increased. The present invention, examples of the prior problems that art had, the output data of the image edges cause image quality deterioration becomes the other portions and the discontinuity, the circuit for changing the procedure in the portion of the image edge is independently solutions for terms of scale of the circuit becomes larger because it requires Te
It is to provide a fixed spatial filter circuit.

【0010】[0010]

【課題を解決するための手段】本発明は、前記課題を解
決するために、画像領域内の有効な画像データと画像領
域外の有効な画像データの存在しない領域に作成された
疑似的なデータとに基づいて空間フィルタ処理を行う空
間フィルタ回路において、前記画像領域の境界上の画素
からなる画像エッジを軸として、前記疑似的なデータ作
成対象の疑似データ作成領域と対称に位置する前記画像
領域のペア画素領域のデータを選択して保持する第1の
選択保持手段と、前記ペア画素領域と前記疑似データ作
成領域の中心に位置する前記画像エッジの画素領域のデ
ータの値を選択して保持する第2の選択保持手段と、前
記第2の選択保持手段により保持された画像エッジの画
素領域のデータの値を2倍する演算手段と、前記演算手
段の出力から前記第1の選択保持手段により保持された
データを引き算をして前記疑似データ作成領域の前記疑
似的なデータを作成する減算手段と、前記減算手段によ
り作成された疑似的なデータと前記画像領域内の有効な
画像データとに基づいて空間フィルタ演算する空間フィ
ルタ演算手段とを、備えている。
The present invention solves the above problems.
To determine the valid image data and image area in the image area.
Created in an area where no valid image data exists
Sky that performs spatial filtering based on pseudo data
A pixel on a boundary of the image area
With the image edge consisting of
The image located symmetrically with the pseudo data creation area to be formed
A first method for selecting and holding data of a paired pixel region of a region
Selection holding means, the pair pixel area and the pseudo data
Of the pixel area of the image edge located at the center of the
A second selection holding means for selecting and holding data values,
The image of the image edge held by the second selection holding means
Calculating means for doubling the value of the data in the elementary region;
From the output of the stage held by the first selection holding means
Subtracts the data and creates the pseudo data in the pseudo data creation area.
Subtracting means for creating similar data;
The pseudo data created and the valid data in the image area
A spatial filter that performs a spatial filter operation based on image data
And a filter calculating means.

【0011】[0011]

【作用】発明によれば、以上のように空間フィルタ
を構成したので、第1の選択保持手段は、画像領域の
境界上の画素からなる画像エッジに関して、疑似的なデ
ータの作成の単位となる疑似データ作成画素領域と対称
となる画像領域のペア画素領域のデータを選択して保持
する。第2の選択保持手段は、ペア画素領域のデータと
疑似データ作成領域とを結ぶ直線上に位置する画像エッ
ジの画素のデータ値を選択して保持する。演算手段は、
第2の選択保持手段により保持された画像エッジのデー
タの値を2倍する。減算手段は、演算手段の出力から第
1の選択保持手段より保持されたデータの引き算をす
る。空間フィルタ演算手段は、減算手段により作成され
疑似的なデータと画像領域内の有効な画像データ
基づいて空間フィルタ演算する。従って、前記課題を解
決できるのである。
According to the present invention, the spatial filter times as above
Since it is configured the road, first selection holding means, with respect to an image edge comprising pixels on the boundary of the image area, the image area of the pair of the pseudo data generation pixel area and symmetrical which is a unit of creation of pseudo data The data of the pixel area is selected and held. Second selection holding means holds the selected data value of a pixel of the image edge to be located on the straight line connecting the data and pseudo data operation Naruryo zone pair pixel region. The calculating means is
The value of the image edge data held by the second selection holding unit is doubled . Subtraction means for subtracting the data more held in the first selection holding means from the output of the calculation means. The spatial filter operation means is created by the subtraction means.
Calculating the spatial filter based on the effective image data of pseudo data and image area. Therefore, the above problem can be solved.

【0012】[0012]

【実施例】まず、本発明の実施例で用いられる空間フィ
ルタ処理方法を説明する。本発明の実施例は、例えば、
ディジタル画像データ扱う空間フィルタ処理方法にお
いて、有効な画面領域内のデータと本来データの存在し
ない領域の疑似的なデータの値を用いて出力データを得
る画像エッジ処理の際に、決まった値を持っていない本
来データの存在しない領域の疑似的なデータとして、次
式()で与えられる処理を有効画面データに対して行
うことにより得られた値を用いたものである。 X(−n)=X(0)−{X(n)−X(0)} =2X(0)−X(n) ・・・() 但し、 n ;画像領域内の有効な画素の水平方向のアドレス 0 ;画像エッジの水平方向のアドレス X(n);水平方向のアドレスがnの画素のデータ −n ;画像エッジを軸として、水平方向のアドレスがnの画 素と対称に位置する疑似的データ作成対象領域である ブランキング領域の水平方向のアドレス 図9は有効な画像データの存在しないブランキング領
域に疑似的なデータの作成を示す説明図である。図中の
横軸nは画素の水平方向のアドレスであり、縦軸X
(n)は画素の値である。式()で示されるブランキ
ング領域の疑似的なデータX(−n)の値は、画像エッ
ジX=0を軸として、ブランキング領域X=−nと対称
に位置する有効領域X=nのデータX(n)とブランキ
ング領域の疑似的なデータX(−n)の平均値が画像エ
ッジのデータX(0)に等しくなるように疑似的なデー
タX(−n)を領域内のデータから求めたものである。
図9に示すように、式()により求められた疑似的な
データX(−n)と画像エッジのデータX(0)との差
と、有効な画像データX(n)と画像エッジのデータX
(0)との差とが符号を逆にして一致する。よって、疑
似的なデータが滑らかに且つ連続して変化する。従っ
て、式()で示されるブランキング領域の疑似的なデ
ータX(−n)を用いて式(1)で示される5画素平均
処理を行ったとき、入力データが1次関数で変化した場
合には、入力値X(n)と出力値Y(n)とが等し
り、画面の不自然さをなくすことができ、画質の劣化を
抑制することができる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a spatial filter processing method used in an embodiment of the present invention will be described. Examples of the present invention, for example,
In a spatial filter processing method that handles digital image data, a fixed value is determined during image edge processing in which output data is obtained using data in an effective screen area and pseudo data values in an area where data is not originally present. The value obtained by performing the process given by the following equation ( 7 ) on the effective screen data is used as the pseudo data of the area where there is no original data that does not have it. X (−n) = X (0) − {X (n) −X (0)} = 2X (0) −X (n) ( 7 ) where n: valid pixels in the image area Horizontal address 0: Horizontal address of image edge X (n); Data of pixel whose horizontal address is n -n; Position symmetrically with pixel whose horizontal address is n around image edge horizontal address Figure 9 of the blanking region is the pseudo data generation target region is an explanatory diagram showing the creation of a pseudo data to the blanking areas where there is no effective image data. The horizontal axis n in the figure is the horizontal address of the pixel, and the vertical axis X
(N) is the value of the pixel. The value of the pseudo data X (-n) of the blanking area represented by the equation ( 7 ) is obtained by setting the effective area X = n symmetrically located with the blanking area X = -n around the image edge X = 0. Pseudo data X (-n) in the area so that the average value of the data X (n) of the blanking area and the pseudo data X (-n) in the blanking area is equal to the image edge data X (0). It is obtained from the data.
As shown in FIG. 9, the difference between the pseudo data X (−n) obtained by Expression ( 7 ) and the image edge data X (0), the effective image data X (n) and the image edge Data X
The difference from (0) matches with the sign reversed. Therefore, the pseudo data changes smoothly and continuously. Therefore, when the 5-pixel averaging process represented by Expression (1) is performed using the pseudo data X (-n) of the blanking region represented by Expression ( 7 ), the input data changes with a linear function. in this case, the input value X (n) and the output value Y (n) and although Ri equal Ku Do <br/>, can be eliminated unnatural screen, it is possible to suppress deterioration in image quality.

【0013】図10は、本発明の実施例と従来の空間フ
ィルタ処理方法のデータ例を示すもので、入力データが
1次関数で変化し、式(1)で示される5画素平均処理
をした場合の一例を示す図である。図中の入力データX
(n)は第2の従来例で述べたものであり、出力データ
Y(n)は第2の従来例の第1の方法、第2の方法は第
2の従来例の第2の方法、第3の従来例の方法、及び本
発明の実施例の方法によりそれぞれ求められた出力であ
る。図10に示すように、入力データX(n)が1次関
数で変化して5画素の平均で求められる場合、本発明
実施例で用いられる空間フィルタ処理方法では入力デー
X(n)と出力データY(n)が等しくなるが、第1
の方法、第2の方法及び第3の従来の方法では入力
ータX(n)と出力データY(n)が異なっているのが
わかる。そのため、本発明の実施例で用いられる空間フ
ィルタ処理方法では画面の不自然さをなくすことがで
き、画質の劣化を抑制できる。図1は、前記空間フィル
タ処理方法を実するための本発明の実施例の空間フィ
ルタ回路を示す構成図である。この空間フィルタ回路
は、ディジタル画像データINを入力する入力端子4
及びデータの有効区間を示すイネーブル信号ENA
を入力する入力端子41を有している。入力端子40に
式()で示される演算を行いブランキング領域の
疑似的なデータを発生させる前置処理回路50が接続さ
れている。前置処理回路50の出力側には式(1)で
示される5画素平均演算をする空間フィルタ演算段と
してのフィルタ回路71が接続されている。入力端子4
1には画像エッジ等を検出して第1〜第4の制御信号
S72a〜S72dを前置処理回路50に出力するエッ
ジ検出回路72が接続されている。フィルタ回路71の
出力側には、出力信号OUTを出力する出力端子73が
接続されている
FIG. 10 shows an embodiment of the present invention and a conventional space filter.
FIG. 9 is a diagram illustrating an example of data of a filter processing method, in which input data changes according to a linear function, and an example of a case where a 5-pixel averaging process represented by Expression (1) is performed. Input data X in the figure
(N) is as described in the second conventional example, the output data Y (n) is the first method of the second conventional example, the second method is the second method of the second conventional example, It is the output respectively obtained by the method of the third conventional example and the method of the embodiment of the present invention. As shown in FIG. 10, if the input data X (n) is determined by the average of the five pixels is changed by a linear function, of the present invention
In the spatial filtering method used in the embodiment , the input data
Data X (n) and the output data Y (n) is equal, the first
Method, the second method and the third conventional method, input data
It can be seen that the data X (n) and the output data Y (n) are different. Me other, the spatial filter processing method for use in embodiments of the present invention, it is possible to eliminate unnaturalness of the screen, it is possible to suppress the deterioration of image quality. Figure 1 is a block diagram showing the spatial filter circuit according to an embodiment of the present invention in order to realize the spatial filtering method. This spatial filter circuit has an input terminal 4 for inputting digital image data IN.
0, and the enable signal ENA indicating the valid interval of the data
Is input. The input terminal 40 is connected to a pre-processing circuit 50 that performs an operation represented by Expression ( 7 ) and generates pseudo data in a blanking area. The output side of the pre-processing circuit 50, filter circuit 71 as a spatial filter operation means to the 5 pixel averaging operation represented by the formula (1) is connected. Input terminal 4
1 is connected to an edge detection circuit 72 that detects an image edge or the like and outputs first to fourth control signals S72a to S72d to the preprocessing circuit 50 . The output side of the filter circuit 71, an output terminal 73 for outputting an output signal OUT is connected.

【0014】図11は図1中の前置処理回路50の
図である。この前置処理回路50入力端子40に
DFF51,52,53の各データ入力端子及びセ
レクタ54接続されている。DFF53及びセレクタ
54は第1の選択保持手段を構成し、DFF52は第2
の選択保持手段を構成している。DFF51の出力側に
はDFF55のデータ入力端子が接続され、そのDFF
55の出力側にDFF56のデータ入力端子が接続さ
れ、さらにそのDFF56の出力側にDFF57のデー
タ入力端子が接続されている。DFF57の出力側には
セレクタ58が接続され、そのセレクタ58に出力端子
61が接続されている。DFF52の出力側にはビッ
トシフトによる演算段として2倍回路59が接続され
ている。2倍回路59の出力側には減算出段として減算
器60が接続され、さらにその出力側にセレクタ58が
接続されている。DFF53の出力側にはセレクタ5
4が接続されている。エッジ検出回路72から出力され
る制御信号S72a〜S72dのうち、画像エッジのデ
ータX(0)を示す第1の制御信号S72aはDFF
52のクロック入力端子に出力される。画像エッジから
1画素内側のデータX(1)を示す第2の制御信号S7
2bはDFF53のクロック入力端子に出力される。
画像エッジから2画素内側のデータX(2)を示す第3
の制御信号S72cはセレクタ54に出力される。疑
似的なデータX(−2),X(−1)を示す画像のエッ
ジから1画素内側のX=1と画像のエッジから3画素内
側のX=3を示す第4の制御信号S72dはセレクタ
58に出力される。DFF51,55,56,57の各
クロック入力端子、及びエッジ検出回路72にはクロ
ック信号CLKが入力される。S53はDFF53の出
力信号、S54はセレクタ54の出力信号、S57はD
FF57の出力信号、S58はセレクタ58の出力信
号、S59は2倍回路59の出力信号、及びS60は減
算器60の出力信号である。
[0014] Figure 11 is a structure of the pre-processing circuit 50 in FIG. 1
It is a formed view. The input terminal 40 of the pre-processing circuit 50 is connected to the data input terminals of the DFFs 51, 52 , 53 and the selector 54. The DFF 53 and the selector 54 constitute a first selection holding unit , and the DFF 52
That make up the selection holding means. The output side of the DFF 51 is connected to the data input terminal of the DFF 55,
Data input terminal of the D FF 56 is connected to the output side of 55, and is further connected to a data input terminal of the D FF 57 on the output side of the DFF56. The output side of the DFF57 selector 58 is connected, the output terminal 61 is connected to the selector 58. The output side of the DFF52, 2-fold circuit 59 is connected as the operation manual stage by the bit shift. Subtractor 60 as reduced calculation stage to the output side of the double circuit 59 is connected, and further connected selector 58 at its output. The output side of the DFF53, selector 5
4 are connected. Output from the edge detection circuit 72.
Out of the control signals S72a to S72d, the first control signal S72a indicating the image edge data X (0) is a DFF
It is output to a clock input terminal 52. Second control signal S7 indicating data X (1) one pixel inside the image edge
2b is outputted to the clock input terminal of the DFF53.
The third showing the data X (2) two pixels inside the image edge
Is output to the selector 54. The fourth control signal S72d indicating X = 1 one pixel inside the edge of the image indicating the pseudo data X (−2) and X (−1) and X = 3 three pixels inside the edge of the image , It is output to the selector 58. DFF51, each <br/> clock input terminals of 55, 56, 57, and the edge detection circuit 72, the clock signal CLK is input. S53 is the output of DFF53
Force signal, the output signal of the selector 54 S54, the S57 D
The output signal of the FF 57, S58 is the output signal of the selector 58, S59 is the output signal of the doubling circuit 59, and S60 is the output signal of the subtractor 60.

【0015】図12は、本発明の実施例を示す図1の空
間フィルタ回路の動作を説明するための図であり、この
図を用いて動作を説明する。DFF51,52,53の
データ入力端子、及びセレクタ54には入力端子4
0からディジタル画像データINが入力される。DFF
51では、クロック信号CLKの立上がりでディジタル
画像データINをラッチして、DFF55に出力する。
画像エッジのデータX(0)がDFF552倍回路
59及びセレクタ54に最初に入力される。一方、エッ
ジ検出回路72にはディジタル画像データINの有効
区間をハイレベル(以下、”と呼ぶ)で表すイネー
ブル信号ENA及びクロック信号CLKが入力される。
エッジ検出回路72では、イネーブル信号ENAが
H”になってから最初のクロック信号CLKの立上が
りにおいてH”、クロック信号CLKの立下がりでロ
ーレベル(以下、L”と呼ぶ)にすることにより
像エッジのデータX(0)を示す第1の制御信号S72
aをDFF52のクロック入力端子に出力する。DFF
52では、第1の制御信号S72aの立上がりで画像エ
ッジのデータX(0)をラッチして記憶すると共に、デ
ータX(0)を2倍回路59に出力する。2倍回路59
では、画像エッジのデータX(0)を2倍して信号S5
9としてデータ2X(0)を減算器60に出力する。
FIG. 12 is a diagram for explaining the operation of the spatial filter circuit of FIG. 1 showing an embodiment of the present invention . The operation will be described with reference to FIG. DFF51, 52,53 of
Each data input terminal and the selector 54 have an input terminal 4
Digital image data IN is input from 0. DFF
At 51, the digital image data IN is latched at the rise of the clock signal CLK and output to the DFF 55.
The image edge data X (0) is first input to the DFF 55 , the doubling circuit 59, and the selector 54. On the other hand, to the edge detection circuit 72, an enable signal ENA and a clock signal CLK representing a valid section of the digital image data IN at a high level (hereinafter, referred to as H ) are input.
In the edge detection circuit 72, the enable signal ENA is
In rising after becoming "H" of the first clock signal CLK "H", low level at the falling edge of the clock signal CLK (hereinafter, "L" hereinafter) by the image edge data X (0) Control signal S72 indicating
a is output to the clock input terminal of the DFF 52. DFF
At 52, the data X (0) of the image edge is latched and stored at the rise of the first control signal S72a, and the data X (0) is output to the doubling circuit 59. Double circuit 59
Then, the data X (0) of the image edge is doubled and the signal S5
As 9, data 2X (0) is output to the subtractor 60.

【0016】エッジ検出回路72では、イネーブル信号
ENAがH”になってから2度目のクロック信号CL
Kの立上がりにおいてH”、クロック信号CLKの次
立下がりにおいてL”にすることにより画像エッ
ジより1つ内側のデータX(1)を示す第2の制御信号
S72bをDFF53のクロック入力端子に出力する。
DFF53では、第2の制御信号S72bの立上がりで
画像エッジより1つ内側のデータX(1)をラッチして
記憶すると共に、データX(1)をセレクタ54に信号
S53として出力する。また、エッジ検出回路72で
は、イネーブル信号ENAがH”になってから3度目
のクロック信号CLKの立上がりにおいてH”にする
ことにより画像エッジより2つ内側のデータX(2)
を示す第3の制御信号S72cをセレクタ54に出力す
る。セレクタ54では、第3の制御信号S72cが
H”の時、DFF53の出力信号S53を選択し、第
3の制御信号S72cがL”の時、ディジタル画像デ
ータINを選択して、画像データX(0),X(1),
X(2),X(1),…,X(1)の順に信号S54を
減算器60に出力する。減算器60では、2倍回路59
の出力データ2X(0)からセレクタ54の出力信号
54を引き算して、式()で示されるデータX(−
1),X(−2),X(−1),…,X(−1)の順に
信号S60をセレクタ58に出力する。減算器60から
出力される信号S60は、2倍回路59及びその減算器
60での処理に要する時間をゼロとしているので、疑似
的なデータX(−2)の出力はX(2)の入力の終了と
同時に終了する。
In the edge detection circuit 72, the second clock signal CL after the enable signal ENA becomes " H"
"H" at the rising of K, by the "L" in next falling rising of the clock signal CLK, and the second control signal S72b indicating one inner data X a (1) from the image edges of DFF53 clock Output to the input terminal.
The DFF 53 latches and stores the data X (1) immediately inside the image edge at the rising edge of the second control signal S72b, and outputs the data X (1) to the selector 54 as the signal S53. Further, in the edge detection circuit 72, the data X (2) which is two inward from the image edge is set by setting " H" at the third rising of the clock signal CLK after the enable signal ENA has changed to " H".
Is output to the selector 54. In the selector 54, the third control signal S72c is
When " H", the output signal S53 of the DFF 53 is selected, and when the third control signal S72c is " L", the digital image data IN is selected, and the image data X (0), X (1),
The signal S54 is output to the subtracter 60 in the order of X (2), X (1),..., X (1). In the subtracter 60, a doubler circuit 59
From the output data 2X (0) of the selector 54 to the output signal S of the selector 54.
54 is subtracted to obtain the data X (−) represented by the equation ( 7 ).
The signal S60 is output to the selector 58 in the order of 1), X (-2), X (-1),..., X (-1). The signal S60 output from the subtractor 60 has zero time required for processing by the doubling circuit 59 and the subtractor 60, so that the output of the pseudo data X (-2) is the input of X (2). Ends at the same time as the end of.

【0017】一方、ディジタル画像データINは、DF
F51,55,56,57によってクロック信号CLK
の4周期分遅延され、そのDFF57から信号S57と
して画像データX(0),X(1),X(2),…の順
にセレクタ58に出力される。2倍回路59及び減算器
60の処理時間はゼロとしているので、信号57から画
像データX(0)が出力される時刻において、減算器6
0からは疑似的なデータX(−2),X(−1)がセレ
クタ58に順次出力されている。さらに、エッジ検出回
路72では、信号S60の疑似的なデータX(−2)と
信号S57のエッジ画像データX(0)の始まりまでの
区間をH”とするための第4の制御信号S72dをセ
レクタ58に出力する。セレクタ58では、第4の制御
信号S72dがH”の時、セレクタ54の出力信号S
54、第4の制御信号S72dがL”の時、DFF5
7の出力信号S57をそれぞれ選択して、出力端子61
にデータX(−2),X(−1),X(0),X
(1),…の順に信号S58を出力する。このようにし
て、フィルタ処理に必要な疑似的なデータX(−2),
X(−1)、及び画像データX(0),X(1),X
(2),…が出力端子61からフィルタ回路71に順
次出力される。フィルタ回路71では、式(1)により
5画素の平均値を求めて、出力端子73に出力信号OU
Tを出力する。このように、フィルタ回路72では、エ
ッジ部の処理にかかわらず空間フィルタの処理内容を変
えずに連続的に処理することができる。
On the other hand, the digital image data IN is DF
F51, the clock signal CLK by 55, 56, 57
Is 4 cycles delay, the image data X (0) as its DFF57 or Racing No. S57, X (1), X (2), is output ... sequentially selector 58. Since the processing time of the doubling circuit 59 and the subtractor 60 is zero, at the time when the image data X (0) is output from the signal 57, the subtractor 6
From 0, pseudo data X (-2) and X (-1) are sequentially output to the selector 58. Furthermore, the edge detection circuit 72, pseudo data X (-2) and the fourth control signal to the "H" the section to the start of the edge of the signal S57 the image data X (0) of the signal S60 S72d is output to the selector 58. In the selector 58, when the fourth control signal S72d is H”, the output signal S
54, when the fourth control signal S72d is at L”, the DFF5
7 is selected and the output terminal 61 is selected.
X (-2), X (-1), X (0), X
(1), and outputs a signal S58 in the order of. In this way, the pseudo data X (−2),
X (-1) and image data X (0), X (1), X
Are sequentially output from the output terminal 61 to the filter circuit 71 . In the filter circuit 71 , the average value of the five pixels is obtained by the equation (1), and the output signal OU is output to the output terminal 73.
Output T. As described above, the filter circuit 72 can perform continuous processing without changing the processing content of the spatial filter regardless of the processing of the edge portion.

【0018】以上のように、本実施例では、以下の利点
がある。画像エッジから互いに距離nだけ離間した位置
にある2個のデータX(n)とX(−n)の平均が画像
エッジのデータX(0)と同じ値になるように領域外の
疑似的なデータX(−n)を領域内のデータから求める
ことで、画面の不自然さをなくして、空間フィルタ処理
による画質を向上させることができると共に、のデー
タを用いることによって画像エッジの処理を区別するこ
となく5画素平均フィルタ処理を連続して行うことがで
きる。なお、本発明は、上記実施例に限定されず種々の
変形が可能である。その変形例としては、例えば次のよ
うなものがある。 (1)施例では、2倍回路59及び減算器60の処
理に要する時間をゼロとして、DFF51,55,5
6,57の4個でディジタル画像データINの出力を4
周期遅延する構成にしたが、2倍回路59及び減算器6
0の処理に要する時間を考慮する場合にはDFFの個数
を適宜増加すればよい。 (2)施例では、水平方向の処理について説明した
垂直方向の処理にも適用することができる。また
水平方向及び垂直方向の組合わせについても適用するこ
とができる。この場合、ラインメモリを用いて画像のエ
ッジのデータを記憶する必要がある。 (3) フィルタ回路71では式(1)に示す5画素
平均でなくても、5画素のデータを用いるものであれば
どのような処理でもよい。 (4)施例では、5画素のデータを用いる例を示し
たが制御信号S72a〜S72dの変更及びDFF5
1,55,56,57の個数の変更により5画素のデ
ータ以外のデータ、例えば7画素のデータを用いる場合
でも本発明を適用することができる。
As described above, this embodiment has the following advantages. The pseudo data outside the area is set so that the average of two data X (n) and X (-n) located at a position separated from each other by the distance n from the image edge has the same value as the data X (0) of the image edge. by obtaining data X a (-n) from the data in the region, eliminating unnaturalness of the screen, it is possible to improve the image quality by spatial filtering, the process of image edge by using the data of its The five-pixel average filter processing can be performed continuously without distinction. The present invention is not limited to the above-described embodiment, and various modifications are possible. For example, there are the following modifications. (1) In the real施例, the time required for the double circuit 59 and the subtractor 60 treated as zero, DF F5 1,55,5
Output of digital image data IN by 4
Although the configuration is such that the period is delayed, the doubling circuit 59 and the subtractor 6
When considering the time required for processing 0, the number of DFFs may be increased as appropriate. (2) In the real施例has been described horizontal processing, it can be applied to vertical processing. Also ,
It can be applied to horizontal and vertical union Align. In this case, it is necessary to store image edge data using a line memory. (3) In the filter circuit 71, even without a 5 pixel average as shown in formula (1) may be any processing as long as using the data of 5 pixels. (4) In the real施例, although an example of using the data of 5 pixels, change the control signal S72a~S72d and DFF5
Changes in the number of 1,55,56,57, data other than 5 pixel data, it is possible to apply the present invention even when using the data of, for example, seven pixels.

【0019】[0019]

【発明の効果】以上詳細に説明したように、本発明によ
れば、第1の選択保持手段と、第2の選択保持手段と、
演算手段と、減算手段と、空間フィルタ演算手段とを備
えているので、画像の不自然さをなくして、空間フィル
タ処理による画質を向上させることができる。
As described in detail above, according to the present invention,
If so, the first selection holding means, the second selection holding means,
Operation means, subtraction means, and spatial filter operation means.
Therefore, it is possible to eliminate the unnaturalness of the image and improve the image quality by the spatial filter processing.

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

【図1】本発明の実施例の空間フィルタ回路を示す構成
である。
FIG. 1 shows a configuration of a spatial filter circuit according to an embodiment of the present invention.
FIG .

【図2】第1の従来例の空間フィルタ処理方法を示す図
である。
FIG. 2 is a diagram showing a first conventional example of a spatial filter processing method.

【図3】図2の第1の従来例を実現するための空間フィ
ルタ回路の一例を示す構成図である。
FIG. 3 is a configuration diagram showing an example of a spatial filter circuit for realizing the first conventional example of FIG . 2 ;

【図4】第2の実施例の空間フィルタ処理方法を説明す
るためのエッジ処理説明図である。
FIG. 4 illustrates a spatial filter processing method according to a second embodiment.
An edge processing illustration of order.

【図5】第2の従来例を実現するための空間フィルタ回
の構成図である。
FIG. 5 is a configuration diagram of a spatial filter circuit for realizing a second conventional example.

【図6】図5の空間フィルタ回路の動作を説明するため
の図である。
6 is a diagram for explaining the operation of the spatial filter circuit of FIG.

【図7】第3の従来例を実現するための空間フィルタ回
の構成図である。
FIG. 7 is a configuration diagram of a spatial filter circuit for realizing a third conventional example.

【図8】図7の空間フィルタ回路の動作を説明するため
の図である。
FIG. 8 is a diagram for explaining an operation of the spatial filter circuit of FIG. 7;

【図9】本発明の実施例の疑似的なデータ作成説明図で
ある。
FIG. 9 is an explanatory diagram of pseudo data creation according to the embodiment of the present invention.

【図10】本発明の実施例と従来の空間フィルタ処理
法のデータを示す図である。
[10] Example and spatial filtering side of the conventional invention
It is a figure which shows the data example of a method .

【図11】図1中の前置処理回路50の構成図である。FIG. 11 is a configuration diagram of a preprocessing circuit 50 in FIG. 1;

【図12】本発明の実施例を示す図1の空間フィルタ回
路の動作を説明するための図である。
FIG. 12 is a diagram illustrating an operation of the spatial filter circuit of FIG. 1 showing the embodiment of the present invention .

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

50 前置処理回路 51,52,53,55,56,57 DFF 54,58 セレクタ59 2倍回路 60 減算器 71 フィルタ回路 72 エッジ検出回
Reference Signs List 50 Preprocessing circuit 51, 52, 53, 55 , 56 , 57 DFF 54 , 58 selector 59 Doubler circuit 60 Subtractor 71 Filter circuit 72 Edge detection circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−218171(JP,A) 特開 昭63−266982(JP,A) 特開 昭60−63589(JP,A) 特開 平4−42376(JP,A) 特開 昭60−218180(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06T 5/20 H04N 5/14 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-60-218171 (JP, A) JP-A-63-266982 (JP, A) JP-A-60-63589 (JP, A) JP-A-4- 42376 (JP, A) JP-A-60-218180 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06T 5/20 H04N 5/14

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像領域内の有効な画像データと画像領
域外の有効な画像データの存在しない領域に作成された
疑似的なデータとに基づいて空間フィルタ処理を行う空
間フィルタ回路において、 前記画像領域の境界上の画素からなる画像エッジを軸と
して、前記疑似的なデータ作成対象の疑似データ作成領
域と対称に位置する前記画像領域のペア画素領域のデー
タを選択して保持する第1の選択保持手段と、 前記ペア画素領域と前記疑似データ作成領域の中心に位
置する前記画像エッジの画素領域のデータの値を選択し
て保持する第2の選択保持手段と、 前記第2の選択保持手段により保持された画像エッジの
画素領域のデータの値を2倍する演算手段と、 前記演算手段の出力から前記第1の選択保持手段により
保持されたデータを引き算をして前記疑似データ作成領
域の前記疑似的なデータを作成する減算手段と、 前記減算手段により作成された疑似的なデータと前記画
像領域内の有効な画像データとに基づいて空間フィルタ
演算する空間フィルタ演算手段とを、 備えたことを特徴とする空間フィルタ回路。
1. The method according to claim 1 , wherein the effective image data in the image area and the image area
Created in an area where no valid image data exists
Sky that performs spatial filtering based on pseudo data
In the inter-filter circuit, an image edge composed of pixels on the boundary of the image area is defined as an axis
The pseudo data creation area of the pseudo data creation target
Data of a pair pixel area of the image area located symmetrically with the area
First selection and holding means for selecting and holding data, and a center at the center of the paired pixel area and the pseudo data creation area.
Select the data value of the pixel area of the image edge to be placed
A second selection and holding unit for storing the image edges held by the second selection and holding unit.
Calculating means for doubling the value of the data in the pixel area, and the first selection and holding means from the output of the calculating means
Subtract the retained data to create the pseudo data creation area.
Subtracting means for generating the pseudo-data range, pseudo data to the image created by said subtraction means
Spatial filter based on valid image data in image area
A spatial filter circuit comprising: a spatial filter calculating means for calculating .
JP6010054A 1994-01-31 1994-01-31 Spatial filter circuit Expired - Fee Related JP2912540B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6010054A JP2912540B2 (en) 1994-01-31 1994-01-31 Spatial filter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6010054A JP2912540B2 (en) 1994-01-31 1994-01-31 Spatial filter circuit

Publications (2)

Publication Number Publication Date
JPH07220071A JPH07220071A (en) 1995-08-18
JP2912540B2 true JP2912540B2 (en) 1999-06-28

Family

ID=11739685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6010054A Expired - Fee Related JP2912540B2 (en) 1994-01-31 1994-01-31 Spatial filter circuit

Country Status (1)

Country Link
JP (1) JP2912540B2 (en)

Also Published As

Publication number Publication date
JPH07220071A (en) 1995-08-18

Similar Documents

Publication Publication Date Title
US5374995A (en) Method and apparatus for enhancing sharpness of a sequence of images subject to continuous zoom
US4684985A (en) Signal converting method and circuit for television receiver
KR940008910B1 (en) Interlaced to interlaced scan converter
JPH10126649A (en) Flicker reduction circuit
US5379074A (en) Multilevel nonlinear filter for edge detection and noise suppression
JPS63227294A (en) Movement detector
JP2912540B2 (en) Spatial filter circuit
JP2637978B2 (en) Motion adaptive image quality improvement device
JPH08280039A (en) Video image filter device and filter method
US4636841A (en) Field comb for luminance separation of NTSC signals
US6259480B1 (en) Sequential scanning converter
CA2398688A1 (en) Scanning conversion circuit
EP0496451B1 (en) Non-linear signal processor
JP3754803B2 (en) Imaging device
JP3425500B2 (en) Noise reduction circuit
JP3064295B2 (en) Motion adaptive signal processing circuit and television receiver
JP4268696B2 (en) Image processing apparatus and processing method
JP3009156B2 (en) Vertical contour compensation circuit for interpolation signal
KR0142296B1 (en) Interlaced / Sequential Scan Inverter
JP3158781B2 (en) Noise reduction device
JP2686203B2 (en) Vertical interpolation circuit for video camera
JP2001218170A (en) Scanning conversion circuit
JPH06237438A (en) Moving picture processing circuit for muse decoder
JPH04276986A (en) Method of interpolating two-dimensional inclined correlation of picture signal and circuit thereof
JPH0294965A (en) Method for correcting outline and digital outline correcting circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990330

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

Free format text: PAYMENT UNTIL: 20080409

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees