JPH0351026B2 - - Google Patents

Info

Publication number
JPH0351026B2
JPH0351026B2 JP59190568A JP19056884A JPH0351026B2 JP H0351026 B2 JPH0351026 B2 JP H0351026B2 JP 59190568 A JP59190568 A JP 59190568A JP 19056884 A JP19056884 A JP 19056884A JP H0351026 B2 JPH0351026 B2 JP H0351026B2
Authority
JP
Japan
Prior art keywords
pixels
signal
pixel
image
window
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
JP59190568A
Other languages
Japanese (ja)
Other versions
JPS6170672A (en
Inventor
Hiroyuki Horii
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP59190568A priority Critical patent/JPS6170672A/en
Publication of JPS6170672A publication Critical patent/JPS6170672A/en
Publication of JPH0351026B2 publication Critical patent/JPH0351026B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、撮像画面を水平、垂直走査して得
られる撮像信号を2値化し、画素化して所定の処
理を行なう画像処理装置、特にノイズ等の孤立し
た画素(孤立点ともいう。)を除去する機能を備
えた画像処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image processing device that binarizes an image signal obtained by horizontally and vertically scanning an imaging screen, converts it into pixels, and performs predetermined processing. The present invention relates to an image processing device having a function of removing isolated pixels (also referred to as isolated points) such as.

〔従来の技術〕[Conventional technology]

従来、かかる装置においてノイズ等の孤立点を
除去する方法としては、撮像画像に対して例えば
3×3画素の画像観測領域、すなわちウインドウ
を設定し、その周辺画素が白(例えば、論理
“0”)か黒(例えば、論理“1”)かに応じてそ
の真中にある1つの画素(着目画素)を周辺画素
に一致させるタイプのものが一般的に良く知られ
ている。しかしながら、このような方法では1回
の画面走査で1つの画素しか除去することができ
ない。これは、1つの着目画素に対して周辺画素
の状態が一致するのは原則的には1回だけであつ
て、着目画素が変われば周辺画素の状態も変わる
のが普通だからである。例えば、第3図の如き撮
像画面Aに対してウインドウW1を考え、このウ
インドウW1について着目画素をP22とするとき、
その周辺画素P11〜P13,P21,P23,P31〜P33
“0”または“1”に一致したとしても、着目画
素をP22からP12,P21,P23またはP32の如く変え
れば、その周辺画素が全て“0”または“1”で
ある保障はないことから明らかである。このた
め、2画素以上の孤立点を除去しようとするとき
は、例えば1つの撮像画面全体を所定のメモリに
取込み、これをマイクロコンピユータの如き処理
装置によるソフトウエア処理によつて、孤立点を
除去するようにしている。
Conventionally, as a method for removing isolated points such as noise in such devices, an image observation area of, for example, 3 x 3 pixels, or a window, is set for the captured image, and surrounding pixels are white (for example, logic "0"). ) or black (for example, logic "1"), one pixel in the middle (the pixel of interest) is made to match the surrounding pixels depending on whether the pixel is black (for example, logic "1"). However, with this method, only one pixel can be removed in one screen scan. This is because, in principle, the states of surrounding pixels match one pixel of interest only once, and if the pixel of interest changes, the states of the surrounding pixels usually change as well. For example, when considering a window W1 on the image capture screen A as shown in FIG. 3, and setting the pixel of interest in this window W1 to P22 ,
Even if the surrounding pixels P 11 to P 13 , P 21 , P 23 , P 31 to P 33 match “0” or “1”, the pixel of interest is changed from P 22 to P 12 , P 21 , P 23 or P 32 , it is clear that there is no guarantee that all surrounding pixels will be "0" or "1". Therefore, when attempting to remove isolated points of two or more pixels, for example, one entire imaged screen is imported into a predetermined memory, and the isolated points are removed through software processing by a processing device such as a microcomputer. I try to do that.

〔発明の解決しようとする問題点〕[Problem to be solved by the invention]

上述の如き孤立点除去方式では、ソフトウエア
処理に頼つているため時間が掛かり、高速な画像
処理が出来ないという問題点がある。
The above-mentioned isolated point removal method relies on software processing, which takes time, and has the problem that high-speed image processing is not possible.

〔問題点を解決するための手段および作用〕[Means and actions for solving problems]

この発明は、1つの撮像画面に対して(m+
2)×(n+2)画素のウインドウを設定し、この
ウインドウの周辺画素の全てが“1”または
“0”であるという条件一致信号が得られたとき
はこの一致信号を遅延、記憶しておくことによ
り、m×n画素の少なくとも1つを周辺画素の状
態に一致させて2画素以上の孤立点をリアルタイ
ムで除去するようにしたものである。
This invention provides (m+
2) Set a window of ×(n+2) pixels, and when a condition matching signal is obtained that all surrounding pixels of this window are “1” or “0”, this matching signal is delayed and stored. In this way, at least one of the m×n pixels is made to match the state of a surrounding pixel, and isolated points of two or more pixels are removed in real time.

〔実施例〕〔Example〕

第1図はこの発明の実施例を示す回路図、第2
図はその動作を説明するためのタイミングチヤー
トである。第1図において、1はウインドウ、2
はナンドゲート、3は1画素幅の遅延回路、4,
6はオアゲート、5は1ライン幅の遅延回路、7
はインバータゲート、8はアンドゲートである。
Fig. 1 is a circuit diagram showing an embodiment of this invention, Fig. 2 is a circuit diagram showing an embodiment of the present invention;
The figure is a timing chart for explaining its operation. In Figure 1, 1 is a window, 2
is a NAND gate, 3 is a one-pixel width delay circuit, 4,
6 is an OR gate, 5 is a 1-line width delay circuit, 7
is an inverter gate, and 8 is an AND gate.

いま、4×4画素のウインドウ1について、最
大2×2画素の除去を行なう場合を考える。ナン
ドゲート2には、ウインドウ1の各周辺画素P11
〜P14,P21,P24,P31,P34,P41〜P44の状態が
入力され、その全てが一致したとき第2図イの如
き条件一致信号S2を出力する。なお、こゝでは
周辺画素を論理“0”として考える。この条件一
致信号S2は遅延回路3にて1画素に相当する時
間だけ遅延されて、条件一致信S2とともにオア
ゲート4に導かれる。したがつて、オアゲート4
からは、第2図ロの如く2画素幅の信号S3が得
られることになる。この信号S3はオアゲート6
の片方の入力となる一方、1ライン遅延回路5の
入力となる。このため、1ライン遅延回路5から
は、第2図ハの如き信号S4が得られ、オアゲー
ト6の他方に入力される。これにより、オアゲー
ト6からは第2図ニの如き信号S5が得られる。
信号S5はインバータゲート7にて反転され、ア
ンドゲート8により着目画素P22,P23,P32,P33
との論理積がとられる。
Now, consider the case where a maximum of 2×2 pixels are to be removed from window 1 of 4×4 pixels. NAND gate 2 contains each peripheral pixel P 11 of window 1.
-P 14 , P 21 , P 24 , P 31 , P 34 , P 41 -P 44 are input, and when all of them match, a condition matching signal S2 as shown in FIG. 2A is output. Note that here, surrounding pixels are considered to be logic "0". This condition match signal S2 is delayed by a time corresponding to one pixel in the delay circuit 3, and is led to the OR gate 4 together with the condition match signal S2. Therefore, orgate 4
From this, a signal S3 having a width of two pixels is obtained as shown in FIG. 2B. This signal S3 is the OR gate 6
It becomes one input of the 1-line delay circuit 5. Therefore, the one-line delay circuit 5 obtains a signal S4 as shown in FIG. As a result, a signal S5 as shown in FIG. 2D is obtained from the OR gate 6.
The signal S5 is inverted by the inverter gate 7, and the target pixel P 22 , P 23 , P 32 , P 33 is detected by the AND gate 8.
The logical product is taken.

したがつて、例えば第3図の如く3画素が周辺
画素の“0”とは違つて“1”である孤立点N1
を考えると、この場合は周辺画素が全て“0”で
あることから条件一致信号S2は“1”、これを
1画素遅延させた信号S3およびこの信号S3を
1ライン遅延させた信号S4は“1”となるた
め、インバータゲート7の出力は“0”となり、
これによつて孤立点N1を含む4つの着目画素
(P22,P23,P32,P33)から導かれる信号S6は
その“1”,“0”に関係なくアンドゲート8によ
つて“0”にされる。つまり、条件一致信号S2
が得られ、かつ着目画素が周辺画素と異なるとき
は、その画素は周辺画素と同じ論理状態に一致さ
せられることになる。
Therefore, for example, as shown in FIG. 3, there is an isolated point N1 where three pixels are "1", unlike the "0" of the surrounding pixels.
In this case, since all the surrounding pixels are "0", the condition matching signal S2 is "1", the signal S3 delayed by one pixel, and the signal S4 delayed by one line from this signal S3 are "1". 1”, the output of inverter gate 7 becomes “0”,
As a result, the signal S6 derived from the four pixels of interest (P 22 , P 23 , P 32 , P 33 ) including the isolated point N1 is "1" or "0" by the AND gate 8. 0”. In other words, the condition matching signal S2
is obtained, and when the pixel of interest is different from the surrounding pixels, that pixel is made to match the same logic state as the surrounding pixels.

なお、上記では4×4画素のウインドウを設定
して、最大2×2画素の孤立点を除去する例につ
いて説明したが、この発明は、一般に(m+2)
×(n+2)画素からなるウインドウを用いてm
×n画素からなる孤立点を除去する場合に適用し
得ることが明らかである。なお、この場合は遅延
回路3および5にて遅延すべき画素またはライン
数を、その数に合わせて選択しなければならない
ことは云う迄もない。
In addition, although the example in which a 4 x 4 pixel window is set and isolated points of maximum 2 x 2 pixels are removed is described above, this invention generally applies to (m+2)
m using a window consisting of ×(n+2) pixels
It is clear that this method can be applied to the case of removing an isolated point consisting of ×n pixels. In this case, it goes without saying that the number of pixels or lines to be delayed by the delay circuits 3 and 5 must be selected in accordance with the number.

〔発明の効果〕〔Effect of the invention〕

この発明によれば、孤立しているという信号、
すなわち条件一致信号を遅延、記憶(拡大)する
手段を設けるだけの簡単な構成により、1画素に
限らず複数の画素からなる孤立点をオンラインで
高速に除去することが可能となり、その結果、画
像の検査、認識等に対する信頼性が一段と向上す
る利点がもたらされるものである。
According to this invention, the isolated signal,
In other words, by simply providing a means to delay and store (enlarge) the condition matching signal, it is possible to remove isolated points consisting of not only one pixel but multiple pixels online at high speed, and as a result, the image This provides the advantage of further improving the reliability of inspection, recognition, etc.

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

第1図はこの発明の実施例を示す回路図、第2
図はその動作を説明するためのタイミング波形
図、第3図は孤立点除去方法を説明するための参
照図である。 符号説明、1……ウインドウ、2……ナンドゲ
ート、3,5……遅延回路、4,6……オアゲー
ト、7……インバータゲート、8……アンドゲー
ト。
Fig. 1 is a circuit diagram showing an embodiment of this invention, Fig. 2 is a circuit diagram showing an embodiment of the present invention;
The figure is a timing waveform diagram for explaining the operation, and FIG. 3 is a reference diagram for explaining the isolated point removal method. Explanation of symbols: 1... window, 2... NAND gate, 3, 5... delay circuit, 4, 6... OR gate, 7... inverter gate, 8... AND gate.

Claims (1)

【特許請求の範囲】[Claims] 1 撮像画面を水平、垂直走査して得られる撮像
信号を2値化し画素化した後(m+2)×(n+
2)画素の画像観測領域(ウインドウ)を設定し
て所定の操作を行なう画像処理装置であつて、該
ウインドウから(m+2)×(n+2)画素のうち
その周辺の各画素の2値化状態を抽出しこれらが
全て一致しているときに条件一致信号を出力する
条件判定手段と、該条件一致信号を遅延して水
平、垂直方向にそれぞれ拡大する水平拡大手段お
よび垂直拡大手段と、該水平拡大手段または垂直
拡大手段を介して条件一致信号が出されていると
きはm×n画素の少なくとも1つを周囲画素の2
値化状態に合致させる同化手段とを備えてなる画
像処理装置。
1 After binarizing and pixelizing the image signal obtained by scanning the image screen horizontally and vertically, (m+2)×(n+
2) An image processing device that sets an image observation area (window) of pixels and performs predetermined operations, and from which the binarization state of each surrounding pixel among (m+2)×(n+2) pixels is determined. a condition determining means for extracting and outputting a condition matching signal when all of them match; a horizontal enlarging means and a vertical enlarging means for delaying and enlarging the condition matching signal in the horizontal and vertical directions; and the horizontal enlarging means. When a condition matching signal is outputted through the means or vertical enlarging means, at least one of the m×n pixels is expanded by two of the surrounding pixels.
An image processing device comprising an assimilation means for matching a value state.
JP59190568A 1984-09-13 1984-09-13 Image processor Granted JPS6170672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59190568A JPS6170672A (en) 1984-09-13 1984-09-13 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59190568A JPS6170672A (en) 1984-09-13 1984-09-13 Image processor

Publications (2)

Publication Number Publication Date
JPS6170672A JPS6170672A (en) 1986-04-11
JPH0351026B2 true JPH0351026B2 (en) 1991-08-05

Family

ID=16260225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59190568A Granted JPS6170672A (en) 1984-09-13 1984-09-13 Image processor

Country Status (1)

Country Link
JP (1) JPS6170672A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4646355A (en) * 1985-03-15 1987-02-24 Tektronix, Inc. Method and apparatus for input picture enhancement by removal of undersired dots and voids
JP3575551B2 (en) * 1993-05-31 2004-10-13 日本アビオニクス株式会社 Residue inspection method

Also Published As

Publication number Publication date
JPS6170672A (en) 1986-04-11

Similar Documents

Publication Publication Date Title
US4574357A (en) Real time character thinning system
JPH04296163A (en) Automatic picture/character separating apparatus for image information and method thereof
JPH0351026B2 (en)
JP2758180B2 (en) Edge signal processing circuit
JPS6170673A (en) Image processor
JPH06147855A (en) Image inspection method
JPH04295980A (en) Image reader
JPS5849908B2 (en) Image signal binarization method
JPH05225337A (en) Method extracting boundary and device therefor
JPS6410872B2 (en)
JPH0425980A (en) Noise removing method
JPH0521269B2 (en)
JPH0636023A (en) Image signal processor
JPS619774A (en) Picture image area setting device
JPH05135181A (en) Abnormality detection device
JPH07101449B2 (en) Singularity detection method by image processing
JPH08122148A (en) Infrared detecting circuit
JPH0531195B2 (en)
JPH02222076A (en) Contour line extracting device
JPH02253382A (en) Picture processor
JPH11328424A (en) Method and circuit for edge detection
JPH0419592B2 (en)
JPH0370089A (en) Picture processing device
JPH02217974A (en) Image recognizing device
JPS6244892A (en) Image processor