JPH0221379A - Space filter device - Google Patents

Space filter device

Info

Publication number
JPH0221379A
JPH0221379A JP17211588A JP17211588A JPH0221379A JP H0221379 A JPH0221379 A JP H0221379A JP 17211588 A JP17211588 A JP 17211588A JP 17211588 A JP17211588 A JP 17211588A JP H0221379 A JPH0221379 A JP H0221379A
Authority
JP
Japan
Prior art keywords
circuit
memory
picture element
image data
image memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP17211588A
Other languages
Japanese (ja)
Inventor
Masaki Arima
有馬 正木
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP17211588A priority Critical patent/JPH0221379A/en
Publication of JPH0221379A publication Critical patent/JPH0221379A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To simplify the circuit constitution of a space filter device by reading the 3 rows X 3 columns picture data successively out of a picture memory for each row or column. CONSTITUTION:A picture memory 1 has the capacity larger than the capacity of the picture element value to be processed by at least one line. Then the picture element value written previously via the area of the 2nd line is read out of the memory 1, and the picture element value processed by a digital filter 2 is written into the memory 1 via the area of the 1st line. At the same time, the 3 rows X 3 columns picture element value is read out of the memory 1. Therefore the filter 2 can take the picture element value as well as the vertical and horizontal picture element values out of the delay circuits 3-6 set at 6 stages and can process these picture element values. Thus the circuit constitution is simplified for a space filter device.

Description

【発明の詳細な説明】 等に利用する空間フィルタ装置に関する。[Detailed description of the invention] The present invention relates to a spatial filter device used for such applications.

従来の技術 第4図は、従来の空間フィルタ装置の概略構成を示し、
第5図は、第4図のディジタルフィルタ17の詳細な構
成を示し、第6図(a)(b)はそれぞれ、アドレスが
2次元マトリクスにより表現された第4図の画像メモリ
16.18の記憶内容を示す。
BACKGROUND ART FIG. 4 shows a schematic configuration of a conventional spatial filter device,
5 shows a detailed configuration of the digital filter 17 in FIG. 4, and FIGS. 6(a) and 6(b) show the image memory 16 and 18 in FIG. 4 whose addresses are expressed by a two-dimensional matrix, respectively. Indicates memory contents.

第4図において、16は、処理前の画像データを格納す
るための画像メモリ、17は、画像メモIJ16に格納
された画像データの光強度の空間分布を改善するディジ
タルフィルタ、18は、ディジタルフィルタ17により
処理された画像データを格納するための画像メモリであ
る。
In FIG. 4, 16 is an image memory for storing unprocessed image data, 17 is a digital filter that improves the spatial distribution of light intensity of the image data stored in the image memo IJ 16, and 18 is a digital filter. This is an image memory for storing image data processed by 17.

第5図において、19は、画像メモリ16から読み出さ
れた信号を遅延するn段の遅延回路(nD)、20は、
遅延回路19からの信号を遅延する1段の遅延回路(I
D)、21は、遅延回路20からの信号を遅延する1段
の遅延回路(ID)、22は、遅延回路21からの信号
を遅延するn段の遅延回路(nD)である。
In FIG. 5, 19 is an n-stage delay circuit (nD) that delays the signal read out from the image memory 16, and 20 is
A one-stage delay circuit (I
D), 21 is a one-stage delay circuit (ID) that delays the signal from the delay circuit 20, and 22 is an n-stage delay circuit (nD) that delays the signal from the delay circuit 21.

23は、画像メモIJ16から読み出された信号に係数
aを乗算する乗算回路(xa)、24は、遅延回路19
からの信号に係数aを乗算する乗算回路(Xa)、25
は、遅延回路20からの信号に係数(1−4a)を乗算
する乗算回路(X(1−48))、26は、遅延回路2
1からの信号に係数aを乗算する乗算回路(Xa)、2
7は、遅延回路22からの信号に係数aを乗算する乗算
回路(X a)である。
23 is a multiplication circuit (xa) that multiplies the signal read from the image memo IJ 16 by a coefficient a; 24 is a delay circuit 19
a multiplication circuit (Xa), 25, which multiplies the signal from the coefficient a by a coefficient a;
is a multiplication circuit (X(1-48)) that multiplies the signal from the delay circuit 20 by the coefficient (1-4a), and 26 is the delay circuit 2
A multiplication circuit (Xa) that multiplies the signal from 1 by a coefficient a, 2
7 is a multiplication circuit (X a) that multiplies the signal from the delay circuit 22 by a coefficient a.

28は、乗算回路23と24からの信号を加算する加算
回路、29は、乗算回路25かもの信号と加算回路28
からの信号を加算する加算回路、30は、乗算回路26
からの信号と加算回路29からの信号を加算する加算回
路、31は、乗算回路27からの信号と加算回路30か
らの信号を加算する加算回路である。
28 is an adder circuit that adds the signals from the multiplier circuits 23 and 24; 29 is an adder circuit that adds the signals from the multiplier circuits 25 and 28;
An addition circuit 30 adds signals from the multiplication circuit 26
An adder circuit 31 adds the signal from the multiplier circuit 27 and the signal from the adder circuit 30 .

第6図において、画像メモリ16.18はそれぞれ、(
n+2)x (m+2)のエリアを有し、i行j列のア
ドレスを(it  j)と表記し、画像メモリ16に格
納された処理前の画素値をyllとし、画像メモリ18
に格納された処理後の画素値をYIIとする。
In FIG. 6, the image memories 16 and 18 are respectively (
It has an area of n+2)
Let the processed pixel value stored in YII be YII.

次に、上記従来例の動作を説明する。Next, the operation of the above conventional example will be explained.

第4図において、画像メモリに格納された画素値がアド
レス(0,0)〜(0,n)、 (1,O)〜(1,n
)、(2,O)〜(21n)、・・・(i、  o)〜
(i、  n)の順で行毎に読み出され、ディジタルフ
ィルタ17の遅延回路19と乗算回路23に入力する。
In FIG. 4, the pixel values stored in the image memory are at addresses (0,0) to (0,n), (1,O) to (1,n
), (2, O) ~ (21n), ... (i, o) ~
It is read out row by row in the order of (i, n) and input to the delay circuit 19 and multiplication circuit 23 of the digital filter 17.

ここで、例えば画素値yo +I )Iがディジタルフ
ィルタ17に入力する場合、遅延回路19.20.21
.22はそれぞれ、画素値yI(」+1)、yll、y
I(1−1)、3’(1−1)Iを出力する。
Here, for example, when the pixel value yo +I)I is input to the digital filter 17, the delay circuits 19, 20, 21
.. 22 are the pixel values yI(''+1), yll, y, respectively.
Outputs I(1-1), 3'(1-1)I.

したがって、これらの入力画素値に各乗算器23〜27
によりそれぞれ当該係数が乗算され、また加算器28〜
31により加算されると、加算器31は、画素値Y11 Yu = a Y<1++ )l + a ’!+ <
r++ >+ (1−48) YII +ayI(I−1)+ay(I−I)Iを出力し、この
画素値Y11が画像メモリ18のアドレス(i、  j
)に格納される。
Therefore, each multiplier 23 to 27
The respective coefficients are multiplied by the adders 28 to 28.
31, the adder 31 calculates the pixel value Y11 Yu = a Y<1++ )l + a'! + <
r++ >+ (1-48) YII +ayI(I-1)+ay(I-I)I is output, and this pixel value Y11 is the address (i, j
).

したがって、第5図(b)に示すように、画素値yIJ
が上下左右の画素値により画素値Y++に変換される。
Therefore, as shown in FIG. 5(b), the pixel value yIJ
is converted into a pixel value Y++ using the upper, lower, left, and right pixel values.

発明が解決しようとする課題 しかしながら、上記従来の空間フィルタ装置では、画像
メモリ16に格納された画像データを順次行毎に読み出
して当該画素値と上下左右の画素値を取り出すので、画
像メモリ1601行分のエリア数n+2に対応して、デ
ィジタルフィルタ17が2n+2段、の遅延回路19〜
22を必要とし、したがって、回路構成が複雑になると
いう問題点がある。
Problems to be Solved by the Invention However, in the above-mentioned conventional spatial filter device, the image data stored in the image memory 16 is sequentially read out row by row to extract the relevant pixel value and the pixel values on the top, bottom, left, and right sides. Corresponding to the number of areas n+2, the digital filter 17 has 2n+2 stages of delay circuits 19-
22, and therefore the circuit configuration becomes complicated.

本発明は上記従来の問題点に鑑み、簡単な回路構成の空
間フィルタ装置を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional problems, it is an object of the present invention to provide a spatial filter device with a simple circuit configuration.

課題を解決するための手段 本発明は上記目的を達成するために、画像メモリに格納
された画像データの3行×3列の画像データを順次行毎
又は列毎に読み出すようにしたものである。
Means for Solving the Problems In order to achieve the above object, the present invention sequentially reads out 3 rows x 3 columns of image data stored in an image memory row by row or column by column. .

作用 本発明は上記構成により、3行×3列の画像データによ
り当該画像データと上下左右の画像データを合計6段の
遅延回路により得ることができるために、従来例に比べ
て回路構成を簡単にすることができる。
Effect of the Invention With the above configuration, the present invention can obtain the image data and the upper, lower, left, and right image data using 3 rows x 3 columns of image data using a total of 6 stages of delay circuits, which simplifies the circuit configuration compared to the conventional example. It can be done.

実施例 以下、図面を参照して本発明の詳細な説明する。第1図
は、本発明に係る空間フィルタ装置の一実施例を示す概
略ブロック図、第2図は、第1図のディジタルフィルタ
を示すブロック図、第3図(a)(b)は、第1図の画
像メモリの記憶内容を示す説明図である。
EXAMPLES Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a schematic block diagram showing one embodiment of the spatial filter device according to the present invention, FIG. 2 is a block diagram showing the digital filter of FIG. 1, and FIGS. FIG. 2 is an explanatory diagram showing the stored contents of the image memory shown in FIG. 1;

第1図において、1は、(n+2)X (m+3)の記
憶エリアを有する画像メモリであり、すなわち、画像メ
モリ1は、従来例の画像メモリ托、18より1ライン分
容゛量が大きい。
In FIG. 1, reference numeral 1 denotes an image memory having a storage area of (n+2)×(m+3), that is, the image memory 1 has a capacity larger by one line than the conventional image memory 18.

この画像メモリ1には、第3図(a)に示すように、i
行j列のアドレス(i、  j)に画素値y(1−1)
Iが格納され、従来例に比べて各画素値が次の行の記憶
エリアに格納され、最初の行のアドレス(0,0)〜(
0,n+1)には画素値は格納されていない。
As shown in FIG. 3(a), this image memory 1 contains i
Pixel value y (1-1) at address (i, j) in row j column
I is stored, and compared to the conventional example, each pixel value is stored in the storage area of the next row, and the addresses (0, 0) to (
0, n+1), no pixel value is stored.

1aは、画像メモリ1に格納された画素値の3行×3列
の画素値を順次列毎に読み出すためのアドレスを発生す
るとともに、ディジタルフィルタ2により処理された画
素値を画像メモリ1の1ライン目から順次書き込むだめ
のアドレスを発生するアドレス発生器である。
1a generates an address for sequentially reading out the pixel values of 3 rows x 3 columns of pixel values stored in the image memory 1 column by column, and also reads out the pixel values processed by the digital filter 2 at 1a of the image memory 1. This is an address generator that generates addresses to be written sequentially starting from the line.

第2図に示すディジタルフィルタ2において、3は、画
像メモリ1から読み出された信号を遅延。
In the digital filter 2 shown in FIG. 2, 3 delays the signal read out from the image memory 1.

する2段の遅延回路(2D)、4は、遅延回路3からの
信号を遅延する1段の遅延回路(ID)、5は、遅延回
路4からの信号を遅延する1段の遅延回路(ID)、6
は、遅延回路5からの信号を遅延する2段の遅延回路(
2D)である。
4 is a one-stage delay circuit (ID) that delays the signal from delay circuit 3; 5 is a one-stage delay circuit (ID) that delays the signal from delay circuit 4; ), 6
is a two-stage delay circuit (
2D).

7は、画像メモリ1から読み出された信号に係数aを乗
算する乗算回路(xa)、8は、遅延回路3からの信号
に係数aを乗算する乗算回路(Xa)、9は、遅延回路
4からの信号に係数(1−4a)を乗算する乗算回路C
X (1−48))、10は、遅延回路5からの信号に
係数aを乗算する乗算回路(Xa)、11は、遅延回路
6からの信号に係数aを乗算する乗算回路(Xa)であ
る。
7 is a multiplication circuit (xa) that multiplies the signal read from the image memory 1 by a coefficient a; 8 is a multiplication circuit (Xa) that multiplies the signal from the delay circuit 3 by a coefficient a; 9 is a delay circuit Multiplying circuit C that multiplies the signal from 4 by the coefficient (1-4a)
X (1-48)), 10 is a multiplication circuit (Xa) that multiplies the signal from the delay circuit 5 by a coefficient a, and 11 is a multiplication circuit (Xa) that multiplies the signal from the delay circuit 6 by a coefficient a. be.

12は、乗算回路7と8からの信号を加算する加算回路
、13は、乗算回路9からの信号と加算回路12からの
信号を加算する加算回路、14は、乗算回路10からの
信号と加算回路13からの信号を加算する加算回路、1
5は、乗算回路11からの信号と加算回路14からの信
号を加算する加算回路である。
12 is an adder circuit that adds the signals from multiplier circuits 7 and 8; 13 is an adder circuit that adds the signal from multiplier circuit 9 and the signal from adder circuit 12; 14 is an adder circuit that adds the signal from multiplier circuit 10; Addition circuit 1 for adding signals from circuit 13
5 is an adder circuit that adds the signal from the multiplier circuit 11 and the signal from the adder circuit 14.

次に、上記実施例の動作を説明する。Next, the operation of the above embodiment will be explained.

第1図において、アドレス発生器1aは、アドレス(1
,0)〜(3,0)、  (1,1)〜(3゜1)、 
 (1,2)〜(3,2)を順次発生し、同様に、アド
レス(i LJ  1)l  (iIJ−1)、  (
i+1.  j−1)、(i−1,j)+  (i。
In FIG. 1, an address generator 1a generates an address (1
,0)~(3,0), (1,1)~(3゜1),
(1,2) to (3,2) are generated sequentially, and similarly, addresses (i LJ 1)l (iIJ-1), (
i+1. j-1), (i-1, j)+ (i.

j)、  (i+1.j)+  (i−t、j+1)、
(i。
j), (i+1.j)+ (it,j+1),
(i.

j+1)、 (i+1.j+1)を発生する。j+1), (i+1.j+1) is generated.

ここで、例えば画素値yI(I+1)がディジタルフィ
ルタ2に入力する場合、遅延回路3〜6はそれぞれ、画
素値y(I+l)j、yII、ユニj弊、yB+−+)
  を出力する。
Here, for example, when the pixel value yI(I+1) is input to the digital filter 2, the delay circuits 3 to 6 respectively input the pixel value y(I+l)j, yII, yB+-+)
Output.

したがって、これらの入力画素値に各乗算器7〜11に
よりそれぞれ当該係数が乗算され、また加算器12〜1
5により加算されると、加算器15は、従来例と同様な
画素値Y+ + YIr = a YI <+ +ll十a ’lo +
I)1+ (1−48) YIr + a Y (1−1)I+a YI<+ −1+を出
力し、この画素値Y++が画像メモリ1のアドレス(l
、  j)に格納される。
Therefore, these input pixel values are multiplied by the respective coefficients by the multipliers 7 to 11, and the adders 12 to 1
5, the adder 15 calculates the pixel value Y+ + YIr = a YI <+ + 10a 'lo + similar to the conventional example.
I) 1+ (1-48) YIr + a Y (1-1) I+a YI<+ -1+ is output, and this pixel value Y++ is the address of image memory 1 (l
, j).

したがって、第3図(b)に示すように、画素値V++
が上下左右の画素値により画素値Y1に変換される。
Therefore, as shown in FIG. 3(b), the pixel value V++
is converted into a pixel value Y1 using the upper, lower, left, and right pixel values.

すなわち、上記実施例では、処理前の画像メモリ1の最
初の行には画素値が書き込まれていないので、処理後の
最初の行の画素値を書き込むことができる。尚、処理後
の画像メモリ1の最後の行には画素値が書き込まれない
That is, in the above embodiment, since no pixel values are written in the first row of the image memory 1 before processing, pixel values in the first row after processing can be written. Note that no pixel values are written to the last row of the image memory 1 after processing.

従って、上記実施例によれば、画像メモリ1は、処理さ
れる画素値の容量よシ少なくとも1ライン分大きい容量
を有し、予め2ライン目のエリアから書き込まれた画素
値が読み出され、ディジタルフィルタ2により処理され
た画素値が1ライン目のエリアから書き込まれるので、
従来例のように2つの画像メモリを必要としない。
Therefore, according to the above embodiment, the image memory 1 has a capacity that is at least one line larger than the capacity of the pixel values to be processed, and the pixel values written in advance from the second line area are read out. Since the pixel values processed by the digital filter 2 are written from the first line area,
Unlike the conventional example, two image memories are not required.

また、画像メモリ1に格納された画素値の3行×3列の
画素値を読み出すので、ディジタルフィルタ2は、6段
の遅延回路3〜6により当該画素値と上下左右の画素値
を取シ出して処理することができる。
Also, since the pixel values of 3 rows x 3 columns of pixel values stored in the image memory 1 are read out, the digital filter 2 uses six stages of delay circuits 3 to 6 to synchronize the pixel values and the upper, lower, left, and right pixel values. It can be taken out and processed.

尚、アドレス発生器1aは、画像メモリ1に格納された
画素値の3行×3列の画素値を順次列毎に読み出すよう
にアドレスを発生するように構成したが、代わシに行毎
に読み出すためのアドレスを発生するように構成しても
よく、また、読み出す行頭又は列順もどちらでもよい。
Note that the address generator 1a was configured to generate addresses so as to sequentially read out the pixel values of 3 rows x 3 columns of pixel values stored in the image memory 1 column by column, but instead The configuration may be such that an address for reading is generated, and either the row start or column order for reading may be used.

発明の詳細 な説明したように、本発明は、画像メモリに格納された
画像データの3行×3列の画像データを順次行毎又は列
毎に読み出すようにしたので、当該画像データと上下左
右の画像データを合計6段の遅延回路により得ることが
できるために、従来例に比べて回路構成を簡単にするこ
とができる。
As described in detail, in the present invention, image data of 3 rows x 3 columns of image data stored in an image memory is read out sequentially row by row or column by column. image data can be obtained using a total of six stages of delay circuits, so the circuit configuration can be simplified compared to the conventional example.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明に係る空間フィルタ装置の一実施例を
示す概略ブロック図、第2図は、第1図のディジタルフ
ィルタを示すブロック図、第3図(a)(b)は、第1
図の画像メモリの記憶内容を示す説明図、第4図は、従
来の空間フィルタ装置を示す概略ブロック図、第5図は
、第4図のディジタルフィルタを示すブロック図、第6
図(a)(b)は、第4図の画像メモリの記憶内容を示
す説明図である。 1・・・画像メモリ、1a・・・アドレス発生器(読み
出し手段)、2・・・ディジタルフィルタ、3〜6・・
・遅延回路、7〜11・・・乗算回路、12〜15・・
・加算回路。 代理人の氏名 弁理士 粟 野 重 孝ほか1名筆 図
FIG. 1 is a schematic block diagram showing one embodiment of the spatial filter device according to the present invention, FIG. 2 is a block diagram showing the digital filter of FIG. 1, and FIGS. 1
4 is a schematic block diagram showing a conventional spatial filter device. FIG. 5 is a block diagram showing the digital filter of FIG. 4.
Figures (a) and (b) are explanatory diagrams showing the stored contents of the image memory in Figure 4. DESCRIPTION OF SYMBOLS 1... Image memory, 1a... Address generator (reading means), 2... Digital filter, 3-6...
・Delay circuit, 7 to 11...Multiplication circuit, 12 to 15...
・Addition circuit. Name of agent: Patent attorney Shigetaka Awano and one other person

Claims (2)

【特許請求の範囲】[Claims] (1)画像メモリに格納された画像データの3行×3列
の画像データを順次行毎又は列毎に読み出す手段と、前
記読み出し手段により順次読み出された当該画像データ
を上下左右の画像データにより処理するディジタルフィ
ルタとを有する空間フィルタ装置。
(1) Means for sequentially reading 3 rows x 3 columns of image data stored in an image memory row by row or column by column, and converting the image data sequentially read by the reading means into upper, lower, left, and right image data. A spatial filter device having a digital filter for processing.
(2)前記画像メモリは、処理される画像データの容量
より少なくとも1ライン分大きい容量を有し、予め2ラ
イン目のエリアから書き込まれた画像データが前記読み
出し手段により読み出され、前記ディジタルフィルタに
より処理された画像データが1ライン目のエリアから書
き込まれることを特徴とする請求項(1)記載の空間フ
ィルタ装置。
(2) The image memory has a capacity that is at least one line larger than the capacity of the image data to be processed, and the image data written in advance from the second line area is read out by the reading means and the digital filter 2. The spatial filter device according to claim 1, wherein the image data processed by is written from the first line area.
JP17211588A 1988-07-11 1988-07-11 Space filter device Pending JPH0221379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17211588A JPH0221379A (en) 1988-07-11 1988-07-11 Space filter device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17211588A JPH0221379A (en) 1988-07-11 1988-07-11 Space filter device

Publications (1)

Publication Number Publication Date
JPH0221379A true JPH0221379A (en) 1990-01-24

Family

ID=15935833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17211588A Pending JPH0221379A (en) 1988-07-11 1988-07-11 Space filter device

Country Status (1)

Country Link
JP (1) JPH0221379A (en)

Similar Documents

Publication Publication Date Title
US5053985A (en) Recycling dct/idct integrated circuit apparatus using a single multiplier/accumulator and a single random access memory
TW447192B (en) Semiconductor integrated circuit
US4791677A (en) Image signal processor
JPS5854472A (en) Picture processing apparatus and method
EP0350121A1 (en) Integrated circuit and picture-processing device
US4845767A (en) Image signal processor
JPH0221379A (en) Space filter device
JP3133161B2 (en) Digital two-dimensional filter and two-dimensional finite impulse response (FIR) filter
JPS63285682A (en) Electronic image processing method and circuit
EP0511606A2 (en) Parallel interpolator for high speed digital image enlargement
JP3013526B2 (en) Video synthesis device
JPH07264395A (en) Image reducing device
JP3316266B2 (en) Image processing device
JP3294330B2 (en) Character display
JPH02100577A (en) Discrete cosine converting device
JP2985865B2 (en) Special effects device
JP2001520782A (en) Storage element and method
JPS6319911B2 (en)
JPH06208615A (en) Memory system
JPH07141325A (en) Signal processor
JPS61115178A (en) Method and device for filtering image signal
JP2000048180A (en) Product-sum operating unit and image processor
JPS6386083A (en) Affine converting system
TW201044861A (en) Image denoising module, image processing apparatus and method for image denoising
JPH0417471B2 (en)