JP4030570B2 - Image processing light irradiation apparatus and image processing light irradiation method - Google Patents

Image processing light irradiation apparatus and image processing light irradiation method Download PDF

Info

Publication number
JP4030570B2
JP4030570B2 JP2006252216A JP2006252216A JP4030570B2 JP 4030570 B2 JP4030570 B2 JP 4030570B2 JP 2006252216 A JP2006252216 A JP 2006252216A JP 2006252216 A JP2006252216 A JP 2006252216A JP 4030570 B2 JP4030570 B2 JP 4030570B2
Authority
JP
Japan
Prior art keywords
light irradiation
light
image processing
solid angle
unit
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 - Fee Related
Application number
JP2006252216A
Other languages
Japanese (ja)
Other versions
JP2007003543A (en
Inventor
賢治 米田
茂樹 増村
智 福井
秀明 柏原
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.)
CCS Inc
Original Assignee
CCS Inc
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 CCS Inc filed Critical CCS Inc
Priority to JP2006252216A priority Critical patent/JP4030570B2/en
Publication of JP2007003543A publication Critical patent/JP2007003543A/en
Application granted granted Critical
Publication of JP4030570B2 publication Critical patent/JP4030570B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Led Device Packages (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

本発明は、製品の表面検査やマーク検出等に好適に用いられる画像処理用光照射装置等に関するものである。   The present invention relates to an image processing light irradiation apparatus and the like that are suitably used for surface inspection of products, mark detection, and the like.

従来、製品等(ワーク)の傷検査やマーク検出、記号読み取り等を自動で行う場合、ワークをCCDカメラ等の撮像装置で撮像して画像データを得るとともに、画像処理装置によって前記画像データを2値化(白黒化)するといった画像処理を加え、前記傷や記号を自動で判別するようにしている。そしてその際には、その画像処理目的に応じた光を前記ワークに照射するようにしている。   Conventionally, when a product or the like (work) is automatically inspected for scratches, mark detection, symbol reading, etc., the work is imaged with an imaging device such as a CCD camera to obtain image data. Image processing such as digitization (monochrome) is added to automatically discriminate the scratches and symbols. At that time, the work is irradiated with light according to the purpose of the image processing.

その一例として、周囲からローアングルで指向性の強い光(以下ローアングル光)を照射し、傷等の欠陥を検出できるようにしたものが知られている(特許文献1図3等)。このような照明によれば、表面が鏡面状をなすものの場合、その表面に対し垂直方向(撮像方向)から観測すると、欠陥のある部分でのみ光が散乱し、その部分のみが光って見えることとなるため、欠陥を検出することができる。   As one example, there is known one that is capable of detecting defects such as scratches by irradiating light with low directivity from the surroundings (hereinafter referred to as low angle light) (Patent Document 1, FIG. 3 and the like). According to such illumination, when the surface is mirror-like, when observed from the direction perpendicular to the surface (imaging direction), light is scattered only at the defective part, and only that part appears to shine. Therefore, the defect can be detected.

その他にも、例えばワークの略直上から、すなわち撮像方向と略同一方向から平行光又は極めて平行に近い光(以下同軸平行光という)を照射し、マークの検出や記号読み取りを円滑に行えるようにしたものや、照射光の色を変えてワーク表面に記載された特定色の印字のみを浮立たせ読み取れるようにしたもの等が知られている。
特開平10−21729号公報
In addition, for example, it is possible to irradiate parallel light or light that is almost parallel (hereinafter referred to as coaxial parallel light) from substantially directly above the workpiece, that is, from substantially the same direction as the imaging direction, so that mark detection and symbol reading can be performed smoothly. In addition, there are known ones that change the color of the irradiated light and allow only a specific color printed on the surface of the workpiece to be lifted and read.
Japanese Patent Laid-Open No. 10-21729

ところで従来は、この種の光照射において、ワークの明るさや光照射角度等の光照射条件に係る設定を、導入初期時やメンテナンス時やワーク機種変更時、不具合発生時等にのみ、例えば画像処理結果を利用して試行錯誤的に手動で行っているのが実情である。そして、ランニング中における動的かつ自動的な光照射条件制御は、光源の光量を一定に保つFB制御がなされている程度で、現実的には行われていないといっても過言ではない。   Conventionally, in this type of light irradiation, settings related to light irradiation conditions such as work brightness and light irradiation angle are set only at the initial stage of installation, at the time of maintenance, when the work model is changed, or when a problem occurs, for example, image processing Actually, it is done manually by trial and error using the results. And it is no exaggeration to say that the dynamic and automatic light irradiation condition control during running is not actually performed to the extent that FB control is performed to keep the light amount of the light source constant.

しかしながら、例えば図に示す金属鍛造品のように、表面に細かい筋状の目が一様に入ったワークの検査を行う場合、ローアングル光の照射方向によっては、その目で光が散乱したり、あるいは陰になったりして表面検査やマーク読み取りが行えないことが生じ得る。 However, when inspecting a workpiece having fine streak-like eyes uniformly on the surface, such as a metal forging shown in FIG. 9 , light is scattered by the eyes depending on the irradiation direction of low-angle light. It may happen that the surface inspection or the mark reading cannot be performed due to the shadow or shadow.

もちろん、単品のワークであれば、オペレータが画像処理結果を参照しつつ、ワークの設置位置や光の照射方向を試行錯誤的に適宣設定することで、表面検査やマーク読み取りを行うことも可能ではある。また、例えば文字読取装置においては、画像処理の結果、文字が切り出せなかったり、読みとれなかったりした場合に照射角度を適当に変えて再トライするものも知られている。しかし、そのように試行錯誤的に行われた設定が最適であるという保証は得られない。   Of course, for a single workpiece, the operator can perform surface inspection and mark reading by appropriately setting the workpiece installation position and light irradiation direction by trial and error while referring to the image processing results. It is. In addition, for example, in a character reader, there is also known a device that performs retry by appropriately changing the irradiation angle when a character cannot be cut out or read as a result of image processing. However, there is no guarantee that such trial and error settings are optimal.

さらに、例えばこのようなワークがライン上を搬送されてきて順次連続的に検査する必要がある場合には、上述した方法では時間がかかりすぎ、全く対処できない。よしんば、画像処理の結果を自動判断して光照射条件の設定を自動調整するような構成にしたとしても、その自動調整処理を含めた画像処理にやはり相当の時間(数十msec)がかかると考えられるため、迅速な検査ができなくなる。   Furthermore, for example, when such a workpiece is conveyed on the line and it is necessary to sequentially inspect it, the method described above takes too much time and cannot be dealt with at all. Even if it is configured to automatically determine the result of image processing and automatically adjust the light irradiation conditions, image processing including the automatic adjustment processing still takes a considerable amount of time (several tens of milliseconds). Because of this, quick inspection is not possible.

そこで本発明は、画像処理装置側で画像処理のための種々の補正を行うのではなく、光照射装置側で、画像処理に最適な画像を得られるように、ワークでの光照射状態、すなわちワークからの反射光の態様を参照しつつ、光の照射態様を動的かつ自動的に生成するようにした、いわばインテリジェント光照射装置とでも言うべき画像処理用光照射装置を提供し、上述した不具合を解決すべく図ったものである。   Therefore, the present invention does not perform various corrections for image processing on the image processing apparatus side, but the light irradiation state on the workpiece, that is, so that an optimal image for image processing can be obtained on the light irradiation apparatus side, that is, Provided is an image processing light irradiation device that can be said to be an intelligent light irradiation device that dynamically and automatically generates a light irradiation mode while referring to a mode of reflected light from a workpiece, and is described above. This is to solve the problem.

すなわち本発明にかかる画像処理用光照射装置は、ライン上を流れるワーク上の所定領域を撮像して得られた画像情報を処理する画像処理装置とともに用いられるものであって、前記所定領域に対し、撮像方向と略同一方向から照射立体角度を変更可能に光を照射する光照射部と、撮像方向からみた前記所定領域の明度を検出する光状態検出部と、前記光照射部を制御して、撮像方向からみた前記所定領域の全部の明度が略最高又は略最低となるように光の照射立体角度を設定する光照射条件制御部と、を備え、前記光照射部が、面上に敷設した多数の発光要素を備えたものであり、前記光照射条件制御部が、それら発光要素のうちの一部を選択的に点灯して光の照射立体角度を設定するものであることを特徴とする。 That is, the image processing light irradiation apparatus according to the present invention is used together with an image processing apparatus that processes image information obtained by imaging a predetermined area on a work flowing on a line, and A light irradiation unit that irradiates light so that the irradiation solid angle can be changed from substantially the same direction as the imaging direction, a light state detection unit that detects the brightness of the predetermined region as viewed from the imaging direction, and the light irradiation unit A light irradiation condition control unit that sets a solid angle of light irradiation so that the brightness of all of the predetermined region viewed from the imaging direction is substantially highest or substantially lowest, and the light irradiation unit is laid on the surface A plurality of light emitting elements, wherein the light irradiation condition control unit selectively turns on a part of the light emitting elements to set a light irradiation solid angle. To do.

このようなものであれば、光照射装置側で、画像処理目的に最適な光照射条件を作り出すことが可能であるため、画像処理装置側での補正等の負荷が大幅に軽減される。しかもその光照射条件は、画像処理に先だってその都度設定可能であるため、例えばライン上を流れてくるワークを次々検査する場合などでも、ワーク毎に検査等のうえで最適な画像を得ることができる。また、画像処理に比べると、光照射状態の検出や光照射条件の設定にはそれほど複雑な処理を必要とせず、画像処理時間の1/10〜1/100オーダーの時間で済むため、その処理時間がボトルネックとなって迅速な検査等に支障を来すこともない。特に、ライン上のワークが傾斜していたとしても、それに対応して光の照射角度を変え、欠陥検出やマーク検出を好適に行うことができる。  If it is such, since it is possible on the light irradiation apparatus side to create the optimal light irradiation conditions for the purpose of image processing, the load such as correction on the image processing apparatus side is greatly reduced. Moreover, since the light irradiation conditions can be set each time prior to image processing, for example, even when inspecting workpieces flowing on the line one after another, an optimal image can be obtained after inspection for each workpiece. it can. Compared to image processing, the detection of light irradiation state and the setting of light irradiation conditions do not require so complicated processing, and the time required is 1 / 10th to 1 / 100th of the image processing time. Time is not a bottleneck, and there is no hindrance to quick inspections. In particular, even if the workpiece on the line is inclined, it is possible to suitably perform defect detection and mark detection by changing the light irradiation angle correspondingly.

また、前記光照射部が、面上に敷設した多数の発光要素を備えたものであり、前記光照射条件制御部が、それら発光要素のうちの一部を選択的に点灯して光の照射立体角度を設定するものであるので、機械的な動作機構を極力少なくし、簡単な構成で前記照射立体角度の変更を可能にすることができる。In addition, the light irradiation unit includes a large number of light emitting elements laid on a surface, and the light irradiation condition control unit selectively turns on a part of the light emitting elements to emit light. Since the solid angle is set, the mechanical operation mechanism can be reduced as much as possible, and the irradiation solid angle can be changed with a simple configuration.

発光要素の具体的な実施の態様としては、前記発光要素が、LED又はLEDに基端部を接続された光ファイバの先端部であることが望ましい。  As a specific embodiment of the light emitting element, it is desirable that the light emitting element is an LED or a tip portion of an optical fiber having a base end connected to the LED.

また、本発明に係る画像処理用光照射方法は、ワーク上の所定領域を撮像する撮像装置及びその撮像装置で得られた画像情報を処理する画像処理装置を用いた画像処理システムに用いられるものであって、前記所定領域に対し、撮像方向と略同一方向から照射立体角度を変更可能に光を照射する光照射部を利用してなり、撮像方向からみた前記所定領域の全部における明度を検出する光照射状態検出ステップと、前記画像処理に先立って前記光照射部を制御して、前記明度が略最高又は略最低となるように光の照射立体角度を自動的に設定する光照射条件設定ステップと、を備え、前記光照射部が、面上に敷設した多数の発光要素を備えたものであり、前記光照射条件設定ステップにおいて、それら発光要素のうちの一部を選択的に点灯して光の照射立体角度を設定するものであることを特徴とする。 The image processing light irradiation method according to the present invention is used for an image processing apparatus that images a predetermined area on a work and an image processing system using the image processing apparatus that processes image information obtained by the image capturing apparatus. The light irradiation unit for irradiating the predetermined area with light so that the irradiation solid angle can be changed from substantially the same direction as the imaging direction is used, and the brightness in the entire predetermined area as viewed from the imaging direction is detected. a light irradiation state detection step of, by controlling the light irradiation unit prior to the image processing, automatic illumination condition setting for setting a radiating solid angle of the light so that the brightness becomes substantially maximum or substantially minimum And the light irradiating unit includes a plurality of light emitting elements laid on a surface, and in the light irradiation condition setting step, some of the light emitting elements are selectively turned on. The Characterized in that it is used to set the radiating solid angle.

例えば、前記光照射条件設定ステップにおいて、画像処理が行われる都度、前記明度が略最高又は略最低となるように光の照射立体角度を設定するようにしていることが望ましい。For example, in the light irradiation condition setting step, it is desirable that the light irradiation solid angle is set so that the lightness is approximately highest or substantially lowest every time image processing is performed.

このように本発明によれば、光照射装置側で、画像処理目的に最適な光照射条件を作り出すことが可能であるため、画像処理装置側での補正等の負荷が大幅に軽減される。しかもその光照射条件は、画像処理に先だってその都度設定されるため、例えばライン上を流れてくるワークを次々検査する場合などでも、ワーク毎に検査等のうえで最適な画像を得ることができる。また、画像処理に比べると、光照射状態の検出や光照射条件の設定にはそれほど複雑な処理を必要とせず、画像処理時間の1/10〜1/100オーダーの時間で済むため、その処理時間がボトルネックとなって迅速な検査等に支障を来すこともない。特に、ライン上のワークが傾斜していたとしても、それに対応して光の照射角度を変え、欠陥検出やマーク検出を好適に行うことができる。さらに、機械的な動作機構を極力少なくし、簡単な構成で前記照射立体角度の変更を可能にすることができる。 As described above, according to the present invention, it is possible to create a light irradiation condition optimal for the purpose of image processing on the light irradiation device side, so that a load such as correction on the image processing device side is greatly reduced. Moreover, since the light irradiation conditions are set every time prior to image processing, for example, even when inspecting works flowing on the line one after another, an optimal image can be obtained after inspection for each work. . Compared to image processing, the detection of light irradiation state and the setting of light irradiation conditions do not require so complicated processing, and the time required is 1 / 10th to 1 / 100th of the image processing time. Time is not a bottleneck, and there is no hindrance to quick inspections. In particular, even if the workpiece on the line is inclined, the defect detection and the mark detection can be suitably performed by changing the light irradiation angle correspondingly. Furthermore, the number of mechanical operation mechanisms can be reduced as much as possible, and the irradiation solid angle can be changed with a simple configuration.

以下に本発明の実施形態について図面を参照して説明する。 An embodiment of the present invention will be described below with reference to the drawings.

本実施形態に係る画像処理用光照射装置A4は、図に示すように、表面が鏡面状をなすワークWを保持するワーク保持部A1、ワークWの表面の所定領域をその対向方向から撮像し画像データとして出力する撮像装置たるCCDカメラA2、及び前記画像データを取り込むとともにそれに2値化処理等を施し前記ワークWの表面に彫り込まれたマーク等を自動検出する画像処理装置A3とともに用いられて表面検査システムを構成するものであり、ワーク保持部A1での設置誤差等から、ワークWに若干の傾斜が生じている場合に大きな効果を奏し得る。 As shown in FIG. 1 , the image processing light irradiation apparatus A4 according to the present embodiment images a workpiece holding part A1 that holds a workpiece W having a mirror-like surface, and a predetermined area on the surface of the workpiece W from the facing direction. CCD camera A2 that is an image pickup device that outputs as image data, and image processing device A3 that takes in the image data, performs binarization processing on the image data, and automatically detects a mark or the like engraved on the surface of the workpiece W Thus, the surface inspection system is configured, and a large effect can be obtained when the work W is slightly inclined due to an installation error or the like in the work holding portion A1.

このシステムの基本的な作用をまず述べておくと、鏡面状をなすワーク表面に略正対する角度で略平行光L3を照射するとともに、その反射光L4を観測すると、表面にマーク等が彫られて面精度が荒い部分では、そこで光L3が散乱し反射光強度が小さくなり暗く認識されるため、その暗い部分を周囲とのコントラストでマークとして検出できるというものである。   First, the basic operation of this system will be described. When a substantially parallel light L3 is applied to the mirror-like workpiece surface at an angle that is approximately directly opposite, and when the reflected light L4 is observed, a mark or the like is carved on the surface. Then, in the portion where the surface accuracy is rough, the light L3 is scattered and the reflected light intensity becomes small and is recognized as dark, so that the dark portion can be detected as a mark by contrast with the surroundings.

しかして本実施形態における画像処理用光照射装置A4は、装置本体1と制御電源装置2と光照射状態検出部6とを備えている。   Accordingly, the image processing light irradiation device A4 in the present embodiment includes the apparatus main body 1, the control power supply device 2, and the light irradiation state detection unit 6.

前記装置本体1は、光照射部4を備えたもので、この光照射部4は、図示しない多数のLEDからなる光源45と、それら各LEDに基端部を1本1本接続され、先端部を束にしてまとめた光ファイバ46と、それら光ファイバ46の先端部から撮像方向と直交又は略直交する方向に射出される光L5を平行又は若干収斂する向きに屈折させるレンズ47(例えばフレネルレンズ)と、このレンズ47をでた光L3を撮像方向と同一又は略同一方向からワークに向かわせるハーフミラー48とを備えている。各光ファイバ46の先端部は、図に示すように、例えばマトリクス状に束ねて発光面49を形成しており、点灯するLEDを変更することで、その発光面49における発光位置を変えることができるようにしてある。そして、このように発光位置を変えることにより、前記所定領域に対する光L3の照射立体角度を若干変更できるように構成している。 The apparatus main body 1 includes a light irradiation unit 4. The light irradiation unit 4 includes a light source 45 composed of a number of LEDs (not shown) and a base end portion connected to each of the LEDs one by one. And a lens 47 (for example, Fresnel) that refracts light L5 emitted from the tip of the optical fiber 46 in a direction orthogonal or substantially orthogonal to the imaging direction in a direction that is parallel or slightly converged. Lens) and a half mirror 48 that directs the light L3 emitted from the lens 47 to the workpiece from the same or substantially the same direction as the imaging direction. As shown in FIG. 2 , the tip of each optical fiber 46 forms a light emitting surface 49, for example, bundled in a matrix, and the light emitting position on the light emitting surface 49 can be changed by changing the LED to be lit. It is made to be able to. Then, by changing the light emission position in this way, the irradiation solid angle of the light L3 with respect to the predetermined region can be slightly changed.

制御電源装置2は、光照射条件制御部としての機能を担うもので、図に示すように、前記所定領域が変更される都度、その所定領域の明度を参照しつつ、前記画像処理装置A3による画像処理に先だって前記光照射部を制御し、すなわち発光させるLEDを設定し、明度が前記明度が略最高となる又は略最低となるように光L3の所定領域に対する照射立体角度を設定するものである。 The control power supply device 2 functions as a light irradiation condition control unit. As shown in FIG. 1 , each time the predetermined area is changed, the image processing apparatus A3 refers to the brightness of the predetermined area. Prior to image processing by the above, the light irradiating unit is controlled, that is, the LED to be lit is set, and the solid solid angle of the light L3 with respect to a predetermined region is set so that the lightness is substantially the highest or the lowest It is.

前記明度とは、撮像方向から前記所定領域をみたときの明度のことであり、所定領域からの反射光L4の強度を、冒頭に述べた光照射状態検出部6で測定することによって得るようにしている。   The lightness is the lightness when the predetermined area is viewed from the imaging direction, and is obtained by measuring the intensity of the reflected light L4 from the predetermined area by the light irradiation state detection unit 6 described at the beginning. ing.

この光照射状態検出部6は、受けた光の強度に応じた電流又は電圧を出力するもので、例えばCMOSカメラやフォトダイオード等の専用のものを用いており、この画像処理用光照射装置A4の構成要素としている。しかして、光照射状態検出部6の出力信号の値から明度を得るようにしている。具体的には、CMOSカメラやフォトダイオードなどの出力信号の平均値(所定領域全体の平均値)あるいは積算値(所定領域全体のトータル値)でもよいし、所定領域の一部の平均値又はトータル値でもよい。なお、この光照射状態検出部6に所定領域からの反射光L4を導くため、反射光L4の光路上に第2ハーフミラー7を設けている。   The light irradiation state detection unit 6 outputs a current or voltage corresponding to the intensity of received light, and uses a dedicated device such as a CMOS camera or a photodiode, for example, and this image processing light irradiation device A4. As a component of Thus, the brightness is obtained from the value of the output signal of the light irradiation state detection unit 6. Specifically, it may be an average value (average value of the entire predetermined area) or an integrated value (total value of the entire predetermined area) of an output signal from a CMOS camera or a photodiode, or an average value or total of a part of the predetermined area. It may be a value. Note that a second half mirror 7 is provided on the optical path of the reflected light L4 in order to guide the reflected light L4 from a predetermined region to the light irradiation state detector 6.

次にこのように構成した本システムの作動例を図、図を参照して以下に説明する。 Next will be described the operation of the present system configured to FIG. 3, below with reference to FIG.

ワークWが所定位置に設置されると、制御電源装置2は、図に示すように、前記発光面49における光ファイバ46を、縦に一列ずつX方向に順次点灯する(ST10)。このとき光照射状態検出部6からの出力信号を都度受信して、その出力信号値から最も明度が高かった際の光ファイバ46の位置(X位置)を記憶する(ST11)。次に、前記光ファイバ46を、横に一列ずつY方向に順次点灯し(ST12)、同様に最も明度が高かった場合における光ファイバ46の位置(Y位置)を記憶する(ST13)。なお、同図中、グラフは光ファイバ46をX方向及びY方向に順次点灯して得られた明度(反射光強度)の推移を例示したものである。 When the workpiece W is installed at a predetermined position, as shown in FIG. 2 , the control power supply 2 sequentially turns on the optical fibers 46 on the light emitting surface 49 one by one in the vertical direction (ST10) . At this time, the output signal from the light irradiation state detection unit 6 is received each time, and the position (X position) of the optical fiber 46 when the brightness is the highest from the output signal value is stored (ST11) . Next, the optical fiber 46, the lateral sequentially illuminated in the Y direction by one column (ST12), and stores the position of the optical fiber 46 (Y position) when the most brightness was higher as well (ST13). In the figure, the graph exemplifies the transition of lightness (reflected light intensity) obtained by sequentially lighting the optical fiber 46 in the X direction and the Y direction.

そして、X位置、Y位置を座標とする位置にある光ファイバ46(ON)を点灯し他の光ファイバ46(OFF)を消灯する(ST16)Then, the optical fiber 46 (ON) at the position with the X position and the Y position as coordinates is turned on, and the other optical fibers 46 (OFF) are turned off (ST16) .

この光ファイバ46(ON)の点灯により、前記明度が略最高となる光L3の照射立体角度が設定される(ST17)。すなわち、図に示すように、ワークWに若干の傾斜θがあっても、その傾斜角度θに応じて、光L3の照射立体角度が設定され、常に撮像装置A2にワークWからの反射光L4が最大限入射することとなる(ST18)。もちろん、光ファイバ46を1本1本順次点灯して前記明度が略最高となる光ファイバ46を設定するなど、他にも種々の方法が考えられる。 By turning on the optical fiber 46 (ON), the irradiation solid angle of the light L3 at which the lightness is substantially maximum is set (ST17) . That is, as shown in FIG. 5 , even if the workpiece W has a slight inclination θ, the solid angle of irradiation of the light L3 is set according to the inclination angle θ, and the reflected light from the workpiece W is always applied to the imaging device A2. L4 is incident as much as possible (ST18) . Of course, various other methods are conceivable, such as setting the optical fiber 46 in which the lightness is substantially maximized by sequentially lighting the optical fibers 46 one by one.

したがって例えばライン上を流れてくるワークWを検査する場合、その一部又は全部が、例えば設置の際傾斜していたとしても、それに画像処理用光照射装置A4が動的に自動対応して光L3の照射立体角度を変え、ワークWからの反射光L4をずれることなく撮像装置A2に最大限入射させることとなる。このため、たとえワークWが若干傾斜していても、画像処理装置A3に負担をかけることなく、その所定領域に形成されたマーク等を、十分なコントラストの差として迅速に検出することができる。 Therefore, for example, when inspecting the workpiece W flowing on the line, even if a part or all of the workpiece W is inclined at the time of installation, for example, the image processing light irradiation device A4 automatically and automatically responds thereto. The irradiation solid angle of the light L3 is changed, and the reflected light L4 from the work W is allowed to enter the imaging device A2 as much as possible without shifting. For this reason, even if the workpiece W is slightly inclined, it is possible to quickly detect a mark or the like formed in the predetermined area as a sufficient contrast difference without imposing a burden on the image processing apparatus A3.

なお、図に示すように、一つの光ファイバ46(OFF)を消灯し、残りの光ファイバ46(ON)を全て点灯するようにしてもよい。この場合は、前記と逆で、マーク等がある部分は明るくなり、他の部分は暗くなってそのコントラストでマーク等を検出することができる。もちろん、前記第1実施例同様、いずれの照明態様で照明しているかを示す照明態様識別信号を画像処理装置A3に送信するようにし、その照明態様識別信号の内容から画像処理装置A3に所定閾値より明度が高い部分をマークとして検出するか、低い部分をマークとして検出するかを判断させる必要がある。 As shown in FIG. 6 , one optical fiber 46 (OFF) may be turned off and all remaining optical fibers 46 (ON) may be turned on. In this case, contrary to the above, the mark or the like can be detected with the contrast because the part with the mark or the like becomes bright and the other part becomes dark. Of course, as in the first embodiment, an illumination mode identification signal indicating which illumination mode is being used is transmitted to the image processing apparatus A3, and the image processing apparatus A3 receives a predetermined threshold value from the content of the illumination mode identification signal. It is necessary to determine whether a portion with higher brightness is detected as a mark or a lower portion is detected as a mark.

また、光ファイバ46を1本のみを点灯或いは消灯した場合、点光源に近くなってレンズ47を通過した後の光L3の散乱度が小さくなるため、ワーク表面のわずかな荒れによる散乱反射でもそれをコントラストとして検出できることとなる。ところが目的によって、若干の荒れはノイズとして検出したくない場合がある。このような場合には、図、図に示すように、複数本の光ファイバ46を点灯或いは消灯し、ある程度の面積を有した光源とすることにより、レンズ47を通過した後の光L3の散乱度を若干上げて、検出精度を落とすようにすればよい。 In addition, when only one optical fiber 46 is turned on or off, the degree of scattering of the light L3 after passing through the lens 47 near the point light source becomes small, so even the scattered reflection due to slight roughness of the workpiece surface. Can be detected as contrast. However, depending on the purpose, there is a case where it is not desired to detect slight roughness as noise. In such a case, as shown in FIG. 7 and FIG. 8 , the light L3 after passing through the lens 47 is obtained by turning on or off a plurality of optical fibers 46 to obtain a light source having a certain area. The detection accuracy may be lowered by slightly increasing the degree of scattering.

<その他の実施態様>   <Other embodiments>

なお、本発明は前記各実施形態に限られるものではない。例えば前記実施形態ではLEDを用いたが、例えば半導体レーザでもよいし、その他の発光体を用いても構わない。   The present invention is not limited to the above embodiments. For example, although the LED is used in the embodiment, for example, a semiconductor laser may be used, or another light emitter may be used.

また、光の照射強度、照射範囲等を変えることで光照射条件を最適なものにすることも可能である。   It is also possible to optimize the light irradiation conditions by changing the light irradiation intensity, irradiation range, and the like.

さらに、光照射条件制御部を前記実施形態では制御電源装置内に組み込んでいたが、別の装置に組み込んでも構わないし、将来的には、光照射状態検出部と光照射条件制御部が1つのチップに一体に組み込まれるような態様も考えられる。例えばハードウェアセンサー(例えば複数の光センサー)やイメージセンサチップそのものに論理回路を搭載し、これに光照射条件制御部としての機能を担わせるようにすればよい。   Furthermore, although the light irradiation condition control unit is incorporated in the control power supply device in the above embodiment, it may be incorporated in another device, and in the future, the light irradiation condition detection unit and the light irradiation condition control unit have one. An embodiment in which the chip is integrated into the chip is also conceivable. For example, a logic circuit may be mounted on a hardware sensor (for example, a plurality of optical sensors) or the image sensor chip itself, and this may have a function as a light irradiation condition control unit.

もちろん本発明は、上記図示例に限られず、趣旨を逸脱しない範囲で種々の変更が可能である。   Of course, the present invention is not limited to the above illustrated example, and various modifications can be made without departing from the spirit of the present invention.

本発明の一実施形態における全体システムを示す模式的構成図。  The typical block diagram which shows the whole system in one Embodiment of this invention. 同実施形態における照射立体角度を変更する方法を説明するための光ファイバの光照射端図。  The light irradiation end figure of the optical fiber for demonstrating the method to change the irradiation solid angle in the same embodiment. 同実施形態におけるシステム作動例を示すフローチャート。  The flowchart which shows the system operation example in the embodiment. 同実施形態におけるシステム作動例を示すフローチャート。  The flowchart which shows the system operation example in the embodiment. 同実施形態における照射立体角度を変更する方法を説明するための全体システムを示す模式的構成図。  The typical block diagram which shows the whole system for demonstrating the method to change the irradiation solid angle in the same embodiment. 同実施形態における光ファイバの発光態様の一例を示す光照射端図。  The light irradiation end figure which shows an example of the light emission mode of the optical fiber in the embodiment. 同実施形態における光ファイバの発光態様の他の例を示す光照射端図。  The light irradiation end view which shows the other example of the light emission mode of the optical fiber in the embodiment. 同実施形態における光ファイバの発光態様のさらに他の例を示す光照射端図。  The light irradiation end view which shows the further another example of the light emission mode of the optical fiber in the embodiment. 筋状の目を有するワークを示す画像図。  The image figure which shows the workpiece | work which has a streak-like eye.

符号の説明Explanation of symbols

A2…撮像装置(CCDカメラ)
A3…画像処理装置
A4…画像処理用光照射装置
2…光照射条件制御部(制御電源)
4…光照射部
6…光照射状態検出部
L3…光
W…ワーク
A2 ... Imaging device (CCD camera)
A3 ... Image processing device A4 ... Light irradiation device for image processing 2 ... Light irradiation condition control unit (control power supply)
4 ... Light irradiation part 6 ... Light irradiation state detection part
L3 : Light W ... Work

Claims (4)

ライン上を流れるワーク上の所定領域を撮像して得られた画像情報を処理する画像処理装置とともに用いられるものであって、
前記所定領域に対し、撮像方向と略同一方向から照射立体角度を変更可能に光を照射する光照射部と、
撮像方向からみた前記所定領域の明度を検出する光状態検出部と、
前記光照射部を制御して、撮像方向からみた前記所定領域の全部の明度が略最高又は略最低となるように光の照射立体角度を設定する光照射条件制御部と、を備え
前記光照射部が、面上に敷設した多数の発光要素を備えたものであり、
前記光照射条件制御部が、それら発光要素のうちの一部を選択的に点灯して光の照射立体角度を設定するものである画像処理用光照射装置。
Used with an image processing apparatus for processing image information obtained by imaging a predetermined area on a workpiece flowing on a line;
A light irradiation unit that emits light so that the irradiation solid angle can be changed from the substantially same direction as the imaging direction with respect to the predetermined region;
A light state detection unit that detects the brightness of the predetermined region as seen from the imaging direction;
A light irradiation condition control unit that controls the light irradiation unit and sets a solid angle of light irradiation so that the brightness of all of the predetermined region viewed from the imaging direction is substantially the highest or substantially the lowest ,
The light irradiation unit is provided with a number of light emitting elements laid on the surface,
The light irradiation apparatus for image processing, wherein the light irradiation condition control unit selectively turns on a part of the light emitting elements to set a light irradiation solid angle .
前記発光要素が、LED又はLEDに基端部を接続された光ファイバの先端部である請求項記載の画像処理用光照射装置。 The light-emitting element, an image processing light irradiation apparatus according to claim 1, wherein a distal end of an optical fiber connected to the proximal portion to the LED or LED. ライン上を流れるワーク上の所定領域を撮像する撮像装置及びその撮像装置で得られた画像情報を処理する画像処理装置を用いた画像処理システムに用いられるものであって、
前記所定領域に対し、撮像方向と略同一方向から照射立体角度を変更可能に光を照射する光照射部を利用してなり、
撮像方向からみた前記所定領域の全部における明度を検出する光照射状態検出ステップと、
前記画像処理に先立って前記光照射部を制御して、前記明度が略最高又は略最低となるように光の照射立体角度を設定する光照射条件設定ステップと、を備え
前記光照射部が、面上に敷設した多数の発光要素を備えたものであり、
前記光照射条件設定ステップにおいて、それら発光要素のうちの一部を選択的に点灯して光の照射立体角度を設定するものである画像処理用光照射方法。
An imaging apparatus that images a predetermined area on a work flowing on a line, and an image processing system that uses an image processing apparatus that processes image information obtained by the imaging apparatus,
For the predetermined area, using a light irradiation unit that emits light so that the irradiation solid angle can be changed from substantially the same direction as the imaging direction,
A light irradiation state detection step of detecting brightness in all of the predetermined area as viewed from the imaging direction;
A light irradiation condition setting step of controlling the light irradiation unit prior to the image processing, and setting a light irradiation solid angle so that the lightness is substantially the highest or substantially the lowest ,
The light irradiation unit is provided with a number of light emitting elements laid on the surface,
A light irradiation method for image processing, wherein in the light irradiation condition setting step, a part of the light emitting elements is selectively turned on to set a light irradiation solid angle .
前記光照射条件設定ステップにおいて、画像処理が行われる都度、前記明度が略最高又は略最低となるように光の照射立体角度を設定するようにしている請求項記載の画像処理用光照射方法。 4. The light irradiation method for image processing according to claim 3, wherein in the light irradiation condition setting step, the solid angle of light irradiation is set so that the lightness is substantially highest or substantially lowest every time image processing is performed. .
JP2006252216A 2006-09-19 2006-09-19 Image processing light irradiation apparatus and image processing light irradiation method Expired - Fee Related JP4030570B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006252216A JP4030570B2 (en) 2006-09-19 2006-09-19 Image processing light irradiation apparatus and image processing light irradiation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006252216A JP4030570B2 (en) 2006-09-19 2006-09-19 Image processing light irradiation apparatus and image processing light irradiation method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003322267A Division JP2005091049A (en) 2003-09-12 2003-09-12 Light irradiator for image processing and light irradiation method for image processing

Publications (2)

Publication Number Publication Date
JP2007003543A JP2007003543A (en) 2007-01-11
JP4030570B2 true JP4030570B2 (en) 2008-01-09

Family

ID=37689289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006252216A Expired - Fee Related JP4030570B2 (en) 2006-09-19 2006-09-19 Image processing light irradiation apparatus and image processing light irradiation method

Country Status (1)

Country Link
JP (1) JP4030570B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7170400B2 (en) * 2018-02-14 2022-11-14 株式会社Screenホールディングス Inspection device, inspection method, tablet printing device and tablet printing method
JP7185970B1 (en) * 2022-06-08 2022-12-08 株式会社レイマック inspection system

Also Published As

Publication number Publication date
JP2007003543A (en) 2007-01-11

Similar Documents

Publication Publication Date Title
JP4389982B2 (en) Substrate visual inspection device
JP4859958B2 (en) Light intensity adjustment system
JP2005536732A (en) Apparatus and method for inspecting an object
JP2010151479A (en) Wiring pattern inspecting device
JP2008267851A (en) Pattern inspection device and method
JP2011145182A (en) Inspection device of screw thread
JP2008292273A (en) Pattern inspection device and pattern inspection method
JP5807772B2 (en) Defect detection apparatus and method
JP2005091049A (en) Light irradiator for image processing and light irradiation method for image processing
JP4389801B2 (en) Board inspection equipment
JP4675436B1 (en) Surface inspection illumination / imaging system and data structure
JP4030570B2 (en) Image processing light irradiation apparatus and image processing light irradiation method
JP2005214720A (en) Surface inspection device and surface inspection method
KR20160121716A (en) Surface inspection apparatus based on hybrid illumination
KR102453258B1 (en) Apparatus and Method for Detecting of Awafer Edge
JP4079977B2 (en) Image processing light irradiation apparatus and image processing light irradiation method
JP2006030067A (en) Method and device for inspecting defect of glass plate
JP2006208258A (en) Method and device for inspecting defect
WO2012098682A1 (en) Illumination device and illumination method for external quality inspection apparatus for agricultural produce
US20050134846A1 (en) Apparatus and method for inspection of a wafer
JP2005283199A (en) Sensor unit and printing state inspection device using sensor unit
JP2009222614A (en) Surface inspection apparatus
JPH0829138A (en) Device and method for inspecting pattern
JP5100371B2 (en) Foreign matter inspection method and foreign matter inspection apparatus for wafer peripheral edge
JP2006349416A (en) Surface texture measuring machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061017

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070904

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070913

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071002

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071016

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101026

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101026

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131026

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees