JP2008232976A - Image inspection method and image inspection device - Google Patents

Image inspection method and image inspection device Download PDF

Info

Publication number
JP2008232976A
JP2008232976A JP2007076107A JP2007076107A JP2008232976A JP 2008232976 A JP2008232976 A JP 2008232976A JP 2007076107 A JP2007076107 A JP 2007076107A JP 2007076107 A JP2007076107 A JP 2007076107A JP 2008232976 A JP2008232976 A JP 2008232976A
Authority
JP
Japan
Prior art keywords
image
imaging
inspection
initial
area
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.)
Withdrawn
Application number
JP2007076107A
Other languages
Japanese (ja)
Inventor
Masaaki Noda
正明 野田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007076107A priority Critical patent/JP2008232976A/en
Publication of JP2008232976A publication Critical patent/JP2008232976A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image inspection method and image inspection device, which inspects an inspecting object accurately in a short period of time, based on an image acquired by imaging the inspecting object. <P>SOLUTION: The image inspection method comprises: an initial image acquisition process S4 of acquiring initial image information; a positional information acquisition process S5 of acquiring positional information of the inspecting object located at an initial imaging region based on the initial image information; an imaging region setting process S6 of setting the positions and areas of one or more imaging regions for imaging the other part that is not included in the initial imaging region of area of the inspecting object based on the positional information; an inspection image acquisition process S8 of acquiring inspection image information by imaging the set imaging region with an imaging means; and an image signal adjusting process S3 of adjusting each signal level of the initial image information and inspection image information to the same level. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像検査方法および画像検査装置に関する。   The present invention relates to an image inspection method and an image inspection apparatus.

従来、被検査物の光学像を電気信号に変換する撮像素子としてCCD(Charge Coupled Device)素子を採用し、被検査物を撮像するCCDカメラ装置が知られている。
このCCDカメラ装置として、撮像領域全体を撮像することなく、一部分の領域のみを撮像して出力できるものが知られている(例えば、特許文献1参照)。
このCCDカメラ装置では、撮像領域を一部分に限定して小さくすることで撮像データ量を少なくできる。これにより、同じドットクロックであっても、1秒間に更新できる画像情報の取得回数または取得速度であるフレームレートを上げることができ、画像情報の転送時間も短縮することができる。
2. Description of the Related Art Conventionally, there is known a CCD camera device that employs a CCD (Charge Coupled Device) element as an imaging element that converts an optical image of an inspection object into an electrical signal, and images the inspection object.
As this CCD camera device, there is known a device capable of imaging and outputting only a partial area without imaging the entire imaging area (see, for example, Patent Document 1).
In this CCD camera device, the amount of image data can be reduced by reducing the image pickup area to a part. As a result, even with the same dot clock, it is possible to increase the frame rate, which is the number of acquisitions or acquisition speed of image information that can be updated per second, and to shorten the transfer time of image information.

特開2004−104561号公報JP 2004-104561 A

しかしながら、撮像領域を小さくした場合は、フレームレートが上がる分、各撮像素子の露光時間(撮影時間)も短くなるため、撮像領域が大きい場合に比べて、画像が暗くなってしまい、撮像した画像情報の信号レベルも異なってしまうという問題があった。
すなわち、各撮像領域において撮像範囲(面積)が相違すると、各撮像素子の露光時間も相違し、撮像した画像の明るさ、つまり信号レベルが異なってしまう。そして、信号レベルの異なる画像情報をもとにして被検査物の検査を行うと、信号レベルが異なるため、判別される結果に誤差が発生するなどの問題がある。
However, when the imaging area is reduced, the exposure time (imaging time) of each imaging element is shortened as the frame rate increases, so the image becomes darker than when the imaging area is large, and the captured image There was a problem that the signal level of the information was also different.
That is, when the imaging range (area) is different in each imaging region, the exposure time of each imaging element is also different, and the brightness of the captured image, that is, the signal level is different. When an inspection object is inspected based on image information having different signal levels, there is a problem that an error occurs in the determination result because the signal levels are different.

本発明の目的は、被検査物を撮像した画像に基づいて、高精度にかつ短時間で被検査物の検査を行うことができる画像検査方法および画像検査装置を提供することである。   An object of the present invention is to provide an image inspection method and an image inspection apparatus capable of inspecting an inspection object with high accuracy and in a short time based on an image obtained by imaging the inspection object.

本発明の画像検査方法は、被検査物の一部が含まれる初期撮像領域を撮像手段で撮像して初期画像情報を取得する初期画像取得工程と、前記初期画像情報に基づいて初期撮像領域に位置する被検査物の位置情報を取得する位置情報取得工程と、前記位置情報に基づいて、前記被検査物の初期撮像領域に含まれない他の部分を撮像する1つ以上の撮像領域の位置および面積を設定する撮像領域設定工程と、前記撮像領域設定工程で設定された撮像領域を前記撮像手段で撮像して検査画像情報を取得する検査画像取得工程と、前記初期画像情報および検査画像情報の各信号レベルを同じレベルに調整する画像信号調整工程と、を備えることを特徴とする。   The image inspection method of the present invention includes an initial image acquisition step of acquiring an initial image information by capturing an initial image area including a part of an inspection object with an imaging unit, and an initial image area based on the initial image information. A position information acquisition step of acquiring position information of the object to be inspected, and positions of one or more imaging regions that image other parts not included in the initial imaging region of the object to be inspected based on the position information An imaging region setting step for setting the area, an inspection image acquisition step for acquiring the inspection image information by imaging the imaging region set in the imaging region setting step by the imaging means, and the initial image information and the inspection image information. And an image signal adjustment step of adjusting each signal level to the same level.

この発明によれば、初期画像取得工程では、例えば、撮像領域を最大に設定することなどで被検査物の一部が含まれる初期画像情報を取得し、位置情報取得工程では、この初期画像情報に基づいて被検査物の位置情報を取得しているので、被検査物が大まかに配置されていても、その位置情報を自動的に取得することができ、検査の自動化を図ることができる。なお、初期画像情報から被検査物の位置情報を取得する方法としては、被検査物と背景部分との輝度差などを利用して画像処理などで被検査物の配置エリアを抽出して行えばよい。   According to the present invention, in the initial image acquisition step, for example, initial image information including a part of the inspection object is acquired by setting the imaging region to the maximum. In the position information acquisition step, the initial image information is acquired. Since the position information of the object to be inspected is acquired based on the above, even if the object to be inspected is roughly arranged, the position information can be automatically acquired and the inspection can be automated. As a method for acquiring the position information of the inspection object from the initial image information, the arrangement area of the inspection object is extracted by image processing or the like using the luminance difference between the inspection object and the background portion. Good.

さらに、撮像領域設定工程では、取得した位置情報に基づいて、初期撮像領域に含まれない被検査物の他の部分を撮像するための撮像領域の位置および面積を設定しているので、必要最小限の撮像領域に設定できる。
例えば、長尺の被検査物を、複数の撮像領域に分割して検査する場合、初期撮像領域の他に、1つ以上の撮像領域を設定して被検査物を撮像しなければならない。この場合、各撮像領域は被検査物が配置されている部分を含む必要があるが、本発明では、予め把握されている被検査物の形状や寸法などの情報と、前記初期画像情報から取得した被検査物の位置情報とを用いることで、被検査物の配置を検出できるため、撮像領域はその被検査物を含む所定範囲に絞って設定できる。
このため、前記初期撮像領域が最大領域に設定されていたとしても、その他の撮像領域は最小限の大きさに設定でき、その分、検査画像取得工程では、撮像時間を短縮でき、被検査物全体の検査時間も短くできる。
その上、画像信号調整工程において、初期画像情報および検査画像情報の各信号レベルを同じレベルに調整しているので、撮像領域の面積が異なっていても、各画像情報の明るさは同じレベルにできる。従って、これらの画像情報に基づく被検査物の検査において、誤差が生じる可能性を低減でき、被検査物を高精度にかつ短時間で検査を行うことができる。
Furthermore, in the imaging area setting step, the minimum and necessary values are set because the position and area of the imaging area for imaging other parts of the inspection object not included in the initial imaging area are set based on the acquired position information. It can be set to a limited imaging area.
For example, when a long inspection object is divided into a plurality of imaging areas and inspected, one or more imaging areas must be set in addition to the initial imaging area to image the inspection object. In this case, each imaging area needs to include a portion where the object to be inspected is arranged, but in the present invention, it is obtained from information such as the shape and dimensions of the object to be inspected in advance and the initial image information. Since the position of the inspection object can be detected by using the position information of the inspection object, the imaging region can be set to a predetermined range including the inspection object.
For this reason, even if the initial imaging area is set to the maximum area, the other imaging areas can be set to the minimum size, and accordingly, the imaging time can be shortened in the inspection image acquisition process, and the inspection object can be shortened. Overall inspection time can be shortened.
In addition, in the image signal adjustment step, the signal levels of the initial image information and the inspection image information are adjusted to the same level, so that the brightness of each image information is the same level even if the area of the imaging region is different. it can. Therefore, in the inspection of the inspection object based on the image information, the possibility of an error can be reduced, and the inspection object can be inspected with high accuracy and in a short time.

本発明において、前記位置情報取得工程は、被検査物の位置情報として、少なくとも初期画像情報における被検査物の配置位置および被検査物の延長方向を取得し、前記撮像領域設定工程は、前記被検査物の延長方向の寸法と、前記被検査物の配置位置および延長方向とに基づいて、前記撮像領域の位置および面積を設定することが好ましい。   In the present invention, the position information acquisition step acquires at least an arrangement position of the inspection object and an extension direction of the inspection object in the initial image information as the position information of the inspection object, and the imaging region setting step includes the inspection area setting step. It is preferable to set the position and area of the imaging region based on the dimension in the extension direction of the inspection object and the arrangement position and extension direction of the inspection object.

ここで、位置情報取得工程では、例えば、初期画像情報において、X軸およびY軸の座標を設定し、初期画像情報内の被検査物の両端部の座標位置を求めることで、被検査物の配置位置を取得すればよい。同様に、被検査物の延長方向は、初期画像情報の外縁部に被検査物が達していれば、その延長方向に被検査物が連続していると判断できるため、その延長方向を前記座標に基づいて算出すればよい。
また、撮像領域設定工程では、被検査物の延長方向の寸法を予め測定しておき、前記被検査物の配置位置および延長方向の情報から、被検査物の残りの部分がどの範囲に存在するかを予測し、被検査物の残りの部分を撮像するために必要な撮像領域の数と、各撮像領域の位置および面積を設定すればよい。
Here, in the position information acquisition step, for example, in the initial image information, the coordinates of the X axis and the Y axis are set, and the coordinate positions of both ends of the inspection object in the initial image information are obtained, whereby the inspection object What is necessary is just to acquire an arrangement position. Similarly, the extension direction of the inspection object can be determined that the inspection object is continuous in the extension direction if the inspection object reaches the outer edge of the initial image information. It may be calculated based on
In the imaging region setting step, the dimension in the extension direction of the inspection object is measured in advance, and the range of the remaining portion of the inspection object exists from the information on the position of the inspection object and the extension direction. It is only necessary to set the number of imaging areas necessary for imaging the remaining part of the inspection object, and the position and area of each imaging area.

このような構成によれば、被検査物の配置状態に基づいて、各撮像領域の位置及び面積を自動的に求めることができ、被検査物を予め位置決めして配置する必要がないため、検査作業工程を容易に自動化することができる。また、被検査物の全体を複数領域に分割して確実に撮像することができ、顕微鏡などを用いて被検査物の各部分を拡大して撮像することもでき、微細な部分の検査も行うことができる。   According to such a configuration, the position and area of each imaging region can be automatically obtained based on the arrangement state of the inspection object, and it is not necessary to position and inspect the inspection object in advance. The work process can be easily automated. In addition, the entire inspection object can be divided into a plurality of areas and reliably imaged, and each part of the inspection object can be enlarged and imaged using a microscope or the like, and a fine part is also inspected. be able to.

本発明において、前記撮像領域設定工程は、前記撮像領域の面積を、前記初期撮像領域の面積に比べて小さく設定することが好ましい。
被検査物が細長い長尺のもの、例えば電子写真用プリンタのラインヘッドや、円筒状のプラテン等を、その長手方向が、撮像した画像情報に設定するX−Y座標において、Y軸方向にほぼ沿うように配置した場合、撮像領域のX方向の幅寸法は、被検査物の幅寸法に対し、ある程度のマージンを加えた寸法に収めれば十分である。
従って、各撮像領域を、被検査物の延長方向(Y軸方向)に沿って複数設ける場合には、最初の初期撮像領域では最大限の領域に設定したとしても、それ以降の撮像領域においてはそのX方向の幅寸法は小さくできる。これにより、検査画像取得工程の撮像時間を短縮することができ、被検査物の検査時間を大幅に短くすることができる。
In the present invention, it is preferable that the imaging region setting step sets the area of the imaging region to be smaller than the area of the initial imaging region.
When the object to be inspected is long and thin, for example, a line head of an electrophotographic printer, a cylindrical platen, or the like, the longitudinal direction of the object is almost in the Y-axis direction in the XY coordinates set in the captured image information. When arranged so as to be along, it is sufficient that the width dimension in the X direction of the imaging region is within a dimension obtained by adding a certain margin to the width dimension of the object to be inspected.
Accordingly, when a plurality of imaging areas are provided along the extension direction (Y-axis direction) of the object to be inspected, even if the maximum initial area is set in the initial initial imaging area, The width dimension in the X direction can be reduced. Thereby, the imaging time of an inspection image acquisition process can be shortened, and the inspection time of a to-be-inspected object can be shortened significantly.

本発明において、前記撮像手段は、光学像を電気信号に変換する撮像素子を備え、かつ、前記撮像素子での撮影時間を制御する電子シャッタ機能を有するとともに、前記画像信号調整工程は、各撮像領域において面積が異なる場合でも電子シャッタ機能により電子シャッタ時間を一定にすることで前記各画像情報の信号レベルを一定に調整することが好ましい。   In the present invention, the image pickup unit includes an image pickup element that converts an optical image into an electric signal, and has an electronic shutter function that controls a shooting time of the image pickup element. Even when the areas differ in area, it is preferable that the signal level of each image information is adjusted to be constant by making the electronic shutter time constant by the electronic shutter function.

CCD等からなる撮像素子を用いた場合には、電子シャッタによって撮像時間を制御できるため、撮像領域の面積が異なる場合でも、電子シャッタ時間を一定にすることで、各画像取得工程において撮像条件、具体的には露光時間が等しくなり、各画像情報の信号レベルも一定にできる。
そして、電子シャッタ時間は容易に制御でき、かつ、撮像された時点で各画像情報の信号レベルを一定にできるために、画像情報を後で補正する必要もなく、精度の高い検査を短時間でかつ容易に行うことができる。
When an imaging device such as a CCD is used, the imaging time can be controlled by an electronic shutter. Therefore, even when the area of the imaging region is different, the electronic shutter time is made constant so that the imaging conditions in each image acquisition step Specifically, the exposure time becomes equal, and the signal level of each image information can be made constant.
Since the electronic shutter time can be easily controlled and the signal level of each image information can be made constant at the time of image capture, there is no need to correct the image information later, and a high-accuracy inspection can be performed in a short time. And can be done easily.

ここで、前記画像信号調整工程は、前記電子シャッタ時間を、電子シャッタ機能により設定可能な最短時間に設定することが好ましい。
この発明では、シャッタ時間が設定可能な最短時間に設定されているので、最短の撮像時間でかつ同じ信号レベルで、すべての画像情報(初期画像情報と各検査画像情報)を取得することができ、高精度の検査を短時間で行うことができる。
なお、電子シャッタ時間の最短時間とは、撮像領域を変更できる撮像素子において、設定可能な最小撮像領域を撮像する場合に設定する電子シャッタ時間である。この電子シャッタ時間であれば、それより大きい撮像領域でも撮像が可能であるため、撮像領域の大きさに関係なく撮像でき、かつ撮像した画像情報の信号レベルを同じレベルにできる。
Here, in the image signal adjustment step, it is preferable that the electronic shutter time is set to a shortest time that can be set by an electronic shutter function.
In the present invention, since the shutter time is set to the shortest settable time, all image information (initial image information and each inspection image information) can be acquired with the shortest imaging time and the same signal level. Highly accurate inspection can be performed in a short time.
The shortest electronic shutter time is an electronic shutter time that is set when an image sensor that can change the imaging area captures an image of the minimum imageable area that can be set. With this electronic shutter time, it is possible to image even in an imaging region longer than that, so that imaging can be performed regardless of the size of the imaging region, and the signal level of the captured image information can be made the same level.

本発明において、前記撮像手段は、光学像を電気信号に変換する撮像素子を備え、前記画像信号調整工程は、前記各撮像領域において最も面積が小さい撮像領域を撮影した際に、前記撮像素子で得られる画像情報の信号レベルを基準とし、他の撮像領域を撮影する際には、その画像情報の信号レベルを、前記最小撮像領域の信号レベルに合わせて調整することが好ましい。   In the present invention, the image pickup unit includes an image pickup device that converts an optical image into an electrical signal, and the image signal adjustment step is performed by the image pickup device when an image pickup region having the smallest area is picked up in each image pickup region. When photographing another imaging region with the signal level of the obtained image information as a reference, it is preferable to adjust the signal level of the image information according to the signal level of the minimum imaging region.

本発明では、各画像情報の信号レベルを、最も面積が小さい撮像領域を撮像した画像情報に合わせているので、最短の撮像時間でかつ同じ信号レベルで、すべての画像情報(初期画像情報と各検査画像情報)を取得することができ、高精度の検査を短時間で行うことができる。   In the present invention, since the signal level of each image information is matched with the image information obtained by imaging the imaging area with the smallest area, all image information (initial image information and each Inspection image information) can be acquired, and a highly accurate inspection can be performed in a short time.

ここで、前記画像信号調整工程は、前記他の撮像領域を撮影する際に、絞り調整または減光フィルタで撮像素子に入る光量を少なくして前記画像情報の信号レベルを調整する方法、前記撮像素子のアンプゲインを調整して前記画像情報の信号レベルを調整する方法、および、前記画像情報を画像処理してその信号レベルを調整する方法のいずれかの方法を実行することが好ましい。   Here, in the image signal adjustment step, the method of adjusting the signal level of the image information by reducing the amount of light entering the image sensor with an aperture adjustment or a neutral density filter when imaging the other imaging region, the imaging It is preferable to execute any one of a method for adjusting the signal level of the image information by adjusting an amplifier gain of the element and a method for adjusting the signal level by image processing the image information.

すなわち、撮像領域が大きいために撮像時間も長くなる場合には、絞り調整や減光フィルタ(NDフィルタ)を用い、撮像素子に入る光量を少なくすることで、最も面積が小さい撮像領域を撮像する際の光量に合わせることができ、各画像情報の信号レベルを一定にできる。
また、撮像素子のアンプゲインを調整し、撮像領域が最小の場合の画像情報の信号レベルを高めたり、撮像領域が大きい場合の画像情報の信号レベルを低下させることで、撮像領域の面積に関係なく信号レベルを一定にできる。
さらに、画像情報の信号レベルを後処理で調整することで、撮像素子から出力された時点の画像情報の信号レベルが一致していなくても、検査処理する際に利用する画像情報は信号レベルを一定にできる。
従って、各撮像領域の撮像時間は、その領域の面積に応じて短縮することができ、かつ、画像情報の信号レベルは、撮像領域の面積に関係なく一定にでき、高精度の検査を短時間で行うことができる。
That is, when the imaging time becomes longer because the imaging area is large, the imaging area with the smallest area is imaged by reducing the amount of light entering the imaging element by using aperture adjustment or a neutral density filter (ND filter). The signal level of each piece of image information can be made constant.
In addition, the amplifier gain of the image sensor is adjusted to increase the signal level of image information when the imaging area is minimum, or to decrease the signal level of image information when the imaging area is large, thereby relating to the area of the imaging area. The signal level can be kept constant.
Further, by adjusting the signal level of the image information by post-processing, even if the signal level of the image information at the time of output from the image sensor does not match, the image information used in the inspection process has the signal level. Can be constant.
Therefore, the imaging time of each imaging region can be shortened according to the area of the region, and the signal level of the image information can be made constant regardless of the area of the imaging region, and high-precision inspection can be performed in a short time. Can be done.

本発明の画像検査装置は、被検査物の一部が含まれる初期撮像領域を撮像手段で撮像して初期画像情報を取得する初期画像取得手段と、前記初期画像情報に基づいて初期撮像領域に位置する被検査物の位置情報を取得する位置情報取得手段と、前記位置情報に基づいて、前記被検査物の初期撮像領域に含まれない他の部分を撮像する1つ以上の撮像領域の位置および面積を設定する撮像領域設定手段と、前記撮像領域設定手段で設定された撮像領域を前記撮像手段で撮像して検査画像情報を取得する検査画像取得手段と、前記初期画像情報および検査画像情報の各信号レベルを同じレベルに調整する画像信号調整手段と、を備えることを特徴とする。
この発明によれば、前述の画像検査方法の発明と同じ効果を奏することができる。
An image inspection apparatus according to the present invention includes an initial image acquisition unit that acquires an initial image information by imaging an initial imaging region including a part of an inspection object with an imaging unit, and an initial imaging region based on the initial image information. Position information acquisition means for acquiring position information of the object to be inspected, and positions of one or more imaging regions that image other parts not included in the initial imaging region of the object to be inspected based on the position information An imaging area setting means for setting the area, an inspection image acquisition means for acquiring the inspection image information by imaging the imaging area set by the imaging area setting means by the imaging means, the initial image information and the inspection image information Image signal adjusting means for adjusting each signal level to the same level.
According to the present invention, the same effects as those of the above-described image inspection method can be obtained.

(第1実施形態)
以下、本発明の第1実施形態を図面に基づいて説明する。
第1実施形態では、被検査物として電子写真用プリンタのラインヘッドを画像検査する装置を例に挙げて、図1〜6に基づき説明する。
(First embodiment)
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a first embodiment of the invention will be described with reference to the drawings.
In the first embodiment, an apparatus that performs image inspection of a line head of an electrophotographic printer as an object to be inspected will be described as an example with reference to FIGS.

このラインヘッドには、複数のLEDが長手方向に沿って配置されている。例えば、600dpiのプリンタでは約7000個のLEDが配置される。そして、LEDプリンタでは、各LEDの光を、ロッドレンズアレイを通して感光ドラム上に結像し、静電潜像を形成するため、ラインヘッドからLEDの光が適切に出力されているかを検査する必要がある。
そこで、ラインヘッドにおいてLEDを点灯させて撮像し、その画像情報によって各LEDに欠陥などがないか検査している。本実施形態は、このような検査に用いられるものである。
In the line head, a plurality of LEDs are arranged along the longitudinal direction. For example, about 7000 LEDs are arranged in a 600 dpi printer. In an LED printer, each LED light is imaged on a photosensitive drum through a rod lens array to form an electrostatic latent image, and therefore it is necessary to inspect whether the LED light is properly output from the line head. There is.
In view of this, the line head is turned on to take an image and the image information is inspected for defects and the like. This embodiment is used for such an inspection.

図1は、第1実施形態にかかる画像検査装置10の構成を示す概略構成図である。
画像検査装置10は、CCDカメラ1と、CCDカメラ1のレンズ側に設置される顕微鏡2と、送りステージ3と、CCDカメラ1、送りステージ3、および被検査物としてのラインヘッド20などの動作を制御する制御部4とを備えている。
FIG. 1 is a schematic configuration diagram illustrating a configuration of an image inspection apparatus 10 according to the first embodiment.
The image inspection apparatus 10 operates the CCD camera 1, the microscope 2 installed on the lens side of the CCD camera 1, the feed stage 3, the CCD camera 1, the feed stage 3, and the line head 20 as an inspection object. And a control unit 4 for controlling.

CCDカメラ1は、ラインヘッド20を撮像し、その光学像を電気信号に変換する撮像素子であるCCD素子を備えている。制御部4は、CCDカメラ1に対してカメラ制御信号を送って制御している。
また、ラインヘッド20の光学像は、顕微鏡2で拡大され、さらにCCD素子により電気信号に変換されて、画像検査装置10の制御部4に転送される。これにより、ラインヘッド20は、画像検査装置10により撮像される。
The CCD camera 1 includes a CCD element that is an image pickup element that picks up an image of the line head 20 and converts the optical image into an electric signal. The control unit 4 controls the CCD camera 1 by sending a camera control signal.
The optical image of the line head 20 is magnified by the microscope 2, further converted into an electrical signal by the CCD element, and transferred to the control unit 4 of the image inspection apparatus 10. Thereby, the line head 20 is imaged by the image inspection apparatus 10.

CCDカメラ1は、図2に示すように、撮像領域11を複数の領域(ブロック)に分割可能に構成されている。各分割ブロックには、ブロック番号が設定され、CCDカメラ1を制御するカメラ制御信号において、スタートブロック番号およびエンドブロック番号を設定することで、そのブロック番号間の領域のみを撮像して画像情報を出力可能に構成されている。例えば、図2に示すように、撮像領域11がブロック1からブロック13まで13の領域に分割可能に設定されている場合、スタートブロック番号を「6」、エンドブロック番号を「10」とすると、図3に示すように、ブロック6〜10までの領域12のみが撮像有効領域となり、この撮像有効領域部分の画像情報のみがCCDカメラ1から出力される。   As shown in FIG. 2, the CCD camera 1 is configured so that the imaging region 11 can be divided into a plurality of regions (blocks). Each divided block is set with a block number. By setting a start block number and an end block number in the camera control signal for controlling the CCD camera 1, only the area between the block numbers is imaged and image information is obtained. It is configured to allow output. For example, as shown in FIG. 2, when the imaging area 11 is set to be divided into 13 areas from block 1 to block 13, if the start block number is “6” and the end block number is “10”, As shown in FIG. 3, only the area 12 from the blocks 6 to 10 becomes the effective imaging area, and only the image information of this effective imaging area is output from the CCD camera 1.

また、CCDカメラ1は、電子シャッタ時間を設定する電子シャッタ機能を備えている。このため、制御部4は、電子シャッタ機能を用いて電子シャッタ時間を設定することで、撮像条件として露光時間を設定できる。   The CCD camera 1 has an electronic shutter function for setting an electronic shutter time. For this reason, the control part 4 can set exposure time as imaging conditions by setting electronic shutter time using an electronic shutter function.

顕微鏡2は、CCDカメラ1のレンズ外側に設置され、ラインヘッド20の光学像を拡大する。拡大されたラインヘッド20の光学像は、CCDカメラ1により撮像される。   The microscope 2 is installed outside the lens of the CCD camera 1 and enlarges the optical image of the line head 20. The enlarged optical image of the line head 20 is picked up by the CCD camera 1.

送りステージ3は、ラインヘッド20が配置されるテーブル31と、テーブル駆動部32とを備えている。テーブル駆動部32は、図1の矢印33の方向をY軸方向と設定した場合、テーブル31をY軸方向に直線移動可能に構成され、制御部4からのステージ制御信号によって駆動制御される。
このテーブル駆動部32の構成としては、たとえばサーボモータまたはステッピングモータなどの駆動機構と、駆動機構による回転運動を直線移動に変換するボールねじと、ボールねじに連結され精度良い直線移動をさせるリニアガイドとを含む構成が一例として挙げられる。
The feed stage 3 includes a table 31 on which the line head 20 is disposed and a table driving unit 32. When the direction of the arrow 33 in FIG. 1 is set as the Y-axis direction, the table driving unit 32 is configured to be able to move the table 31 linearly in the Y-axis direction, and is driven and controlled by a stage control signal from the control unit 4.
The table drive unit 32 includes a drive mechanism such as a servo motor or a stepping motor, a ball screw that converts rotational motion by the drive mechanism into linear movement, and a linear guide that is connected to the ball screw and performs linear movement with high accuracy. As an example, a configuration including

ラインヘッド20は、制御部4からのラインヘッド制御信号によって、各LEDの点灯などが制御されている。   In the line head 20, lighting of each LED is controlled by a line head control signal from the control unit 4.

以下、制御部4の構成について、図4に基づき説明する。
制御部4は、ラインヘッド20に対してラインヘッド制御信号を出力して制御するラインヘッド制御手段41と、送りステージ3に対してステージ制御信号を出力して制御する送りステージ駆動手段42と、CCDカメラ1に対してカメラ制御信号を出力して制御するカメラ制御手段43と、CCDカメラ1で撮像された画像情報を、ビデオキャプチャボードなどを介して制御部4に取り込む画像取得手段44と、画像検査制御手段45とを備えている。
Hereinafter, the structure of the control part 4 is demonstrated based on FIG.
The control unit 4 outputs a line head control signal to the line head 20 and controls the line head control means 41, a feed stage drive means 42 that outputs and controls a stage control signal to the feed stage 3, A camera control unit 43 that outputs and controls a camera control signal to the CCD camera 1; an image acquisition unit 44 that captures image information captured by the CCD camera 1 into the control unit 4 via a video capture board; And an image inspection control means 45.

画像検査制御手段45は、CCDカメラ1を利用して初期画像情報を取得する初期画像取得手段46と、取得した初期画像情報に基づいてラインヘッド20の位置情報を取得する位置情報取得手段47と、前記位置情報やラインヘッド20の寸法情報などに基づいて撮像領域を設定する撮像領域設定手段48と、設定された撮像領域の画像を取得する検査画像取得手段49と、各画像情報の信号レベルを同じレベルに調整する画像信号調整手段50と、信号レベルが調整された各画像情報に基づいてラインヘッド20の検査を行う画像検査手段51とを備えている。   The image inspection control unit 45 includes an initial image acquisition unit 46 that acquires initial image information using the CCD camera 1, and a position information acquisition unit 47 that acquires position information of the line head 20 based on the acquired initial image information. The imaging area setting means 48 for setting the imaging area based on the position information and the dimension information of the line head 20, the inspection image acquisition means 49 for acquiring the image of the set imaging area, and the signal level of each image information Are adjusted to the same level, and image inspection means 51 for inspecting the line head 20 based on each image information whose signal level is adjusted.

次に、本実施形態の画像検査装置10における画像検査方法について、図5および図6に基づき説明する。
本実施形態の画像検査方法は、図5に示すように、ラインヘッド制御工程S1と、送りステージ駆動工程S2と、画像信号調整工程S3と、初期画像取得工程S4と、位置情報取得工程S5と、撮像領域設定工程S6と、送りステージ駆動工程S7と、検査画像取得工程S8と、撮像完了判定工程S9と、ラインヘッド20の良否判定を実施する画像検査工程S10とを備えている。
Next, an image inspection method in the image inspection apparatus 10 according to the present embodiment will be described with reference to FIGS.
As shown in FIG. 5, the image inspection method of the present embodiment includes a line head control step S1, a feed stage drive step S2, an image signal adjustment step S3, an initial image acquisition step S4, and a position information acquisition step S5. An imaging region setting step S6, a feed stage driving step S7, an inspection image acquisition step S8, an imaging completion determination step S9, and an image inspection step S10 for determining whether the line head 20 is good or bad.

制御部4は、被検査物の検査が指示されると、まず、ラインヘッド制御工程S1を実施する。ラインヘッド制御工程S1では、ラインヘッド制御手段41によりラインヘッド20のLEDを点灯させる制御が行われる。   When the inspection of the inspection object is instructed, the control unit 4 first performs the line head control step S1. In the line head control step S1, the line head control means 41 performs control to turn on the LEDs of the line head 20.

次に、制御部4は、送りステージ駆動工程S2を実施する。送りステージ駆動工程S2では、送りステージ駆動手段42により、テーブル31を直線移動させて、テーブル31を所定の位置に移動させる。具体的には、図6(A)に示すように、ラインヘッド20の一端が、CCDカメラ1の初期撮像領域11Aに含まれる位置に移動する。   Next, the control unit 4 performs a feed stage driving step S2. In the feed stage drive step S2, the table 31 is moved linearly by the feed stage drive means 42 and moved to a predetermined position. Specifically, as shown in FIG. 6A, one end of the line head 20 moves to a position included in the initial imaging area 11 </ b> A of the CCD camera 1.

なお、本実施形態では、テーブル31上においてラインヘッド20を配置する位置を概略決めておき、図1において、送りステージ3の駆動可能範囲の一端である右端にテーブル31を移動した際に、ラインヘッド20の一端が、CCDカメラ1の初期撮像領域11Aに含まれる位置に移動するように設定している。
なお、テーブル31をこのような位置に移動する方法としては、例えば、送りステージ3の駆動可能範囲の一端である右端から左側に送りステージ3を直線移動させ、図示しないセンサにより決めてもよいし、ラインヘッド20を撮像してラインヘッド20の端部が検出されるまで、CCDカメラ1による撮像とテーブル31の移動とを繰り返すことにより決めてもよい。
In this embodiment, the position where the line head 20 is arranged on the table 31 is roughly determined, and when the table 31 is moved to the right end which is one end of the driveable range of the feed stage 3 in FIG. One end of the head 20 is set to move to a position included in the initial imaging area 11A of the CCD camera 1.
As a method of moving the table 31 to such a position, for example, the feed stage 3 may be linearly moved from the right end, which is one end of the driveable range of the feed stage 3, to the left side, and determined by a sensor (not shown). The image may be determined by repeating the imaging by the CCD camera 1 and the movement of the table 31 until the line head 20 is imaged and the end of the line head 20 is detected.

次に、制御部4は、画像信号調整手段50を用いて、画像信号調整工程S3を実施する。画像信号調整工程S3では、CCDカメラ1の電子シャッタ時間t1を設定している。すなわち、本実施形態では、被測定物が長尺のラインヘッド20であり、その幅寸法やY軸方向に対して傾斜して配置される場合のマージンを考慮し、最小の撮像領域を5ブロック分に設定している。
このため、画像信号調整手段50は、電子シャッタ時間を、図3に示すように、5ブロック分の撮像領域12を撮像する場合の電子シャッタ時間t1に設定している。
Next, the control unit 4 performs the image signal adjustment step S3 using the image signal adjustment means 50. In the image signal adjustment step S3, the electronic shutter time t1 of the CCD camera 1 is set. In other words, in this embodiment, the minimum object area is 5 blocks in consideration of the margin when the object to be measured is a long line head 20 and the width of the object is inclined with respect to the Y-axis direction. Set to minutes.
Therefore, the image signal adjusting means 50 sets the electronic shutter time to the electronic shutter time t1 when imaging the imaging area 12 for five blocks as shown in FIG.

なお、電子シャッタ時間としては、撮像領域11における1ブロック分を撮像する場合に設定される時間に設定してもよい。すなわち、前記電子シャッタ時間を、電子シャッタ機能により設定可能な最短時間に設定してもよい。
また、前記ラインヘッド制御工程S1、送りステージ駆動工程S2、画像信号調整工程S3は、それぞれ並行して処理できるため、本実施形態の順序に限定されず、処理順を変更してもよいし、各工程を同時に実行してもよい。
The electronic shutter time may be set to a time set when one block in the imaging area 11 is imaged. That is, the electronic shutter time may be set to the shortest time that can be set by the electronic shutter function.
Further, since the line head control step S1, the feed stage driving step S2, and the image signal adjustment step S3 can be processed in parallel, the order of processing is not limited to the order of the present embodiment, You may perform each process simultaneously.

次に、制御部4は、初期画像取得手段46により、初期画像取得工程S4を実施する。すなわち、初期画像取得手段46は、カメラ制御手段43を介してCCDカメラ1にカメラ制御信号を出力し、図6(A)に示すように、設定可能な最大領域つまり全ブロック領域の撮像を、前記電子シャッタ時間t1で撮像させる。
そして、撮像された初期画像情報を、画像取得手段44を介して取得する。
Next, the control unit 4 performs the initial image acquisition step S4 by the initial image acquisition means 46. That is, the initial image acquisition means 46 outputs a camera control signal to the CCD camera 1 via the camera control means 43, and as shown in FIG. Imaging is performed at the electronic shutter time t1.
Then, the captured initial image information is acquired via the image acquisition means 44.

次に、制御部4は、位置情報取得手段47により、位置情報取得工程S5を実施する。位置情報取得工程S5では、図6(A)に示す初期撮像領域11Aに位置するラインヘッド20の位置情報を取得する。
すなわち、位置情報取得手段47は、取得した初期画像情報を分析し、初期撮像領域11Aに位置するラインヘッド20の延長方向寸法L、幅方向寸法W、ラインヘッド20の延長方向、具体的にはテーブル31のY軸方向に対する傾斜角度θを取得する。傾斜角度θは、たとえば、ラインヘッド20の幅方向寸法Wの中間点を少なくとも2箇所、例えば初期画像情報におけるラインヘッド20の両端の点A,Bで検出することで算出できる。
Next, the control unit 4 uses the position information acquisition unit 47 to perform a position information acquisition step S5. In the position information acquisition step S5, position information of the line head 20 located in the initial imaging region 11A shown in FIG. 6A is acquired.
That is, the position information acquisition unit 47 analyzes the acquired initial image information, and the extension direction dimension L, the width direction dimension W of the line head 20 located in the initial imaging region 11A, the extension direction of the line head 20, specifically, The inclination angle θ with respect to the Y-axis direction of the table 31 is acquired. The inclination angle θ can be calculated, for example, by detecting at least two intermediate points of the width direction dimension W of the line head 20 at, for example, points A and B at both ends of the line head 20 in the initial image information.

次に、制御部4は、撮像領域設定手段48により、撮像領域設定工程S6を実施する。撮像領域設定工程S6では、前記位置情報をもとにして、以降の撮像領域を算出して設定する。
本実施形態では、テーブル31をY軸方向に移動することで、CCDカメラ1とラインヘッド20の相対位置を変更するため、以降の撮像領域は、図6(B)に示す撮像領域12Aおよび図6(C)に示す撮像領域12Bのように、Y軸方向の位置が前記撮像領域11のY軸方向の寸法分だけ異なる位置に設定される。
また、撮像領域12A,12Bのブロック位置および数、つまりスタートブロック番号およびエンドブロック番号は、各ラインヘッド20の位置情報に基づいて、ラインヘッド20が含まれるように設定される。
このため、撮像領域12A,12Bは、初期撮像領域11Aに比べて面積を小さくでき、限定されたブロックにより構成されている。
Next, the control unit 4 performs the imaging region setting step S <b> 6 by the imaging region setting means 48. In the imaging area setting step S6, the subsequent imaging area is calculated and set based on the position information.
In the present embodiment, since the relative position between the CCD camera 1 and the line head 20 is changed by moving the table 31 in the Y-axis direction, the subsequent imaging area is the imaging area 12A shown in FIG. Like the imaging region 12B shown in FIG. 6C, the position in the Y-axis direction is set to a position that differs by the size of the imaging region 11 in the Y-axis direction.
The block positions and numbers of the imaging regions 12A and 12B, that is, the start block number and the end block number are set based on the position information of each line head 20 so that the line head 20 is included.
For this reason, the imaging areas 12A and 12B can have a smaller area than the initial imaging area 11A, and are configured by limited blocks.

次に、制御部4は、送りステージ駆動手段42により、送りステージ駆動工程S7を実施し、テーブル31を一定の移動量(前記撮像領域11のY軸寸法)だけ左側に直線移動させることにより、CCDカメラ1により撮像する領域を、撮像領域12Aへ移す。   Next, the control unit 4 performs the feed stage driving step S7 by the feed stage driving means 42, and linearly moves the table 31 to the left by a certain amount of movement (Y-axis dimension of the imaging region 11). The area imaged by the CCD camera 1 is moved to the imaging area 12A.

その後、制御部4は、検査画像取得手段49により、検査画像取得工程S8を実施する。具体的には、検査画像取得手段49は、撮像領域設定工程S6で設定された撮像領域12Aのスタートブロック番号およびエンドブロック番号と、画像信号調整工程S3で設定された電子シャッタ時間t1でCCDカメラ1を制御する。図6(B)の例では、スタートブロック番号は「6」、エンドブロック番号は「10」である。
そして、CCDカメラ1から出力される検査画像情報を取得する。
Thereafter, the control unit 4 performs the inspection image acquisition step S8 by the inspection image acquisition means 49. Specifically, the inspection image acquisition unit 49 uses the CCD camera at the start block number and end block number of the imaging region 12A set in the imaging region setting step S6 and the electronic shutter time t1 set in the image signal adjustment step S3. 1 is controlled. In the example of FIG. 6B, the start block number is “6” and the end block number is “10”.
Then, inspection image information output from the CCD camera 1 is acquired.

次に、制御部4は、撮像完了判定工程S9を実施し、撮像領域設定工程S6で設定された撮像領域の全ての撮像が完了したかを判定する。
そして、撮像が完了していない場合には、送りステージ駆動工程S7、検査画像取得工程S8を繰り返し、次の撮像領域12Bを撮像し、検査画像情報を取得する。
図6では、模式的に3回の撮像でラインヘッド20全体を撮像しているが、実際には、顕微鏡2で拡大しているために、1つの撮像領域で撮像可能なエリアは非常に小さく、LEDが約7000個配置された600dpiのラインヘッド20では、500個程度の撮像領域に分割されるため、送りステージ駆動工程S7、検査画像取得工程S8は500回程度繰り返される。
Next, the control unit 4 performs an imaging completion determination step S9, and determines whether all imaging of the imaging region set in the imaging region setting step S6 has been completed.
If the imaging has not been completed, the feed stage driving step S7 and the inspection image acquisition step S8 are repeated, the next imaging region 12B is imaged, and the inspection image information is acquired.
In FIG. 6, the entire line head 20 is typically imaged by three times of imaging. However, since the image is actually magnified by the microscope 2, the area that can be imaged in one imaging area is very small. The 600 dpi line head 20 in which about 7000 LEDs are arranged is divided into about 500 imaging regions, so that the feed stage drive step S7 and the inspection image acquisition step S8 are repeated about 500 times.

撮像完了判定工程S9で撮像完了と判定されると、制御部4は、画像検査手段51により画像検査工程S10を実施する。
画像検査工程S10では、初期画像取得手段46で取得した初期画像情報と、検査画像取得手段49で取得した各検査画像情報とに基づいて、LED部分の明るさや面積などを分析し、各LEDの欠陥などを検査する。この際、各画像情報は、電子シャッタ時間t1が同じであるため、LEDの明るさが同じであれば同じ信号レベルとなる。従って、各画像情報において、他のLEDよりも非常に暗いLEDがあれば、そのLEDは欠陥であることが検出できる。
When it is determined that the imaging is completed in the imaging completion determination step S <b> 9, the control unit 4 performs the image inspection step S <b> 10 by the image inspection unit 51.
In the image inspection step S10, the brightness and area of the LED portion are analyzed based on the initial image information acquired by the initial image acquisition unit 46 and each inspection image information acquired by the inspection image acquisition unit 49, and Inspect for defects. At this time, since each image information has the same electronic shutter time t1, if the brightness of the LEDs is the same, the image signal has the same signal level. Therefore, in each image information, if there is an LED that is much darker than the other LEDs, it can be detected that the LED is defective.

以上により、ラインヘッド20の検査が完了する。他のラインヘッド20を検査する場合には、ラインヘッド20をテーブル31に置いて上記ラインヘッド制御工程S1から画像検査工程S10までを実行すればよい。   Thus, the inspection of the line head 20 is completed. When inspecting another line head 20, the line head 20 may be placed on the table 31 and the above-described line head control step S1 to image inspection step S10 may be executed.

このような本実施形態によれば、次のような効果がある。
(1)撮像領域設定手段48によって、ラインヘッド20を撮像するために最小限の撮像領域12A,12Bを設定して撮像しているので、ラインヘッド20を分割して撮像する際に、すべての撮像領域を最大の撮像領域11Aにする場合に比べて、画像取得時間を短縮でき、ラインヘッド20の検査時間も短くできて検査効率を向上できる。
According to this embodiment, there are the following effects.
(1) Since the imaging area setting means 48 sets and captures the minimum imaging areas 12A and 12B for imaging the line head 20, all of the line heads 20 are divided and imaged. Compared to the case where the imaging region is the maximum imaging region 11A, the image acquisition time can be shortened, the inspection time of the line head 20 can be shortened, and the inspection efficiency can be improved.

(2)初期画像取得手段46および位置情報取得手段47によって、ラインヘッド20の位置情報を求め、撮像領域設定手段48ではその位置情報に基づいて撮像領域12A,12Bを設定しているので、テーブル31上にラインヘッド20を配置する際に、その配置位置が多少ずれても、ラインヘッド20の配置位置を正確にかつ自動的に検出できる。このため、撮像領域設定手段48で設定される撮像領域12A,12Bを最小限の大きさに設定しても、その領域内にラインヘッド20を確実に配置でき、検査画像情報を確実に取得できる。 (2) Since the initial image acquisition means 46 and the position information acquisition means 47 obtain the position information of the line head 20, and the imaging area setting means 48 sets the imaging areas 12A and 12B based on the position information, the table Even when the position of the line head 20 is slightly shifted when the line head 20 is disposed on the line 31, the position of the line head 20 can be detected accurately and automatically. For this reason, even if the imaging areas 12A and 12B set by the imaging area setting means 48 are set to the minimum size, the line head 20 can be reliably arranged in the area, and the inspection image information can be acquired reliably. .

(3)また、各撮像領域11A,12A,12Bの大きさが異なっていても、電子シャッタ時間t1を一定にしているので、各画像情報の信号レベルを一定にできる。このため、LEDの明るさのばらつきなども各画像情報から容易に検出でき、画像情報を補正処理する必要もなく、ラインヘッド20の良否判定も正確にかつ短時間で行うことができる。 (3) Even if the sizes of the imaging regions 11A, 12A, and 12B are different, the electronic shutter time t1 is made constant, so that the signal level of each image information can be made constant. Therefore, variations in the brightness of the LEDs can be easily detected from each piece of image information, the image information need not be corrected, and the quality determination of the line head 20 can be performed accurately and in a short time.

(第2実施形態)
次に、本発明の第2実施形態について、図7のフローチャートに基づいて説明する。なお、本実施形態において、前記第1実施形態と同様の構成は同一符号を付し、説明を省略あるいは簡略する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described based on the flowchart of FIG. In the present embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and description thereof is omitted or simplified.

第1実施形態では、画像信号調整工程S3において電子シャッタ時間t1を設定し、各撮像領域11A,12A,12Bを撮像する際に電子シャッタ時間t1を一定にすることで、画像情報の信号レベルを一定にしていた。
これに対し、第2実施形態では、画像情報を取得後に、画像補正処理を行うことで信号レベルを一定にするものである。このため、図7に示すように、撮像完了判定工程S9で全ての撮像が完了した後に、取得した各画像情報の信号レベルを一定にする画像信号調整工程S11を実施している。
In the first embodiment, the electronic shutter time t1 is set in the image signal adjustment step S3, and the signal level of the image information is set by making the electronic shutter time t1 constant when imaging each imaging region 11A, 12A, 12B. It was constant.
On the other hand, in the second embodiment, the signal level is made constant by performing image correction processing after acquiring image information. For this reason, as shown in FIG. 7, after all the imaging is completed in the imaging completion determination process S9, an image signal adjustment process S11 for making the signal level of each acquired image information constant is performed.

画像信号調整工程S11では、例えば、各画像情報において、共通の基準となる部分の信号レベルを比較し、その差が無くなるように補正処理を行えばよい。共通の基準となる部分とは、例えば、ラインヘッド20のフレーム部分など、各撮像領域11A,12A,12Bで撮像した際に、どの撮像領域においても信号レベルが一定となる部分を設定すればよい。また、各撮像領域11A,12A,12Bにおいて、ラインヘッド20に隣接して基準となるLEDを配置し、この基準LEDの明るさが各画像情報において一致するように補正してもよい。   In the image signal adjustment step S11, for example, in each image information, the signal level of a common reference portion is compared, and correction processing may be performed so that the difference is eliminated. The common reference portion may be a portion where the signal level is constant in any of the imaging regions, such as the frame portion of the line head 20, when imaging is performed in each of the imaging regions 11A, 12A, and 12B. . Further, in each of the imaging regions 11A, 12A, and 12B, a reference LED may be disposed adjacent to the line head 20, and the brightness of the reference LED may be corrected so as to match in each image information.

このような第2実施形態によれば、前記第1実施形態と同じ作用効果を奏することができる。
さらに、第1実施形態では、予め撮像領域12A,12Bの面積(前記実施形態では5ブロック分)に合わせて電子シャッタ時間t1を設定しているため、撮像領域設定工程S6においてさらに小さい面積に撮像領域を設定することはできない。これに対し、本実施形態は、撮像後の画像処理で信号レベルを一定にできるため、撮像時の領域はその都度調整することもでき、例えば、検査画像取得を繰り返している途中で、4ブロック分の撮像領域に変更することもでき、その分、撮像時間をより短縮することもできる。
According to such 2nd Embodiment, there can exist the same effect as the said 1st Embodiment.
Furthermore, in the first embodiment, since the electronic shutter time t1 is set in advance in accordance with the areas of the imaging regions 12A and 12B (5 blocks in the embodiment), imaging is performed in a smaller area in the imaging region setting step S6. The area cannot be set. On the other hand, in this embodiment, since the signal level can be made constant in the image processing after imaging, the area at the time of imaging can be adjusted each time, for example, while the inspection image acquisition is being repeated, 4 blocks It is also possible to change to an imaging area of minutes, and the imaging time can be further shortened accordingly.

(変形例)
なお、本発明は前述の実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれるものである。
例えば、前記第1実施形態では、画像信号調整工程S3において、撮像領域12A,12Bのブロック数を5に設定し、各撮像領域11A,12A,12Bを撮像する場合の電子シャッタ時間t1を、前記5ブロック分の領域を撮像する際の時間に設定していたが、設定可能な最短時間、具体的には1ブロック分の領域を撮像する際の時間に設定してもよい。
このように構成した場合には、撮像領域が1ブロックから全ブロック(13ブロック)のいずれの場合でも撮像可能であり、かつ、撮像した画像情報の信号レベルを一定にできる。
(Modification)
It should be noted that the present invention is not limited to the above-described embodiment, and modifications, improvements, and the like within the scope that can achieve the object of the present invention are included in the present invention.
For example, in the first embodiment, in the image signal adjustment step S3, the number of blocks of the imaging regions 12A and 12B is set to 5, and the electronic shutter time t1 when imaging the imaging regions 11A, 12A, and 12B is Although the time for imaging the area for 5 blocks is set, it may be set to the shortest settable time, specifically, the time for imaging the area for 1 block.
When configured in this manner, it is possible to capture an image in any imaging region from one block to all blocks (13 blocks), and the signal level of the captured image information can be made constant.

また、画像情報の信号レベルを一定にする方法としては、第1実施形態のように電子シャッタ時間t1を一定にする方法や、第2実施形態のように、画像処理で行う方法に限らない。
例えば、CCDカメラ1のレンズに入る光量を減少させるNDフィルタ(Neutral Density Filter)を、顕微鏡2のレンズとラインヘッド20との間、またはCCDカメラ1と顕微鏡2との間のいずれかに配置可能にし、NDフィルタを用いることで、撮像領域の面積に応じて前記光量を調整して信号レベルを一定にしてもよい。
Further, the method of making the signal level of the image information constant is not limited to the method of making the electronic shutter time t1 constant as in the first embodiment and the method of performing image processing as in the second embodiment.
For example, an ND filter (Neutral Density Filter) that reduces the amount of light entering the lens of the CCD camera 1 can be placed either between the lens of the microscope 2 and the line head 20 or between the CCD camera 1 and the microscope 2. In addition, by using an ND filter, the light level may be adjusted according to the area of the imaging region to make the signal level constant.

すなわち、電子シャッタ時間を一定に調整しない場合、撮像領域の面積が大きくなるほど撮像時間つまり露光時間が長くなり、その分、CCDカメラ1に入る光量も増加する。従って、例えば、撮像領域が最小となる場合にCCDカメラ1に入る光量を基準とし、撮像領域が大きくなるに従ってNDフィルタを用いて光量を減少させ、前記基準の光量に一致するようにして、各画像情報の信号レベルを一定にしてもよい。   That is, when the electronic shutter time is not adjusted to be constant, the imaging time, that is, the exposure time becomes longer as the area of the imaging region becomes larger, and the amount of light entering the CCD camera 1 increases accordingly. Therefore, for example, when the imaging area is minimized, the light quantity entering the CCD camera 1 is used as a reference, and as the imaging area becomes larger, the ND filter is used to reduce the light quantity so as to match the reference light quantity. The signal level of the image information may be constant.

また、CCDカメラ1のレンズに入る光量を減少させる方法としては、CCDカメラ1に絞り機構を設け、絞りを調整する方法を採用してもよい。   Further, as a method of reducing the amount of light entering the lens of the CCD camera 1, a method of adjusting the aperture by providing an aperture mechanism in the CCD camera 1 may be adopted.

さらに、CCDカメラ1において、CCD素子により変換された電気信号を電気的に増幅するアンプゲイン機能を利用して、各画像情報の信号レベルを一定にしてもよい。すなわち、電子シャッタ時間を一定にしない場合、撮像領域が最も大きい画像情報の信号レベルが最も高くなり、撮像領域の面積が小さくなるほど信号レベルも低下する。従って、この低下した信号レベルを前記アンプゲイン機能で増幅することで各撮像領域12A,12Bの検査画像情報の信号レベルを、初期撮像領域11Aの初期画像情報の信号レベルに一致させることができる。   Further, in the CCD camera 1, the signal level of each image information may be made constant by using an amplifier gain function for electrically amplifying the electric signal converted by the CCD element. That is, when the electronic shutter time is not constant, the signal level of the image information having the largest imaging area becomes the highest, and the signal level decreases as the area of the imaging area becomes smaller. Therefore, the signal level of the inspection image information in each of the imaging regions 12A and 12B can be matched with the signal level of the initial image information in the initial imaging region 11A by amplifying the lowered signal level with the amplifier gain function.

また、前記実施形態では、すべての撮像領域の撮像した後で画像検査工程S10を行っていたが、例えば、基準となるラインヘッド20を撮像した画像と、被検査物のラインヘッド20を撮像した画像とを比較して良否を判定する場合には、前記基準画像と信号レベルが一致するように設定するとともに、検査画像取得工程S8で各撮像領域を撮像するたびに、取得した検査画像情報と前記基準画像とを比較して画像検査工程S10を行ってもよい。   In the above-described embodiment, the image inspection step S10 is performed after all the imaging regions are imaged. For example, an image of the reference line head 20 and the line head 20 of the inspection object are imaged. When determining pass / fail by comparing the image, the reference image and the signal level are set so as to coincide with each other, and each time the image pickup area is imaged in the test image acquisition step S8, The image inspection step S10 may be performed by comparing with the reference image.

さらに、前記実施形態では、初期画像情報に基づいて被検査物であるラインヘッド20の位置情報を求め、撮像領域設定工程S6で予め撮像領域12A,12Bを設定していたが、例えば、検査画像取得工程S8で取得した画像情報に基づいて被検査物の位置情報をその都度求め、次の撮像領域の設定を行ってもよい。このようにすれば、直前の被検査物の位置情報に基づいて次の撮像領域を設定しているので、撮像領域の設定をより精度良く実行できる。特に、被検査物が湾曲している場合や、形状が判明していない場合には、撮像領域の設定を精度良く行え、被検査物を確実に撮像することができる。
なお、この場合、最初に撮像領域の最小面積の予測ができないため、電子シャッタ時間を一定にする場合には、前述したように、撮像領域の最小面積である1ブロック分の領域を撮像する際の時間に設定すればよい。
Furthermore, in the above-described embodiment, the position information of the line head 20 that is the inspection object is obtained based on the initial image information, and the imaging regions 12A and 12B are set in advance in the imaging region setting step S6. The position information of the inspection object may be obtained each time based on the image information acquired in the acquisition step S8, and the next imaging area may be set. In this way, since the next imaging area is set based on the position information of the immediately preceding inspection object, the imaging area can be set with higher accuracy. In particular, when the object to be inspected is curved or the shape is not known, the imaging region can be set with high accuracy, and the object to be inspected can be reliably imaged.
In this case, since the minimum area of the imaging region cannot be predicted first, when the electronic shutter time is made constant, as described above, when capturing an area for one block, which is the minimum area of the imaging region, The time may be set.

また、前記実施形態ではテーブル31を移動させていたが、CCDカメラ1側を移動させてもよく、要するに被測定物およびCCDカメラ1が相対的に移動可能に設けられていればよい。   In the above embodiment, the table 31 is moved. However, the CCD camera 1 side may be moved. In short, the object to be measured and the CCD camera 1 need only be relatively movable.

さらに、テーブル31の移動方向は1軸方向に限定されるものではなく、2軸方向または3軸方向に移動可能な構造を備える構成としてもよく、また、軸を中心にテーブル31を回転移動させる手段を備える構成としてもよい。
これらは被測定物の形状などの測定条件に応じて設定すればよい。
Furthermore, the moving direction of the table 31 is not limited to a single axial direction, and may be configured to have a structure that can move in two axial directions or three axial directions, and the table 31 is rotated about the axis. It is good also as a structure provided with a means.
These may be set according to measurement conditions such as the shape of the object to be measured.

本発明の被測定物としては、電子写真用プリンタのラインヘッド20に限定されない。特に、一定幅寸法で長手方向に延長された長尺物であることが好ましく、例えば、プリンタのプラテンなどでもよい。
本発明は、長尺な被測定物などの表面の傷や光源の明るさなど、画像情報の明るさなどに基づいて検査可能な各種の画像検査に広く適用できる。
The object to be measured of the present invention is not limited to the line head 20 of the electrophotographic printer. In particular, it is preferably a long object extending in the longitudinal direction with a certain width dimension, and may be a platen of a printer, for example.
The present invention can be widely applied to various image inspections that can be inspected based on the brightness of image information such as a surface scratch on a long object to be measured and the brightness of a light source.

本発明の第1実施形態の画像検査装置の構成を示す概略構成図。1 is a schematic configuration diagram showing a configuration of an image inspection apparatus according to a first embodiment of the present invention. CCDカメラ1の撮像領域を説明する図。FIG. 3 is a diagram for explaining an imaging area of the CCD camera. CCDカメラ1の撮像領域を説明する図。FIG. 3 is a diagram for explaining an imaging area of the CCD camera. 画像検査装置の制御部の構成を示すブロック図。The block diagram which shows the structure of the control part of an image inspection apparatus. 第1実施形態の画像検査方法を説明するフローチャート。6 is a flowchart illustrating an image inspection method according to the first embodiment. 図6(A)は、初期画像取得工程における初期撮像領域を示す説明図、図6(B)および(C)は、各検査画像取得工程における撮像領域を示す説明図。FIG. 6A is an explanatory diagram illustrating an initial imaging area in the initial image acquisition process, and FIGS. 6B and 6C are explanatory diagrams illustrating an imaging area in each inspection image acquisition process. 第2実施形態の画像検査方法を説明するフローチャート。9 is a flowchart for explaining an image inspection method according to the second embodiment.

符号の説明Explanation of symbols

1…CCDカメラ、2…顕微鏡、3…送りステージ、4…制御部、10…画像検査装置、11,12,12A,12B…撮像領域、11A…初期撮像領域、20…ラインヘッド、31…テーブル、32…テーブル駆動部、41…ラインヘッド制御手段、42…送りステージ駆動手段、43…カメラ制御手段、44…画像取得手段、45…画像検査制御手段、46…初期画像取得手段、47…位置情報取得手段、48…撮像領域設定手段、49…検査画像取得手段、50…画像信号調整手段、51…画像検査手段。   DESCRIPTION OF SYMBOLS 1 ... CCD camera, 2 ... Microscope, 3 ... Feed stage, 4 ... Control part, 10 ... Image inspection apparatus, 11, 12, 12A, 12B ... Imaging area, 11A ... Initial imaging area, 20 ... Line head, 31 ... Table , 32 ... Table drive unit, 41 ... Line head control means, 42 ... Feed stage drive means, 43 ... Camera control means, 44 ... Image acquisition means, 45 ... Image inspection control means, 46 ... Initial image acquisition means, 47 ... Position Information acquisition means 48 ... Imaging region setting means 49 ... Inspection image acquisition means 50 ... Image signal adjustment means 51 ... Image inspection means

Claims (8)

被検査物の一部が含まれる初期撮像領域を撮像手段で撮像して初期画像情報を取得する初期画像取得工程と、
前記初期画像情報に基づいて初期撮像領域に位置する被検査物の位置情報を取得する位置情報取得工程と、
前記位置情報に基づいて、前記被検査物の初期撮像領域に含まれない他の部分を撮像する1つ以上の撮像領域の位置および面積を設定する撮像領域設定工程と、
前記撮像領域設定工程で設定された撮像領域を前記撮像手段で撮像して検査画像情報を取得する検査画像取得工程と、
前記初期画像情報および検査画像情報の各信号レベルを同じレベルに調整する画像信号調整工程と、
を備えることを特徴とする画像検査方法。
An initial image acquisition step of acquiring an initial image information by imaging an initial imaging region including a part of the inspection object with an imaging unit;
A position information acquisition step of acquiring position information of an object to be inspected located in an initial imaging region based on the initial image information;
An imaging region setting step for setting the position and area of one or more imaging regions that image other parts not included in the initial imaging region of the inspection object based on the position information;
An inspection image acquisition step of acquiring the inspection image information by imaging the imaging region set in the imaging region setting step by the imaging means;
An image signal adjustment step of adjusting each signal level of the initial image information and the inspection image information to the same level;
An image inspection method comprising:
請求項1に記載の画像検査方法において、
前記位置情報取得工程は、被検査物の位置情報として、少なくとも初期画像情報における被検査物の配置位置および被検査物の延長方向を取得し、
前記撮像領域設定工程は、前記被検査物の延長方向の寸法と、前記被検査物の配置位置および延長方向とに基づいて、前記撮像領域の位置および面積を設定することを特徴とする画像検査方法。
The image inspection method according to claim 1,
In the position information acquisition step, as the position information of the inspection object, at least the arrangement position of the inspection object in the initial image information and the extension direction of the inspection object are acquired,
The imaging region setting step sets a position and an area of the imaging region based on a dimension in an extension direction of the inspection object and an arrangement position and an extension direction of the inspection object. Method.
請求項1または請求項2に記載の画像検査方法において、
前記撮像領域設定工程は、前記撮像領域の面積を、前記初期撮像領域の面積に比べて小さく設定することを特徴とする画像検査方法。
The image inspection method according to claim 1 or 2,
In the imaging region setting step, the area of the imaging region is set smaller than the area of the initial imaging region.
請求項1から請求項3のいずれかに記載の画像検査方法において、
前記撮像手段は、光学像を電気信号に変換する撮像素子を備え、かつ、前記撮像素子での撮影時間を制御する電子シャッタ機能を有するとともに、
前記画像信号調整工程は、各撮像領域において面積が異なる場合でも電子シャッタ機能により電子シャッタ時間を一定にすることで前記各画像情報の信号レベルを一定に調整することを特徴とする画像検査方法。
The image inspection method according to any one of claims 1 to 3,
The imaging means includes an image sensor that converts an optical image into an electrical signal, and has an electronic shutter function that controls a shooting time of the image sensor,
In the image inspection method, the signal level of each piece of image information is adjusted to be constant by making the electronic shutter time constant by the electronic shutter function even when the areas of the respective imaging regions are different.
請求項4に記載の画像検査方法において、
前記画像信号調整工程は、前記電子シャッタ時間を、電子シャッタ機能により設定可能な最短時間に設定することを特徴とする画像検査方法。
The image inspection method according to claim 4,
In the image signal adjusting step, the electronic shutter time is set to the shortest time that can be set by an electronic shutter function.
請求項1から請求項3のいずれかに記載の画像検査方法において、
前記撮像手段は、光学像を電気信号に変換する撮像素子を備え、
前記画像信号調整工程は、前記各撮像領域において最も面積が小さい撮像領域を撮影した際に、前記撮像素子で得られる画像情報の信号レベルを基準とし、
他の撮像領域を撮影する際には、その画像情報の信号レベルを、前記最小撮像領域の信号レベルに合わせて調整することを特徴とする画像検査方法。
The image inspection method according to any one of claims 1 to 3,
The imaging means includes an imaging element that converts an optical image into an electrical signal,
The image signal adjustment step is based on the signal level of image information obtained by the image sensor when the imaging area having the smallest area in each of the imaging areas is imaged.
An image inspection method characterized by adjusting a signal level of image information in accordance with a signal level of the minimum imaging area when imaging another imaging area.
請求項6に記載の画像検査方法において、
前記画像信号調整工程は、前記他の撮像領域を撮影する際に、絞り調整または減光フィルタで撮像素子に入る光量を少なくして前記画像情報の信号レベルを調整する方法、前記撮像素子のアンプゲインを調整して前記画像情報の信号レベルを調整する方法、および、前記画像情報を画像処理してその信号レベルを調整する方法のいずれかの方法を実行することを特徴とする画像検査方法。
The image inspection method according to claim 6,
The image signal adjusting step includes a method of adjusting a signal level of the image information by reducing an amount of light entering the image pickup device with an aperture adjustment or a neutral density filter when photographing the other image pickup region, and an amplifier of the image pickup device An image inspection method, comprising: adjusting a gain to adjust a signal level of the image information; or performing an image process on the image information to adjust the signal level.
被検査物の一部が含まれる初期撮像領域を撮像手段で撮像して初期画像情報を取得する初期画像取得手段と、
前記初期画像情報に基づいて初期撮像領域に位置する被検査物の位置情報を取得する位置情報取得手段と、
前記位置情報に基づいて、前記被検査物の初期撮像領域に含まれない他の部分を撮像する1つ以上の撮像領域の位置および面積を設定する撮像領域設定手段と、
前記撮像領域設定手段で設定された撮像領域を前記撮像手段で撮像して検査画像情報を取得する検査画像取得手段と、
前記初期画像情報および検査画像情報の各信号レベルを同じレベルに調整する画像信号調整手段と、
を備えることを特徴とする画像検査装置。
An initial image acquisition means for acquiring an initial image information by imaging an initial imaging area including a part of the inspection object with an imaging means;
Position information acquisition means for acquiring position information of an inspection object located in an initial imaging region based on the initial image information;
An imaging area setting means for setting the position and area of one or more imaging areas for imaging other parts not included in the initial imaging area of the inspection object based on the position information;
Inspection image acquisition means for acquiring the inspection image information by imaging the imaging area set by the imaging area setting means by the imaging means;
Image signal adjusting means for adjusting the signal levels of the initial image information and the inspection image information to the same level;
An image inspection apparatus comprising:
JP2007076107A 2007-03-23 2007-03-23 Image inspection method and image inspection device Withdrawn JP2008232976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007076107A JP2008232976A (en) 2007-03-23 2007-03-23 Image inspection method and image inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007076107A JP2008232976A (en) 2007-03-23 2007-03-23 Image inspection method and image inspection device

Publications (1)

Publication Number Publication Date
JP2008232976A true JP2008232976A (en) 2008-10-02

Family

ID=39905932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007076107A Withdrawn JP2008232976A (en) 2007-03-23 2007-03-23 Image inspection method and image inspection device

Country Status (1)

Country Link
JP (1) JP2008232976A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014013146A (en) * 2012-07-03 2014-01-23 Canon Inc Three-dimensional measuring instrument and robot device
JP2014135676A (en) * 2013-01-11 2014-07-24 Ricoh Co Ltd Imaging apparatus, image reading apparatus and image forming apparatus
KR102240190B1 (en) * 2019-11-29 2021-04-14 한국표준과학연구원 System and method for measuring optical characteristics of VR/AR optical components
CN117647546A (en) * 2024-01-29 2024-03-05 浙江华视智检科技有限公司 Security check imaging method and related device
CN117647546B (en) * 2024-01-29 2024-05-07 浙江华视智检科技有限公司 Security check imaging method and related device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014013146A (en) * 2012-07-03 2014-01-23 Canon Inc Three-dimensional measuring instrument and robot device
US9679385B2 (en) 2012-07-03 2017-06-13 Canon Kabushiki Kaisha Three-dimensional measurement apparatus and robot system
JP2014135676A (en) * 2013-01-11 2014-07-24 Ricoh Co Ltd Imaging apparatus, image reading apparatus and image forming apparatus
KR102240190B1 (en) * 2019-11-29 2021-04-14 한국표준과학연구원 System and method for measuring optical characteristics of VR/AR optical components
CN117647546A (en) * 2024-01-29 2024-03-05 浙江华视智检科技有限公司 Security check imaging method and related device
CN117647546B (en) * 2024-01-29 2024-05-07 浙江华视智检科技有限公司 Security check imaging method and related device

Similar Documents

Publication Publication Date Title
WO2009090871A1 (en) Apparatus for inspecting subject to be inspected
KR101640914B1 (en) Focus position adjusting method and inspecting method
JP2006319544A (en) Device and method for measuring inclination of image sensor
JP3953988B2 (en) Inspection apparatus and inspection method
TWI667530B (en) Inspection method and inspection device
JP2008232976A (en) Image inspection method and image inspection device
JP2009168607A (en) Image measuring method and image measuring device
JP2007121981A (en) Substrate test method
JP5006005B2 (en) Foreign matter inspection apparatus and foreign matter inspection method
JP6903270B2 (en) Electronic component transfer device and electronic component inspection device
JP2007506081A5 (en)
JP5042503B2 (en) Defect detection method
JP2009014447A (en) Flaw inspection device and flaw inspection program
JP2006275780A (en) Pattern inspection method
JP2003237031A (en) Alignment device for screen printing
JP2006234554A (en) Method and device for inspecting pattern
JPH0658215B2 (en) Method and apparatus for inspecting a pattern to be inspected on a semiconductor wafer
JP2005136743A (en) Position adjusting instrument and position adjusting method for image pickup device
JP2009232348A (en) Imaging apparatus, distance information acquiring method, image processing method, and drive control method of optical system
JP2008154195A (en) Method of creating pattern for calibration of lens, pattern for calibration of lens, method and device for calibrating lens utilizing pattern for calibration, and method and device for calibrating imaging apparatus
KR100710703B1 (en) Inspection system for a measuring plating line width of semiconductor reed frame and thereof method
JP2008128770A (en) Lens performance inspection device and lens performance inspection method
JP6456726B2 (en) Inspection device, inspection method, and inspection program
JP2005345590A (en) Inspection method and inspection apparatus for imaging device
KR102325610B1 (en) Test apparatus and method for optical image stabilizer actuator

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100601