JPH10243287A - Image-pickup device and image processor - Google Patents

Image-pickup device and image processor

Info

Publication number
JPH10243287A
JPH10243287A JP9207366A JP20736697A JPH10243287A JP H10243287 A JPH10243287 A JP H10243287A JP 9207366 A JP9207366 A JP 9207366A JP 20736697 A JP20736697 A JP 20736697A JP H10243287 A JPH10243287 A JP H10243287A
Authority
JP
Japan
Prior art keywords
light
image
wavelength band
wavelength
selection element
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.)
Granted
Application number
JP9207366A
Other languages
Japanese (ja)
Other versions
JP3516006B2 (en
Inventor
Kohei Tomita
公平 冨田
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP20736697A priority Critical patent/JP3516006B2/en
Publication of JPH10243287A publication Critical patent/JPH10243287A/en
Application granted granted Critical
Publication of JP3516006B2 publication Critical patent/JP3516006B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Color Television Image Signal Generators (AREA)
  • Image Analysis (AREA)
  • Image Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform the setting and focusing of prescribed area, without the use of display devices for an image-pickup device for picking up the images of prescribed area on an object and an image processor for performing the inspection or measurement of object, corresponding to the picked-up image provided by image pickup. SOLUTION: An image-pickup device 2A is composed of a projecting means 23 for projecting an image in a prescribed area 1a on an object 1 with the light of prescribed wavelength band, illuminating means 29 and 30 for illuminating the object, wavelength selecting element 22 for making incident the light of wavelength band, excepting for the light of this prescribed wavelength band in light reflected from the object, and image-pickup means 26 for picking up the images formed from light passed through the wavelength selecting element. For an image processor 2, the image picked up by the image-pickup device 2A is compared with a prescribed image stored in advance, and the compared result is outputted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、対象物上に所定領
域を設定し、その所定領域を撮像して対象物の検査や計
測等を行う撮像装置および画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image pickup apparatus and an image processing apparatus for setting a predetermined area on an object, imaging the predetermined area, and inspecting or measuring the object.

【0002】[0002]

【従来の技術】従来、撮像装置を用いて対象物の画像を
撮像し、その撮像した画像と基準となる既知画像とのマ
ッチングを行って、対象物の良否を判定する画像処理装
置が知られている。
2. Description of the Related Art Conventionally, there has been known an image processing apparatus which takes an image of an object using an image pickup apparatus, performs matching between the taken image and a known image as a reference, and determines the quality of the object. ing.

【0003】この場合、撮像した対象物の画像を表示装
置のモニタ画面に表示し、この画面を見ながらキーボー
ドやマウス等の入力装置によって所定領域を示す領域枠
を重ね合わせて表示し、あるいは所定領域の階調を変え
て表示することによって、撮像画像中に検査対象となる
所定領域を設定する操作を行っている。
In this case, a captured image of the object is displayed on a monitor screen of a display device, and while viewing this screen, an area frame indicating a predetermined area is superimposed and displayed by an input device such as a keyboard or a mouse. An operation of setting a predetermined region to be inspected in a captured image is performed by changing and displaying the gradation of the region.

【0004】また、モニタ画面に表示されている撮像画
像のボケ具合を目視観察し、画像がボケている場合は対
象物と撮像装置との距離を調整することで撮像装置のピ
ント調整を行っている。
In addition, the degree of blurring of the captured image displayed on the monitor screen is visually observed, and if the image is blurred, the distance between the object and the imaging device is adjusted to adjust the focus of the imaging device. I have.

【0005】[0005]

【発明が解決しようとする課題】前述した所定領域の設
定やピント調整においては、いずれも対象物の撮像画像
や所定領域をモニタ画面に表示する必要があり、それに
必要な表示装置、入力装置、信号生成回路、記憶回路等
が必要となる。
In the above-described setting and focus adjustment of the predetermined area, it is necessary to display a captured image of the target object and the predetermined area on a monitor screen, and a display device, an input device, A signal generation circuit, a storage circuit, and the like are required.

【0006】また、ピント調整を行うには、画像のボケ
具合をモニタ画面で確認しながら行う必要があるため、
表示装置と対象物との位置が離れている場合は、ピント
調整は困難であった。
In order to perform focus adjustment, it is necessary to check the degree of blur of an image on a monitor screen.
When the position of the display device and the position of the object are far from each other, focus adjustment has been difficult.

【0007】本発明は、このような従来の課題を解決す
るためになされたもので、表示装置を用いることなく対
象物の所定領域の設定およびピント調整を行い、対象物
の撮像および検査等を行うことができる撮像装置および
画像処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem, and performs setting and focus adjustment of a predetermined area of an object without using a display device, thereby performing imaging and inspection of the object. It is an object to provide an imaging device and an image processing device that can perform the processing.

【0008】[0008]

【課題を解決するための手段】本発明の請求項1に記載
の撮像装置は、所定の波長帯域の光によって対象物面上
の所定領域に像を投影する投影手段と、対象物を照明す
る照明手段と、対象物から反射される光のうち所定の波
長帯域の光を除く波長帯域の光を入射させる波長選択素
子と、波長選択素子を通した光によって形成される像を
撮像する撮像手段とを備えるものである。
According to a first aspect of the present invention, there is provided an imaging apparatus for projecting an image on a predetermined area on an object surface with light in a predetermined wavelength band, and illuminating the object. An illuminating unit, a wavelength selection element that receives light in a wavelength band excluding light in a predetermined wavelength band out of light reflected from the object, and an imaging unit that captures an image formed by light passing through the wavelength selection element Is provided.

【0009】本発明の請求項2に記載の画像処理装置
は、請求項1記載の撮像装置によって撮像した像と、予
め記憶された所定の像とを比較処理し、その比較結果を
出力するものである。
According to a second aspect of the present invention, there is provided an image processing apparatus for performing a comparison process between an image captured by the imaging device according to the first aspect and a predetermined image stored in advance, and outputting the comparison result. It is.

【0010】本発明の請求項3に記載の画像処理装置
は、請求項1記載の撮像装置によって撮像した像を画像
処理した結果と、予め記憶された所定の基準値とを比較
し、その比較結果を出力するものである。
According to a third aspect of the present invention, there is provided an image processing apparatus which compares a result of image processing of an image captured by the imaging apparatus according to the first aspect with a predetermined reference value stored in advance. Outputs the result.

【0011】本発明の請求項4に記載の撮像装置は、所
定の波長帯域の光によって対象物面上の所定領域に像を
投影する投影手段と、対象物を照明する照明手段と、対
象物から反射される光のうち所定の波長帯域の光を除く
波長帯域の光を反射する波長選択素子と、波長選択素子
で反射された光によって形成される像を撮像するための
撮像手段とを備えるものである。
According to a fourth aspect of the present invention, there is provided an imaging apparatus for projecting an image on a predetermined area on an object surface with light in a predetermined wavelength band, an illuminating means for illuminating the object, and an object. A wavelength selection element that reflects light in a wavelength band excluding light in a predetermined wavelength band out of light reflected from the light source; and an imaging unit that captures an image formed by the light reflected by the wavelength selection element. Things.

【0012】本発明の請求項5に記載の画像処理装置
は、請求項4記載の撮像装置によって撮像した像と、予
め記憶された所定の像とを比較処理し、その比較結果を
出力するものである。
According to a fifth aspect of the present invention, there is provided an image processing apparatus for performing a comparison process between an image captured by the imaging device according to the fourth aspect and a predetermined image stored in advance, and outputting the comparison result. It is.

【0013】本発明の請求項6に記載の画像処理装置
は、請求項4記載の撮像装置によって撮像した像を画像
処理した結果と、予め記憶された所定の基準値とを比較
し、その比較結果を出力するものである。
According to a sixth aspect of the present invention, an image processing apparatus compares the result of image processing of an image picked up by the imaging apparatus according to the fourth aspect with a predetermined reference value stored in advance. Outputs the result.

【0014】本発明の請求項7に記載の画像処理装置
は、第1の波長帯域の光を透過し第2の波長帯域の光を
反射する波長選択素子と、対象物上の所定領域を波長選
択素子を透過した第1の波長帯域の光によって投影する
投影手段と、第2の波長帯域の光で対象物を照明する照
明手段と、対象物および波長選択素子で反射した第2の
波長帯域の光を受光する撮像手段と、撮像手段で撮像し
た画像を処理する画像処理手段とを備え、投影手段によ
って対象物を投影する領域が所定領域と一致するように
するものである。
According to a seventh aspect of the present invention, there is provided an image processing apparatus comprising: a wavelength selection element that transmits light in a first wavelength band and reflects light in a second wavelength band; Projection means for projecting with light of the first wavelength band transmitted through the selection element, illumination means for illuminating the object with light of the second wavelength band, and second wavelength band reflected by the object and the wavelength selection element And an image processing means for processing an image picked up by the image pickup means, so that an area where the object is projected by the projection means coincides with a predetermined area.

【0015】本発明の請求項8に記載の画像処理装置
は、第1の波長帯域の光を反射し第2の波長帯域の光を
透過する波長選択素子と、対象物上の所定領域を波長選
択素子で反射した第1の波長帯域の光によって投影する
投影手段と、第2の波長帯域を含む光で対象物を照明す
る照明手段と、対象物で反射し波長選択素子を透過した
第2の波長帯域の光を受光する撮像手段と、撮像手段で
撮像した画像を処理する画像処理手段とを備え、投影手
段によって対象物を投影する領域が所定領域と一致する
ようにするものである。
An image processing apparatus according to an eighth aspect of the present invention includes a wavelength selection element that reflects light in a first wavelength band and transmits light in a second wavelength band, and that a predetermined area on an object is set to a wavelength. Projecting means for projecting with light of the first wavelength band reflected by the selection element, illuminating means for illuminating the object with light including the second wavelength band, and second means for reflecting the object and transmitting the wavelength selection element And an image processing means for processing an image picked up by the imaging means, so that an area where the object is projected by the projection means coincides with a predetermined area.

【0016】これらの発明によれば、照明手段によって
対象物を照明し、投影手段によってこの対象物に所定形
状の像を投影し、この投影像を目視観察しながら対象物
との位置関係を調整することで対象物上の所定領域の設
定やピント調整を行うことができる。対象物を反射した
光のうち投影像の波長帯域以外の波長帯域の光を波長選
択素子で選択(入射または反射)し、この選択した光に
よって形成される像を撮像手段で撮像する。これによっ
て投影像を除いた状態で対象物の所定領域を撮像するこ
とができる。こうして撮像した像を基準となる像と比較
し、または撮像した像を画像処理した結果と基準値とを
比較し、比較結果を出力する。
According to these inventions, the object is illuminated by the illumination means, an image of a predetermined shape is projected on the object by the projection means, and the positional relationship with the object is adjusted while visually observing the projected image. By doing so, it is possible to set a predetermined area on the object and adjust the focus. Of the light reflected from the object, light in a wavelength band other than the wavelength band of the projection image is selected (incident or reflected) by the wavelength selection element, and an image formed by the selected light is imaged by the imaging means. As a result, it is possible to image a predetermined area of the target object without the projection image. The captured image is compared with a reference image, or the result of image processing of the captured image is compared with a reference value, and a comparison result is output.

【0017】本発明の請求項9に記載の画像処理装置
は、請求項7〜8のいずれか記載の発明において、第1
の波長帯域の光が緑色光であり、第2の波長帯域の光が
赤色光および青色光であるものである。
An image processing apparatus according to a ninth aspect of the present invention is the image processing apparatus according to any one of the seventh to eighth aspects.
Is the green light, and the light in the second wavelength band is the red light and the blue light.

【0018】本発明によれば、波長帯域の異なる2つの
照明光(例えば、赤色光および青色光)で対象物を検出
するので、各反射光量に違いが表れ、1つの波長帯域の
照明光で検出する場合に比べ、判別可能な対象物を広げ
ることができる。
According to the present invention, an object is detected by two illumination lights (for example, red light and blue light) having different wavelength bands, so that the reflected light amounts differ, and the illumination light of one wavelength band is used. Compared with the case of detection, the identifiable target object can be expanded.

【0019】本発明の請求項10に記載の画像処理装置
は、請求項9記載の発明において、照明手段は第2の波
長帯域の光を時分割で交互に発光し、撮像手段は第2の
波長帯域の光を時分割で受光する白黒用の光電変換素子
である。
According to a tenth aspect of the present invention, in the image processing apparatus according to the ninth aspect, the illuminating means alternately emits the light of the second wavelength band in a time division manner, It is a black and white photoelectric conversion element that receives light in a wavelength band in a time-division manner.

【0020】本発明によれば、波長帯域の異なる2つの
照明光を時分割で発光させることによって、カラーのイ
メージセンサを用いることなく白黒の光電変換素子を用
いて各色の検出処理を行うことができる。これにより、
低コストで高精度な2波長のパターン認識が可能な画像
処理装置が実現できる。
According to the present invention, the two illumination lights having different wavelength bands are emitted in a time-division manner, so that each color can be detected using a monochrome photoelectric conversion element without using a color image sensor. it can. This allows
An image processing apparatus capable of low-cost and highly accurate two-wavelength pattern recognition can be realized.

【0021】本発明の請求項11に記載の画像処理装置
は、請求項7記載の発明において、波長選択素子は板状
に形成されており、撮像手段は板状の波長選択素子の反
射光を受光する側の位置に配置されている。
According to an image processing apparatus of the present invention, the wavelength selecting element is formed in a plate-like form, and the image pick-up means reflects reflected light of the plate-like wavelength selecting element. It is arranged at the position on the light receiving side.

【0022】本発明によれば、各波長帯域の光を分離す
る波長選択素子として低コストの板状素子を用い、撮像
手段を波長選択素子の反射位置側に配置したので、透過
位置側に配置した場合に比べて非点収差やコマ収差が発
生せず、鮮明な画像を得ることができる。
According to the present invention, a low-cost plate-like element is used as a wavelength selecting element for separating light of each wavelength band, and the imaging means is arranged on the reflection position side of the wavelength selecting element. As a result, astigmatism and coma do not occur, and a clear image can be obtained.

【0023】本発明の請求項12に記載の発明は、第1
ないし第3の波長帯域の光を発生する光源と、光源の光
から抽出した第1の波長帯域の光によって対象物上の所
定領域を投影する投影手段と、光源の光または光源の光
から抽出した第2および第3の波長帯域の光によって対
象物を照明する照明手段と、対象物を反射した第2およ
び第3の波長帯域の光によって形成される画像を撮像す
る撮像手段と、撮像手段で撮像した画像を処理する画像
処理手段とを備え、投影手段によって対象物を投影する
領域と所定領域とが一致するようにするものである。
According to a twelfth aspect of the present invention, the first aspect
A light source for generating light of a third wavelength band, a projection unit for projecting a predetermined area on an object by light of the first wavelength band extracted from the light of the light source, and light extracted from the light of the light source or the light of the light source. Illuminating means for illuminating the object with the light of the second and third wavelength bands, imaging means for imaging an image formed by the light of the second and third wavelength bands reflected on the object, and imaging means And an image processing means for processing the image captured in the step (a), so that an area on which the object is projected by the projection means coincides with a predetermined area.

【0024】本発明の請求項13に記載の発明は、請求
項12に記載の発明において、光源と投影手段および照
明手段との間が光ファイバによって接続され、光源と撮
像手段とが分離して配置されているものである。
According to a thirteenth aspect of the present invention, in the twelfth aspect, the light source and the projection means and the illumination means are connected by an optical fiber, and the light source and the imaging means are separated. It is what is arranged.

【0025】これら請求項12〜13の発明によれば、
同一の光源を投影用光源と照明用光源とに用いることに
より装置の小型化を図り、かつ光源を分離することによ
って装置内の温度上昇を抑え、撮像素子が安定した性能
を発揮できるようにする。
According to the inventions of claims 12 and 13,
By using the same light source for the projection light source and the illumination light source, the size of the device can be reduced, and by separating the light source, the temperature rise in the device can be suppressed, and the imaging device can exhibit stable performance. .

【0026】[0026]

【発明の実施の形態】(第1の実施の形態)図1は、本
発明の第1の実施の形態を示すブロック図で、検査や計
測等の対象となる対象物1と、この対象物1を撮像して
検査等を行う画像処理装置2とを示している。画像処理
装置2は対象物1を撮像してディジタル画像信号を出力
する撮像装置である撮像部2Aと、このディジタル画像
信号から画像処理技術を用いて対象物1の検査等を行う
画像処理手段である処理部2Bとからなっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) FIG. 1 is a block diagram showing a first embodiment of the present invention. 1 illustrates an image processing apparatus 2 that performs an inspection or the like by capturing an image of the image 1. The image processing device 2 includes an imaging unit 2A which is an imaging device that captures an image of the object 1 and outputs a digital image signal, and image processing means that inspects the object 1 from the digital image signal using an image processing technique. And a certain processing unit 2B.

【0027】撮像部2Aは、同一光軸上に直列に配置さ
れたレンズ21、板状の波長選択素子22および投影用
光源23を備え、投影用光源23の前にはスリット24
が配置されている。波長選択素子22は、図2の特性図
に示すように、緑色光の波長帯域の光のみを透過し、そ
の他の波長帯域の光は反射する特性を有している。投影
用光源23は緑色光源であり、ドライバ25によって駆
動される。投影用光源23およびスリット24で投影手
段を構成している。
The imaging section 2A includes a lens 21, a plate-like wavelength selection element 22, and a projection light source 23 arranged in series on the same optical axis, and a slit 24 in front of the projection light source 23.
Is arranged. As shown in the characteristic diagram of FIG. 2, the wavelength selection element 22 has a characteristic of transmitting only light in the green wavelength band and reflecting light in other wavelength bands. The projection light source 23 is a green light source and is driven by a driver 25. The projection light source 23 and the slit 24 constitute a projection unit.

【0028】また、対象物1で反射した光がレンズ21
を透過し波長選択素子22で反射する位置には撮像素子
26が配置されている。この撮像素子26は撮像制御部
27によって駆動制御され、光電変換して得られる撮像
信号を出力する。撮像信号は撮像制御部27で映像信号
に変換され、アナログ/ディジタル(A/D)変換器2
8でディジタル画像信号に変換されて処理部2Bに出力
される。
The light reflected by the object 1 is
An image pickup device 26 is disposed at a position where the light passes through and is reflected by the wavelength selection element 22. The imaging device 26 is driven and controlled by an imaging control unit 27 and outputs an imaging signal obtained by photoelectric conversion. The image pickup signal is converted into a video signal by the image pickup control section 27, and the analog / digital (A / D) converter 2
At 8 the digital image signal is converted and output to the processing section 2B.

【0029】また、レンズ21の両端近傍には、発光ダ
イオードからなる照明用光源29,30が配置されてい
る。この照明用光源29,30は白色光源を使用してお
り、対象物1を白色光によって照明する。
In the vicinity of both ends of the lens 21, illumination light sources 29 and 30 composed of light emitting diodes are arranged. The illumination light sources 29 and 30 use white light sources, and illuminate the object 1 with white light.

【0030】処理部2Bは、撮像部2Aで得られたディ
ジタル画像信号を処理する画像処理部31、装置全体を
制御するCPU32、プログラムデータや固定データの
記憶および一時データの記憶等を行うメモリ33、外部
の入力装置や出力装置との間でデータの送受を行う入出
力部(I/O)34、ドライバ25を制御する点灯制御
部35、これらを結合するシステムバス36などからな
っている。
The processing section 2B includes an image processing section 31 for processing the digital image signal obtained by the image pickup section 2A, a CPU 32 for controlling the entire apparatus, and a memory 33 for storing program data and fixed data, storing temporary data, and the like. , An input / output unit (I / O) 34 for transmitting and receiving data to and from an external input device or output device, a lighting control unit 35 for controlling the driver 25, and a system bus 36 for connecting these components.

【0031】この構成において、初めに対象物1と撮像
部2Aとの位置関係を調整する。まず、対象物1に対し
て光軸が垂直になるように撮像部2Aを配置する。両者
の距離Lはレンズ21の焦点距離によって定める。次い
で、ドライバ25によって投影用光源23を点灯駆動
し、対象物1にスリット24に穿設された透過孔に応じ
た形状の緑色のスリット画像を投影する。
In this configuration, first, the positional relationship between the object 1 and the imaging section 2A is adjusted. First, the imaging unit 2A is arranged so that the optical axis is perpendicular to the object 1. The distance L between the two is determined by the focal length of the lens 21. Next, the projection light source 23 is turned on by the driver 25, and a green slit image having a shape corresponding to the transmission hole formed in the slit 24 is projected on the object 1.

【0032】本実施の形態は、投影用光源23として緑
色光源を使用し、波長選択素子22は緑色光の波長帯域
のみを透過する特性を有しているので、投影用光源23
から発した緑色光はスリット24を通り、波長選択素子
22を透過し、レンズ21により集光されて対象物1の
所定領域1aを投影する。
In this embodiment, a green light source is used as the projection light source 23, and the wavelength selection element 22 has a characteristic of transmitting only the green light wavelength band.
The green light emitted from the light source passes through the slit 24, passes through the wavelength selection element 22, is condensed by the lens 21, and projects a predetermined area 1a of the object 1.

【0033】図3(a)はその様子を示したもので、対
象物1の中央部の所定領域1aに正四角形のスリット画
像が投影結像されている様子を示している。スリット2
4の透過孔の形状および位置と、距離Lとを適正に設定
すれば、スリット画像と所定領域1aとが一致する。検
査者はスリット画像と所定領域1aとが完全に一致する
ように目視によって監視しながらこれらの調整を行う。
FIG. 3 (a) shows this state, in which a square slit image is projected and formed on a predetermined area 1a in the center of the object 1. FIG. Slit 2
If the shape and position of the transmission hole of No. 4 and the distance L are properly set, the slit image matches the predetermined area 1a. The inspector performs these adjustments while visually monitoring the slit image and the predetermined area 1a so as to completely match.

【0034】また、図3(b),(c)に示すように、
対象物1に投影結像されているスリット画像のボケ具合
を見ることでピント調整を行うことができる。すなわ
ち、(b)に示すようにスリット画像の輪郭がボケてい
る場合は、(c)に示すようにスリット画像の輪郭がシ
ャープになるように距離Lを調整することでピント調整
を行う。
As shown in FIGS. 3B and 3C,
Focus adjustment can be performed by observing the degree of blurring of the slit image projected and formed on the target object 1. That is, when the outline of the slit image is blurred as shown in (b), focus adjustment is performed by adjusting the distance L so that the outline of the slit image is sharp as shown in (c).

【0035】こうして位置調整およびピント調整が終了
すると、撮像素子26で対象物1を撮像する。本実施の
形態は、照明用光源29,30として白色光源を使用
し、波長選択素子22は緑色光のみを透過するので、照
明用光源29,30から発した白色光は対象物1を照明
し、その反射光はレンズ21で集光された後に、赤色お
よび青色の波長帯域の光のみが波長選択素子22で反射
されて撮像素子26に結像される。
When the position adjustment and the focus adjustment are completed, the object 1 is imaged by the image sensor 26. In the present embodiment, white light sources are used as the light sources 29 and 30 for illumination, and the wavelength selection element 22 transmits only green light, so that the white light emitted from the light sources 29 and 30 for illumination illuminates the object 1. After the reflected light is condensed by the lens 21, only the light in the red and blue wavelength bands is reflected by the wavelength selection element 22 to form an image on the imaging element 26.

【0036】撮像素子26で得られた撮像信号は撮像制
御部27で映像信号に変換され、A/D変換器28でデ
ィジタル画像信号に変換された後に画像処理部31に出
力される。画像処理部31では、CPU32の制御のも
とに検査対象となる所定領域1aの画像と、メモリ33
に予め記憶したモデル画像とによって、例えばグレイサ
ーチを行い、対象物1の良否を判定する。判定結果はI
/O34から外部に出力する。
The image pickup signal obtained by the image pickup device 26 is converted into a video signal by an image pickup control section 27, converted into a digital image signal by an A / D converter 28, and output to an image processing section 31. The image processing unit 31 stores an image of the predetermined area 1 a to be inspected under the control of the CPU 32 and a memory 33.
For example, gray search is performed using the model image stored in advance to determine whether the object 1 is good or bad. The judgment result is I
Output from / O34 to the outside.

【0037】グレイサーチは画像データを2値化せずに
数ビットの濃淡データとして扱い、登録画像と入力画像
との間でマッチングを行って相関値が閾値以上であれば
登録画像と入力画像とは一致すると認識する処理であ
る。一般に登録画像は入力画像より小さいので、登録画
像を入力画像に対して1画素ずつずらしながら入力画像
を端から端まで順次比較し一致点を検索する。
In the gray search, image data is treated as grayscale data of several bits without binarization. Matching is performed between a registered image and an input image. Is a process of recognizing that they match. Generally, since the registered image is smaller than the input image, the input image is sequentially compared from one end to the other while shifting the registered image by one pixel with respect to the input image, and a matching point is searched.

【0038】なお、グレイサーチに限らず2値化サーチ
を適用してもよい。この場合は画像データを基準の濃淡
レベルで2値化し、面積計測を行って基準面積値と比較
し、良否を判定する。しかし、グレイサーチを用いれ
ば、登録画像と入力画像との間に画素単位未満の位置ず
れが生じても、これを推定によって精密に検出すること
ができる利点がある。また、登録画像と入力画像との間
で明るさに変化があっても、形状の比較の意味の方が強
くなるため、照明などの都合により明るさが多少変化し
ても、同じ明るさだった場合とほぼ同じ結果が得られる
利点がある。
Note that a binarized search may be applied instead of the gray search. In this case, the image data is binarized at the reference shading level, the area is measured and compared with the reference area value to determine the quality. However, if the gray search is used, there is an advantage that even if a displacement of less than a pixel unit occurs between the registered image and the input image, the displacement can be accurately detected by estimation. Also, even if there is a change in brightness between the registered image and the input image, the meaning of the shape comparison becomes stronger, so that the brightness remains the same even if the brightness changes slightly due to lighting or the like. There is an advantage that almost the same result can be obtained as in the case of

【0039】こうして、撮像素子26で赤色と青色の2
つの波長帯域で対象物1を検出することにより、それぞ
れの反射光量に違いが表れ、1つの波長帯域で検出する
場合に比べ、判別可能な対象物が広がる。
In this way, the image sensor 26 detects the two colors of red and blue.
By detecting the object 1 in one wavelength band, a difference appears in each reflected light amount, and the identifiable objects are spread as compared with the case of detecting in one wavelength band.

【0040】このことは、例えば照明用光源29,30
として赤色光源のみを用いた場合、図4に示すように、
白色と黄色および赤色の反射率の違いが少ないために、
白地に黄色および赤色のパターンは検出できない。しか
し、青色の波長帯域では反射率の違いがでるので、本実
施の形態のように、2つの波長帯域、赤色および青色の
反射光で検出すれば反射光量に違いが表れるので検出可
能となり、判別可能な対象物が広がることになる。
This means that, for example, the illumination light sources 29 and 30
When only the red light source is used, as shown in FIG.
Because the difference in reflectance between white and yellow and red is small,
Yellow and red patterns on a white background cannot be detected. However, since a difference in reflectance occurs in the blue wavelength band, if the detection is performed using the two wavelength bands, red and blue reflected light, as in the present embodiment, the difference in the reflected light amount appears. The possible objects will expand.

【0041】なお、ここでは検出波長帯域を赤色および
青色とし、領域投影帯域を緑色としたが、検出波長帯域
を赤色および緑色とし、領域投影帯域を青色としても、
検出可能なパターンが広がる。しかし、2つの検出波長
帯域が離れている方が検出できる対象物の色の種類が多
いので、前者が最もよい組み合わせである。また、波長
選択素子22は緑色光のみを透過させるので、投影用光
源23として白色光源を用いても同一の性能が得られ
る。
Although the detection wavelength band is red and blue and the region projection band is green here, the detection wavelength band is red and green and the region projection band is blue.
Detectable patterns spread. However, the former is the best combination because there are many types of colors of the target that can be detected when the two detection wavelength bands are far apart. Since the wavelength selection element 22 transmits only green light, the same performance can be obtained even when a white light source is used as the projection light source 23.

【0042】また、撮像素子26としてカラーイメージ
センサを用いれば、赤色および青色の波長帯域を別々に
検出することができるので、さらに微妙な色の違いのパ
ターン検出が可能となる。
When a color image sensor is used as the image sensor 26, the red and blue wavelength bands can be separately detected, so that a pattern with a more subtle color difference can be detected.

【0043】また、撮像画像内における所定領域1aの
特定の位置座標を予め求め、この座標データをメモリ3
3に記憶しておけば、スリット24と撮像素子26との
位置関係の精度に拘らず正確な処理が行える。
Further, a specific position coordinate of the predetermined area 1a in the captured image is obtained in advance, and the coordinate data is stored in the memory 3.
3, the processing can be performed accurately irrespective of the accuracy of the positional relationship between the slit 24 and the image sensor 26.

【0044】図5は、撮像素子26が受光した1画面
(16.7msec)の映像信号(a)に対し、各画面毎に
投影用光源23による投光タイミング(b)と、撮像素
子26の受光タイミング(c)とをずらすことで、撮像
素子26が投影用光源23からの光の影響を受け難いよ
うに制御するためのタイミングチャートである。投光タ
イミングは1水平期間(1画面)の開始時期に数msec設
定されており、受光タイミングは1水平期間の終了時期
に数msec設定されている。これらの設定タイミングは固
定タイミングである。目視上は同期点灯によって投影用
光源23が常時点灯しているように見える。
FIG. 5 shows, for each screen (a) a video signal (a) of one screen (16.7 msec) received by the image sensor 26, the light emission timing (b) of the projection light source 23 for each screen, and 6 is a timing chart for controlling the image pickup device to be less affected by light from the projection light source by shifting the light receiving timing (c). The light projection timing is set to several milliseconds at the start of one horizontal period (one screen), and the light reception timing is set to several milliseconds at the end of one horizontal period. These setting timings are fixed timings. Visually, it appears that the projection light source 23 is always lit by synchronous lighting.

【0045】図6は、撮像素子26で受光した1画面分
の映像信号(a)に対し、各画面毎に投光タイミング
(b)によって投影用光源23を発光し、外部からの指
示によって不規則に到来する撮像素子26の受光タイミ
ング(c)と重複したときは、投影用光源23の発光を
中止して受光タイミングを優先させる(d)ように制御
するためのタイミングチャートである。こうすることに
よって撮像素子26が投影用光源23の影響を受け難い
ようにしている。
FIG. 6 shows that the image signal (a) for one screen received by the image sensor 26 emits the projection light source 23 at the light emission timing (b) for each screen, and the image signal (a) is disabled by an external instruction. This is a timing chart for performing control such that when the light receiving timing (c) of the image sensor 26 that comes under the rule overlaps, the light emission of the projection light source 23 is stopped and the light receiving timing is prioritized (d). By doing so, the image pickup device 26 is hardly affected by the projection light source 23.

【0046】ここで、撮像素子26の受光タイミングの
調整法について説明する。一般に撮像素子は半導体基板
上に光電センサやシフトレジスタ等が形成されて構成さ
れている。基板電圧が通常電圧のときは光電センサによ
って光電変換された信号電荷を蓄積するが、基板電圧が
通常電圧より高い電圧になると、蓄積していた信号電荷
をシフトレジスタに移動せずにそのまま外部に放出する
という性質がある。
Here, a method of adjusting the light receiving timing of the image sensor 26 will be described. Generally, an imaging device is configured by forming a photoelectric sensor, a shift register, and the like on a semiconductor substrate. When the substrate voltage is the normal voltage, the signal charges photoelectrically converted by the photoelectric sensor are stored.When the substrate voltage becomes higher than the normal voltage, the stored signal charges are not transferred to the shift register and are transferred to the outside without any change. It has the property of releasing.

【0047】そこで、この性質を利用して1水平期間毎
に基板電圧を瞬時に高電圧とし、それまで光電センサに
蓄積されていた信号電荷を放出する。ただし、1画面終
了前の所定期間は基板電圧を通常電圧に維持することに
よって、最後に基板電圧が高電圧になった時点から信号
電荷をシフトレジスタに転送するまでの間に受光した光
の信号電荷のみを転送するようにすることによって受光
タイミングを定めることができる。
Therefore, utilizing this property, the substrate voltage is instantaneously increased every one horizontal period, and the signal charges stored in the photoelectric sensor until that time are released. However, by maintaining the substrate voltage at the normal voltage for a predetermined period before the end of one screen, the light signal received from when the substrate voltage finally becomes high until the signal charge is transferred to the shift register. The light receiving timing can be determined by transferring only the electric charge.

【0048】なお、投影用光源23の投影タイミングと
撮像素子26の受光タイミングとをずらす制御を行う場
合は、受光タイミングと照明用光源29,30の照明タ
イミングとを一致させてストロボ発光を行えば、撮像素
子26はさらに外乱光の影響を受け難くなる。
When performing control to shift the projection timing of the projection light source 23 and the light reception timing of the image sensor 26, strobe light emission is performed by matching the light reception timing with the illumination timing of the illumination light sources 29 and 30. In addition, the image sensor 26 is further less affected by disturbance light.

【0049】また、撮像素子26の配置位置としては、
波長選択素子22の透過位置側でも可能であるが、板状
の波長選択素子22を用いた場合は、対象物1の反射光
がレンズ21を通って傾斜した波長選択素子22を透過
することになるので、非点収差およびコマ収差が発生
し、結像する画像がボケてしまうという。このため、低
コストで済む板状の波長選択素子22を用いる場合は、
撮像素子26は波長選択素子22の反射位置側に配置し
た方がよい。
The position of the image sensor 26 is as follows.
Although it is possible on the transmission position side of the wavelength selection element 22, when the plate-shaped wavelength selection element 22 is used, the reflected light of the object 1 passes through the wavelength selection element 22 inclined through the lens 21. Therefore, astigmatism and coma are generated, and the image to be formed is blurred. For this reason, when using the plate-like wavelength selection element 22 which can be manufactured at low cost,
It is preferable that the imaging element 26 be disposed on the reflection position side of the wavelength selection element 22.

【0050】(第2の実施の形態)図7は、本発明の第
2の実施の形態を示すブロック図で、図1に示す構成要
素と同一部分には同一符号を付し、詳細説明は省略す
る。本実施の形態は、照明用光源29に青色光源を用
い、照明用光源30に赤色光源を用い、点灯制御部35
でそれぞれ時分割で交互に発光させるように構成した点
を除いては、前述の第1の実施の形態に示す構成と同一
である。
(Second Embodiment) FIG. 7 is a block diagram showing a second embodiment of the present invention. In FIG. 7, the same components as those shown in FIG. Omitted. This embodiment uses a blue light source as the illumination light source 29, a red light source as the illumination light source 30, and a lighting control unit 35.
The configuration is the same as that of the above-described first embodiment, except that the light-emitting device is configured to emit light alternately in a time-division manner.

【0051】本実施の形態では、異なる2つの照明色を
時分割で発光させることによって、カラーのイメージセ
ンサを用いることなくモノクロのイメージセンサを用い
て各色の検出処理を行うことができる。これにより、低
コストで高精度な2波長のパターン認識が可能な画像処
理装置が実現できる。
In this embodiment, by emitting two different illumination colors in a time-division manner, it is possible to perform the detection processing of each color using a monochrome image sensor without using a color image sensor. This makes it possible to realize an image processing apparatus capable of low-cost and highly accurate two-wavelength pattern recognition.

【0052】(第3の実施の形態)図8は、本発明の第
3の実施の形態を示すブロック図で、前述の第1の実施
の形態の変形例である。本実施の形態では、撮像部2A
を光源装置4と撮像装置5とに分離し、光源装置4の白
色光源41で発した光をレンズ42で集光し、光ファイ
バ6を介して撮像装置5に投影用光源および照明用光源
として供給するように構成している。なお、ドライバ2
5、撮像制御部27、A/D変換器28、処理部2Bな
どの構成要素は省略して示している。
(Third Embodiment) FIG. 8 is a block diagram showing a third embodiment of the present invention, which is a modification of the above-described first embodiment. In the present embodiment, the imaging unit 2A
Is separated into a light source device 4 and an imaging device 5, and light emitted from a white light source 41 of the light source device 4 is condensed by a lens 42, and is transmitted to the imaging device 5 via an optical fiber 6 as a projection light source and an illumination light source. It is configured to supply. Driver 2
5, components such as an imaging control unit 27, an A / D converter 28, and a processing unit 2B are omitted.

【0053】撮像装置5側の光ファイバ6の端部は2つ
に分岐しており、その一つはスリット24の背部に設置
されて投影用光源として作用し、他の一つはレンズ21
の近傍に配置されて照明用光源として作用する。
The end of the optical fiber 6 on the side of the imaging device 5 is branched into two, one of which is provided behind the slit 24 to act as a light source for projection, and the other one is a lens 21.
And acts as an illumination light source.

【0054】白色光源41から発した白色光は光ファイ
バ6を介してスリット24の背部から出光され、そのう
ちの赤色光および青色光は波長選択素子22で反射さ
れ、緑色光のみが波長選択素子22を透過し、レンズ2
1により集光されて対象物1の所定領域1aを投影す
る。
The white light emitted from the white light source 41 is emitted from the back of the slit 24 through the optical fiber 6, and the red light and the blue light are reflected by the wavelength selection element 22, and only the green light is emitted from the wavelength selection element 22. Through the lens 2
The light is condensed by 1 and projects a predetermined area 1a of the object 1.

【0055】また、レンズ21の近傍からは白色光が出
光され、対象物1を照明する。その反射光はレンズ21
で集光された後に、赤色および青色の波長帯域の光のみ
が波長選択素子22で反射され、撮像素子26に結像さ
れる。
White light is emitted from the vicinity of the lens 21 to illuminate the object 1. The reflected light is transmitted through the lens 21
, Only the light in the red and blue wavelength bands is reflected by the wavelength selection element 22 and forms an image on the imaging element 26.

【0056】このように、本実施の形態では、同一の光
源41を投影用光源と照明用光源とに用いているので撮
像装置5の小型化が図れるうえ、撮像装置5には発光源
がないため温度上昇がなくなり、撮像素子26が安定し
た性能を発揮することができる。その他の作用は前述の
第1の実施の形態と同様である。
As described above, in this embodiment, since the same light source 41 is used for the projection light source and the illumination light source, the size of the imaging device 5 can be reduced, and the imaging device 5 has no light source. Therefore, the temperature rise does not occur, and the imaging element 26 can exhibit stable performance. Other operations are the same as those of the first embodiment.

【0057】(第4の実施の形態)図9は、本発明の第
4の実施の形態を示すブロック図で、前述の第2の実施
の形態の変形例である。本実施の形態では、撮像部2A
を光源装置4と撮像装置5とに分離し、光源装置4の白
色光源41で発した白色光をレンズ42で集光し、波長
選択素子22と同一特性を有する波長選択素子43で緑
色光と赤・青色光とに分離して撮像装置5に供給するよ
うに構成している。なお、ドライバ25、撮像制御部2
7、A/D変換器28、処理部2Bなどの構成要素は省
略して示している。
(Fourth Embodiment) FIG. 9 is a block diagram showing a fourth embodiment of the present invention, which is a modification of the above-described second embodiment. In the present embodiment, the imaging unit 2A
Is separated into a light source device 4 and an imaging device 5, and white light emitted from a white light source 41 of the light source device 4 is condensed by a lens 42, and is converted into green light by a wavelength selection element 43 having the same characteristics as the wavelength selection element 22. It is configured to be supplied to the imaging device 5 after being separated into red and blue light. The driver 25 and the imaging control unit 2
7, components such as the A / D converter 28 and the processing unit 2B are omitted.

【0058】撮像装置5側の光ファイバ6aの端部はス
リット24の背部に設置されて投影用光源として作用
し、撮像装置5側の光ファイバ6bの端部はレンズ21
の近傍に配置されて照明用光源として作用する。
The end of the optical fiber 6a on the imaging device 5 side is provided behind the slit 24 to act as a light source for projection, and the end of the optical fiber 6b on the imaging device 5 side is a lens 21.
And acts as an illumination light source.

【0059】白色光源41から発して波長選択素子42
を透過した緑色光は、光ファイバ6aを介してスリット
24の後方から出光され、波長選択素子22を透過し、
レンズ21により集光されて対象物1の所定領域1aを
投影する。
The wavelength selecting element 42 emitted from the white light source 41
Is emitted from behind the slit 24 through the optical fiber 6a, passes through the wavelength selection element 22,
The light is converged by the lens 21 to project a predetermined area 1a of the object 1.

【0060】また、白色光源41から発して波長選択素
子42で反射した赤色光および青色光は、光ファイバ6
bを介してレンズ21の近傍から出光され、対象物1を
照明する。その反射光はレンズ21で集光され、波長選
択素子22で反射され、撮像素子26に結像される。
The red light and blue light emitted from the white light source 41 and reflected by the wavelength selection element 42 are
The light is emitted from the vicinity of the lens 21 via b, and illuminates the object 1. The reflected light is condensed by a lens 21, reflected by a wavelength selection element 22, and is imaged on an imaging element 26.

【0061】このように、本実施の形態では、同一の光
源41を投影用光源と照明用光源とに共通に用いている
ので撮像装置5の小型化が図れるうえ、撮像装置5には
発光源がないため温度上昇がなくなり、撮像素子26が
安定した性能を発揮することができる。また、光源装置
4で白色光を投影用と照明用とに分離してから光ファイ
バを介して撮像装置5に供給するので、光源41から発
せられた光を効率よく利用できる。その他の作用は前述
の第2の実施の形態と同様である。
As described above, in the present embodiment, the same light source 41 is used in common for the projection light source and the illumination light source, so that the imaging device 5 can be downsized and the imaging device 5 has a light emitting source. Because there is no temperature rise, the temperature rise does not occur, and the image sensor 26 can exhibit stable performance. Further, since the white light is separated into the light for projection and the light for illumination by the light source device 4 and then supplied to the imaging device 5 via the optical fiber, the light emitted from the light source 41 can be used efficiently. Other operations are the same as those of the second embodiment.

【0062】(第5の実施の形態)図10は、本発明の
第5の実施の形態を示すブロック図で、前述の第4の実
施の形態の変形例である。本実施の形態では、撮像装置
5のスリット24の背部に光源装置4を直接配置し、光
源装置4の白色光源41で発した光をレンズ42で集光
し、波長選択素子22と同一特性を有する波長選択素子
43で緑色光と赤・青色光とを分離し、緑色光は撮像装
置5のスリット24の背部に投影用光源として供給し、
赤・青色光は光ファイバ6bを介して撮像装置5に照明
用光源として供給するように構成している。なお、ドラ
イバ25、撮像制御部27、A/D変換器28、処理部
2Bなどその他の構成要素は省略して示している。
(Fifth Embodiment) FIG. 10 is a block diagram showing a fifth embodiment of the present invention, which is a modification of the above-described fourth embodiment. In the present embodiment, the light source device 4 is directly disposed behind the slit 24 of the imaging device 5, and the light emitted from the white light source 41 of the light source device 4 is collected by the lens 42, and has the same characteristics as the wavelength selection element 22. The green light and the red / blue light are separated by the wavelength selecting element 43 provided, and the green light is supplied to the back of the slit 24 of the imaging device 5 as a light source for projection,
The red and blue lights are configured to be supplied as light sources for illumination to the imaging device 5 via the optical fiber 6b. Other components such as the driver 25, the imaging control unit 27, the A / D converter 28, and the processing unit 2B are omitted.

【0063】白色光源41から発して波長選択素子42
を透過した緑色光は、光ファイバ6aを介してスリット
24の後方から出光され、波長選択素子22を透過し、
レンズ21により集光されて対象物1の所定領域1aを
投影する。
The wavelength selecting element 42 emitted from the white light source 41
Is emitted from behind the slit 24 through the optical fiber 6a, passes through the wavelength selection element 22,
The light is converged by the lens 21 to project a predetermined area 1a of the object 1.

【0064】また、白色光源41から発して波長選択素
子42で反射した赤色光および青色光は、光ファイバ6
bを介してレンズ21の近傍から出光され、対象物1を
照明する。その反射光はレンズ21で集光され、波長選
択素子22で反射され、撮像素子26に結像される。
The red light and blue light emitted from the white light source 41 and reflected by the wavelength selection element 42 are
The light is emitted from the vicinity of the lens 21 via b, and illuminates the object 1. The reflected light is condensed by a lens 21, reflected by a wavelength selection element 22, and is imaged on an imaging element 26.

【0065】このように、本実施の形態では、同一の光
源41を投影用光源と照明用光源とに共通に用いている
ので撮像装置5の小型化が図れるうえ、撮像装置5の近
傍に発光源がないため温度上昇がなくなり、撮像素子2
6が安定した性能を発揮することができる。また、光源
装置4で白色光を投影用と照明用とに分離してから撮像
装置5に供給するので、光源41から発せられた光を効
率よく利用できる。その他の作用は前述の第2の実施の
形態と同様である。
As described above, in the present embodiment, the same light source 41 is used in common for the projection light source and the illumination light source, so that the size of the imaging device 5 can be reduced, and light emission near the imaging device 5 can be achieved. Since there is no source, there is no increase in temperature,
6 can exhibit stable performance. Further, since the white light is separated into the light for projection and the light for illumination by the light source device 4 and then supplied to the imaging device 5, the light emitted from the light source 41 can be used efficiently. Other operations are the same as those of the second embodiment.

【0066】(第6の実施の形態)図11は、本発明の
第6の実施の形態を示すブロック図である。本実施の形
態では、レンズ21の背後にキューブ型の波長選択素子
51および撮像素子26をこれらの順に配置し、また波
長選択素子51の反射位置側にスリット24およびキュ
ーブ型の波長選択素子52をこれらの順に配置し、さら
に波長選択素子52の反射位置側に白色光源41および
レンズ42を配置した構成となっている。なお、ドライ
バ25、撮像制御部27、A/D変換器28、処理部2
Bなどの構成要素は省略して示している。
(Sixth Embodiment) FIG. 11 is a block diagram showing a sixth embodiment of the present invention. In the present embodiment, a cube-type wavelength selection element 51 and an imaging element 26 are arranged behind the lens 21 in this order, and the slit 24 and the cube-type wavelength selection element 52 are arranged on the reflection position side of the wavelength selection element 51. They are arranged in this order, and the white light source 41 and the lens 42 are arranged on the reflection position side of the wavelength selection element 52. The driver 25, the imaging control unit 27, the A / D converter 28, the processing unit 2
Components such as B are omitted.

【0067】この構成において、2つの波長選択素子5
1,52は共に緑色光の波長帯域の光は反射し、その他
の波長帯域の光は透過する特性を有している。このた
め、白色光源41を発してレンズ42で集光された光の
うち、赤・青色光は波長選択素子52を透過して対象物
1を照明し、緑色光は波長選択素子52で反射してスリ
ット24を通過し、波長選択素子51で反射した後にレ
ンズ21で集光されて対象物1に投影結像される。
In this configuration, the two wavelength selecting elements 5
Each of the light emitting devices 1 and 52 has a characteristic of reflecting light in a wavelength band of green light and transmitting light in other wavelength bands. For this reason, of the light emitted from the white light source 41 and condensed by the lens 42, red and blue light are transmitted through the wavelength selection element 52 to illuminate the object 1, and green light is reflected by the wavelength selection element 52. After passing through the slit 24 and being reflected by the wavelength selection element 51, the light is condensed by the lens 21 and projected and formed on the object 1.

【0068】このように、本実施の形態では、同一の光
源41を投影用光源と照明用光源とに共通に用いている
ので撮像装置5の小型化が図れるうえ、撮像装置5の近
傍に発光源がないため温度上昇がなくなり、撮像素子2
6が安定した性能を発揮することができる。また、光源
装置4で白色光を投影用と照明用とに分離してから撮像
装置5に供給するので、光源41から発せられた光を効
率よく利用できる。その他の作用は前述の第2の実施の
形態と同様である。
As described above, in the present embodiment, the same light source 41 is used in common for the projection light source and the illumination light source, so that the size of the imaging device 5 can be reduced, and the light emission near the imaging device 5 can be achieved. Since there is no source, there is no increase in temperature,
6 can exhibit stable performance. Further, since the white light is separated into the light for projection and the light for illumination by the light source device 4 and then supplied to the imaging device 5, the light emitted from the light source 41 can be used efficiently. Other operations are the same as those of the second embodiment.

【0069】また、本実施の形態では、キューブ型の波
長選択素子51を用いることによって撮像素子26を透
過位置側に配置するようにしている。前述したように、
板状の波長選択素子を用いた場合に撮像素子26を透過
位置側に配置すると、非点収差およびコマ収差が発生
し、結像する画像がボケてしまうが、キューブ型の波長
選択素子であれば、球面収差が発生するが、レンズ21
の形状を変えることでキャンセルすることができる。
In the present embodiment, the image pickup element 26 is arranged on the transmission position side by using the cube-type wavelength selection element 51. As previously mentioned,
If the imaging element 26 is arranged on the transmission position side when a plate-shaped wavelength selection element is used, astigmatism and coma aberration occur, and an image to be formed is blurred. If spherical aberration occurs, the lens 21
Can be canceled by changing the shape of.

【0070】[0070]

【発明の効果】本発明によれば、照明手段によって対象
物を照明し、投影手段によってこの対象物に所定形状の
像を投影し、この投影像を目視観察しながら対象物との
位置関係を調整することができるので、表示装置のモニ
タ画面を用いることなく対象物上の所定領域の設定やピ
ント調整を行うことができる。また、対象物に投影する
投影像の色(波長帯域)と対象物を照明する照明光の色
とを異ならせることによって、これらを同時に点灯さ
せ、所定領域の設定を行うことができる。
According to the present invention, the object is illuminated by the illuminating means, an image of a predetermined shape is projected on the object by the projecting means, and the positional relationship with the object is determined while visually observing the projected image. Since the adjustment can be performed, the setting of a predetermined area on the target object and the focus adjustment can be performed without using the monitor screen of the display device. Further, by making the color (wavelength band) of the projected image projected on the target object different from the color of the illumination light illuminating the target object, these can be simultaneously turned on to set a predetermined area.

【0071】また、本発明によれば、2つの波長帯域の
光(例えば、赤色光および青色光)で対象物を検出する
ので、それぞれの反射光量に違いが表れ、1つの波長帯
域で検出する場合に比べて判別可能な対象物を広げるこ
とができる。
Further, according to the present invention, since an object is detected with light in two wavelength bands (for example, red light and blue light), the reflected light amounts differ, and detection is performed in one wavelength band. The identifiable object can be expanded as compared with the case.

【0072】また、本発明によれば、異なる2つの照明
色を時分割で発光させることによって、カラーのイメー
ジセンサを用いることなくモノクロのイメージセンサを
用いて各色の検出処理を行うことができる。これによ
り、低コストで高精度な2波長のパターン認識が可能な
画像処理装置が実現できる。
Further, according to the present invention, by emitting two different illumination colors in a time-division manner, it is possible to perform detection processing of each color using a monochrome image sensor without using a color image sensor. This makes it possible to realize an image processing apparatus capable of low-cost and highly accurate two-wavelength pattern recognition.

【0073】また、本発明によれば、各波長帯域の光を
分離する波長選択素子として低コストの板状の素子を用
いる場合は、撮像素子を波長選択素子の反射位置側に配
置するようにしたので、透過位置側に配置した場合に比
べて非点収差やコマ収差が発生せず、鮮明な画像を得る
ことができる。
According to the present invention, when a low-cost plate-like element is used as the wavelength selecting element for separating the light of each wavelength band, the image pickup element is arranged on the reflection position side of the wavelength selecting element. As a result, a clear image can be obtained without astigmatism or coma as compared with the case where the light source is disposed on the transmission position side.

【0074】また、本発明によれば、同一の光源を投影
用光源と照明用光源とに用いているので、装置の小型化
が図れるうえ、発光源を分離することによって装置内の
温度上昇がなくなり、撮像素子が安定した性能を発揮す
ることができる。また、光源装置で白色光を投影用と照
明用とに分離してから供給するようにすれば、光源から
発せられた光を効率よく利用できる。
Further, according to the present invention, since the same light source is used for the projection light source and the illumination light source, the size of the device can be reduced, and the temperature rise in the device can be reduced by separating the light source. As a result, the imaging device can exhibit stable performance. If the light source device supplies white light after separating it for projection and illumination, the light emitted from the light source can be used efficiently.

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

【図1】本発明の第1の実施の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】図1に示す波長選択素子の透過率(反射率)を
表す特性図である。
FIG. 2 is a characteristic diagram showing transmittance (reflectance) of the wavelength selection element shown in FIG.

【図3】(a)は対象物と撮像部との位置関係を示す斜
視図、(b),(c)は対象物上に投影結像されたスリ
ット画像を示す図である。
FIG. 3A is a perspective view showing a positional relationship between an object and an imaging unit, and FIGS. 3B and 3C are views showing slit images projected and formed on the object.

【図4】光源波長に対する対象物の各色の反射率を表す
特性図である。
FIG. 4 is a characteristic diagram showing a reflectance of each color of an object with respect to a light source wavelength.

【図5】(a)は映像信号、(b)は光源の投影タイミ
ング、(c)は外部から不規則的に入力される撮像素子
の受光タイミングを示すタイミングチャートである。
5A is a timing chart showing a video signal, FIG. 5B is a timing chart showing a projection timing of a light source, and FIG. 5C is a timing chart showing a light receiving timing of an image pickup device which is irregularly input from the outside;

【図6】(a)は映像信号、(b)は光源の投影タイミ
ング、(c)は外部から不規則的に入力される撮像素子
の受光タイミング、(d)は受光タイミングを優先させ
た投影タイミングを示すタイミングチャートである。
6A is a video signal, FIG. 6B is a projection timing of a light source, FIG. 6C is a light reception timing of an image sensor that is irregularly input from the outside, and FIG. 6 is a timing chart showing timing.

【図7】本発明の第2の実施の形態を示すブロック図で
ある。
FIG. 7 is a block diagram showing a second embodiment of the present invention.

【図8】本発明の第3の実施の形態を示すブロック図で
ある。
FIG. 8 is a block diagram showing a third embodiment of the present invention.

【図9】本発明の第4の実施の形態を示すブロック図で
ある。
FIG. 9 is a block diagram showing a fourth embodiment of the present invention.

【図10】本発明の第5の実施の形態を示すブロック図
である。
FIG. 10 is a block diagram showing a fifth embodiment of the present invention.

【図11】本発明の第6の実施の形態を示すブロック図
である。
FIG. 11 is a block diagram showing a sixth embodiment of the present invention.

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

1 対象物 1a 所定領域 2 画像処理装置 2A 撮像部 2B 処理部 21 レンズ 22 波長選択素子 23 投影用光源 24 スリット 25 ドライバ 26 撮像素子 27 撮像制御部 28 A/D変換器 29,30 照明用光源 31 画像処理部 32 CPU 33 メモリ 34 入出力部(I/O) 35 点灯制御部 36 システムバス 4 光源装置 41 白色光源 42 レンズ 43 波長選択素子 51,52 キューブ型の波長選択素子 REFERENCE SIGNS LIST 1 object 1a predetermined area 2 image processing device 2A imaging unit 2B processing unit 21 lens 22 wavelength selection element 23 light source for projection 24 slit 25 driver 26 imaging element 27 imaging control unit 28 A / D converter 29, 30 illumination light source 31 Image processing unit 32 CPU 33 Memory 34 Input / output unit (I / O) 35 Lighting control unit 36 System bus 4 Light source device 41 White light source 42 Lens 43 Wavelength selection element 51, 52 Cube-type wavelength selection element

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G06F 15/70 455A ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FIG06F 15/70 455A

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 所定の波長帯域の光によって対象物上の
所定領域に像を投影する投影手段と、 前記対象物を照明する照明手段と、 前記対象物から反射される光のうち前記所定の波長帯域
の光を除く波長帯域の光を入射させる波長選択素子と、 前記波長選択素子を通した光によって形成される像を撮
像する撮像手段と、を備えることを特徴とする撮像装
置。
A projection unit configured to project an image on a predetermined region on the target object by using light of a predetermined wavelength band; an illumination unit configured to illuminate the target object; An imaging apparatus, comprising: a wavelength selection element that receives light in a wavelength band other than light in a wavelength band; and an imaging unit that captures an image formed by light passing through the wavelength selection element.
【請求項2】 請求項1記載の撮像装置によって撮像し
た像と、予め記憶された所定の像とを比較処理し、その
比較結果を出力することを特徴とする画像処理装置。
2. An image processing apparatus, comprising: comparing an image captured by the imaging apparatus according to claim 1 with a predetermined image stored in advance; and outputting a result of the comparison.
【請求項3】 請求項1記載の撮像装置によって撮像し
た像を画像処理した結果と、予め記憶された所定の基準
値とを比較し、その比較結果を出力することを特徴とす
る画像処理装置。
3. An image processing apparatus which compares a result of image processing of an image captured by the imaging apparatus according to claim 1 with a predetermined reference value stored in advance and outputs the comparison result. .
【請求項4】 所定の波長帯域の光によって対象物上の
所定領域に像を投影する投影手段と、 前記対象物を照明する照明手段と、 前記対象物から反射される光のうち前記所定の波長帯域
の光を除く波長帯域の光を反射する波長選択素子と、 前記波長選択素子で反射された光によって形成される像
を撮像するための撮像手段と、を備えることを特徴とす
る撮像装置。
4. Projection means for projecting an image on a predetermined area on an object by light in a predetermined wavelength band; illuminating means for illuminating the object; An imaging apparatus comprising: a wavelength selection element that reflects light in a wavelength band excluding light in a wavelength band; and an imaging unit that captures an image formed by the light reflected by the wavelength selection element. .
【請求項5】 請求項4記載の撮像装置によって撮像し
た像と、予め記憶された所定の像とを比較処理し、その
比較結果を出力することを特徴とする画像処理装置。
5. An image processing apparatus, comprising: comparing an image captured by the image capturing apparatus according to claim 4 with a predetermined image stored in advance; and outputting a result of the comparison.
【請求項6】 請求項4記載の撮像装置によって撮像し
た像を画像処理した結果と、予め記憶された所定の基準
値とを比較し、その比較結果を出力することを特徴とす
る画像処理装置。
6. An image processing apparatus, comprising: comparing a result obtained by performing image processing on an image captured by the imaging apparatus according to claim 4 with a predetermined reference value stored in advance; and outputting the comparison result. .
【請求項7】 第1の波長帯域の光を透過し第2の波長
帯域の光を反射する波長選択素子と、 対象物上の所定領域を前記波長選択素子を透過した前記
第1の波長帯域の光によって投影する投影手段と、 前記第2の波長帯域の光で前記対象物を照明する照明手
段と、 前記対象物および前記波長選択素子で反射した前記第2
の波長帯域の光を受光する撮像手段と、 前記撮像手段で撮像した画像を処理する画像処理手段と
を備え、 前記投影手段によって前記対象物を投影する領域が前記
所定領域と一致するようにすることを特徴とする画像処
理装置。
7. A wavelength selection element that transmits light of a first wavelength band and reflects light of a second wavelength band, and the first wavelength band that transmits a predetermined area on an object through the wavelength selection element. Projecting means for projecting with the light of the following; illuminating means for illuminating the object with light of the second wavelength band; and the second reflected by the object and the wavelength selection element.
Imaging means for receiving light in a wavelength band of: and image processing means for processing an image taken by the imaging means, so that an area where the object is projected by the projection means coincides with the predetermined area. An image processing apparatus characterized by the above-mentioned.
【請求項8】 第1の波長帯域の光を反射し第2の波長
帯域の光を透過する波長選択素子と、 対象物上の所定領域を前記波長選択素子で反射した前記
第1の波長帯域の光によって投影する投影手段と、 前記第2の波長帯域を含む光で前記対象物を照明する照
明手段と、 前記対象物で反射し前記波長選択素子を透過した前記第
2の波長帯域の光を受光する撮像手段と、 前記撮像手段で撮像した画像を処理する画像処理手段と
を備え、 前記投影手段によって前記対象物を投影する領域が前記
所定領域と一致するようにすることを特徴とする画像処
理装置。
8. A wavelength selection element that reflects light in a first wavelength band and transmits light in a second wavelength band, and the first wavelength band in which a predetermined area on an object is reflected by the wavelength selection element. Projection means for projecting with the light of the following, illumination means for illuminating the object with light including the second wavelength band, light of the second wavelength band reflected by the object and transmitted through the wavelength selection element And an image processing unit that processes an image captured by the imaging unit, wherein an area where the object is projected by the projection unit coincides with the predetermined area. Image processing device.
【請求項9】 前記第1の波長帯域の光が緑色光であ
り、前記第2の波長帯域の光が赤色光および青色光であ
ることを特徴とする請求項7〜8いずれか記載の画像処
理装置。
9. The image according to claim 7, wherein the light in the first wavelength band is green light, and the light in the second wavelength band is red light and blue light. Processing equipment.
【請求項10】 前記照明手段は前記第2の波長帯域の
光を時分割で交互に発光し、前記撮像手段は前記第2の
波長帯域の光を時分割で受光する白黒用の光電変換素子
であることを特徴とする請求項9記載の画像処理装置。
10. The black-and-white photoelectric conversion element, wherein the illumination unit emits light of the second wavelength band alternately in a time-division manner, and the imaging unit receives the light of the second wavelength band in a time-division manner. The image processing apparatus according to claim 9, wherein
【請求項11】 前記波長選択素子は板状に形成されて
おり、前記撮像手段は板状の前記波長選択素子の反射光
を受光する側の位置に配置されていることを特徴とする
請求項7記載の画像処理装置。
11. The apparatus according to claim 1, wherein the wavelength selection element is formed in a plate shape, and the imaging means is arranged at a position on a side of the plate-shaped wavelength selection element that receives reflected light. 8. The image processing device according to 7.
【請求項12】 第1ないし第3の波長帯域の光を発生
する光源と、 前記光源の光から抽出した前記第1の波長帯域の光によ
って対象物上の所定領域を投影する投影手段と、 前記光源の光または前記光源の光から抽出した前記第2
および第3の波長帯域の光によって前記対象物を照明す
る照明手段と、 前記対象物を反射した前記第2および第3の波長帯域の
光によって形成される画像を撮像する撮像手段と、 前記撮像手段で撮像した画像を処理する画像処理手段と
を備え、 前記投影手段によって前記対象物を投影する領域と前記
所定領域とが一致するようにすることを特徴とする画像
処理装置。
12. A light source for generating light of first to third wavelength bands, a projection unit for projecting a predetermined area on an object by light of the first wavelength band extracted from the light of the light source, The light of the light source or the second light extracted from the light of the light source
Illumination means for illuminating the object with light in the third and third wavelength bands; imaging means for capturing an image formed by the light in the second and third wavelength bands reflected on the object; An image processing apparatus comprising: an image processing unit configured to process an image captured by the unit, wherein an area on which the object is projected by the projection unit matches the predetermined area.
【請求項13】 前記光源と前記投影手段および前記照
明手段との間が光ファイバによって接続され、前記光源
と前記撮像手段とが分離して配置されていることを特徴
とする請求項12記載の画像処理装置。
13. The apparatus according to claim 12, wherein said light source, said projecting means and said illuminating means are connected by an optical fiber, and said light source and said imaging means are arranged separately. Image processing device.
JP20736697A 1996-12-24 1997-07-17 Imaging device and image processing device Expired - Lifetime JP3516006B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20736697A JP3516006B2 (en) 1996-12-24 1997-07-17 Imaging device and image processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP35555996 1996-12-24
JP8-355559 1996-12-24
JP20736697A JP3516006B2 (en) 1996-12-24 1997-07-17 Imaging device and image processing device

Publications (2)

Publication Number Publication Date
JPH10243287A true JPH10243287A (en) 1998-09-11
JP3516006B2 JP3516006B2 (en) 2004-04-05

Family

ID=26516210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20736697A Expired - Lifetime JP3516006B2 (en) 1996-12-24 1997-07-17 Imaging device and image processing device

Country Status (1)

Country Link
JP (1) JP3516006B2 (en)

Also Published As

Publication number Publication date
JP3516006B2 (en) 2004-04-05

Similar Documents

Publication Publication Date Title
JP3129245B2 (en) Imaging device
US20240118218A1 (en) Stroboscopic stepped illumination defect detection system
US9709387B2 (en) Image generation device for acquiring distances of objects present in image space
US10262431B2 (en) Three-dimensional measurement device
US20040208373A1 (en) Image capture apparatus
EP2162790B1 (en) Multi color autofocus apparatus and method
JP6348289B2 (en) Inspection apparatus and inspection method
CN101726499A (en) Surface inspection apparatus
WO2013175703A1 (en) Display device inspection method and display device inspection device
US7414735B2 (en) Displacement sensor equipped with automatic setting device for measurement region
JP2006279546A (en) Electronic camera, image processing program, and image processing method
US20030103159A1 (en) Evaluating the effect of a strobe light in a camera
US7909471B2 (en) Rear projection type display apparatus
JP2010014530A (en) Substrate visual inspection method and substrate visual inspecting device
JPWO2003032261A1 (en) Coin discrimination device and coin discrimination method
JP2005338054A (en) Automatic evaluation device of vehicle-mounted display gauge
CN112985587B (en) Method for processing image of luminous material
JP2012149946A (en) Inspection device, inspection method and program
JP3516006B2 (en) Imaging device and image processing device
US20180130230A1 (en) Recognition apparatus, determination method, and article manufacturing method
KR101996486B1 (en) Vision test device using sequential light technic
JPH051950A (en) Illuminance measuring method for vehicle light
US10559072B2 (en) Image detection device and image detection system
JP3584685B2 (en) Image processing device
JP2004040417A (en) Imaging apparatus, and white balance correction method

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031215

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

Free format text: PAYMENT UNTIL: 20090130

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090130

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100130

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100130

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110130

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110130

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120130

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130130

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140130

Year of fee payment: 10

EXPY Cancellation because of completion of term