JPS62202288A - Extending system for logical filter - Google Patents

Extending system for logical filter

Info

Publication number
JPS62202288A
JPS62202288A JP18906885A JP18906885A JPS62202288A JP S62202288 A JPS62202288 A JP S62202288A JP 18906885 A JP18906885 A JP 18906885A JP 18906885 A JP18906885 A JP 18906885A JP S62202288 A JPS62202288 A JP S62202288A
Authority
JP
Japan
Prior art keywords
circuit
filter
matching
logical
logical filter
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
JP18906885A
Other languages
Japanese (ja)
Inventor
Takeshi Masui
桝井 猛
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP18906885A priority Critical patent/JPS62202288A/en
Publication of JPS62202288A publication Critical patent/JPS62202288A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To extend effectively a logical filter by providing a logical filter circuit to execute the filtering of a prescribed size at input data, the adding circuit of the size to add an output and a matching circuit to execute the matching with matching data. CONSTITUTION:When input image data A are inputted to a 3X3 logical filter circuit 1, a circuit 1 obtains a vicinity pattern B from a RAM1-1, for example, 3X3 vicinity pattern. A 3X3 adding circuit 2 adds the vicinity pattern B and obtains an adding result C. As such a result, a signal D, which is an adding result equivalent to the input image data of C, is inputted to a matching circuit 3. Here, in the filter calculation of a purpose which makes the part of '1' of the data A into '1', the matching of the signal D is obtained, the signal D is inputted to a pattern converting circuit 5, 0, 0, 0, 0 are obtained and the logical filter calculation having the function of 5X5 can be executed by a 3X3 logical filter circuit.

Description

【発明の詳細な説明】 〔概要〕 論理フィルタの拡張方式であって、3×3のフィルタ回
路の出力を加算する3×3加算回路とマツチング回路と
を備え、5×5の論理フィルタ演算を行い、3×3のフ
ィルタ回路で5×5のフィルタ演算を可能とする。
[Detailed Description of the Invention] [Summary] This is an expansion method for logic filters, which includes a 3x3 addition circuit and a matching circuit that add the outputs of 3x3 filter circuits, and performs 5x5 logic filter operations. This makes it possible to perform 5×5 filter operations using a 3×3 filter circuit.

〔産業上の利用分野〕[Industrial application field]

本発明は論理フィルタの拡張方式に係り、3×3の論理
フィルタ回路を用いて5×5の論理フィルタ演算をする
論理フィルタの拡張方式に関するものである。
The present invention relates to a logical filter expansion method, and more particularly, to a logical filter expansion method that performs a 5×5 logical filter operation using a 3×3 logical filter circuit.

情報処理の分野で画像処理が盛んに行われており、この
画像処理に論理フィルタ回路が用いられている。この論
理フィルタは、一般に3×3のウィンドウの論理フィル
タ回路と、5×5のウィンドウの論理フィルタ回路が用
いられている。
Image processing is actively performed in the field of information processing, and logical filter circuits are used for this image processing. This logic filter generally uses a 3×3 window logic filter circuit and a 5×5 window logic filter circuit.

3×3ウインドウ、5×5ウインドウとは、第4図、第
5図に示すようになっており、各ウィンドウ内の値を入
力して論理演算をする。
The 3×3 window and 5×5 window are as shown in FIGS. 4 and 5, and logical operations are performed by inputting the values in each window.

ところが、5×5の論理フィルタは複雑であり、回路構
成及び構成する素子を大きくせねばならず、3×3の論
理フィルタ回路を用いて5×5の演算の行える論理フィ
ルタの拡張方式が要望されてい〔従来の技術〕 従来論理演算を行うのに、ワイヤード・ロジックにて行
う方式とRAMテーブルを使用し7て行)方式とがある
。前者はフィルタ内容が固定的であり、取り扱うフィル
タリングすべき目的別にロジ・ツクを変更する必要があ
り、上記したウィンドウ内の値を自由に変えられないと
云う欠点がある。これに対処したのが後者のテーブル方
式である。
However, the 5x5 logic filter is complicated, and the circuit configuration and constituent elements must be made larger.Therefore, there is a demand for an expansion method for the logic filter that can perform 5x5 operations using a 3x3 logic filter circuit. [Prior Art] Conventionally, there are two methods for performing logical operations: one using wired logic and the other using a RAM table. The former has the disadvantage that the filter contents are fixed, the logic must be changed depending on the purpose of filtering, and the values in the window cannot be changed freely. The latter table method addresses this issue.

一方3×3の論理フィルタの演算は、第6図falに示
すように、入力データに孤立点Aがある場合には、フィ
ルタ可能であるが、入力に連なった第6図(blに示ず
ような点Bが存在すると、フィルタネ可能となり、5×
5の論理フィルタの演算に頼ることとなる。
On the other hand, in the operation of a 3x3 logical filter, if there is an isolated point A in the input data, as shown in Figure 6 fal, filtering is possible, but if there is an isolated point A in the input data, as shown in Figure 6 (bl), it is possible to filter it. If such a point B exists, filterne is possible, and 5×
This will depend on the calculation of the logical filter in step 5.

[発明が解決しようとする問題点〕 上記したように、従来の方式は、5×5の論理フィルタ
演算が優れているが、テーブル形式のRA門容量が増大
すると云う不都合を7にしる。
[Problems to be Solved by the Invention] As described above, the conventional method has an excellent 5×5 logical filter operation, but has the disadvantage of increasing the capacity of the RA gate in the table format.

本発明はこのような点に鑑みて創作されたもので、3×
3のフィルタ論理演算を]昌門を用いて行うと共に、機
能を5×5のフィルタ演算まで高めることのできる論理
フィルタ演算方式を提供することを目的としている。
The present invention was created in view of these points, and has three
It is an object of the present invention to provide a logical filter calculation method that can perform 3 filter logical calculations using [Changmon] and increase the functionality to 5×5 filter calculations.

[問題点を解決するための手段] 入力データに3×3のフィルタリングを行う3x3it
h理フィルタ回路と、3 X 31)th理フィルタ回
路出力の加算を行う3×3加算回路と、加算回路の出力
とマツチング・データとのマツチングを行うマツチング
回路とで論理フィルタの演算回路を構成する。
[Means to solve the problem] 3x3it that performs 3x3 filtering on input data
The arithmetic circuit of the logic filter is composed of a logic filter circuit, a 3 x 3 adder circuit that adds the outputs of the 3 x 31) logic filter circuits, and a matching circuit that matches the output of the adder circuit and matching data. do.

〔作用〕[Effect]

マツチング回路がマツチングが取れた際に、マツチング
したデータを変換して、5×5の論理フィルタの演算を
可能とする。
When the matching circuit performs matching, it converts the matched data to enable calculation of a 5×5 logical filter.

〔実施例〕〔Example〕

第1図は本発明の実施例のブロック図であって、1ビツ
ト構成からなる入力画像データは順次、3×3論理フィ
ルタ回路1とディレィ回路4に入力される。論理フィル
タ回路1には、第2図に示すような3×3の近傍パター
ンをテーブル状に格納するRAM 1−1が接続されて
いる。
FIG. 1 is a block diagram of an embodiment of the present invention, in which input image data consisting of one bit is sequentially input to a 3.times.3 logic filter circuit 1 and a delay circuit 4. Connected to the logic filter circuit 1 is a RAM 1-1 that stores 3×3 neighborhood patterns in a table form as shown in FIG.

RAM ]−]の出力は、3×3加算回路2に入力され
る。3×3加算回路2の出力は、マツチング回路3に入
力される。マツチング回路3は、マツチング・データを
格納する記憶回路3−1 に接続されている。マツチン
グ・データと3×3加算回路2の出力が一致したマツチ
ング・データは、マツチング回路3から出力されて、パ
ターン変換回路5に入力される。
The output of RAM]-] is input to the 3×3 adder circuit 2. The output of the 3×3 adder circuit 2 is input to the matching circuit 3. The matching circuit 3 is connected to a memory circuit 3-1 that stores matching data. The matching data in which the output of the 3×3 adding circuit 2 matches is outputted from the matching circuit 3 and inputted to the pattern conversion circuit 5.

一方、ディレィ回路4に入力された入力画像データは、
遅延されてマツチングしたデータと同期されようにディ
レィ回路4が信号を遅延して、パターン変換回路5に入
力する。パターン変換回路5は入力される信号のタイミ
ングに、上記したマツチングのとれたデータの変換を行
い、論理フィルタ演算を終了する。
On the other hand, the input image data input to the delay circuit 4 is
A delay circuit 4 delays the signal so that it is synchronized with the delayed and matched data, and inputs the signal to a pattern conversion circuit 5. The pattern conversion circuit 5 performs the above-described conversion of the matched data at the timing of the input signal, and completes the logic filter operation.

第3図を用いて、具体例を説明する。入力画像データA
が、3×3論理フィルタ回路1に入力されると、3×3
論理フィルタ回路lはRAM ]−] の3×3の近傍
パターンから第3図に示す近傍パターンBを得る。3×
3加算回路2は、近傍パターンBを加算して加算結果C
を得る。
A specific example will be explained using FIG. Input image data A
is input to the 3×3 logic filter circuit 1, 3×3
The logic filter circuit l obtains the neighborhood pattern B shown in FIG. 3 from the 3×3 neighborhood pattern of RAM]-]. 3×
3 Addition circuit 2 adds the neighboring pattern B and obtains the addition result C.
get.

加算結果Cの入力画像データに該当する加算結果107
4.1354.1486.1721をマツチング回路3
に入力する。このマツチング回路3は、マツチング・デ
ータも入力される。
Addition result 107 corresponding to the input image data of addition result C
4.1354.1486.1721 matching circuit 3
Enter. This matching circuit 3 also receives matching data.

本例の場合は、入力画像データへの論理°1“の部分を
°0゛にする目的のフィルタ演算の場合を示し、マツチ
ング・データは予め、1074.1354.1486゜
1721が格納されている。従って、1074 、13
54 、148671721 (以後信号りと記す)の
マツチングが取れ、信号りがパターン変換回路5に入力
されて信号りは、o、o、o、oとなり、論理フィルタ
演算を終Yし、5×5の機能が保たれる。
In the case of this example, a filter operation is performed for the purpose of converting the logical °1" portion of the input image data to °0", and the matching data is stored in advance as 1074.1354.1486°1721. .Therefore, 1074, 13
54, 148671721 (hereinafter referred to as signal), the signal is input to the pattern conversion circuit 5, and the signal becomes o, o, o, o. functions are maintained.

〔発明の9JJ果〕 以上述べてきたように、本発明によれば、極めて簡易な
構成で、入力データの変更にり・1処し得ると共に、5
×5の機能を有する論理フィルタ演算が3×3論理フィ
ルタ回路で行われ、実用的に極めて有効である。
[9JJ Results of the Invention] As described above, according to the present invention, input data can be changed in one step with an extremely simple configuration, and five
A logic filter operation having a ×5 function is performed by a 3 × 3 logic filter circuit, which is extremely effective in practice.

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

第1図は本発明の実施例のブロック図、第2図は3×3
の近傍パターンを示す模式図、第3図は本発明の具体的
例を示す模式図、第4図は3×3のうイントウ模式図、 第5図は5×5のウィンドウ模式図、 第6図は論理フィルタの演算例を示す模式図、第6図t
a+は孤立点の場合、 第6図(blは連続点の場合である。 図において、1は3×3論理フィルタ回路、2ば3×3
加算回路、3はマツチング回路、5ばパターン変換回路
を示す。 図面の浄書(内゛G1.:変更なし) tb) 第 6 図 手 続 補 −正 書動却 昭和62年 3月27日 昭和60年 特許側 第189068号2、発明の名称 論理フィルタの拡張方式 3、補正をする者 事件との関係 特許出願人 住 所 神奈川県用崎市中原区上小田中1015番地(
522)名称富士通株式会社 代表者 山 本 卓 眞 4、代理人 郵便番号 21)
Figure 1 is a block diagram of an embodiment of the present invention, Figure 2 is a 3x3
FIG. 3 is a schematic diagram showing a specific example of the present invention; FIG. 4 is a schematic diagram of a 3×3 inlet; FIG. 5 is a schematic diagram of a 5×5 window; The figure is a schematic diagram showing an example of calculation of a logical filter.
a+ is for an isolated point, Figure 6 (bl is for a continuous point. In the figure, 1 is a 3x3 logic filter circuit, and 2 is a 3x3 logic filter circuit.
Reference numeral 3 indicates an adder circuit, reference numeral 3 indicates a matching circuit, and reference numeral 5 indicates a pattern conversion circuit. Engraving of drawings (inside G1.: No changes) tb) Figure 6 Procedures Correction - Correction Inscription March 27, 1985 1985 Patent side No. 189068 2, Name of invention Logic filter expansion method 3. Relationship with the case of the person making the amendment Patent applicant address: 1015 Kamiodanaka, Nakahara-ku, Yozaki City, Kanagawa Prefecture (
522) Name Fujitsu Ltd. Representative Taku Yamamoto 4, agent postal code 21)

Claims (1)

【特許請求の範囲】 入力されるデータに3×3のフィルタリングを行う3×
3論理フィルタ回路(1)と、 該3×3論理フィルタ回路(1)の出力の加算を行う3
×3加算回路(2)と、 該加算回路(2)の出力とマッチングデータとの比較を
行うマッチング回路(3)とを備え、マッチングした際
にパターン変換を行い3×3の論理フィルタ回路を用い
て、5×5の論理フィルタ演算を行うことを特徴とする
論理フィルタの拡張方式。
[Claims] 3x filtering of 3x3 on input data
3 logic filter circuit (1) and 3 which adds the outputs of the 3×3 logic filter circuit (1).
It is equipped with a ×3 adder circuit (2) and a matching circuit (3) that compares the output of the adder circuit (2) with matching data, performs pattern conversion when matching is performed, and executes a 3×3 logic filter circuit. A logical filter expansion method characterized in that a 5×5 logical filter operation is performed using the following.
JP18906885A 1985-08-27 1985-08-27 Extending system for logical filter Pending JPS62202288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18906885A JPS62202288A (en) 1985-08-27 1985-08-27 Extending system for logical filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18906885A JPS62202288A (en) 1985-08-27 1985-08-27 Extending system for logical filter

Publications (1)

Publication Number Publication Date
JPS62202288A true JPS62202288A (en) 1987-09-05

Family

ID=16234762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18906885A Pending JPS62202288A (en) 1985-08-27 1985-08-27 Extending system for logical filter

Country Status (1)

Country Link
JP (1) JPS62202288A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63234365A (en) * 1987-03-23 1988-09-29 Asahi Optical Co Ltd Filtering device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63234365A (en) * 1987-03-23 1988-09-29 Asahi Optical Co Ltd Filtering device

Similar Documents

Publication Publication Date Title
JPH01204138A (en) Arithmetic circuit
JPS6149233A (en) High-speed digital adder and subtractor circuit
JPS62202288A (en) Extending system for logical filter
JPH01220528A (en) Parity generator
JPH055379B2 (en)
JPH02273878A (en) Noise eliminating circuit
JPS6247780A (en) Extending system for logic filter
JP2518551B2 (en) Multi-input adder circuit
JPH04172525A (en) Arithmetic device
JPS61128680A (en) Image data noise removing device
JPH03130859A (en) Memory transfer circuit
JP2797660B2 (en) Pixel correction method
JPS6116329A (en) Carry look ahead operator
JPH01103737A (en) Adder
Ramstein et al. A design tool for the specification and the simulation of array processors architectures application to image processing: the extraction of regions of interests
JPH0512381A (en) Semiconductor integrated circuit designing device
JPS63163536U (en)
JPH0370028A (en) Logical arithmetic circuit for serial data
JPS58217048A (en) Differential logical circuit
JPS60123931A (en) Arithmetic circuit
JPH0435948B2 (en)
JPS62269228A (en) Arithmetic and logic unit
JPS62232214A (en) Noise elimination circuit
JPH01260533A (en) Arithmetic calculation circuit
JPH04180408A (en) Noise filter circuit