JPS6149285A - Picture processing device - Google Patents
Picture processing deviceInfo
- Publication number
- JPS6149285A JPS6149285A JP59170446A JP17044684A JPS6149285A JP S6149285 A JPS6149285 A JP S6149285A JP 59170446 A JP59170446 A JP 59170446A JP 17044684 A JP17044684 A JP 17044684A JP S6149285 A JPS6149285 A JP S6149285A
- Authority
- JP
- Japan
- Prior art keywords
- light source
- signal
- camera
- sequentially
- processing device
- 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
Links
Landscapes
- Image Input (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
Description
【発明の詳細な説明】
、C発明の属する技術分野〕
この発明は、ITV(工業用テレビジョン)カメラの如
き撮像装置を用いた画像処理装置、特にS/N比を向上
させることが可能な画像処理装置に関する。[Detailed Description of the Invention], C Technical Field to Which the Invention Pertains] The present invention relates to an image processing device using an imaging device such as an ITV (industrial television) camera, and in particular to an image processing device capable of improving the S/N ratio. The present invention relates to an image processing device.
一般に、背景と対象物のコントラストが低い場合、また
は背景が金属の如くハレーションを生じ易いものの中に
置かれた対象物をITVカメラで撮像する場合には、背
景信号と対象物信号とを分離するのは困難である。この
ため、従来は以下の如(対処している。In general, when the contrast between the background and the object is low, or when an ITV camera images an object placed in a background that is likely to cause halation, such as a metal background, the background signal and object signal are separated. is difficult. Conventionally, this has been dealt with as follows.
イ)対象物の撮像を1回行ない、その撮像信号を微分(
ラプラシアン;2次微分を含む。)する等の信号処理を
行なう。b) Take an image of the object once and differentiate the image signal (
Laplacian; includes second-order derivatives. ) and other signal processing.
口)光源位置は固定とし、複数回撮像してその平均をと
る等の信号処理を行なう。(1) The light source position is fixed, and signal processing is performed such as capturing multiple images and averaging them.
ハ)撮像方向を変えて複数回撮像する。c) Capturing images multiple times by changing the imaging direction.
しかしながら、上記イ)1口)の方法では、ノイズが成
る程度大きくなると微分等の信号処理を施しても対象と
の区別がし難く、S/N比を向上させることができない
。また、光源が同じだとハレーションも同じ位置に生じ
易く、ノイズの分離が困難である。一方、上記ハ)の方
法は、ハレーション等があって対象物が見えにくい場合
は、人間ならばその視点を変えて見易くするのと同じ原
理にもとづくものであるが、これはカメラを動かすこと
と等価であって焦点調整を自動化したり、あるいはカメ
ラを動かすメカニズムを設けたり、さらには対象物の映
像の画面上の位置が互いに異なるためにその位置調整を
行なう等の複雑な処理が必要になるという難点がある。However, in the above method (a) 1), when the noise becomes large enough to form, it is difficult to distinguish it from the object even if signal processing such as differentiation is performed, and the S/N ratio cannot be improved. Furthermore, if the light source is the same, halation tends to occur at the same position, making it difficult to separate noise. On the other hand, method C) above is based on the same principle that humans would use to change their viewpoint to make it easier to see when an object is difficult to see due to halation. This requires complex processing such as automating focus adjustment, providing a mechanism to move the camera, and adjusting the positions of the images of the objects on the screen because they differ from each other. There is a drawback.
この発明はかかる事情のもとになされたもので、カメラ
を動かすための特別なメカニズムが不要で、しかもラプ
ラシアン等の複雑な演算を必要とせず、簡単な装置でS
/N比を向上させることが可能な画像処理装置を提供す
ることを目的とする。This invention was made under these circumstances, and does not require any special mechanism to move the camera, does not require complicated calculations such as Laplacian, and can be easily performed using a simple device.
An object of the present invention is to provide an image processing device that can improve the /N ratio.
この発明は、対象物の撮像の都度その光源位置を順次変
えて複数回の撮像を行なうことにより、カメラを動かし
て撮像することによってハレーション等の影■!を無く
すのと同等の効果が得られるようにしたものである。つ
まり、人間が眩しいものを見る場合、その視点を変えて
見る手段を逆に光源の方を移動させて実現したものとい
うことができる。This invention eliminates shadows such as halation by sequentially changing the light source position each time an object is imaged and taking images multiple times, and by moving the camera and taking images. This is to achieve the same effect as eliminating the . In other words, when humans see something dazzling, they can change their perspective and see it by moving the light source in the opposite direction.
第1図はこの発明の実施例を示すブロック図、第2図は
その動作を説明するための波形図である。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a waveform diagram for explaining its operation.
第1図において、1は検査対象物、2はITVカメラの
如き描像装置、31〜3Nは光源、4はアンプ、5はコ
ンパレータ、6はスイッチ、71〜7Nは画像メモリ、
8は演算回路(多数決回路)である。In FIG. 1, 1 is an object to be inspected, 2 is an imaging device such as an ITV camera, 31 to 3N are light sources, 4 is an amplifier, 5 is a comparator, 6 is a switch, 71 to 7N are image memories,
8 is an arithmetic circuit (majority circuit).
複数の光源31〜3Nの各々は、図示されない制御回路
によって順次点灯されて対象物1を照明する。なお、光
源32は第1図ではITVカメラ2の中に設けられてい
るように見えるが、これは光源とカメラの設定位置がた
またま重なった場合が示されているに過ぎない。光源3
1.32・・・・・・3Nを点灯する毎にITVカメラ
2を介して得られる画像(ビデオ)信号はアンプ4にて
増幅された後、コンパレータ5による所定2値化レベル
との比較によって2値化され、スイッチ6を介して順次
画像メモ1771.72・・・・・・7Nへと格納され
る。演算回路8は、メモリ71〜7Nに記憶されたデー
タにもとづいて所定の演算を行なう。Each of the plurality of light sources 31 to 3N is sequentially turned on by a control circuit (not shown) to illuminate the object 1. Note that although the light source 32 appears to be provided inside the ITV camera 2 in FIG. 1, this only shows the case where the set positions of the light source and the camera coincidentally overlap. light source 3
The image (video) signal obtained through the ITV camera 2 every time 1.32...3N is turned on is amplified by the amplifier 4, and then compared with a predetermined binarization level by the comparator 5. The images are binarized and sequentially stored in image memos 1771, 72, . . . , 7N via switch 6. Arithmetic circuit 8 performs predetermined calculations based on data stored in memories 71-7N.
いま、光源31,32.3Nの点灯とともに得られる画
像信号がそれぞれ第2図(イ)、(ロ)。Now, the image signals obtained when the light sources 31 and 32.3N are turned on are shown in FIGS. 2(a) and 2(b), respectively.
(ハ)に示される如くであり、その2値化画像がそれぞ
れ同図(イ)′、(ロ)′、(ハ)′の如くであるとす
ると、同じ対象物であってもその照明位置(角度)の相
違によって、ノイズ成分Nも互いに異なる位置に現われ
ることになる。なお、第2図において、Pは対象物を示
す画像信号成分であり、P′はその2値化信号、N′は
ノイズ成分Nの2値化信号、VHは垂直同期信号である
。したがって、演算回路8において、例えばメモリ71
〜7Nからのデータを並列的に読み出してこれらを加算
し、その加算値が成る所定のレベルを越え。As shown in (c), and the binarized images are as shown in (a)′, (b)′, and (c)′ in the same figure, even if the object is the same, the illumination position Due to the difference in (angle), the noise components N will also appear at different positions. In FIG. 2, P is an image signal component representing the object, P' is its binary signal, N' is a binary signal of the noise component N, and VH is a vertical synchronizing signal. Therefore, in the arithmetic circuit 8, for example, the memory 71
Read data from ~7N in parallel and add them until the added value exceeds a predetermined level.
たときに論理“1”とみなすことにすると、ノイズの発
生位置はランダムとなり信号成分は略同じ位置に繰り返
し発生するので、同図(ニ)のSにて示される如き信号
成分が得られる一方、ノイズ成分は消去されて“O′と
なる。If we assume that the logic is "1" when the noise is generated, the position of noise occurrence will be random and the signal component will repeatedly occur at approximately the same position, so a signal component as shown by S in the same figure (d) can be obtained. , noise components are eliminated and become "O'."
つまり、信号成分については光源の位置を変えても繰り
返し発生されるのに対し、ノイズ成分は離散的にしか発
生しないことから、これらの和をとってそれが所定のし
きい値レベルを越えるか否かを判別することにより、ノ
イズを除去して根本的にS/N比を向上させることがで
きる。これにより、従来困難とされていた、金属箔上の
傷の検査や印刷文字の読取り、またはプリント板上のパ
ターン検査等を容易かつ高精度に行なうことができ、そ
の用途を広げることが可能となる利点がもたらされるこ
とにもなる。In other words, the signal component is generated repeatedly even if the position of the light source is changed, whereas the noise component is generated only discretely, so the sum of these components is calculated to determine whether it exceeds a predetermined threshold level. By determining whether this is the case, noise can be removed and the S/N ratio can be fundamentally improved. This makes it possible to easily and accurately inspect scratches on metal foil, read printed characters, and inspect patterns on printed boards, which were previously considered difficult, and expand the range of applications. It will also bring some advantages.
この発明によれば、照明位置を撮像の都度変えるように
したので、撮像装置を動かすためのメカニズムが不要と
なり、したがって、簡単な構成でS/N比を根本的に向
上させた高精度の画像処理が可能となる利点がもたらさ
れるものである。According to this invention, since the illumination position is changed each time an image is taken, a mechanism for moving the imaging device is not required, and therefore, a high-precision image with a fundamentally improved S/N ratio can be obtained with a simple configuration. This brings about the advantage that processing becomes possible.
第1図はこの発明の実施例を示すブロック図、第2図は
その動作を説明するための波形図である。
符号説明
1・・・検査対象物、2・・・撮像装置(ITVカメラ
)、31〜3N・・・光源、4・・・アンプ、5・・・
コンパレータ、6・・・スイッチ、71〜7N・・・画
像メモリ、8・・・演算回路(多数決回路)。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a waveform diagram for explaining its operation. Description of symbols 1...Inspection object, 2...Imaging device (ITV camera), 31-3N...Light source, 4...Amplifier, 5...
Comparator, 6... Switch, 71-7N... Image memory, 8... Arithmetic circuit (majority circuit).
Claims (1)
手段と、順次照明される対象物を撮像する撮像手段と、
該撮像信号を2値化する2値化手段と、前記照明手段毎
に順次2値化して得られる2値化画像をそれぞれ選択的
に記憶する複数個のメモリ手段と、各メモリ手段の内容
を順次並列に読み出してその和を演算する演算手段とを
備え、該和の演算により離散的に発生するノイズ成分の
除去を図ることを特徴とする画像処理装置。a plurality of illumination means that sequentially illuminate the object from different angles; and an imaging means that captures images of the sequentially illuminated object;
A binarization means for binarizing the image pickup signal, a plurality of memory means for selectively storing binarized images obtained by sequentially binarizing each of the illumination means, and the contents of each memory means are stored. 1. An image processing device comprising: arithmetic means for sequentially and parallelly reading data and calculating a sum thereof, and removing discretely generated noise components by calculating the sum.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59170446A JPS6149285A (en) | 1984-08-17 | 1984-08-17 | Picture processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59170446A JPS6149285A (en) | 1984-08-17 | 1984-08-17 | Picture processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6149285A true JPS6149285A (en) | 1986-03-11 |
Family
ID=15905075
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59170446A Pending JPS6149285A (en) | 1984-08-17 | 1984-08-17 | Picture processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6149285A (en) |
-
1984
- 1984-08-17 JP JP59170446A patent/JPS6149285A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2006284471A (en) | Pattern inspection method, pattern inspection apparatus, and program for pattern inspection | |
| JP2710527B2 (en) | Inspection equipment for periodic patterns | |
| JP2906454B2 (en) | Object position detection method | |
| JP2012225716A (en) | Visual appearance inspection device and visual appearance inspection method for substrate | |
| JPH06201608A (en) | Method for inspecting surface | |
| JPH0721372A (en) | Image detector | |
| JPS60239189A (en) | Method for separating and identifying object | |
| JPH01207878A (en) | Contour inspection device | |
| JPH043820B2 (en) | ||
| JPS6176903A (en) | Parts inspecting instrument | |
| JPS6228880A (en) | Method and device for recognizing object | |
| JP2634064B2 (en) | Binarization device | |
| JPH03233349A (en) | Pattern inspecting method and device | |
| JPS6211984A (en) | Picture binary coding system | |
| JP2000065748A (en) | Surface inspection equipment | |
| JPH04307357A (en) | Apparatus for detecting bruise of fruit and vegetable | |
| JPS63100305A (en) | Sensing device for body | |
| JPS63124945A (en) | Detecting method for pattern defect | |
| JP2000329536A (en) | Appearance inspection device and appearance inspection method | |
| JPH03221849A (en) | Method for detecting defect | |
| JPH07175205A (en) | Reticle inspection method | |
| JPH0128539B2 (en) | ||
| JPH11166905A (en) | Surface inspection apparatus, surface inspection method, and computer-readable storage medium | |
| JPH04142676A (en) | Binary image conversion method | |
| KR20000037704A (en) | Foreign material inspection device and inspection method on printed surface using mask operation |