JP6683088B2 - Surface texture inspection device, surface texture inspection method and program - Google Patents

Surface texture inspection device, surface texture inspection method and program Download PDF

Info

Publication number
JP6683088B2
JP6683088B2 JP2016185976A JP2016185976A JP6683088B2 JP 6683088 B2 JP6683088 B2 JP 6683088B2 JP 2016185976 A JP2016185976 A JP 2016185976A JP 2016185976 A JP2016185976 A JP 2016185976A JP 6683088 B2 JP6683088 B2 JP 6683088B2
Authority
JP
Japan
Prior art keywords
image
light
line width
linear laser
inspection
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.)
Active
Application number
JP2016185976A
Other languages
Japanese (ja)
Other versions
JP2018048979A (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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP2016185976A priority Critical patent/JP6683088B2/en
Publication of JP2018048979A publication Critical patent/JP2018048979A/en
Application granted granted Critical
Publication of JP6683088B2 publication Critical patent/JP6683088B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

本発明は、表面性状検査装置、表面性状検査方法及びプログラムに関する。   The present invention relates to a surface texture inspection device, a surface texture inspection method, and a program.

スラブやビレット等に代表される中間素材に対して熱間成形等を行った後、各種の機械加工を施すことで製造される機械加工鋼材は、出荷に際して、適切な表面性状を有しているか否かの検査(表面検査)が行われる。かかる機械加工鋼材の表面検査は、打音による検査や目視による検査として実施されることが多いが、これらの検査方法の場合、検査員の技量に負う部分が大きい。特に目視による検査には、磁粉探傷、外観検査など複数の検査項目が存在し、作業を煩雑なものとさせている。かかる機械加工鋼材では、表面に機械加工に伴う微小なキズが生成される、又は、母材の中間素材であるビレット等を熱間成形した後の材料の表面が、機械加工鋼材の表面に残存する、などといった、各種の表面性状の変化が生じうる。かかる表面の微小キズや、中間素材であるビレット等を熱間成形した後の材料の表面(地肌)の残存等が存在している機械加工鋼材が、破廉恥キズとして流出しないよう、表面性状の検査には正確性が求められる。   Is the machined steel product manufactured by performing various types of machining after hot forming etc. on an intermediate material typified by slabs and billets, etc., has an appropriate surface texture at the time of shipment? Whether or not (surface inspection) is performed. The surface inspection of such machined steel material is often performed as an inspection by tapping sound or an inspection by visual inspection, but in the case of these inspection methods, the skill of the inspector is largely responsible. In particular, visual inspection has a plurality of inspection items such as magnetic particle flaw detection and visual inspection, which complicates the work. In such machined steel material, minute scratches due to machining are generated on the surface, or the surface of the material after hot forming the billet etc. which is an intermediate material of the base material remains on the surface of the machined steel material. Various surface property changes, such as turning on, may occur. Inspection of the surface properties so that the machined steel material that has such microscopic scratches on the surface and residual surface (background) of the material after hot forming the billet, which is an intermediate material, does not flow out as a shameful flaw. Is required to be accurate.

上記のような機械加工鋼材の一例として、例えば、中間素材であるビレット等を熱間成形した後の材料を機械切削により形状を整えることで製造される円盤状の加工品や、中間素材であるビレット等を熱間成形した後の材料の外径を機械切削等により整えることで製造される円柱状の加工品等を挙げることができる。これら機械加工鋼材の検査方法として、以下の特許文献1では、例えば、機械加工鋼材の表面にラインレーザを照射し、その表面を全面に亘って撮像する、いわゆる光切断法による検査装置や、機械加工鋼材の表面に投光された光の受光強度の変化によって表面状態を監視する光学的検査などが提案されている。   An example of the machined steel material as described above is, for example, a disk-shaped processed product or an intermediate material manufactured by adjusting the shape of the material after hot forming a billet or the like which is an intermediate material by mechanical cutting. Examples thereof include a cylindrical processed product produced by adjusting the outer diameter of the material after hot forming a billet or the like by mechanical cutting or the like. As an inspection method for these machined steel materials, in Patent Document 1 below, for example, an inspection device by a so-called optical cutting method, which irradiates a surface of the machined steel material with a line laser, and images the entire surface, and a machine Optical inspection and the like have been proposed in which the surface condition is monitored by the change in the received light intensity of the light projected on the surface of the processed steel material.

しかしながら、機械加工鋼材の表面に存在しうる、中間素材であるビレット等を熱間成形した後の材料の表面が残存した地肌残存部や、錆等といった有害キズは、凹凸が百μm以下と極めて小さいため、以下の特許文献1で提案されているような光切断法では検出することができない。   However, the remaining surface of the material after the hot forming of the billet, which is an intermediate material, that may exist on the surface of the machined steel material, and the harmful scratches such as rust, are extremely uneven with a roughness of 100 μm or less. Since it is small, it cannot be detected by the optical cutting method as proposed in Patent Document 1 below.

そこで、微小な凹凸を検出する方法として、以下の特許文献2では、機械加工品の表面にスリットレーザ光(線状光)を照射し、凹部での照射光の集束及び凸部での照射光の散乱によって生じる照射光の幅の変化に着目する技術が、提案されている。かかる技術は、機械加工品の表面が滑らかであれば照射光の幅は小さく、凹部が存在すれば照射光の幅が太くなるという特性を利用した技術である。   Therefore, as a method of detecting minute unevenness, in Patent Document 2 below, slit laser light (linear light) is irradiated onto the surface of a machined product to focus the irradiation light on the concave portion and the irradiation light on the convex portion. A technique has been proposed that focuses on a change in the width of irradiation light caused by scattering of light. This technique utilizes the characteristics that the width of the irradiation light is small if the surface of the machined product is smooth and the width of the irradiation light is large if there are recesses.

特開2003−240521号公報JP, 2003-240521, A 特開2002−346925号公報JP 2002-346925A

しかしながら、上記特許文献2で提案されている検査技術は、機械加工品の表面の特定部位のみを検査する技術であり、加えて、機械加工品の一部での照射光の線幅変化を利用した技術であるために、不良部の位置の視認性が悪いという問題があった。また、上記特許文献2で提案されている技術では、表面粗度(凹凸)の大きい部位の2次元画像化を実施していないことから、各種の画像処理を利用して表面粗度の大きい部位を抽出したり、表面粗度の大きい部位のサイズを特定したりすることができない。更には、線状のレーザ光における線幅の変化は僅かであるため、照射光の投影画像のみでは、視認性が低いという問題がある。   However, the inspection technique proposed in Patent Document 2 is a technique for inspecting only a specific portion of the surface of a machined product, and additionally uses a change in the line width of irradiation light in a part of the machined product. However, there is a problem in that the visibility of the position of the defective portion is poor due to this technology. Further, in the technique proposed in Patent Document 2 above, since a two-dimensional imaging of a portion having a large surface roughness (unevenness) is not performed, a portion having a large surface roughness is processed by using various image processing. Cannot be extracted or the size of a portion having a high surface roughness cannot be specified. Furthermore, since the change in the line width of the linear laser beam is slight, there is a problem that the visibility is low only with the projected image of the irradiation light.

以上説明したように、機械加工品の表面性状を検査するに際して、光切断法による凹凸情報と照明反射光の輝度変化情報の何れを用いた場合においても、中間素材であるビレット等を熱間成形した後の材料の地肌が残存した部分や錆等を明確に顕在化することが不可能な現状にある。また、照明反射光の輝度情報に基づき、機械加工品の表面の様子を画像化することは可能ではあるが、周辺のノイズ成分(例えば、機械切削肌や埃等)の影響を受け、不良部と正常部との切り分けは極めて困難である。   As described above, when inspecting the surface texture of a machined product, the billet or the like, which is an intermediate material, is hot formed regardless of whether the unevenness information by the light cutting method or the brightness change information of the illumination reflected light is used. Under the present circumstances, it is impossible to clearly reveal the part where the background of the material is left behind and rust etc. Although it is possible to image the surface of the machined product based on the brightness information of the reflected light from the illumination, it is affected by noise components in the surroundings (for example, machined skin and dust), and the defective part is affected. It is extremely difficult to separate the normal part from the normal part.

そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、中間素材を機械加工することで得られる機械加工品について、中間素材の地肌残存部及び錆を顕在化しつつ、機械加工品の表面形状を検査することが可能な、表面性状検査装置、表面性状検査方法及びプログラムを提供することにある。   Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to provide a machined product obtained by machining an intermediate material, to leave a background residual portion and rust of the intermediate material. It is an object of the present invention to provide a surface texture inspection device, a surface texture inspection method, and a program capable of inspecting the surface shape of a machined product while becoming apparent.

上記課題を解決するために、本発明のある観点によれば、中間素材を素材とした機械加工品を被検査体とする表面性状検査装置であって、移動する前記被検査体の表面に線状のレーザ光を照射し、当該線状のレーザ光が照射された前記表面を撮像することで、前記表面における前記線状のレーザ光の撮像画像である光切断画像を前記被検査体の移動方向に沿って複数生成する被検査体撮像装置と、前記被検査体撮像装置により生成された前記光切断画像に対して画像処理を行い、前記被検査体の表面の表面性状を判断する演算処理装置と、を備え、前記被検査体撮像装置は、前記線状のレーザ光を前記被検査体の表面に対して照射する照明装置と、前記線状のレーザ光が照射された前記表面を撮像する撮像装置と、を有し、前記演算処理装置は、複数の前記光切断画像それぞれにおける前記線状のレーザ光の照射部分に対応する線分である光切断線を前記移動方向に沿って順に配列させた縞画像フレームに基づいて、前記被検査体の表面の凹凸状態を表す深さ画像と、前記被検査体の表面における前記線状のレーザ光の輝度分布を表す輝度画像と、前記被検査体の表面における前記線状のレーザ光の前記移動方向の線幅の分布を輝度値に対応づけた線幅画像と、を算出する画像算出部と、算出された前記深さ画像、前記輝度画像及び前記線幅画像に基づいて、前記被検査体の表面性状を検出する検出処理部と、を有し、前記検出処理部は、前記線幅画像に基づいて、前記中間素材を素材とした地肌残存部又は錆が、前記被検査体の表面に存在しているか否かを検出する表面性状検査装置が提供される。   In order to solve the above problems, according to one aspect of the present invention, there is provided a surface texture inspection device that uses a machined product made of an intermediate material as an inspection object, and a line is formed on a surface of the moving inspection object. A linear laser beam, and by imaging the surface irradiated with the linear laser beam, a light-section image that is a captured image of the linear laser beam on the surface is moved to the inspected object. A plurality of inspected image pickup devices that are generated along the direction, and an arithmetic process that performs image processing on the light-section image generated by the inspected image pickup device to determine the surface texture of the surface of the inspected object. And a lighting device for irradiating the surface of the object to be inspected with the linear laser light, and an image of the surface irradiated with the linear laser light. And an imaging device for A plurality of light-section images, based on a striped image frame in which light-section lines, which are line segments corresponding to the linear laser light irradiation portion, are sequentially arranged along the moving direction, the object to be inspected. Depth image showing the concavo-convex state of the surface, a luminance image showing the luminance distribution of the linear laser light on the surface of the inspection object, and the movement of the linear laser light on the surface of the inspection object An image calculation unit that calculates a line width image in which the distribution of the line width in the direction is associated with a luminance value, and the depth image, the luminance image, and the line width image that have been calculated, based on the inspected object. A detection processing unit for detecting the surface texture of the, and the detection processing unit, based on the line width image, the residual surface portion or rust of the intermediate material as a material, on the surface of the inspection object. Surface texture inspection to detect the presence or absence Location is provided.

前記検出処理部は、前記線幅画像の輝度値が、前記地肌残存部及び錆の検出のための第1の閾値以上か否かに基づき、前記地肌残存部及び前記錆を検出することが好ましい。   It is preferable that the detection processing unit detects the background residual portion and the rust based on whether or not the luminance value of the line width image is equal to or more than a first threshold value for detecting the background residual portion and rust. .

前記画像算出部は、前記縞画像フレームにおけるそれぞれの前記光切断線について、当該光切断線の延伸方向の各位置での前記線幅と所定の閾値線幅との差分を算出し、算出された前記差分の大きさに応じて輝度値を割り当てることで、前記線幅画像を算出することが好ましい。   The image calculation unit calculates, for each light cutting line in the striped image frame, a difference between the line width and a predetermined threshold line width at each position in the extending direction of the light cutting line, and is calculated. It is preferable to calculate the line width image by assigning a brightness value according to the magnitude of the difference.

前記画像算出部は、前記被検査体の移動方向に沿った前記光切断線の線幅方向の重心位置を算出し、前記光切断画像に対して予め指定した移動方向の位置である基準位置と前記重心位置との変位量に基づいて、前記深さ画像を算出することが好ましい。   The image calculation unit calculates the barycentric position in the line width direction of the light cutting line along the moving direction of the inspection object, and a reference position that is a position in the moving direction designated in advance with respect to the light cutting image. It is preferable to calculate the depth image based on the amount of displacement from the position of the center of gravity.

前記検出処理部は、前記深さ画像及び前記輝度画像の輝度値が、欠陥部位特定のための第2の閾値以上であるか否かに基づいて欠陥部位を特定し、特定した前記欠陥部位について、当該欠陥部位の形態及び輝度値に関する特徴量情報を抽出し、抽出した特徴量情報に基づいて、前記被検査体の表面に存在する欠陥を判別することが好ましい。   The detection processing unit, the brightness value of the depth image and the brightness image, to identify the defect site based on whether the second threshold for defect site identification or more, about the identified defect site It is preferable to extract feature amount information regarding the form and brightness value of the defective portion, and to determine a defect existing on the surface of the inspection subject based on the extracted feature amount information.

前記検出処理部は、前記深さ画像及び前記輝度画像において、前記線幅画像に基づき前記地肌残存部又は前記錆が検出された部位以外で、前記欠陥部位の検出を実施してもよい。   The detection processing unit may detect the defective portion in the depth image and the luminance image other than the portion where the background remaining portion or the rust is detected based on the line width image.

前記被検査体撮像装置は、前記線状のレーザ光が照射された前記表面を、前記移動方向の上流側及び前記移動方向の下流側のそれぞれから撮像する少なくとも2つの前記撮像装置を有することが好ましい。   The imaging device for an object to be inspected may include at least two imaging devices for imaging the surface irradiated with the linear laser light from an upstream side in the moving direction and a downstream side in the moving direction, respectively. preferable.

また、上記課題を解決するために、本発明の別の観点によれば、中間素材を素材とした機械加工品を被検査体とする表面性状検査方法であって、移動する前記被検査体の表面に照明装置から線状のレーザ光を照射し、当該線状のレーザ光が照射された前記表面を撮像装置により撮像することで、前記表面における前記線状のレーザ光の撮像画像である光切断画像を前記被検査体の移動方向に沿って複数生成する光切断画像生成ステップと、演算処理装置により、複数の前記光切断画像それぞれにおける前記線状のレーザ光の照射部分に対応する線分である光切断線を前記移動方向に沿って順に配列させた縞画像フレームに基づいて、前記被検査体の表面の凹凸状態を表す深さ画像と、前記被検査体の表面における前記線状のレーザ光の輝度分布を表す輝度画像と、前記被検査体の表面における前記線状のレーザ光の前記移動方向の線幅の分布を輝度値に対応づけた線幅画像と、を算出する画像算出ステップと、演算処理装置により、算出された前記深さ画像、前記輝度画像及び前記線幅画像に基づいて前記被検査体の表面性状を検出する検出処理ステップと、を含み、前記検出処理ステップでは、前記線幅画像に基づいて、前記中間素材を素材とした地肌残存部又は錆が、前記被検査体の表面に存在しているか否かが検出される表面性状検査方法が提供される。   Further, in order to solve the above problems, according to another aspect of the present invention, there is provided a surface texture inspection method using a machined product made of an intermediate material as an inspected object, wherein the moving inspected object is Light that is an imaged image of the linear laser light on the surface by irradiating the surface with linear laser light from an illuminating device and capturing the surface irradiated with the linear laser light with an imaging device. An optical cutting image generating step of generating a plurality of cutting images along the moving direction of the object to be inspected, and a line segment corresponding to the irradiation portion of the linear laser light in each of the plurality of optical cutting images by the arithmetic processing device. On the basis of a striped image frame in which the optical cutting lines are arranged in order along the moving direction, a depth image showing the concavo-convex state of the surface of the inspection object, and the linear shape on the surface of the inspection object. Luminance of laser light An image calculation step of calculating a luminance image representing the line width image in which the distribution of the line width in the moving direction of the linear laser light on the surface of the object to be inspected is associated with a luminance value; A detection processing step of detecting a surface texture of the inspection object based on the depth image, the brightness image, and the line width image calculated by the device, wherein the detection processing step includes the line width image. Based on the above, there is provided a surface texture inspection method for detecting whether or not a background residual portion or rust made of the intermediate material is present on the surface of the inspection object.

また、上記課題を解決するために、本発明の更に別の観点によれば、中間素材を素材とした機械加工品を被検査体とし、移動する前記被検査体の表面に線状のレーザ光を照射し、当該線状のレーザ光が照射された前記表面を撮像することで、前記表面における前記線状のレーザ光の撮像画像である光切断画像を前記被検査体の移動方向に沿って複数生成する被検査体撮像装置と相互に通信が可能なコンピュータに、生成された複数の前記光切断画像それぞれにおける前記線状のレーザ光の照射部分に対応する線分である光切断線を前記移動方向に沿って順に配列させた縞画像フレームに基づいて、前記被検査体の表面の凹凸状態を表す深さ画像と、前記被検査体の表面における前記線状のレーザ光の輝度分布を表す輝度画像と、前記被検査体の表面における前記線状のレーザ光の前記移動方向の線幅の分布を輝度値に対応づけた線幅画像と、を算出する画像算出機能と、算出された前記深さ画像、前記輝度画像及び前記線幅画像に基づいて前記被検査体の表面性状を検出する検出処理機能と、を実現させ、前記検出処理機能は、前記線幅画像に基づいて、前記中間素材を素材とした地肌残存部又は錆が、前記被検査体の表面に存在しているか否かを検出するプログラムが提供される。   Further, in order to solve the above-mentioned problems, according to still another aspect of the present invention, a machined product made of an intermediate material is used as an inspection object, and a linear laser beam is applied to the surface of the moving inspection object. By irradiating, and by imaging the surface irradiated with the linear laser light, a light-section image that is a captured image of the linear laser light on the surface along the moving direction of the inspected object. In a computer capable of mutually communicating with a plurality of inspected image pickup devices to be generated, a light cutting line which is a line segment corresponding to the irradiation portion of the linear laser light in each of the plurality of generated light cutting images is described above. Based on the striped image frames arranged in order along the moving direction, a depth image showing the concavo-convex state of the surface of the inspection object, and the brightness distribution of the linear laser light on the surface of the inspection object. Luminance image and the inspection object A line width image in which the distribution of the line width in the moving direction of the linear laser light on the surface is associated with a luminance value, an image calculation function, the calculated depth image, the luminance image and the A detection processing function for detecting the surface texture of the inspected object based on a line width image, and the detection processing function is based on the line width image, and a background residual portion made of the intermediate material as a material or A program is provided for detecting whether or not rust is present on the surface of the inspection object.

以上説明したように本発明によれば、中間素材であるビレット等を熱間成形した後の材料を機械加工することで得られる機械加工品について、中間素材であるビレット等を熱間成形した後の材料の表面が残存した地肌残存部や錆を顕在化しつつ、機械加工品の表面形状を検査することが可能となる。   As described above, according to the present invention, for a machined product obtained by machining a material after hot forming a billet or the like as an intermediate material, after hot forming the billet or the like as an intermediate material It becomes possible to inspect the surface shape of the machined product while demonstrating the remaining surface of the material and the rust remaining on the surface of the material.

本発明の実施形態に係る表面性状検査装置の構成を模式的に示したブロック図である。It is a block diagram showing typically composition of a surface texture inspection device concerning an embodiment of the present invention. 同実施形態に係る被検査体撮像装置の構成の一例を模式的に示した説明図である。It is explanatory drawing which showed typically an example of a structure of the to-be-inspected object imaging device which concerns on the same embodiment. 同実施形態に係る被検査体撮像装置の構成の一例を模式的に示した説明図である。It is explanatory drawing which showed typically an example of a structure of the to-be-inspected object imaging device which concerns on the same embodiment. 正常な被検査体表面での反射の様子を説明するための説明図である。It is explanatory drawing for demonstrating the mode of reflection in the normal to-be-tested object surface. 被検査体の粗面部での反射の様子を説明するための説明図である。It is explanatory drawing for demonstrating the mode of reflection in the rough surface part of a to-be-inspected object. 正常な被検査体表面を撮像した場合の光切断画像を模式的に示した説明図である。It is explanatory drawing which showed typically the light-section image at the time of imaging the normal to-be-tested object surface. 凹部を含む被検査体表面を撮像した場合の光切断画像を模式的に示した説明図である。It is explanatory drawing which showed typically the light-section image at the time of imaging the to-be-inspected object surface containing a recessed part. 粗面部を含む被検査体表面を撮像した場合の光切断画像を模式的に示した説明図である。It is explanatory drawing which showed typically the light section image at the time of imaging the to-be-inspected object surface containing a rough surface part. 同実施形態に係る演算処理装置が備える画像処理部の構成の一例を示したブロック図である。FIG. 3 is a block diagram showing an example of a configuration of an image processing unit included in the arithmetic processing device according to the same embodiment. 同実施形態に係る縞画像フレームの一例を示した説明図である。It is an explanatory view showing an example of a striped image frame concerning the embodiment. 同実施形態に係る光切断処理について説明するための説明図である。It is an explanatory view for explaining the optical cutting process concerning the embodiment. 同実施形態に係る光切断処理について説明するための説明図である。It is an explanatory view for explaining the optical cutting process concerning the embodiment. 同実施形態に係る光切断線変位の二次元配列を示した説明図である。It is explanatory drawing which showed the two-dimensional array of the light-section line displacement which concerns on the same embodiment. 同実施形態に係る輝度の総和の二次元配列を示した説明図である。It is explanatory drawing which showed the two-dimensional array of the total of the brightness | luminance which concerns on the same embodiment. 同実施形態に係る輝線の画素数の二次元配列を示した説明図である。It is explanatory drawing which showed the two-dimensional array of the pixel number of the bright line which concerns on the same embodiment. 光切断線の変位と欠陥の高さとの関係を示した説明図である。It is explanatory drawing which showed the relationship between the displacement of a light-section line and the height of a defect. 同実施形態に係る光切断線の近似補正処理を説明するための説明図である。It is an explanatory view for explaining approximate correction processing of a light section line concerning the embodiment. 正常部及び粗面部での光切断線の線幅について説明するための説明図である。It is explanatory drawing for demonstrating the line width of the light-section line in a normal part and a rough surface part. 正常部での光切断線の線幅について説明するための説明図である。It is explanatory drawing for demonstrating the line width of the optical cutting line in a normal part. 粗面部での光切断線の線幅について説明するための説明図である。It is explanatory drawing for demonstrating the line width of the optical cutting line in a rough surface part. 同実施形態に係る線幅画像について説明するための説明図である。It is an explanatory view for explaining a line width image concerning the embodiment. 同実施形態に係る表面性状検出処理で用いられるロジックテーブルの一例を模式的に示した説明図である。It is explanatory drawing which showed typically an example of the logic table used by the surface texture detection process which concerns on the same embodiment. 同実施形態に係る表面性状検査方法の流れの一例を示した流れ図である。It is a flow chart showing an example of a flow of a surface texture inspection method concerning the embodiment. 同実施形態に係る演算処理装置のハードウェア構成の一例を示したブロック図である。It is a block diagram showing an example of hardware constitutions of an arithmetic processing unit concerning the embodiment. 実施例について説明するための説明図である。It is explanatory drawing for demonstrating an Example. 実施例について説明するための説明図である。It is explanatory drawing for demonstrating an Example.

以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the present specification and the drawings, constituent elements having substantially the same functional configuration are designated by the same reference numerals, and duplicate description will be omitted.

(実施形態)
<表面性状検査装置の全体構成について>
まず、図1を参照しながら、本発明の実施形態に係る表面性状検査装置10の全体構成について説明する。図1は、本実施形態に係る表面性状検査装置10の構成の一例を示した説明図である。
(Embodiment)
<Overall structure of surface texture inspection device>
First, the overall configuration of the surface texture inspection apparatus 10 according to the embodiment of the present invention will be described with reference to FIG. FIG. 1 is an explanatory diagram showing an example of the configuration of the surface texture inspection device 10 according to the present embodiment.

本実施形態に係る表面性状検査装置10は、中間素材であるビレット等を熱間成形した後の材料を機械加工した機械加工品(以下では、単に「中間素材を素材とした機械加工品」と称する。)を被検査体1とするものであり、所定の方向に移動している被検査体1の表面性状を検査する装置である。   The surface texture inspection device 10 according to the present embodiment is a machined product obtained by machining a material after hot forming a billet or the like which is an intermediate material (hereinafter, simply referred to as a “machined product using an intermediate material”). Is referred to as the inspection object 1 and is an apparatus for inspecting the surface texture of the inspection object 1 moving in a predetermined direction.

ここで、中間素材とは、例えば、スラブやビレット等といった最終製品となる以前の素材である。かかる中間素材を熱間成形した後、研磨や切削等といった機械加工が施されることで、本実施形態で着目する機械加工品が製造される。このような機械加工品として、例えば、鉄(Fe)を主成分とする中間素材の一種であるビレット等を熱間成形した後の材料を機械切削により形状を整えることで製造される円盤状の加工品や、ビレット等を熱間成形した後の材料の外径を機械切削等により整えることで製造される円柱状の加工品等を挙げることができる。また、中間素材は、鉄を主成分とするものに限定されるものではなく、非鉄金属を主成分とするものであってもよい。   Here, the intermediate material is, for example, a material such as a slab or a billet before it becomes a final product. After hot forming of such an intermediate material, mechanical processing such as polishing and cutting is performed to manufacture a machined product of interest in the present embodiment. As such a machined product, for example, a disk-shaped product produced by hot-forming a billet or the like, which is a kind of intermediate material containing iron (Fe) as a main component, and then shaping the material by mechanical cutting. Examples include a processed product and a cylindrical processed product produced by adjusting the outer diameter of the material after hot forming a billet or the like by mechanical cutting or the like. Further, the intermediate material is not limited to one containing iron as a main component, and may be one containing a non-ferrous metal as a main component.

本実施形態に係る表面性状検査装置10は、図1に示したように、被検査体1の表面(特に、被検査体1である機械加工品の機械加工面)を撮像する被検査体撮像装置100と、撮像の結果得られる画像に対して画像処理を行う演算処理装置200と、を主に備える。   As shown in FIG. 1, the surface texture inspection apparatus 10 according to the present embodiment images an object to be inspected, which images the surface of the object to be inspected 1 (in particular, the machined surface of a machined product that is the object to be inspected 1). The apparatus 100 is mainly provided with an arithmetic processing unit 200 that performs image processing on an image obtained as a result of imaging.

被検査体撮像装置100は、以下で詳述するように、移動している被検査体1の上方に設置される。被検査体撮像装置100は、所定の方向に移動している被検査体1の表面を順次撮像し、撮像の結果得られる撮像画像を、演算処理装置200に出力する装置である。被検査体撮像装置100による撮像処理は、演算処理装置200によって制御されている。一般に、被検査体1である機械加工品を搬送する搬送ラインには、被検査体1の移動速度を検出するために、例えばPLG(Pulse Logic Generator:パルス型速度検出器)等が設けられている。そこで、演算処理装置200は、PLGから入力される1パルスのPLG信号に基づき、定期的に制御信号を被検査体撮像装置100に対して送信し、制御信号に基づき被検査体撮像装置100を機能させることができる。これにより、被検査体撮像装置100は、被検査体1が所定の距離又は所定の時間だけ移動する毎に、被検査体1の表面を撮像することが可能となる。   The inspected object imaging device 100 is installed above the moving inspected object 1 as described in detail below. The inspected object imaging apparatus 100 is an apparatus that sequentially images the surface of the inspected object 1 moving in a predetermined direction, and outputs a captured image obtained as a result of the imaging to the arithmetic processing apparatus 200. The imaging processing by the device under test imaging apparatus 100 is controlled by the arithmetic processing apparatus 200. In general, for example, a PLG (Pulse Logic Generator) or the like is provided in a transport line for transporting a machined product that is the inspection object 1 in order to detect the moving speed of the inspection object 1. There is. Therefore, the arithmetic processing device 200 periodically transmits a control signal to the inspected object imaging device 100 based on the 1-pulse PLG signal input from the PLG, and the inspected object imaging device 100 is controlled based on the control signal. Can be operated. Thereby, the inspected object imaging apparatus 100 can image the surface of the inspected object 1 every time the inspected object 1 moves for a predetermined distance or for a predetermined time.

演算処理装置200は、上記のように、被検査体撮像装置100における被検査体1の表面の撮像処理全般を制御する。また、演算処理装置200は、被検査体撮像装置100によって生成された撮像画像を利用して縞画像フレームを生成し、この縞画像フレームに対して画像処理を行うことで、被検査体1の表面に存在している可能性のある各種の欠陥(例えば、凹凸の変化を伴うキズ、模様系のキズ、中間素材を熱間成形した後の材料の表面が残存した地肌残存部(以下では、単に「中間素材を素材とした地肌残存部」と称する。)、及び、錆等)を検出する。   As described above, the arithmetic processing device 200 controls the overall imaging process of the surface of the inspection object 1 in the inspection object imaging device 100. Further, the arithmetic processing device 200 generates a striped image frame using the captured image generated by the inspection target imaging device 100, and performs image processing on the striped image frame, so that the inspection target 1 Various defects that may be present on the surface (for example, scratches accompanied by changes in unevenness, pattern-based scratches, the surface residual portion of the surface of the material after hot forming the intermediate material (below, It is simply referred to as a "remaining background portion made of an intermediate material") and rust).

以下では、これら被検査体撮像装置100及び演算処理装置200について、それぞれ詳述する。   Below, these inspected object imaging device 100 and arithmetic processing device 200 will be described in detail.

<被検査体撮像装置100について>
続いて、図2A〜図4Cを参照しながら、本実施形態に係る被検査体撮像装置100の構成の一例について、詳細に説明する。
図2A及び図2Bは、本実施形態に係る被検査体撮像装置の構成の一例を模式的に示した説明図である。図3Aは、正常な被検査体表面での反射の様子を説明するための説明図であり、図3Bは、被検査体の粗面部での反射の様子を説明するための説明図である。図4Aは、正常な被検査体表面を撮像した場合の光切断画像を模式的に示した説明図である。図4Bは、凹部を含む被検査体表面を撮像した場合の光切断画像を模式的に示した説明図である。図4Cは、粗面部を含む被検査体表面を撮像した場合の光切断画像を模式的に示した説明図である。
<About the device under test imaging device 100>
Subsequently, an example of the configuration of the inspected object imaging apparatus 100 according to the present embodiment will be described in detail with reference to FIGS. 2A to 4C.
FIG. 2A and FIG. 2B are explanatory diagrams schematically showing an example of the configuration of the inspected object imaging apparatus according to the present embodiment. FIG. 3A is an explanatory diagram for explaining a state of reflection on a normal surface of the inspection object, and FIG. 3B is an explanatory diagram for explaining a state of reflection on a rough surface portion of the inspection object. FIG. 4A is an explanatory diagram schematically showing a light section image when a normal surface of an object to be inspected is imaged. FIG. 4B is an explanatory diagram schematically showing a light section image when an image of the surface of the inspection object including the concave portion is picked up. FIG. 4C is an explanatory diagram schematically showing a light section image when an image of the surface of the inspection object including the rough surface portion is captured.

図2Aの上段に示した図は、被検査体撮像装置100を、被検査体1の上方から見た場合の模式図であり、図2Aの下段に示した図は、被検査体撮像装置100を、被検査体1の側方から見た場合の模式図である。同様に、図2Bの上段に示した図は、被検査体撮像装置100を、被検査体1の上方から見た場合の模式図であり、図2Bの下段に示した図は、被検査体撮像装置100を、被検査体1の側方から見た場合の模式図である。   2A is a schematic diagram of the inspected object imaging apparatus 100 when viewed from above the inspected object 1, and the lower diagram in FIG. 2A is the inspected object imaging apparatus 100. FIG. 3 is a schematic view of the case when viewed from the side of the inspection object 1. Similarly, the diagram shown in the upper stage of FIG. 2B is a schematic diagram of the inspected device imaging apparatus 100 viewed from above the inspected device 1, and the diagram shown in the lower stage of FIG. 2B is the inspected device. 3 is a schematic diagram of the imaging device 100 when viewed from the side of the device under test 1. FIG.

また、以下の説明では、便宜的に、被検査体1である機械加工品の移動方向をy軸正方向とし、移動方向に対して直交する方向をx軸正方向とし、機械加工品の高さ方向をz軸正方向とする。   Further, in the following description, for convenience, the moving direction of the machined product as the inspection object 1 is defined as the y-axis positive direction, and the direction orthogonal to the moving direction is defined as the x-axis positive direction. The positive direction is the z-axis positive direction.

図2Aに模式的に示したように、本実施形態に係る被検査体撮像装置100は、照明装置101と、撮像装置の一例であるエリアカメラ103と、を備える。照明装置101及びエリアカメラ103は、これらの設置位置が変化しないように、非図示の公知の手段により固定されている。   As schematically shown in FIG. 2A, the inspected device imaging device 100 according to the present embodiment includes an illumination device 101 and an area camera 103 which is an example of the imaging device. The illumination device 101 and the area camera 103 are fixed by a known means (not shown) so that their installation positions do not change.

照明装置101は、被検査体1である機械加工品の表面に対して所定の光を照射することで、被検査体1の表面を照明する装置である。この照明装置101は、被検査体1の表面に対して線状のレーザ光Lを照射するレーザ光源を少なくとも有している。   The illuminating device 101 is a device that illuminates the surface of the inspection object 1 by irradiating the surface of the machined product that is the inspection object 1 with predetermined light. The illuminating device 101 has at least a laser light source that irradiates the surface of the inspection object 1 with a linear laser beam L.

かかる照明装置101は、例えば、可視光帯域等のように所定波長のレーザ光を射出する光源ユニットと、光源ユニットから射出されたレーザ光をx軸方向に拡げながら線幅方向に集光して線状光にするためのレンズ(例えば、シリンドリカルレンズやロッドレンズやパウエルレンズ等)と、から構成される。このレンズの線幅方向のピントを変更することで、レーザ照射位置での線状のレーザ光Lのy軸方向に沿った太さ(すなわち、線状のレーザ光Lの線幅)を調整することが可能となる。被検査体1の表面に到達する直前での線状のレーザ光Lの線幅は、例えば、数百μm程度(例えば、200μm程度)とすることができる。   The illumination device 101 includes, for example, a light source unit that emits a laser beam having a predetermined wavelength such as a visible light band, and a laser beam emitted from the light source unit that is condensed in the line width direction while expanding in the x-axis direction. And a lens (for example, a cylindrical lens, a rod lens, a Powell lens, etc.) for making linear light. By changing the focus of the lens in the line width direction, the thickness of the linear laser light L at the laser irradiation position along the y-axis direction (that is, the line width of the linear laser light L) is adjusted. It becomes possible. The line width of the linear laser beam L immediately before reaching the surface of the inspection object 1 can be set to, for example, about several hundreds μm (for example, about 200 μm).

被検査体1の表面の線状レーザ光Lが照射された部分には、x軸方向に沿って線状の明るい部位が形成される。この線状の明るい部位に対応する線分は、光切断線と呼ばれる。   A linear bright portion is formed along the x-axis direction in a portion of the surface of the DUT 1 irradiated with the linear laser light L. The line segment corresponding to this linear bright portion is called a light cutting line.

撮像装置の一例であるエリアカメラ103は、線状のレーザ光Lが照射された被検査体1の表面を全面に亘って撮像する装置である。このエリアカメラ103は、所定の開放絞り値及び焦点距離を有するレンズと、撮像素子として機能するCCD(Charge Coupled Device)又はCMOS(Complementary Metal Oxide Semiconductor)等の各種センサと、を有している。かかるエリアカメラ103は、モノクロカメラであってもよいし、カラーカメラであってもよい。   The area camera 103, which is an example of an imaging device, is a device that captures an image of the entire surface of the DUT 1 irradiated with the linear laser light L. The area camera 103 includes a lens having a predetermined open aperture value and a focal length, and various sensors such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor) that function as an image sensor. The area camera 103 may be a monochrome camera or a color camera.

エリアカメラ103に搭載されるレンズの焦点距離や画角、及び、照明装置101とエリアカメラ103の撮像素子との間の距離は、特に規定するものではないが、被検査体1の表面のx方向全体が視野VF内に収まるように、選択することが好ましい。また、エリアカメラ103に搭載される撮像素子の大きさや画素サイズも特に規定するものではないが、生成される画像の画質や画像分解能を考慮すると、より大きな撮像素子を利用することが好ましい。また、以下で説明する画像処理の観点から、線状のレーザ光Lの線幅が、撮像素子上で2〜4画素程度であるように調整されることが好ましい。   The focal length and angle of view of the lens mounted on the area camera 103, and the distance between the illuminating device 101 and the image sensor of the area camera 103 are not particularly specified, but x of the surface of the inspection object 1 is not specified. The selection is preferably such that the entire direction fits within the field of view VF. Further, the size and pixel size of the image pickup device mounted on the area camera 103 are not particularly specified, but it is preferable to use a larger image pickup device in consideration of the image quality and the image resolution of the generated image. From the viewpoint of image processing described below, it is preferable that the line width of the linear laser beam L is adjusted to be about 2 to 4 pixels on the image sensor.

エリアカメラ103が、被検査体1の表面に照射されている線状のレーザ光Lを撮像することで、線状のレーザ光Lの照射部分に対応する線分である光切断線が撮像された、いわゆる光切断画像が生成される。エリアカメラ103は、かかる光切断画像を生成すると、生成した光切断画像を、演算処理装置200へと出力する。   The area camera 103 images the linear laser light L radiated on the surface of the object 1 to be inspected, so that a light cutting line which is a line segment corresponding to the irradiation portion of the linear laser light L is imaged. Also, a so-called light section image is generated. When the area camera 103 generates such a light section image, it outputs the generated light section image to the arithmetic processing device 200.

ここで、照明装置101とエリアカメラ103との間の光学的な位置関係は適宜設定することが可能であるが、例えば図2Aに示したように、照明装置101が被検査体1の鉛直方向上方に設けられており、被検査体1に対して垂直に線状のレーザ光Lを照射し、エリアカメラ103が鉛直方向(z軸方向)に対して角度φの方向から線状のレーザ光Lの反射光を撮像するように配置することができる。   Here, the optical positional relationship between the illuminating device 101 and the area camera 103 can be set as appropriate. For example, as shown in FIG. 2A, the illuminating device 101 is arranged in the vertical direction of the DUT 1. The linear laser light L is provided above and irradiates the inspected object 1 with a linear laser beam L perpendicularly, and the area camera 103 linearly emits the linear laser beam from a direction of an angle φ with respect to the vertical direction (z-axis direction). It can be arranged to image the reflected light of L.

図2Aに示した角度φの大きさは、エリアカメラ103の設置上の制約が存在しない範囲で、なるべく大きな角度とすることが好ましい。これにより、光切断線の乱反射をエリアカメラ103で撮像することが可能となる。図2Aに示したφの大きさは、例えば30度〜60度程度とすることが好ましい。   It is preferable that the angle φ shown in FIG. 2A be as large as possible within a range where there are no restrictions on the installation of the area camera 103. This allows the area camera 103 to capture the irregular reflection of the light section line. The size of φ shown in FIG. 2A is preferably about 30 to 60 degrees, for example.

また、図2Aでは、被検査体撮像装置100において、撮像装置の一例であるエリアカメラが一台だけ設けられている場合を図示しているが、図2Bに示したように、被検査体撮像装置100は、線状のレーザ光Lが照射された被検査体1の表面を、移動方向の上流側及び移動方向の下流側のそれぞれから撮像できるように、少なくとも2つのエリアカメラ103,105を有していても良い。この際、図2Bに示したように、エリアカメラ103とエリアカメラ105とは、被検査体1の移動方向の上流側及び下流側に、角度φで均等に配設されることが好ましい。   2A illustrates a case where only one area camera, which is an example of an image pickup apparatus, is provided in the image pickup apparatus 100 for inspecting an object to be inspected, as illustrated in FIG. The apparatus 100 includes at least two area cameras 103 and 105 so that the surface of the DUT 1 irradiated with the linear laser beam L can be imaged from the upstream side in the moving direction and the downstream side in the moving direction. You may have. At this time, as shown in FIG. 2B, it is preferable that the area camera 103 and the area camera 105 are evenly arranged at an angle φ on the upstream side and the downstream side in the moving direction of the DUT 1.

以下で具体例を示して説明するように、地肌残存部や凹凸キズ等は、移動方向に沿った表面の傾きに方向性が存在する場合がある。図2Bに示したように移動方向の上流側及び下流側にそれぞれエリアカメラを設け、それぞれのエリアカメラから出力される光切断画像を利用することで、かかる傾きの方向性に左右されずに、被検査体1の表面性状を更に正確に検査することが可能となる。   As will be described below with reference to specific examples, there may be a case where the surface residual portion, the uneven scratches, and the like have a directional property in the inclination of the surface along the moving direction. As shown in FIG. 2B, by providing area cameras on the upstream side and the downstream side in the moving direction and using the light section images output from the respective area cameras, regardless of the directionality of the tilt, It is possible to more accurately inspect the surface texture of the device under test 1.

以下に、本実施形態に係る被検査体撮像装置100が有する各装置について、その具体的な構成や設定値等を列挙する。かかる構成や設定値等はあくまでも一例であって、本発明に係る被検査体撮像装置100が、以下の具体例に限定されるものではない。   The specific configurations, set values, and the like of each device included in the device-to-be-inspected imaging device 100 according to the present embodiment will be listed below. Such a configuration, set values, and the like are merely examples, and the device under test imaging apparatus 100 according to the present invention is not limited to the following specific examples.

○被検査体(機械加工品)
幅(x軸方向の長さ):600mm〜1750mm程度
○照明装置101
100mWの出力でレーザ光源から赤色レーザ光を照射。被検査体1の表面に照射される線状のレーザ光Lの線幅は、0.25mm(250μm)である。ただし、この場合の線幅とは、ピーク強度値から13.5%で定義されるものである。
○エリアカメラ
2048画素×2048画素のCCD(画素サイズ:5.5μm×5.5μm)が撮像素子として搭載されており、フレームレートは、200fpsである。レンズの焦点距離は24mmであり、画角は26°である。撮像される画像の画素サイズは0.25mm×0.25mmであり、線状のレーザ光Lの線幅は、撮像画像上では、2〜4画素の輝線の幅で撮像される。なお、被検査体の幅が大きい場合等においては、画素分解能の確保等の理由から、必要に応じて、エリアカメラを幅方向に複数台並べるようにすることも可能である。
○画像取得方法
被検査体1が移動している際にPLGから出力される信号に同期して、連続的に画像を取得する。具体的には、被検査体1が5msecの時間で前進する毎に、撮像を行う。この際、図2Bに示したように設置された2台のエリアカメラを同期させて、同一視野を同時に撮像する。照明装置101は、鉛直方向上方に設けられ、鉛直方向下向きに線状のレーザ光Lを照射し、2台のエリアカメラの設置角度φは、±45度とする。なお、撮像分解能は、対象とするキズ等の大きさに応じて決定するものであるが、取りこみピッチを0.25mmとして、撮像素子の画素サイズに一致させた。
○ Inspection object (machined product)
Width (length in the x-axis direction): about 600 mm to 1750 mm ○ Lighting device 101
Irradiate red laser light from a laser light source with an output of 100 mW. The line width of the linear laser beam L with which the surface of the DUT 1 is irradiated is 0.25 mm (250 μm). However, the line width in this case is defined as 13.5% from the peak intensity value.
Area camera A CCD of 2048 pixels × 2048 pixels (pixel size: 5.5 μm × 5.5 μm) is mounted as an image sensor, and the frame rate is 200 fps. The focal length of the lens is 24 mm and the angle of view is 26 °. The pixel size of the imaged image is 0.25 mm × 0.25 mm, and the line width of the linear laser light L is captured with the width of the bright line of 2 to 4 pixels on the imaged image. When the width of the object to be inspected is large, it is possible to arrange a plurality of area cameras in the width direction, if necessary, for reasons such as ensuring pixel resolution.
Image acquisition method Images are continuously acquired in synchronization with a signal output from the PLG when the device under test 1 is moving. Specifically, an image is taken every time the inspected object 1 advances in 5 msec. At this time, two area cameras installed as shown in FIG. 2B are synchronized and the same field of view is simultaneously imaged. The illuminating device 101 is provided above the vertical direction, irradiates the linear laser light L downward in the vertical direction, and the installation angle φ of the two area cameras is ± 45 degrees. Although the imaging resolution is determined according to the size of the target scratch or the like, the capture pitch was set to 0.25 mm and was made to match the pixel size of the image sensor.

続いて、図3A〜図4Cを参照しながら、かかる被検査体撮像装置100によって撮像される光切断画像について、詳細に説明する。   Subsequently, the light section image captured by the inspected object imaging apparatus 100 will be described in detail with reference to FIGS. 3A to 4C.

本実施形態で被検査体1として着目する機械加工品は、研磨や研削等といった機械加工が施されているが故に、その表面は、ほぼ一定の表面性状を有しており、正反射性が強い。従って、凹凸を伴うキズや、地肌残存部や錆等を有していない正常な部分(以下、単に「正常部」ともいう。)の表面は、10μm以下という極めて小さな凹凸しか存在していない。その結果、正常部に照射された線状のレーザ光Lは、図3Aに模式的に示したように、ほぼ同一の反射特性を示して、エリアカメラにより撮像される。この場合、エリアカメラによって撮像された光切断画像では、図4Aに模式的に示したように、光切断線の線幅は、ほぼ一定の値を取る。また、機械加工品の表面に凹部又は凸部が存在する場合には、図4Bに凹部での光切断画像を模式的に示したように、光切断画像では、ほぼ一定の光切断線の線幅を保持したままで、光切断線に屈曲が生じる。   The machined product of interest in the present embodiment as the inspected object 1 has been subjected to mechanical processing such as polishing and grinding, so that its surface has a substantially constant surface texture and is not specular. strong. Therefore, the surface of the normal portion (hereinafter, also simply referred to as “normal portion”) that does not have a scratch with unevenness, a residual surface portion, rust, etc., has an extremely small unevenness of 10 μm or less. As a result, the linear laser light L applied to the normal portion exhibits almost the same reflection characteristics as schematically shown in FIG. 3A and is imaged by the area camera. In this case, in the light section image captured by the area camera, the line width of the light section line has a substantially constant value, as schematically shown in FIG. 4A. Further, in the case where the surface of the machined product has a concave portion or a convex portion, as shown in FIG. 4B, which is a schematic view of the light-section image of the recess, the light-section image has a substantially constant light-section line. The optical cutting line is bent while keeping the width.

他方、本実施形態で着目する地肌残存部及び錆の表面は、100μm程度の凹凸を有しており、正常部と比較して粗面となっている。地肌残存部及び錆(以下、これらをまとめて「粗面部」ともいう。)は、図3Bに模式的に示したように、その表面の粗さゆえに拡散面として機能する。そのため、粗面部に照射された線状のレーザ光Lは乱反射を起こす。エリアカメラで撮像される光切断画像での光切断線において、粗面部に対応する部分の線幅は、上記のような乱反射のため、図4Cに模式的に示したように正常部と比較して拡大される。   On the other hand, the surface remaining portion and the surface of the rust that are the focus of attention in the present embodiment have irregularities of about 100 μm, and are rougher than the normal portion. As shown schematically in FIG. 3B, the residual surface portion and the rust (hereinafter collectively referred to as “rough surface portion”) function as a diffusion surface due to the roughness of the surface. Therefore, the linear laser light L with which the rough surface portion is irradiated causes irregular reflection. In the light-section line in the light-section image captured by the area camera, the line width of the portion corresponding to the rough surface portion is compared with the normal portion as schematically shown in FIG. 4C because of the diffuse reflection as described above. Be expanded.

以下で詳述する演算処理装置200では、図4A〜図4Cに模式的に示したような光切断画像での光切断線の線幅に基づいて、地肌残存部及び錆を顕在化させる。また、演算処理装置200は、光切断画像を利用したいわゆる光切断法により、被検査体1の表面形状に関する情報を生成して、被検査体1の表面に存在する凹凸キズ等を検出する。   In the arithmetic processing device 200 described in detail below, based on the line width of the light cutting line in the light cutting image as schematically shown in FIGS. 4A to 4C, the residual surface portion and rust are made visible. Further, the arithmetic processing device 200 generates information about the surface shape of the inspection object 1 by a so-called optical cutting method using the optical cutting image, and detects uneven scratches and the like existing on the surface of the inspection object 1.

以上、図2A〜図4Cを参照しながら、本実施形態に係る被検査体撮像装置100の構成と、かかる被検査体撮像装置100により生成される光切断画像について、詳細に説明した。   The configuration of the inspected object imaging apparatus 100 according to the present embodiment and the light section image generated by the inspected object imaging apparatus 100 have been described above in detail with reference to FIGS. 2A to 4C.

<演算処理装置200の全体構成について>
続いて、再び図1に戻って、本実施形態に係る演算処理装置200の全体構成について説明する。
本実施形態に係る演算処理装置200は、例えば図1に示したように、撮像制御部201と、画像処理部203と、表示制御部205と、記憶部207と、を主に備える。
<Overall Configuration of Arithmetic Processing Device 200>
Subsequently, returning to FIG. 1 again, the overall configuration of the arithmetic processing device 200 according to the present embodiment will be described.
The arithmetic processing device 200 according to the present embodiment mainly includes, for example, as illustrated in FIG. 1, an imaging control unit 201, an image processing unit 203, a display control unit 205, and a storage unit 207.

撮像制御部201は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、通信装置等により実現される。撮像制御部201は、本実施形態に係る被検査体撮像装置100による被検査体1の撮像制御を実施する。より詳細には、撮像制御部201は、被検査体1の撮像を開始する場合に、照明装置101に対してレーザ光の発振を開始させるための制御信号を送出する。   The imaging control unit 201 is realized by a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), a communication device, and the like. The imaging control unit 201 implements imaging control of the inspection object 1 by the inspection object imaging device 100 according to the present embodiment. More specifically, the imaging control unit 201 sends a control signal for starting the oscillation of the laser light to the illumination device 101 when starting the imaging of the inspection object 1.

また、先だって言及したように被検査体1の搬送ラインからは、定期的にPLG信号が送出される(例えば、被検査体1が0.25mm移動する毎に1パルスのPLG信号)が、撮像制御部201は、PLG信号を取得する毎にエリアカメラ103,105に対して撮像を開始するためのトリガ信号を送出する。   Further, as mentioned earlier, the PLG signal is periodically sent from the transport line of the inspection object 1 (for example, one pulse of the PLG signal is moved every time the inspection object 1 moves 0.25 mm). The control unit 201 sends a trigger signal for starting imaging to the area cameras 103 and 105 each time the PLG signal is acquired.

画像処理部203は、例えば、CPU、ROM、RAM、通信装置等により実現される。画像処理部203は、被検査体撮像装置100(より詳細には、被検査体撮像装置100のエリアカメラ103,105)から取得した光切断画像の撮像データを利用して、後述する縞画像フレームを生成する。その後、生成した縞画像フレームに対して、以下で説明するような画像処理を行って被検査体1である機械加工品の表面性状を検査し、表面に存在する可能性のある各種欠陥等を検出する。画像処理部203は、被検査体1の表面の欠陥検出処理を終了すると、得られた検出結果に関する情報を、表示制御部205に伝送する。   The image processing unit 203 is realized by, for example, a CPU, a ROM, a RAM, a communication device, and the like. The image processing unit 203 uses the image pickup data of the light section image acquired from the inspected object image pickup apparatus 100 (more specifically, the area cameras 103 and 105 of the inspected object image pickup apparatus 100), and a stripe image frame described later. To generate. After that, the generated striped image frame is subjected to image processing as described below to inspect the surface texture of the machined product that is the inspection object 1, and to check various defects that may exist on the surface. To detect. When the image processing unit 203 finishes the defect detection process on the surface of the inspection object 1, the image processing unit 203 transmits information about the obtained detection result to the display control unit 205.

なお、この画像処理部203については、以下で改めて詳細に説明する。   The image processing unit 203 will be described later in detail.

表示制御部205は、例えば、CPU、ROM、RAM、出力装置等により実現される。表示制御部205は、画像処理部203から伝送された、被検査体1である機械加工品の表面性状検査結果を、演算処理装置200が備えるディスプレイ等の出力装置や演算処理装置200の外部に設けられた出力装置等に表示する際の表示制御を行う。これにより、表面性状検査装置10の利用者は、被検査体1である機械加工品の表面性状に関する検検査結果を、その場で把握することが可能となる。   The display control unit 205 is realized by, for example, a CPU, a ROM, a RAM, an output device, and the like. The display control unit 205 transmits the surface texture inspection result of the machined product, which is the inspection target 1, transmitted from the image processing unit 203 to an output device such as a display included in the arithmetic processing device 200 or the outside of the arithmetic processing device 200. Display control is performed when displaying on the provided output device or the like. As a result, the user of the surface texture inspection device 10 can grasp the inspection result regarding the surface texture of the machined product which is the inspection object 1 on the spot.

記憶部207は、例えば本実施形態に係る演算処理装置200が備えるRAMやストレージ装置等により実現される。記憶部207には、本実施形態に係る演算処理装置200が、何らかの処理を行う際に保存する必要が生じた様々なパラメータや処理の途中経過等、または、各種のデータベースやプログラム等が、適宜記録される。この記憶部207は、撮像制御部201、画像処理部203、表示制御部205等が、リード/ライト処理を実行することが可能である。   The storage unit 207 is realized by, for example, a RAM, a storage device, or the like included in the arithmetic processing device 200 according to this embodiment. In the storage unit 207, various parameters necessary to be saved when the arithmetic processing device 200 according to the present embodiment performs some processing, the progress of processing, or various databases or programs are appropriately stored. Will be recorded. In the storage unit 207, the image pickup control unit 201, the image processing unit 203, the display control unit 205, and the like can execute read / write processing.

<画像処理部203について>
続いて、図5を参照しながら、本実施形態に係る演算処理装置200が備える画像処理部203について、詳細に説明する。図5は、本実施形態に係る演算処理装置が有する画像処理部の構成の一例を示したブロック図である。
<About the image processing unit 203>
Next, the image processing unit 203 included in the arithmetic processing device 200 according to the present embodiment will be described in detail with reference to FIG. FIG. 5 is a block diagram showing an example of the configuration of the image processing unit included in the arithmetic processing device according to the present embodiment.

本実施形態に係る画像処理部203は、図5に示したように、データ取得部211と、縞画像フレーム生成部213と、画像算出部215と、検出処理部225と、を主に備える。   As shown in FIG. 5, the image processing unit 203 according to the present embodiment mainly includes a data acquisition unit 211, a stripe image frame generation unit 213, an image calculation unit 215, and a detection processing unit 225.

データ取得部211は、例えば、CPU、ROM、RAM、通信装置等により実現される。データ取得部211は、被検査体撮像装置100(より詳細には、エリアカメラ103,105)から出力された光切断画像の画像データ(デジタル多値画像データ)を取得して、記憶部207等に設けられた画像メモリに順次記憶する。これらのデジタル多値画像データを、被検査体1の移動方向に沿って順次利用することにより、後述するような縞画像フレームが生成される。   The data acquisition unit 211 is realized by, for example, a CPU, a ROM, a RAM, a communication device, and the like. The data acquisition unit 211 acquires image data (digital multi-valued image data) of a light section image output from the inspected object imaging device 100 (more specifically, the area cameras 103 and 105), and the storage unit 207 and the like. The images are sequentially stored in the image memory provided in. By sequentially using these digital multi-valued image data along the moving direction of the inspection object 1, a striped image frame as described later is generated.

データ取得部211により取得される光切断画像は、先だって説明したように、被検査体1の表面の移動方向に沿ったある位置において、被検査体1の表面に照射された線状のレーザ光Lを撮像したものである。光切断画像は、予めエリアカメラのゲインやレンズの絞りを適切に設定することにより、例えば、線状のレーザ光Lが照射された部分が白く表示され、その他の部分は黒く表示されている濃淡画像とすることができる。また、光切断画像中に存在する光切断線に重畳している凹凸や光切断線そのものの線幅が、被検査体1の表面の断面形状や、表面に存在する粗面部を含む各種の欠陥等に関する情報を含んでいる。   The light-section image acquired by the data acquisition unit 211 is, as described above, a linear laser beam irradiated on the surface of the DUT 1 at a position along the moving direction of the surface of the DUT 1. It is an image of L. By setting the gain of the area camera and the aperture of the lens appropriately in advance, for example, the portion of the light-section image irradiated with the linear laser light L is displayed in white, and the other portion is displayed in black. It can be an image. Further, the unevenness superposed on the light cutting line existing in the light cutting image or the line width of the light cutting line itself has various defects including the cross-sectional shape of the surface of the inspection object 1 and the rough surface portion existing on the surface. Includes information about etc.

縞画像フレーム生成部213は、例えば、CPU、ROM、RAM等により実現される。縞画像フレーム生成部213は、記憶部207等に設けられた画像メモリから、被検査体1の移動方向に沿って格納された光切断画像を順に取得する。その後、縞画像フレーム生成部213は、取得した各光切断画像のうち、光切断線を含む領域を利用し、かかる光切断線を含む領域の画像を被検査体1の移動方向に沿って順に配列することで、縞画像フレームを生成する。   The striped image frame generation unit 213 is realized by, for example, a CPU, ROM, RAM and the like. The striped image frame generation unit 213 sequentially acquires the light section images stored along the moving direction of the DUT 1 from the image memory provided in the storage unit 207 or the like. After that, the striped image frame generation unit 213 utilizes the area including the light cutting line in each of the acquired light cutting images, and sequentially acquires the images of the area including the light cutting line along the moving direction of the DUT 1. By arranging them, a striped image frame is generated.

1つの縞画像フレームを構成する光切断画像の個数は、適宜設定すればよいが、例えば、256個の光切断画像で1つの縞画像フレームを構成するようにしてもよい。各光切断画像は、上述のように光切断画像の撮像間隔毎(例えば、0.25mm間隔)に存在している。そのため、0.25mm間隔で撮像された光切断画像に基づく、256個の光切断画像からなる1つの縞画像フレームは、被検査体1の表面を、移動方向に沿って64mm(=256×0.25mm)の範囲で撮像した結果に相当する。   The number of light section images forming one stripe image frame may be set appropriately, but for example, one stripe image frame may be composed of 256 light section images. As described above, each light section image exists at every imaging interval of the light section image (for example, 0.25 mm interval). Therefore, one striped image frame composed of 256 light section images based on the light section images taken at 0.25 mm intervals is 64 mm (= 256 × 0) on the surface of the DUT 1 along the movement direction. This corresponds to the result of imaging in the range of 0.25 mm).

図6に、縞画像フレーム生成部213によって生成される縞画像フレームの一例を示した。図6に示した縞画像フレームは、256個の光切断画像のうち、16個の光切断画像を示したものである。図6に示した縞画像フレームにおいて、図面の横方向に伸びた1本の線分が、1枚の光切断画像に対応しており、図面の横方向が図2A等におけるx軸方向に対応している。また、図6に示した縞画像フレームにおいて、図面の縦方向が、図2A等におけるy軸方向(すなわち、被検査体1の移動方向)に相当している。   FIG. 6 shows an example of the striped image frame generated by the striped image frame generation unit 213. The striped image frame shown in FIG. 6 shows 16 light-section images out of 256 light-section images. In the striped image frame shown in FIG. 6, one line segment extending in the horizontal direction of the drawing corresponds to one light-section image, and the horizontal direction of the drawing corresponds to the x-axis direction in FIG. 2A and the like. are doing. In the striped image frame shown in FIG. 6, the vertical direction of the drawing corresponds to the y-axis direction (that is, the moving direction of the device under test 1) in FIG. 2A and the like.

縞画像フレーム生成部213は、図6に示したような縞画像フレームを生成すると、生成した縞画像フレームを、後述する画像算出部215に出力する。また、縞画像フレーム生成部213は、生成した縞画像フレームに対応するデータに、当該縞画像フレームを生成した日時等に関する時刻情報を関連付けて、履歴情報として記憶部207等に格納してもよい。   When the stripe image frame generation unit 213 generates the stripe image frame as shown in FIG. 6, the stripe image frame generation unit 213 outputs the generated stripe image frame to the image calculation unit 215 described later. In addition, the striped image frame generation unit 213 may associate the data corresponding to the generated striped image frame with time information regarding the date and time when the striped image frame was generated, and store the history information in the storage unit 207 or the like. .

画像算出部215は、例えば、CPU、ROM、RAM等により実現される。画像算出部215は、縞画像フレーム生成部213が生成した縞画像フレームに基づいて、被検査体1の表面に凹凸状態を表す深さ画像と、被検査体1の表面における線状のレーザ光Lの輝度分布を表す輝度画像と、被検査体1の表面における線状のレーザ光Lの移動方向の線幅の分布を輝度値に対応づけた線幅画像と、をそれぞれ算出する。この画像算出部215は、図5に示したように、光切断線処理部217と、深さ画像算出部219と、輝度画像算出部221と、線幅画像算出部223と、を備える。   The image calculation unit 215 is realized by, for example, a CPU, a ROM, a RAM, and the like. The image calculation unit 215, based on the striped image frame generated by the striped image frame generation unit 213, the depth image indicating the concavo-convex state on the surface of the inspection object 1 and the linear laser beam on the surface of the inspection object 1. A brightness image representing the brightness distribution of L and a line width image in which the distribution of the line width in the moving direction of the linear laser light L on the surface of the inspection object 1 is associated with the brightness value are calculated. As shown in FIG. 5, the image calculation unit 215 includes a light section line processing unit 217, a depth image calculation unit 219, a luminance image calculation unit 221, and a line width image calculation unit 223.

光切断線処理部217は、例えば、CPU、ROM、RAM等により実現される。光切断線処理部217は、縞画像フレームに含まれる各光切断線について、光切断線の変位量(輝線の曲がり具合)を含む光切断線特徴量を算出する。以下では、図7A及び図7Bを参照しながら、光切断線処理部217が実施する処理及び算出する光切断線特徴量について、詳細に説明する。
図7Aは、縞画像フレームを模式的に示した説明図である。図7Bは、光切断線処理部が実施する光切断線処理について説明するための説明図である。
The light section line processing unit 217 is realized by, for example, a CPU, a ROM, a RAM, and the like. The light section line processing unit 217 calculates the light section line feature amount including the displacement amount of the light section line (the degree of bending of the bright line) for each light section line included in the striped image frame. Hereinafter, the processing executed by the optical cutting line processing unit 217 and the calculated optical cutting line characteristic amount will be described in detail with reference to FIGS. 7A and 7B.
FIG. 7A is an explanatory diagram schematically showing a striped image frame. FIG. 7B is an explanatory diagram for explaining the optical cutting line processing performed by the optical cutting line processing unit.

図7Aでは、1つの縞画像フレームの中にN本の光切断線が存在しており、縞画像フレームの横方向の長さは、M画素であるものとする。また、1本の光切断線を含む1つの光切断画像は、縦y画素×横M画素から構成されている。なお、1本の光切断線を含む1つの光切断画像の縦画素数yの大きさ(換言すれば、1つの光切断画像から、縞画像フレームが生成される際に切り出される縦画素数yの大きさ)は、被検査体1に存在しうる凹部又は凸部の高さの範囲を過去の操業データ等に基づいて予め大まかに算出しておくことで、決定することが可能である。 In FIG. 7A, it is assumed that there are N light cutting lines in one striped image frame and the horizontal length of the striped image frame is M pixels. Further, one light section image including one light section line is composed of vertical y n pixels × horizontal M pixels. It should be noted that the size of the vertical pixel number y n of one light-section image including one light-section line (in other words, the number of vertical pixels cut out when a striped image frame is generated from one light-section image). The size of y n ) can be determined by roughly calculating the range of the height of the concave portion or the convex portion that may exist in the inspection object 1 in advance based on past operation data and the like. is there.

ここで、説明の便宜上、被検査体1の移動方向に直交するx軸方向(図7Aにおける縞画像フレームの横方向)にX軸をとり、被検査体1の移動方向に対応するy軸方向(図7Aにおける縞画像フレームの縦方向)にY軸をとって、縞画像フレーム中の画素の位置をXY座標で表すものとする。以下の説明では、縞画像フレーム中に存在するj(1≦j≦N)番目の光切断線の左側からm画素目(1≦m≦M)の位置(すなわち、Xj,mで表される位置)に着目する。 Here, for convenience of description, the X axis is taken in the x-axis direction (the horizontal direction of the striped image frame in FIG. 7A) orthogonal to the moving direction of the DUT 1, and the y-axis direction corresponding to the moving direction of the DUT 1 is taken. It is assumed that the Y axis is taken (in the vertical direction of the striped image frame in FIG. 7A) and the position of the pixel in the striped image frame is represented by XY coordinates. In the following description, the position of the m-th pixel (1 ≦ m ≦ M) from the left side of the j (1 ≦ j ≦ N) th light section line existing in the striped image frame (that is, represented by X j, m ). Position).

光切断線処理部217は、まず、着目すべき光切断線(以下、単に「ライン」とも称する。)の着目すべきX座標位置(本説明では、Xj,mで表される位置)を選択すると、図7Bに示したように、着目したラインの着目したX座標位置における画素に対応付けられている画素値(すなわち、光切断線の輝度値)の分布を参照する。この際、光切断線処理部217は、光切断画像中の当該X座標位置における全ての画素について、以下で説明する処理を実施するのではなく、光切断画像中におけるY座標の基準位置Yの前後Wの範囲に属する画素(すなわち、Y−W〜Y+Wの範囲に属する画素)について、以下で説明する処理を実施する。 The light cutting line processing unit 217 first determines the X coordinate position (the position represented by X j, m in this description) of the light cutting line of interest (hereinafter, also simply referred to as “line”). When the selection is made, as shown in FIG. 7B, the distribution of the pixel values (that is, the brightness values of the light cutting lines) associated with the pixels at the focused X coordinate position of the focused line is referred to. At this time, the light cutting line processing unit 217 does not perform the process described below for all the pixels at the X coordinate position in the light cutting image, but instead, the reference position Y s of the Y coordinate in the light cutting image. For the pixels belonging to the range of W before and after (that is, the pixels belonging to the range of Y s −W to Y s + W), the processing described below is performed.

ここで、Y座標の基準位置Yは、縞画像フレームのjライン目の光切断画像に対して予め指定されるy軸方向の位置である。また、処理範囲を規定するパラメータWは、以下のように決定することが可能である。すなわち、過去の操業データ等に基づいて、被検査体1に存在しうる凹部や凸部の高さの範囲を特定し、光切断画像中におけるY座標の基準位置Yの前後Wの範囲が光切断画像に収まるようにパラメータWの大きさを予め大まかに算出しておいた上で、適宜決定すればよい。パラメータWの値を小さくすることができれば、後述する光切断線処理部217の処理負荷の低減を図ることができる。 Here, the reference position Y s Y-coordinate is the position in the y-axis direction specified in advance for j-th line of the light section image of fringe image frame. The parameter W that defines the processing range can be determined as follows. That is, the range of the height of the concave portion or the convex portion that may be present in the inspection object 1 is specified based on the past operation data, and the range of the front and rear W of the reference position Y s of the Y coordinate in the light section image is determined. The size of the parameter W may be roughly calculated in advance so as to be included in the light section image and then appropriately determined. If the value of the parameter W can be reduced, the processing load of the optical cutting line processing unit 217 described later can be reduced.

光切断線処理部217は、まず、Y−W〜Y+Wの範囲に含まれる画素の中から、光切断線に対応する画素を特定するための所定の閾値Th以上の輝度値を有する画素を特定する。図7Bに示した例では、Yj,k、Yj,k+1、Yj,k+2で表される3つの画素が、それぞれ閾値Th以上の輝度値Ij,k、Ij,k+1、Ij,k+2を有している。従って、光切断線処理部217は、所定の閾値Th以上の輝度値を有する画素を線幅方向に加算した数pj,m=3と設定する。この所定の閾値Th以上の輝度値を有する画素を線幅方向に加算した数pj,mは、いわば位置(j,m)における輝線の画素数に対応する値であり、光切断線特徴量の一つである。また、光切断線処理部217は、以下の処理において、抽出された画素に関する情報(Yj,k、Ij,k)、(Yj,k+1、Ij,k+1)、(Yj,k+2、Ij,k+2)(以下、単に(Y,I)と略記することもある。)の情報を利用して、更なる光切断線特徴量を算出していく。 Light section line processor 217, first, from among the pixels included in the range of Y s -W~Y s + W, has a luminance value equal to or larger than a predetermined threshold value Th for identifying pixels corresponding to the light section line Identify the pixel. In the example shown in FIG. 7B, the three pixels represented by Y j, k , Y j, k + 1 , Y j, k + 2 respectively have luminance values I j, k , I j, k + 1 , I j that are equal to or greater than the threshold Th. , K + 2 . Therefore, the light section line processing unit 217 sets the number p j, m = 3 , which is the sum of pixels having a luminance value equal to or higher than the predetermined threshold value Th in the line width direction. The number p j, m obtained by adding the pixels having the luminance value equal to or higher than the predetermined threshold value Th in the line width direction is a value corresponding to the number of pixels of the bright line at the position (j, m), so to speak, and the light cutting line feature amount. one of. In addition, the optical cutting line processing unit 217 performs information (Y j, k , I j, k ), (Y j, k + 1 , I j, k + 1 ), (Y j, k + 2 ) regarding the extracted pixels in the following processing. , I j, k + 2 ) (hereinafter sometimes simply abbreviated as (Y, I)), the optical cut line feature quantity is calculated.

また、光切断線処理部217は、パラメータpj,m及び抽出した画素に関する情報(Y,I)を利用して、抽出された画素の輝度の総和Kj,mを算出する。図7Bに示した例の場合、光切断線処理部217が算出する輝度の総和は、Kj,m=Ij,k+Ij,k+1+Ij,k+2となる。この輝度の総和Kj,mも、光切断線特徴量の一つである。 Further, the light section line processing unit 217 calculates the total brightness K j, m of the extracted pixels by using the parameter p j, m and the information (Y, I) regarding the extracted pixels. In the case of the example shown in FIG. 7B, the sum of the brightness calculated by the light section line processing unit 217 is K j, m = I j, k + I j, k + 1 + I j, k + 2 . The total sum K j, m of the brightness is also one of the light section line feature amounts.

更に、光切断線処理部217は、抽出された画素に関する情報(Y,I)とY座標の基準位置Yとを利用して、抽出された画素のY方向の重心位置Y(j,m)を算出するとともに、重心位置Y(j,m)の基準位置Yからの変位量Δdj,m=Y−Y(j,m)を算出する。 Further, the light section line processing unit 217 uses the information (Y, I) regarding the extracted pixel and the reference position Y s of the Y coordinate to determine the barycentric position Y C (j, j of the extracted pixel in the Y direction. m) and the displacement amount Δd j, m = Y s −Y C (j, m) of the center of gravity position Y C (j, m) from the reference position Y s .

ここで、重心位置Y(j,m)は、抽出された画素の集合をAと表すこととすると、以下の式101で表される値となる。従って、図7Bに示した例の場合、重心位置Y(j,m)は、以下の式101aで表される値となる。 Here, the barycentric position Y C (j, m) has a value represented by the following Expression 101, where the set of extracted pixels is represented as A. Therefore, in the case of the example shown in FIG. 7B, the center-of-gravity position Y C (j, m) has a value represented by the following expression 101a.

ここで、画素に対応するY軸方向の位置は、いわば被検査体撮像装置100における取りこみピッチ(例えば、0.25mm)で量子化された値である。他方、上記式101で示したような演算により算出される重心位置Y(j,m)は、割り算という数値演算を利用することで算出される値であるため、被検査体撮像装置100の取りこみピッチ(いわば量子化単位)よりも小さな値となりうる。従って、かかる重心位置Y(j,m)を利用して算出される変位量Δdj,mについても、移動幅よりも小さな値を有しうる値となる。このようにして算出される変位量Δdj,mも、光切断線特徴量の一つである。 Here, the position in the Y-axis direction corresponding to the pixel is, so to speak, a value quantized by the take-in pitch (for example, 0.25 mm) in the image pickup device 100 for inspection. On the other hand, the center-of-gravity position Y C (j, m) calculated by the calculation shown in the above equation 101 is a value calculated by using a numerical calculation called division, so that The value can be smaller than the import pitch (so-called quantization unit). Therefore, the displacement amount Δd j, m calculated by using the center-of-gravity position Y C (j, m) also has a value that can be smaller than the movement width. The displacement amount Δd j, m calculated in this way is also one of the optical cutting line feature amounts.

光切断線処理部217は、以上のような3種類の特徴量を、各切断線に含まれるM個の要素に関して算出する。その結果、図8A〜図8Cに示したように、光切断線の変位量Δd、輝度の総和K、及び、輝線の画素数pに関して、M列×N行の二次元配列が生成される。   The light section line processing unit 217 calculates the above-described three types of feature amounts for M elements included in each section line. As a result, as shown in FIGS. 8A to 8C, a two-dimensional array of M columns × N rows is generated with respect to the displacement amount Δd of the light cutting line, the total brightness K, and the number of pixels p of the bright line.

光切断線処理部217は、算出した光切断線特徴量のうち、光切断線の変位量Δdに関する特徴量を、後述する深さ画像算出部219に出力する。また、光切断線処理部217は、算出した光切断線特徴量のうち、輝度の総和K、及び、輝線の画素数pに関する特徴量を、後述する輝度画像算出部221に出力する。更に、光切断線処理部217は、算出した光切断線特徴量のうち、輝線の画素数pに関する特徴量を、後述する線幅画像算出部223に出力する。   The light section line processing unit 217 outputs the feature amount relating to the displacement amount Δd of the light section line among the calculated light section line feature amounts to the depth image calculation unit 219 described later. In addition, the light section line processing unit 217 outputs the total amount K of brightness and the feature value related to the number of pixels p of the bright line among the calculated light section line feature values to the brightness image calculation unit 221 described later. Further, the light-section line processing unit 217 outputs the feature amount related to the pixel number p of the bright line among the calculated light-section line feature amounts to the line width image calculation unit 223 described later.

深さ画像算出部219は、例えば、CPU、ROM、RAM等により実現される。深さ画像算出部219は、光切断線処理部217が生成した光切断線特徴量(特に、変位量Δdに関する特徴量)に基づいて、被検査体1の表面の凹凸状態を表す深さ画像を算出する。   The depth image calculation unit 219 is realized by, for example, a CPU, ROM, RAM and the like. The depth image calculation unit 219, based on the light section line characteristic amount generated by the light section line processing unit 217 (particularly, the feature amount related to the displacement amount Δd), the depth image representing the unevenness state of the surface of the inspection object 1. To calculate.

具体的には、深さ画像算出部219は、図8Aに示したような変位量Δdに関する特徴量(二次元配列)と、線状のレーザ光Lとエリアカメラの光軸とのなす角(図2A及び図2Bにおける角度φ)と、を利用して、深さ画像を算出する。かかる深さ画像は、Y軸方向のそれぞれの位置での凹凸状態の一次元分布がY軸方向に沿って順に配列された、二次元の凹凸状態の分布を表す画像である。   Specifically, the depth image calculation unit 219 forms a feature amount (two-dimensional array) relating to the displacement amount Δd as shown in FIG. 8A and an angle between the linear laser light L and the optical axis of the area camera ( 2A and 2B, the depth image is calculated. The depth image is an image showing a two-dimensional unevenness distribution in which the one-dimensional unevenness distribution at each position in the Y-axis direction is sequentially arranged along the Y-axis direction.

まず、図9を参照しながら、被検査体1の表面に存在する凹凸の高さと、光切断線の変位量Δdとの関係について説明する。図9は、光切断線の変位と欠陥の高さとの関係を示した説明図である。   First, the relationship between the height of the unevenness existing on the surface of the inspection object 1 and the displacement amount Δd of the light cutting line will be described with reference to FIG. 9. FIG. 9 is an explanatory diagram showing the relationship between the displacement of the light section line and the height of the defect.

図9では、被検査体1の表面に凹部が存在した場合を模式的に示している。ここで、被検査体1の表面に凹部が存在しない場合の表面位置の高さと凹部の底部の高さとの差分をΔhと表すこととする。垂直入射した線状のレーザ光Lが表面反射をする場合に着目すると、被検査体1の表面に凹部が存在しない場合には、図9の光線Aのように反射光は伝播するが、被検査体1の表面に凹部が存在する場合には、図9の光線Bのように反射光が伝播する。光線Aと光線Bとのズレが、本実施形態において光切断線の変位量Δdとして観測されることとなる。ここで、幾何学的な位置関係から明らかなように、光切断線の変位量Δdと凹みの深さΔhとは、Δd=Δh・sinφの関係が成立する。   FIG. 9 schematically shows a case where a recess is present on the surface of the DUT 1. Here, the difference between the height of the surface position and the height of the bottom of the recess when there is no recess on the surface of the DUT 1 is represented by Δh. Focusing on the case where the vertically incident linear laser light L is surface-reflected, when there is no concave portion on the surface of the DUT 1, the reflected light propagates like the light ray A in FIG. When a concave portion is present on the surface of the inspection body 1, reflected light propagates like the light ray B in FIG. The deviation between the light ray A and the light ray B will be observed as the displacement amount Δd of the light cutting line in the present embodiment. Here, as is apparent from the geometrical positional relationship, the displacement Δd of the light cutting line and the depth Δh of the recess have a relationship of Δd = Δh · sin φ.

なお、図9では、被検査体1の表面に凹部が存在する場合について説明したが、被検査体1の表面に凸部が存在する場合であっても、同様の関係が成立する。   Although the case where the concave portion is present on the surface of the inspection object 1 has been described with reference to FIG. 9, the same relationship is established even when the convex portion is present on the surface of the inspection object 1.

深さ画像算出部219は、以上説明したような関係を利用して、光切断線処理部217が算出した光切断線の変位量Δdに関する特徴量に基づき、被検査体1の表面の凹凸に関する量Δhを算出する。   The depth image calculation unit 219 uses the relationship as described above, and relates to the unevenness of the surface of the inspection object 1 based on the feature amount regarding the displacement amount Δd of the light cutting line calculated by the light cutting line processing unit 217. The amount Δh is calculated.

ここで、深さ画像の算出に用いられる光切断線の変位量Δdは、先だって説明したように光切断線の重心位置に基づいて算出されたものであり、取りこみピッチよりも小さな値を有しうる値となっている。従って、深さ画像算出部219により算出される深さ画像は、撮像素子の画素サイズよりも細かい分解能で凹凸が再現されている画像となる。   Here, the displacement amount Δd of the light cutting line used for calculating the depth image is calculated based on the center of gravity position of the light cutting line as described above, and has a value smaller than the take-in pitch. It is a good value. Therefore, the depth image calculated by the depth image calculation unit 219 is an image in which the unevenness is reproduced with a resolution smaller than the pixel size of the image sensor.

なお、被検査体1の表面の形状の変化により、図10に示したように、光切断線に湾曲等の歪みが生じる場合がある。他方、本実施形態に係る表面性状検査方法では、光切断線に重畳している凹凸が、被検査体1の表面の断面形状と表面に存在する表面欠陥に関する情報となっている。そのため、深さ画像算出部219は、光切断線の変位量Δdに基づいて深さ画像を算出する際に、光切断線毎に歪み補正処理を行って、光切断線に重畳している凹凸に関する情報のみを抽出してもよい。このような歪み補正処理を実施することにより、光切断線に湾曲等の歪みが生じた場合であっても、被検査体1の表面に存在する凹凸疵の情報のみを得ることが可能となる。   It should be noted that, as shown in FIG. 10, there are cases where distortion such as bending occurs in the optical cutting line due to a change in the shape of the surface of the DUT 1. On the other hand, in the surface texture inspection method according to the present embodiment, the unevenness superimposed on the light cutting line serves as information regarding the cross-sectional shape of the surface of the inspection object 1 and surface defects existing on the surface. Therefore, when calculating the depth image based on the displacement amount Δd of the light section line, the depth image calculation unit 219 performs distortion correction processing for each light section line, and the unevenness superimposed on the light section line. You may extract only the information regarding. By performing such a distortion correction process, it is possible to obtain only the information of the unevenness flaws existing on the surface of the inspection object 1 even when the light cutting line is distorted such as curved. .

かかる歪み補正処理の具体例として、(i)多次元関数や各種の非線形関数を利用したフィッティング処理を行い、得られたフィッティング曲線と観測された光切断線との差分演算を行う処理や、(ii)凹凸に関する情報が高周波成分であることを利用して、浮動フィルタやメディアンフィルタ等のローパスフィルタを適用する処理等を挙げることができる。このような歪み補正処理を実施することにより、被検査体1の表面に存在する凹凸疵の情報を保持したまま、光切断線の平坦化を図ることが可能となる。   As a specific example of the distortion correction process, (i) a process of performing a fitting process using a multidimensional function or various nonlinear functions, and a process of calculating a difference between the obtained fitting curve and the observed light section line, ( ii) A process of applying a low-pass filter such as a floating filter or a median filter by utilizing the fact that the information on the unevenness is a high-frequency component can be mentioned. By performing such distortion correction processing, it becomes possible to flatten the optical cutting line while retaining the information on the unevenness flaws existing on the surface of the inspection object 1.

深さ画像算出部219は、以上説明したようにして算出した深さ画像に関する情報を、後述する検出処理部225に出力する。   The depth image calculation unit 219 outputs the information regarding the depth image calculated as described above to the detection processing unit 225 described later.

輝度画像算出部221は、例えば、CPU、ROM、RAM等により実現される。輝度画像算出部221は、光切断線処理部217が生成した光切断線特徴量(特に、輝度の総和K及び輝線の画素数pに関する特徴量)に基づいて、被検査体1の表面における線状のレーザ光Lの輝度の分布を表す輝度画像を算出する。   The brightness image calculation unit 221 is realized by, for example, a CPU, a ROM, a RAM, and the like. The luminance image calculation unit 221 calculates the line on the surface of the inspection object 1 based on the light-section line feature amount generated by the light-section line processing unit 217 (particularly, the feature amount regarding the total brightness K and the number p of pixels of the bright line). A luminance image representing the luminance distribution of the laser light L in the shape of a circle is calculated.

具体的には、輝度画像算出部221は、図8Bに示したような輝度の総和Kに関する特徴量(二次元配列)、及び、図8Cに示したような輝線の画素数pに関する特徴量(二次元配列)を利用して、総和輝度の線幅方向の平均値である平均輝度KAVE(j,m)=Kj,m/pj,m(1≦j≦N、1≦m≦M)を算出する。その後、輝度画像算出部221は、算出した平均輝度KAVE(j,m)からなるデータ配列を、着目している被検査体1の輝度画像とする。かかる輝度画像は、Y軸方向のそれぞれの位置での線状のレーザ光Lの輝度の一次元分布がY軸方向に沿って順に配列された、二次元の輝度分布を表す画像である。 Specifically, the luminance image calculation unit 221 has a feature amount (two-dimensional array) relating to the total luminance K as shown in FIG. 8B and a feature amount relating to the pixel number p of the bright line as shown in FIG. 8C ( (Two-dimensional array), average brightness K AVE (j, m) = K j, m / p j, m (1 ≦ j ≦ N, 1 ≦ m ≦), which is the average value of the total brightness in the line width direction. Calculate M). After that, the luminance image calculation unit 221 sets the data array including the calculated average luminance K AVE (j, m) as the luminance image of the inspection object 1 of interest. The luminance image is an image showing a two-dimensional luminance distribution in which the one-dimensional luminance distribution of the linear laser light L at each position in the Y-axis direction is sequentially arranged along the Y-axis direction.

輝度画像算出部221は、以上説明したようにして算出した輝度画像に関する情報を、後述する検出処理部225に出力する。   The luminance image calculation unit 221 outputs the information regarding the luminance image calculated as described above to the detection processing unit 225 described later.

線幅画像算出部223は、例えば、CPU、ROM、RAM等により実現される。線幅画像算出部223は、光切断線処理部217が生成した光切断線特徴量(特に、輝線の画素数pに関する特徴量)に基づいて、被検査体1の表面における線状のレーザ光Lの移動方向の線幅の分布を輝度値に対応づけた線幅画像を算出する。   The line width image calculation unit 223 is realized by, for example, a CPU, a ROM, a RAM, and the like. The line width image calculation unit 223, based on the light section line feature amount generated by the light section line processing unit 217 (particularly, the feature amount relating to the pixel number p of the bright line), forms a linear laser beam on the surface of the inspection object 1. A line width image in which the distribution of the line width in the moving direction of L is associated with the luminance value is calculated.

以下、図11〜図13を参照しながら、線幅画像算出部223における線幅画像の算出処理について説明する。図11は、正常部及び粗面部での光切断線の線幅について説明するための説明図である。図12Aは、正常部での光切断線の線幅について説明するための説明図であり、図12Bは、粗面部での光切断線の線幅について説明するための説明図である。図13は、本実施形態に係る線幅画像について説明するための説明図である。   Hereinafter, the line width image calculation processing in the line width image calculation unit 223 will be described with reference to FIGS. 11 to 13. FIG. 11 is an explanatory diagram for explaining the line width of the light cutting line in the normal portion and the rough surface portion. FIG. 12A is an explanatory diagram for explaining the line width of the light cutting line in the normal portion, and FIG. 12B is an explanatory diagram for explaining the line width of the light cutting line in the rough surface portion. FIG. 13 is an explanatory diagram for describing the line width image according to the present embodiment.

先だって説明したように、本実施形態で着目する地肌残存部や錆などの粗面部では、粗面部が散乱面として機能した結果、粗面部に照射された線状のレーザ光Lが粗面部によって散乱される。そのため、図4C及び図11に模式的に示したように、粗面部に対応する光切断画像の位置では、光切断線の線幅の拡大が認められる。   As described above, in the rough surface portion such as the residual surface portion and rust that is focused on in the present embodiment, the rough surface portion functions as a scattering surface, and as a result, the linear laser light L irradiated on the rough surface portion is scattered by the rough surface portion. To be done. Therefore, as schematically shown in FIG. 4C and FIG. 11, the line width of the light cutting line is enlarged at the position of the light cutting image corresponding to the rough surface portion.

図11に模式的に示したような光切断線が得られたとすると、A−A’切断線に対応する位置は、正常部に対応し、B−B’切断線に対応する位置は、粗面部に対応することとなる。この場合に、A−A’切断線での正常部の輝度分布において、光切断線に対応する画素を特定するための所定の閾値Th以上の輝度値を有する画素が、図12Aに模式的に示したように3画素であったとする。同様に、B−B’切断線での粗面部の輝度分布において、閾値Th以上の輝度値を有する画素が、図12Bに模式的に示したように8画素であったとする。   Assuming that an optical cutting line as schematically shown in FIG. 11 is obtained, the position corresponding to the AA ′ cutting line corresponds to the normal portion, and the position corresponding to the BB ′ cutting line corresponds to the rough portion. It corresponds to the face part. In this case, in the luminance distribution of the normal portion along the AA ′ cutting line, a pixel having a luminance value equal to or higher than a predetermined threshold Th for identifying the pixel corresponding to the light cutting line is schematically shown in FIG. 12A. It is assumed that there are 3 pixels as shown. Similarly, in the luminance distribution of the rough surface portion along the B-B ′ cutting line, it is assumed that the pixels having the luminance value equal to or greater than the threshold Th are 8 pixels as schematically shown in FIG. 12B.

被検査体撮像装置100において、例えば、線状のレーザ光Lの線幅が2〜4画素に対応するように設定されていたとする。粗面部では線状のレーザ光Lの線幅の拡大が認められるわけであるから、粗面部における線状のレーザ光Lの線幅は、被検査体撮像装置100における設定値である4画素を超える値となる。従って、線状のレーザ光Lの線幅に関して、粗面部に対応する画素を特定するための所定の閾値Th2を予め設定しておくことで、正常部と粗面部とを区別することが可能となる。例えば、被検査体撮像装置100において、正常部の線状のレーザ光Lの線幅が2〜4画素に設定されていたとする。この場合に、余裕を見て閾値Th2を5画素と設定することで、線幅が5画素以上となっている部位を粗面部として区別することができる。   It is assumed that, in the inspected object imaging apparatus 100, for example, the line width of the linear laser beam L is set to correspond to 2 to 4 pixels. Since the line width of the linear laser light L is recognized to increase in the rough surface portion, the line width of the linear laser light L in the rough surface portion is set to 4 pixels which is the set value in the inspection object imaging device 100. The value will exceed. Therefore, regarding the line width of the linear laser beam L, it is possible to distinguish between the normal portion and the rough surface portion by setting a predetermined threshold value Th2 for specifying the pixel corresponding to the rough surface portion in advance. Become. For example, it is assumed that the line width of the linear laser beam L in the normal portion is set to 2 to 4 pixels in the inspected object imaging apparatus 100. In this case, by setting the threshold value Th2 to 5 pixels in consideration of the margin, it is possible to distinguish a portion having a line width of 5 pixels or more as a rough surface portion.

以上のような観点から、線幅画像算出部223は、かかる閾値Th2に基づき、光切断線処理部217が生成した輝線の画素数pに関する特徴量を閾値判定することで、粗面部に対応する画素位置を特定することが可能となる。   From the above viewpoints, the line width image calculation unit 223 handles the rough surface portion by performing the threshold value determination of the feature amount related to the pixel number p of the bright line generated by the light section line processing unit 217 based on the threshold value Th2. It is possible to specify the pixel position.

続いて、図13を参照しながら、線幅画像算出部223における線幅画像の具体的な算出方法について説明する。
上記のような閾値Th2を設定することで、粗面部の位置の特定が可能となる一方で、線幅画像算出部223が生成する線幅画像では、正常部を顕在化しないように線幅画像を構成する輝度値を決定することが重要となる。そこで、本実施形態に係る線幅画像算出部223では、縞画像フレームにおけるそれぞれの光切断線について、かかる光切断線の延伸方向(Y軸方向)の各位置での線幅と所定の閾値線幅との差分を算出し、算出された差分の大きさに応じて輝度値を割り当てることで、線幅画像を算出する。
Next, with reference to FIG. 13, a specific method of calculating the line width image in the line width image calculation unit 223 will be described.
By setting the threshold value Th2 as described above, it is possible to specify the position of the rough surface portion, while the line width image generated by the line width image calculation unit 223 prevents the normal portion from being revealed. It is important to determine the brightness values that make up Therefore, in the line width image calculation unit 223 according to the present embodiment, for each light cutting line in the striped image frame, the line width at each position in the extending direction (Y-axis direction) of the light cutting line and a predetermined threshold line. The line width image is calculated by calculating the difference from the width and assigning the brightness value according to the magnitude of the calculated difference.

更に具体的には、線幅画像算出部223は、光切断線処理部217が生成した輝線の画素数pに関する特徴量を参照し、各位置での輝線の画素数pと、閾値線幅に対応する閾値Th2と、の差分を算出していく。なお、正常部について、閾値Th2との差分を算出すると、差分が負の値となることも考えられるが、この場合の差分値は、負の値とせずにゼロとしておくことが好ましい。その後、線幅画像算出部223は、算出した差分の値が大きくなるにつれて、線幅画像を構成する画素の輝度値が大きくなるように、各画素位置での輝度値を決定していく。   More specifically, the line width image calculation unit 223 refers to the feature amount regarding the pixel number p of the bright line generated by the light section line processing unit 217, and determines the pixel number p of the bright line at each position and the threshold line width. The difference from the corresponding threshold Th2 is calculated. It is possible that the difference between the normal portion and the threshold Th2 may be a negative value, but the difference value in this case is preferably set to zero instead of being a negative value. After that, the line width image calculation unit 223 determines the brightness value at each pixel position such that the brightness value of the pixels forming the line width image increases as the calculated difference value increases.

例えば、閾値Th2が5画素であり、線幅画像を8bit画像として生成する場合を考える。この場合に、8bit画像において全ての輝度値の範囲(0〜255)を利用しようとすると、線幅画像算出部223は、例えば以下のように、各画素位置での輝度値を決定していけばよい。なお、以下に示す例では、8bitフルスケールを利用する場合について示しているが、8bitフルスケールを用いなくともよい。ただ、フルスケールの範囲で輝度値を設定していくことで、生成される線幅画像の視認性を高めることができる。   For example, consider a case where the threshold Th2 is 5 pixels and the line width image is generated as an 8-bit image. In this case, if the range of all brightness values (0 to 255) is to be used in the 8-bit image, the line width image calculation unit 223 should determine the brightness value at each pixel position as follows, for example. Good. In addition, in the example shown below, the case where the 8-bit full scale is used is shown, but the 8-bit full scale may not be used. However, the visibility of the generated line width image can be improved by setting the brightness value within the full scale range.

差分値=0(又は0以下):輝度値0
差分値=1:輝度値95
以降、差分値が+1となる毎に、輝度値32を加算する。(例えば、差分値=2では、輝度値=95+32=127)
差分値=5以上は、255(フルスケール)で固定値とする。
Difference value = 0 (or 0 or less): luminance value 0
Difference value = 1: brightness value 95
Thereafter, the brightness value 32 is added every time the difference value becomes +1. (For example, when the difference value = 2, the brightness value = 95 + 32 = 127)
When the difference value = 5 or more, the fixed value is 255 (full scale).

なお、差分値に応じた輝度値の割り当て方法は、上記の例に限定されるものではなく、差分値が大きくなるほど輝度値が高くなるような割り当て方法であれば、任意の割り当て方法を採用することが可能である。また、上記の例では、線幅画像を8bitの輝度値を有する画像として生成する場合について説明したが、8bitを超える輝度値を有する画像として線幅画像を生成してもよいことは、言うまでもない。   It should be noted that the method of assigning the brightness value according to the difference value is not limited to the above example, and an arbitrary assignment method is adopted as long as the brightness value increases as the difference value increases. It is possible. Further, in the above example, the case where the line width image is generated as an image having a luminance value of 8 bits has been described, but it goes without saying that the line width image may be generated as an image having a luminance value exceeding 8 bits. .

このような処理を行うことで、線幅画像算出部223は、例えば図13の左側に示したような光切断線(及び、かかる光切断線から生成される輝線の画素数pに関する特徴量)から、図13の右側に示したような線幅画像を生成することができる。なお、図13に示した例では、輝度値=0(すなわち、正常部)の位置では線幅画像が黒色となり、輝度値が大きくなる(すなわち、粗面部に対応し、かつ、粗面部での表面凹凸がより大きくなる)ほど、白色となるように図示を行っている。かかる処理で生成される線幅画像は、Y軸方向のそれぞれの位置での線状のレーザ光Lの線幅の一次元分布がY軸方向に沿って順に配列された、二次元の線幅分布を表す画像である。   By performing such processing, the line width image calculation unit 223 causes, for example, the light cutting line as shown on the left side of FIG. 13 (and the feature amount regarding the pixel number p of the bright line generated from the light cutting line). From this, a line width image as shown on the right side of FIG. 13 can be generated. Note that in the example shown in FIG. 13, the line width image becomes black at a position where the luminance value = 0 (that is, a normal portion), and the luminance value becomes large (that is, corresponding to the rough surface portion and at the rough surface portion). The larger the surface irregularities, the whiter the image is. The line width image generated by such processing is a two-dimensional line width in which the one-dimensional distribution of the line width of the linear laser light L at each position in the Y-axis direction is arranged in order along the Y-axis direction. It is an image showing distribution.

線幅画像算出部223は、以上説明したようにして算出した線幅画像に関する情報を、後述する検出処理部225に出力する。   The line width image calculation unit 223 outputs the information regarding the line width image calculated as described above to the detection processing unit 225 described later.

再び図5に戻って、検出処理部225について説明する。
検出処理部225は、例えば、CPU、ROM、RAM等により実現される。検出処理部225は、深さ画像算出部219、輝度画像算出部221及び線幅画像算出部223でそれぞれ算出された深さ画像、輝度画像及び線幅画像に基づいて、被検査体1の表面性状を検出する。
Returning to FIG. 5 again, the detection processing unit 225 will be described.
The detection processing unit 225 is realized by, for example, a CPU, a ROM, a RAM, and the like. The detection processing unit 225 uses the depth image calculation unit 219, the brightness image calculation unit 221, and the line width image calculation unit 223 to calculate the depth image, the brightness image, and the line width image, respectively. Detect properties.

かかる検出処理部225は、深さ画像、輝度画像及び線幅画像に基づいて欠陥部位を特定する欠陥部位特定機能と、特定した欠陥部位の形態及び画素値に関する特徴量を抽出する特徴量抽出機能と、抽出した特徴量に基づいて欠陥の種別や有害度等を判別する欠陥判別機能と、を有している。以下、これらの機能について、簡単に説明する。   The detection processing unit 225 has a defect part specifying function for specifying a defect part based on a depth image, a brightness image, and a line width image, and a feature amount extracting function for extracting a feature amount regarding the form and pixel value of the specified defect part. And a defect discriminating function for discriminating a defect type, a degree of harmfulness, and the like based on the extracted feature amount. Hereinafter, these functions will be briefly described.

○欠陥部位特定機能
検出処理部225は、取得した線幅画像の各画素に対して、必要に応じて、周辺画素との輝度値の線形和を得るフィルタ処理によって粗面部の領域を強調しながら、得られた値が、粗面部特定のための第1の閾値以上となるか否かの判定を行う。このようなフィルタ処理及び当該フィルタ処理結果に基づく判定処理を実施することで、検出処理部225は、粗面部の部位を特定するための2値化画像を生成することができる。かかる2値化画像において、算出した値が第1の閾値未満であった画素が正常部(すなわち、2値化画像の画素値=0)に該当し、算出した値が第1の閾値以上であった画素が粗面部(すなわち、2値化画像の画素値=1)に該当する。更に、検出処理部225は、連続して発生している粗面部の部位を結合していくことで、一つ一つの粗面部(すなわち、地肌残存部や錆)の位置を特定する。
Defect portion specifying function The detection processing unit 225 emphasizes the area of the rough surface portion for each pixel of the acquired line width image by filter processing that obtains a linear sum of luminance values with surrounding pixels, if necessary. Then, it is determined whether or not the obtained value is equal to or larger than the first threshold value for specifying the rough surface portion. By performing such a filter process and the determination process based on the filter process result, the detection processing unit 225 can generate a binarized image for specifying the site of the rough surface portion. In such a binarized image, a pixel whose calculated value is less than the first threshold corresponds to a normal portion (that is, pixel value of binary image = 0), and the calculated value is equal to or larger than the first threshold. The existing pixel corresponds to the rough surface portion (that is, the pixel value of the binarized image = 1). Furthermore, the detection processing unit 225 identifies the position of each rough surface portion (that is, the background residual portion and rust) by combining the portions of the rough surface portion that are continuously generated.

同様に、検出処理部225は、取得した深さ画像及び輝度画像の各画素に対して、周辺画素との画素値(深さを表す値、又は、輝度値)の線形和を得るフィルタ処理によって縦線状疵、横線状疵、微小疵等の領域を強調し、得られた値が、欠陥部位特定のための第2の閾値以上となるか否かの判定を行う。このようなフィルタ処理及び当該フィルタ処理結果に基づく判定処理を実施することで、検出処理部225は、欠陥部位を特定するための2値化画像を生成することができる。かかる2値化画像において、算出した値が第2の閾値未満であった画素が正常箇所(すなわち、2値化画像の画素値=0)に該当し、算出した値が第2の閾値以上であった画素が欠陥箇所(すなわち、2値化画像の画素値=1)に該当する。更に、検出処理部225は、連続して発生している欠陥箇所を結合していくことで、一つ一つの欠陥部位を特定する。   Similarly, the detection processing unit 225 performs filter processing to obtain a linear sum of pixel values (values representing depth or brightness values) with surrounding pixels for each pixel of the acquired depth image and brightness image. The areas such as the vertical line flaws, the horizontal line flaws, and the minute flaws are emphasized, and it is determined whether or not the obtained value is equal to or more than the second threshold value for identifying the defective portion. By performing such filter processing and determination processing based on the filter processing result, the detection processing unit 225 can generate a binarized image for identifying a defective portion. In such a binarized image, a pixel whose calculated value is less than the second threshold corresponds to a normal location (that is, the pixel value of the binarized image = 0), and the calculated value is equal to or greater than the second threshold. The existing pixel corresponds to the defective portion (that is, the pixel value of the binarized image = 1). Furthermore, the detection processing unit 225 identifies each defective portion by combining defective portions that are continuously generated.

○特徴量抽出機能
検出処理部225は、欠陥部位特定機能により線幅画像の欠陥部位(すなわち、粗面部)を特定すると、特定した欠陥部位ごとに、欠陥部位の形態及び輝度値に関する特徴量を抽出する。欠陥部位の形態に関する特徴量として、例えば、欠陥部位の幅、欠陥部位の長さ、欠陥部位の周囲長、欠陥部位の面積、欠陥部位の外接長方形の面積等を挙げることができる。また、欠陥部位の輝度値に関する特徴量として、欠陥部位の輝度の最大値、最小値、平均値等を挙げることができる。
○ Feature Extraction Function When the detection processing unit 225 specifies a defect portion (that is, a rough surface portion) of a line width image by the defect portion specifying function, the detection processing unit 225 obtains the feature amount regarding the form and the brightness value of the defect portion for each identified defect portion. Extract. Examples of the feature amount related to the form of the defective portion include the width of the defective portion, the length of the defective portion, the perimeter of the defective portion, the area of the defective portion, and the area of the circumscribed rectangle of the defective portion. Further, as the feature amount relating to the brightness value of the defective portion, the maximum value, the minimum value and the average value of the brightness of the defective portion can be mentioned.

また、検出処理部225は、欠陥部位特定機能により深さ画像及び輝度画像の欠陥部位を特定すると、特定した欠陥部位ごとに、欠陥部位の形態及び画素値に関する特徴量を抽出する。欠陥部位の形態に関する特徴量として、例えば、欠陥部位の幅、欠陥部位の長さ、欠陥部位の周囲長、欠陥部位の面積、欠陥部位の外接長方形の面積等を挙げることができる。また、欠陥部位の画素値に関する特徴量として、深さ画像に関しては、欠陥部位の深さの最大値、最小値、平均値等を挙げることができ、輝度画像に関しては、欠陥部位の輝度の最大値、最小値、平均値等を挙げることができる。   Further, when the detection processing unit 225 specifies the defective portion of the depth image and the luminance image by the defective portion specifying function, the detection processing unit 225 extracts the feature amount related to the form and pixel value of the defective portion for each specified defective portion. Examples of the feature amount related to the form of the defective portion include the width of the defective portion, the length of the defective portion, the perimeter of the defective portion, the area of the defective portion, and the area of the circumscribed rectangle of the defective portion. Further, as the feature amount regarding the pixel value of the defective portion, the maximum value, the minimum value, and the average value of the depth of the defective portion can be cited for the depth image, and the maximum value of the luminance of the defective portion for the luminance image. A value, a minimum value, an average value, etc. can be mentioned.

○欠陥判別機能
検出処理部225は、特徴量抽出機能により各欠陥部位の特徴量を抽出すると、欠陥部位ごとに、抽出した特徴量に基づいて欠陥の種別や有害度等を判別する。特徴量に基づく欠陥の種別や有害度等の判別処理は、例えば図14に示したようなロジックテーブルを利用して行われる。すなわち、検出処理部225は、図14に例示したようなロジックテーブルによって表される判別条件に基づき、欠陥の種別や有害度を判別する。
Defect Discrimination Function The detection processing unit 225 discriminates the defect type, the degree of harm, and the like for each defect site based on the extracted feature quantity when the feature quantity of each defective site is extracted by the feature quantity extraction function. The determination process of the type of defect, the degree of harmfulness, and the like based on the feature amount is performed using a logic table as shown in FIG. 14, for example. That is, the detection processing unit 225 determines the type of defect and the degree of harmfulness based on the determination condition represented by the logic table illustrated in FIG.

図14に例示したように、ロジックテーブルの縦方向の項目として、欠陥の種別(欠陥A1〜欠陥An)が記載されており、ロジックテーブルの横方向の項目として、特徴量の種類(特徴量B1〜特徴量Bm)が記載されている。また、欠陥の種別及び特徴量により規定されるテーブルの各セルには、対応する特徴量の大小による判別条件式(条件式C11〜条件式Cnm)が記述されている。このようなロジックテーブルの各行が一組となって、一つ一つの欠陥の種別の判別条件となる。判別処理は、最上位の行に記載された種別から順に行われ、何れか一つの行に記載された判別条件を全て満たした時点で終了する。   As illustrated in FIG. 14, the types of defects (defects A1 to An) are described as items in the vertical direction of the logic table, and the types of feature amounts (feature amount B1 as items in the horizontal direction of the logic table. -Characteristic amount Bm) is described. Further, in each cell of the table defined by the type of defect and the feature amount, a discriminating conditional expression (conditional expression C11 to conditional expression Cnm) depending on the size of the corresponding characteristic quantity is described. Each row of such a logic table forms a set, which serves as a determination condition for each defect type. The determination processing is performed in order from the type described in the top row, and ends when all the determination conditions described in any one row are satisfied.

このようなロジックテーブルは、過去の操業データ及び当該操業データに基づく検定員による欠陥の種別及び有害度の特定結果を教師データとした学習処理により構築されたデータベースを利用して、公知の方法により生成することが可能である。   Such a logic table is obtained by a known method using a database constructed by a learning process in which past operation data and a result of identification of a defect type and a harmful degree by an inspector based on the operation data are used as teacher data. It is possible to generate.

検出処理部225は、このようにして検出した欠陥部位ごとに欠陥の種別及び有害度を特定し、得られた検出結果を表示制御部205に出力する。これにより、被検査体1である機械加工品の表面に存在する欠陥に関する情報が、表示部(図示せず。)に出力されることとなる。また、検出処理部225は、得られた検出結果を、製造管理用プロコン等の外部の装置に出力してもよく、得られた検出結果を利用して、製品の欠陥帳票を作成してもよい。また、検出処理部225は、欠陥部位の検出結果に関する情報を、当該情報を算出した日時等に関する時刻情報と関連づけて、記憶部207等に履歴情報として格納してもよい。   The detection processing unit 225 identifies the defect type and the degree of harmfulness for each defect site detected in this way, and outputs the obtained detection result to the display control unit 205. As a result, the information regarding the defects existing on the surface of the machined product which is the inspection object 1 is output to the display unit (not shown). Further, the detection processing unit 225 may output the obtained detection result to an external device such as a manufacturing control process computer or the like, and use the obtained detection result to create a defect report of the product. Good. Further, the detection processing unit 225 may store the information regarding the detection result of the defective portion in the storage unit 207 or the like as history information in association with the time information regarding the date and time when the information is calculated.

なお、以上の説明では、ロジックテーブルを利用して欠陥の種別や有害度を判別する場合について説明したが、欠陥の種別や有害度を判別する方法は上記例に限定されるわけではない。例えば、過去の操業データ及び当該操業データに基づく検定員による欠陥の種別及び有害度の特定結果を教師データとした学習処理により、ニューラルネットやサポートベクターマシン(SVM)等の判別器を生成し、かかる判別器を欠陥の種別や有害度の判別に利用してもよい。   In the above description, the case of determining the defect type and the degree of harm using the logic table has been described, but the method of determining the defect type and the degree of harm is not limited to the above example. For example, a discriminator such as a neural network or a support vector machine (SVM) is generated by a learning process in which past operation data and a result of identification of a defect type and a harmfulness degree by an inspector based on the operation data are used as teacher data, Such a discriminator may be used for discriminating the type of defect and the degree of harmfulness.

以下の実施例で示すように、従来の光切断法で生成される輝度画像に着目することで、粗面部の候補となる部位を見出すことは可能である。しかしながら、粗面部が微小な凹凸から構成されているがために、かかる輝度画像に着目したとしても、ノイズや埃等に起因する輝度画像の領域と粗面部との区別が困難であり、候補となる部位のうち、どの部分が粗面部に対応するかを判別することができなかった。一方、以上説明したように、本実施形態に係る検出処理部225では、線幅画像を用いて所定の閾値判定に基づく欠陥検出処理を行うことにより、従来の光切断法では区別が困難であった粗面部(すなわち、地肌残存部及び錆)の部位を、容易に顕在化させることができる。   As shown in the following examples, it is possible to find a candidate site for the rough surface portion by focusing on the luminance image generated by the conventional light cutting method. However, since the rough surface portion is composed of minute irregularities, even if attention is paid to such a luminance image, it is difficult to distinguish the area of the luminance image due to noise or dust from the rough surface portion, It was not possible to discriminate which part corresponds to the rough surface part. On the other hand, as described above, the detection processing unit 225 according to the present embodiment performs the defect detection processing based on the predetermined threshold value determination using the line width image, so that it is difficult to distinguish by the conventional optical cutting method. The rough surface portion (that is, the surface remaining portion and rust) can be easily made visible.

また、検出処理部225は、深さ画像及び輝度画像に基づく欠陥検出処理の際に、線幅画像に基づき粗面部(すなわち、地肌残存部及び錆)が検出された部位以外に対して、上記のような欠陥部位の検出処理を実施してもよい。これにより、深さ画像及び輝度画像に基づく欠陥検出処理の高速化を図ることが可能となる。   Also, the detection processing unit 225 performs the defect detection processing based on the depth image and the luminance image, with respect to a portion other than the portion where the rough surface portion (that is, the background residual portion and rust) is detected based on the line width image. You may implement the detection process of a defective part like this. This makes it possible to speed up defect detection processing based on the depth image and the luminance image.

また、上記のように、粗面部に対応する部位は、輝度画像においても、欠陥候補部位として抽出される。従って、検出処理部225は、線幅画像に基づき特定された粗面部の部位が、輝度画像においても欠陥候補部位として抽出されているか否かを確認して、検出結果のダブルチェックを行うようにしてもよい。   Further, as described above, the portion corresponding to the rough surface portion is also extracted as the defect candidate portion in the brightness image. Therefore, the detection processing unit 225 confirms whether or not the site of the rough surface portion specified based on the line width image is extracted as the defect candidate site also in the luminance image, and double-checks the detection result. May be.

以上、本実施形態に係る演算処理装置200が有する画像処理部203の構成について、詳細に説明した。   The configuration of the image processing unit 203 included in the arithmetic processing device 200 according to the present embodiment has been described above in detail.

なお、上述の説明では、深さ画像算出部219が深さ画像を算出する際に、差分演算処理やローパスフィルタ処理等の近似補正処理を実施する場合について説明した。しかしながら、かかる近似補正処理は、光切断線処理部217が光切断線特徴量を算出するに先立って、当該光切断線処理部217が実施してもよい。   In the above description, the case where the depth image calculation unit 219 performs an approximate correction process such as a difference calculation process or a low pass filter process when calculating the depth image has been described. However, the approximation correction processing may be performed by the light section line processing unit 217 before the light section line processing unit 217 calculates the light section line feature amount.

以上、本実施形態に係る演算処理装置200の機能の一例を示した。上記の各構成要素は、汎用的な部材や回路を用いて構成されていてもよいし、各構成要素の機能に特化したハードウェアにより構成されていてもよい。また、各構成要素の機能を、CPU等が全て行ってもよい。従って、本実施形態を実施する時々の技術レベルに応じて、適宜、利用する構成を変更することが可能である。   Heretofore, an example of the functions of the arithmetic processing device 200 according to the present embodiment has been shown. Each component described above may be configured by using a general-purpose member or circuit, or may be configured by hardware specialized for the function of each component. Further, the function of each component may be performed by the CPU or the like. Therefore, it is possible to appropriately change the configuration to be used according to the technical level at the time of implementing the present embodiment.

なお、上述のような本実施形態に係る演算処理装置の各機能を実現するためのコンピュータプログラムを作製し、パーソナルコンピュータ等に実装することが可能である。また、このようなコンピュータプログラムが格納された、コンピュータで読み取り可能な記録媒体も提供することができる。記録媒体は、例えば、磁気ディスク、光ディスク、光磁気ディスク、フラッシュメモリなどである。また、上記のコンピュータプログラムは、記録媒体を用いずに、例えばネットワークを介して配信してもよい。   Note that it is possible to create a computer program for realizing each function of the arithmetic processing device according to the present embodiment as described above, and install the computer program in a personal computer or the like. It is also possible to provide a computer-readable recording medium in which such a computer program is stored. The recording medium is, for example, a magnetic disk, an optical disk, a magneto-optical disk, a flash memory, or the like. Further, the above computer program may be distributed, for example, via a network without using a recording medium.

以上、本実施形態に係る表面性状検査装置10の構成について、詳細に説明した。本実施形態に係る表面性状検査装置10を利用することで、従来の光切断法に基づく装置と同様の装置構成で、機械加工面に残存する地肌残存部及び錆を検出することが可能となる。加えて、凹凸疵、表面模様等といった従来の光切断法に基づく検出も可能であることから、機械加工品の機械加工面全面に渡って、多岐に亘る不良部の検査が可能となる。   The configuration of the surface texture inspection device 10 according to this embodiment has been described above in detail. By using the surface texture inspection device 10 according to the present embodiment, it is possible to detect the background residual portion and rust remaining on the machined surface with the same device configuration as the device based on the conventional optical cutting method. . In addition, since it is possible to detect irregularities, surface patterns, etc. based on the conventional light cutting method, it is possible to inspect a wide variety of defective portions over the entire machined surface of the machined product.

更に、本実施形態に係る表面性状検査装置10の適用先は、上記のような特定の機械加工品に限定されるものではなく、不良部において、正常部と比較して粗度に違いが生じるような製品であれば、本実施形態に係る表面性状検査装置10を適用することができる。特に、視認性の低い、地肌残存部及び錆部の分布状況を2次元画像化することで、画像処理による不良部位の特定が容易となり、目視による検査においても視認性の良好な画像を利用することが可能となる。   Further, the application destination of the surface texture inspection apparatus 10 according to the present embodiment is not limited to the specific machined product as described above, and the roughness in the defective portion is different from that in the normal portion. If it is such a product, the surface texture inspection device 10 according to the present embodiment can be applied. In particular, by making a two-dimensional image of the distribution state of the background remaining portion and the rust portion, which has low visibility, it becomes easy to identify the defective portion by image processing, and an image with good visibility is used even in visual inspection. It becomes possible.

<表面性状検査方法について>
続いて、図15を参照しながら、本実施形態に係る表面性状検査方法の流れを簡単に説明する。図15は、本実施形態に係る表面性状検査方法の流れの一例を示した流れ図である。
<About surface property inspection method>
Subsequently, the flow of the surface texture inspection method according to the present embodiment will be briefly described with reference to FIG. FIG. 15 is a flow chart showing an example of the flow of the surface texture inspection method according to this embodiment.

まず、表面性状検査装置10の被検査体撮像装置100は、演算処理装置200の撮像制御部201による制御のもとで線状のレーザ光Lを用いて被検査体1である機械加工品の表面を撮像して、光切断画像を生成する(ステップS101)。その後、被検査体撮像装置100は、生成した光切断画像を演算処理装置200に出力する。演算処理装置200が備える画像処理部203のデータ取得部211は、かかる光切断画像の画像データを取得すると、取得した光切断画像を、被検査体1の移動方向に沿って、記憶部207等に設けられた画像メモリに順次格納していく。   First, the inspected object imaging apparatus 100 of the surface texture inspection apparatus 10 uses a linear laser beam L under the control of the imaging control unit 201 of the arithmetic processing device 200 to process a machined article which is the inspected object 1. The surface is imaged to generate a light section image (step S101). After that, the inspection object imaging device 100 outputs the generated light-section image to the arithmetic processing device 200. When the data acquisition unit 211 of the image processing unit 203 included in the arithmetic processing device 200 acquires the image data of the light-section image, the acquired light-section image is stored in the storage unit 207 or the like along the moving direction of the DUT 1. The images are sequentially stored in the image memory provided in.

次に、演算処理装置200が備える画像処理部203の縞画像フレーム生成部213は、取得した光切断画像を被検査体1の移動方向に沿って順に配列して、縞画像フレームを生成する(ステップS103)。縞画像フレーム生成部213は、生成した縞画像フレームを、光切断線処理部217に出力する。   Next, the striped image frame generation unit 213 of the image processing unit 203 included in the arithmetic processing device 200 sequentially arranges the acquired light-section images along the moving direction of the DUT 1 to generate a striped image frame ( Step S103). The striped image frame generation unit 213 outputs the generated striped image frame to the light section line processing unit 217.

光切断線処理部217は、生成された縞画像フレームを利用し、各光切断線について、所定の閾値Th以上の輝度を有する画素の画素数、当該画素の輝度の総和及び光切断線の変位量を算出する(ステップS105)。これら算出結果が、光切断線特徴量として利用される。算出された光切断線特徴量は、深さ画像算出部219、輝度画像算出部221及び線幅画像算出部223にそれぞれ出力される。   The light section line processing unit 217 uses the generated striped image frame and, for each light section line, the number of pixels having a brightness equal to or higher than a predetermined threshold Th, the sum of the brightness of the pixel, and the displacement of the light section line. The amount is calculated (step S105). These calculation results are used as the light section line feature amount. The calculated light section line feature amount is output to the depth image calculation unit 219, the luminance image calculation unit 221, and the line width image calculation unit 223, respectively.

深さ画像算出部219は、算出された光切断線特徴量(特に、光切断線の変位量に関する特徴量)を利用して、深さ画像を算出する(ステップS107)。また、輝度画像算出部221は、算出された光切断線特徴量(特に、輝線の画素数に関する特徴量、及び、輝度の総和に関する特徴量)を利用して、輝度画像を算出する(ステップS107)。更に、線幅画像算出部223は、算出された光切断線特徴量(特に、輝線の画素数に関する特徴量)を利用して、線幅画像を算出する(ステップS107)。深さ画像算出部219、輝度画像算出部221及び線幅画像算出部223は、算出した各画像を、検出処理部225に出力する。   The depth image calculation unit 219 calculates a depth image by using the calculated light cutting line feature amount (particularly, the feature amount relating to the displacement amount of the light cutting line) (step S107). In addition, the brightness image calculation unit 221 calculates the brightness image by using the calculated light-section line feature amount (particularly, the feature amount related to the number of pixels of the bright line and the feature amount related to the total brightness) (step S107). ). Further, the line width image calculation unit 223 calculates the line width image by using the calculated light section line feature amount (particularly, the feature amount regarding the number of pixels of the bright line) (step S107). The depth image calculation unit 219, the luminance image calculation unit 221, and the line width image calculation unit 223 output each calculated image to the detection processing unit 225.

続いて、検出処理部225は、算出された深さ画像、輝度画像及び線幅画像を利用して、被検査体1の表面性状の検出処理を実施する(ステップS109)。これにより、検出処理部225は、被検査体1の表面に存在する各種の欠陥部位について、欠陥の種別及び有害度を特定することが可能となる。以上のような流れにより、被検査体1である機械加工品の表面に存在する各種の欠陥が検出されることとなる。   Subsequently, the detection processing unit 225 performs the detection processing of the surface texture of the inspection object 1 by using the calculated depth image, luminance image, and line width image (step S109). As a result, the detection processing unit 225 can specify the type of defect and the degree of harmfulness of various defective portions existing on the surface of the inspection object 1. Through the above flow, various defects existing on the surface of the machined product which is the inspection object 1 will be detected.

以上、本実施形態に係る被検査体検査方法の流れの一例について、簡単に説明した。   Heretofore, an example of the flow of the inspection object inspection method according to the present embodiment has been briefly described.

<演算処理装置200のハードウェア構成について>
次に、図16を参照しながら、本実施形態に係る演算処理装置200のハードウェア構成について、詳細に説明する。図16は、本発明の実施形態に係る演算処理装置200のハードウェア構成を説明するためのブロック図である。
<About the hardware configuration of the arithmetic processing device 200>
Next, the hardware configuration of the arithmetic processing device 200 according to the present embodiment will be described in detail with reference to FIG. FIG. 16 is a block diagram for explaining the hardware configuration of the arithmetic processing device 200 according to the embodiment of the present invention.

演算処理装置200は、主に、CPU901と、ROM903と、RAM905と、を備える。また、演算処理装置200は、更に、バス907と、入力装置909と、出力装置911と、ストレージ装置913と、ドライブ915と、接続ポート917と、通信装置919とを備える。   The arithmetic processing device 200 mainly includes a CPU 901, a ROM 903, and a RAM 905. Further, the arithmetic processing device 200 further includes a bus 907, an input device 909, an output device 911, a storage device 913, a drive 915, a connection port 917, and a communication device 919.

CPU901は、中心的な処理装置及び制御装置として機能し、ROM903、RAM905、ストレージ装置913、又はリムーバブル記録媒体921に記録された各種プログラムに従って、演算処理装置200内の動作全般又はその一部を制御する。ROM903は、CPU901が使用するプログラムや演算パラメータ等を記憶する。RAM905は、CPU901が使用するプログラムや、プログラムの実行において適宜変化するパラメータ等を一次記憶する。これらはCPUバス等の内部バスにより構成されるバス907により相互に接続されている。   The CPU 901 functions as a central processing unit and a control unit, and controls the whole operation or a part thereof in the arithmetic processing unit 200 according to various programs recorded in the ROM 903, the RAM 905, the storage device 913, or the removable recording medium 921. To do. The ROM 903 stores programs used by the CPU 901, calculation parameters, and the like. The RAM 905 temporarily stores programs used by the CPU 901, parameters that change appropriately during execution of the programs, and the like. These are connected to each other by a bus 907 composed of an internal bus such as a CPU bus.

バス907は、ブリッジを介して、PCI(Peripheral Component Interconnect/Interface)バスなどの外部バスに接続されている。   The bus 907 is connected to an external bus such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge.

入力装置909は、例えば、マウス、キーボード、タッチパネル、ボタン、スイッチ及びレバーなどユーザが操作する操作手段である。また、入力装置909は、例えば、赤外線やその他の電波を利用したリモートコントロール手段(いわゆる、リモコン)であってもよいし、演算処理装置200の操作に対応したPDA等の外部接続機器923であってもよい。更に、入力装置909は、例えば、上記の操作手段を用いてユーザにより入力された情報に基づいて入力信号を生成し、CPU901に出力する入力制御回路などから構成されている。ユーザは、この入力装置909を操作することにより、演算処理装置200に対して各種のデータを入力したり処理動作を指示したりすることができる。   The input device 909 is an operation unit operated by a user, such as a mouse, a keyboard, a touch panel, a button, a switch, and a lever. The input device 909 may be, for example, a remote control unit (so-called remote controller) that uses infrared rays or other radio waves, or is an external connection device 923 such as a PDA corresponding to the operation of the arithmetic processing device 200. May be. Further, the input device 909 is composed of, for example, an input control circuit that generates an input signal based on the information input by the user using the above-described operation unit and outputs the input signal to the CPU 901. By operating the input device 909, the user can input various data to the arithmetic processing device 200 and instruct a processing operation.

出力装置911は、取得した情報をユーザに対して視覚的又は聴覚的に通知することが可能な装置で構成される。このような装置として、CRTディスプレイ装置、液晶ディスプレイ装置、プラズマディスプレイ装置、ELディスプレイ装置及びランプなどの表示装置や、スピーカ及びヘッドホンなどの音声出力装置や、プリンタ装置、携帯電話、ファクシミリなどがある。出力装置911は、例えば、演算処理装置200が行った各種処理により得られた結果を出力する。具体的には、表示装置は、演算処理装置200が行った各種処理により得られた結果を、テキスト又はイメージで表示する。他方、音声出力装置は、再生された音声データや音響データ等からなるオーディオ信号をアナログ信号に変換して出力する。   The output device 911 is configured by a device capable of visually or auditorily notifying the user of the acquired information. Such devices include display devices such as CRT display devices, liquid crystal display devices, plasma display devices, EL display devices and lamps, audio output devices such as speakers and headphones, printer devices, mobile phones, and facsimiles. The output device 911 outputs, for example, the results obtained by various processes performed by the arithmetic processing device 200. Specifically, the display device displays the results obtained by the various processes performed by the arithmetic processing device 200 as text or images. On the other hand, the audio output device converts an audio signal composed of reproduced audio data and acoustic data into an analog signal and outputs the analog signal.

ストレージ装置913は、演算処理装置200の記憶部の一例として構成されたデータ格納用の装置である。ストレージ装置913は、例えば、HDD(Hard Disk Drive)等の磁気記憶デバイス、半導体記憶デバイス、光記憶デバイス、又は光磁気記憶デバイス等により構成される。このストレージ装置913は、CPU901が実行するプログラムや各種データ、及び外部から取得した各種のデータなどを格納する。   The storage device 913 is a device for storing data configured as an example of a storage unit of the arithmetic processing device 200. The storage device 913 includes, for example, a magnetic storage device such as a HDD (Hard Disk Drive), a semiconductor storage device, an optical storage device, a magneto-optical storage device, or the like. The storage device 913 stores programs executed by the CPU 901, various data, various data acquired from the outside, and the like.

ドライブ915は、記録媒体用リーダライタであり、演算処理装置200に内蔵、あるいは外付けされる。ドライブ915は、装着されている磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリ等のリムーバブル記録媒体921に記録されている情報を読み出して、RAM905に出力する。また、ドライブ915は、装着されている磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリ等のリムーバブル記録媒体921に記録を書き込むことも可能である。リムーバブル記録媒体921は、例えば、CDメディア、DVDメディア、Blu−ray(登録商標)メディア等である。また、リムーバブル記録媒体921は、コンパクトフラッシュ(登録商標)(CompactFlash:CF)、フラッシュメモリ、又は、SDメモリカード(Secure Digital memory card)等であってもよい。また、リムーバブル記録媒体921は、例えば、非接触型ICチップを搭載したICカード(Integrated Circuit card)又は電子機器等であってもよい。   The drive 915 is a reader / writer for a recording medium, and is built in or externally attached to the arithmetic processing device 200. The drive 915 reads the information recorded on the removable recording medium 921 such as a mounted magnetic disk, optical disk, magneto-optical disk, or semiconductor memory, and outputs it to the RAM 905. The drive 915 can also write a record on a removable recording medium 921 such as a mounted magnetic disk, optical disk, magneto-optical disk, or semiconductor memory. The removable recording medium 921 is, for example, a CD medium, a DVD medium, a Blu-ray (registered trademark) medium, or the like. The removable recording medium 921 may be a CompactFlash (registered trademark) (CompactFlash: CF), a flash memory, an SD memory card (Secure Digital memory card), or the like. Further, the removable recording medium 921 may be, for example, an IC card (Integrated Circuit card) equipped with a non-contact type IC chip, an electronic device, or the like.

接続ポート917は、機器を演算処理装置200に直接接続するためのポートである。接続ポート917の一例として、USB(Universal Serial Bus)ポート、IEEE1394ポート、SCSI(Small Computer System Interface)ポート、RS−232Cポート、HDMI(登録商標)(High−Definition Multimedia Interface)ポート等がある。この接続ポート917に外部接続機器923を接続することで、演算処理装置200は、外部接続機器923から直接各種のデータを取得したり、外部接続機器923に各種のデータを提供したりする。   The connection port 917 is a port for directly connecting a device to the arithmetic processing device 200. Examples of the connection port 917 include a Universal Serial Bus (USB) port, an IEEE 1394 port, a SCSI (Small Computer System Interface) port, an RS-232C port, and an HDMI (registered trademark) (High-Definition Multimedia) port. By connecting the external connection device 923 to the connection port 917, the arithmetic processing device 200 acquires various data directly from the external connection device 923 or provides various data to the external connection device 923.

通信装置919は、例えば、通信網925に接続するための通信デバイス等で構成された通信インターフェースである。通信装置919は、例えば、有線もしくは無線LAN(Local Area Network)、Bluetooth(登録商標)、又はWUSB(Wireless USB)用の通信カード等である。また、通信装置919は、光通信用のルータ、ADSL(Asymmetric Digital Subscriber Line)用のルータ、又は、各種通信用のモデム等であってもよい。この通信装置919は、例えば、インターネットや他の通信機器との間で、例えばTCP/IP等の所定のプロトコルに則して信号等を送受信することができる。また、通信装置919に接続される通信網925は、有線又は無線によって接続されたネットワーク等により構成され、例えば、インターネット、家庭内LAN、社内LAN、赤外線通信、ラジオ波通信又は衛星通信等であってもよい。   The communication device 919 is, for example, a communication interface including a communication device or the like for connecting to the communication network 925. The communication device 919 is, for example, a wired or wireless LAN (Local Area Network), Bluetooth (registered trademark), or a communication card for WUSB (Wireless USB). The communication device 919 may be a router for optical communication, a router for ADSL (Asymmetrical Digital Subscriber Line), or a modem for various kinds of communication. The communication device 919 can send and receive signals and the like to and from the Internet and other communication devices, for example, according to a predetermined protocol such as TCP / IP. The communication network 925 connected to the communication device 919 is configured by a network connected by wire or wirelessly, and is, for example, the Internet, a home LAN, an in-house LAN, infrared communication, radio wave communication or satellite communication. May be.

以上、本発明の実施形態に係る演算処理装置200の機能を実現可能なハードウェア構成の一例を示した。上記の各構成要素は、汎用的な部材を用いて構成されていてもよいし、各構成要素の機能に特化したハードウェアにより構成されていてもよい。従って、本実施形態を実施する時々の技術レベルに応じて、適宜、利用するハードウェア構成を変更することが可能である。   The example of the hardware configuration capable of realizing the functions of the arithmetic processing device 200 according to the embodiment of the present invention has been described above. Each component described above may be configured by using a general-purpose member, or may be configured by hardware specialized for the function of each component. Therefore, it is possible to appropriately change the hardware configuration to be used according to the technical level at the time of implementing the present embodiment.

以下では、実施例を示しながら、本発明に係る表面性状検査装置及び表面性状検査方法について、具体的に説明する。なお、以下に示す実施例は、本発明に係る表面性状検査装置及び表面性状検査方法のあくまでも一例にすぎず、本発明に係る表面性状検査装置及び表面性状検査方法が下記の例に限定されるものではない。   Hereinafter, the surface texture inspection apparatus and the surface texture inspection method according to the present invention will be specifically described with reference to Examples. The following examples are merely examples of the surface texture inspection device and the surface texture inspection method according to the present invention, and the surface texture inspection device and the surface texture inspection method according to the invention are limited to the following examples. Not a thing.

以下に示す実施例では、図2Bに示した構成を有する被検査体撮像装置100を有する表面性状検査装置10を利用し、被検査体の表面性状の検査を行った。   In the examples described below, the surface texture inspection apparatus 10 having the inspection object imaging apparatus 100 having the configuration shown in FIG. 2B was used to inspect the surface texture of the inspection object.

本実施例では、被検査体1として、Feを主成分とする中間素材であるビレットを熱間成形した後の材料を研削することで製造された円盤状加工品を利用し、円盤状加工品の研削面(円盤の径方向に広がる面)を検査対象面とした。かかる円盤状加工品の直径は、860mmである。   In this embodiment, as the inspected object 1, a disk-shaped processed product manufactured by grinding a material after hot forming a billet, which is an intermediate material containing Fe as a main component, is used. The surface to be inspected (surface extending in the radial direction of the disk) was used as the inspection surface. The diameter of such a disk-shaped processed product is 860 mm.

被検査体撮像装置100の照明装置として、赤色レーザ光を出射する赤色LDモジュールを利用し、かかるモジュールから照射される点状レーザ光(出力:100mW)をシリンドリカルレンズに入射させることで、線状のレーザ光Lを得た。かかる線状のレーザ光Lは、円盤状加工品の半径(430mm)に対応する程度の長さ(図2Bにおけるx軸方向の長さ)となるように制御されて、回転している円盤状加工品の研削面に照射された。なお、被検査体1の表面に照射される線状のレーザ光Lの線幅を、0.25mm(250μm)とした。   A red LD module that emits a red laser beam is used as an illumination device of the imaging device 100 for an object to be inspected, and a point laser beam (output: 100 mW) emitted from such a module is incident on a cylindrical lens, whereby a linear shape is obtained. The laser light L of was obtained. The linear laser light L is controlled so as to have a length (length in the x-axis direction in FIG. 2B) corresponding to the radius (430 mm) of the disk-shaped processed product, and is rotating in the disk shape. The ground surface of the processed product was irradiated. The line width of the linear laser beam L with which the surface of the inspection object 1 is irradiated is set to 0.25 mm (250 μm).

エリアカメラ103,105として、2048画素×2048画素のCCD(画素サイズ:5.5μm×5.5μm)が撮像素子として搭載された市販のカメラを利用した。かかる撮像素子のフレームレートは、200fpsである。また、かかるカメラに装着されたレンズの焦点距離は24mmであり、画角は26°である。撮像される画像の画素サイズは0.25mm×0.25mmであり、線状のレーザ光Lの線幅は、撮像画像上では、2〜4画素の輝線の幅で撮像される。   As the area cameras 103 and 105, commercially available cameras each having a CCD of 2048 pixels × 2048 pixels (pixel size: 5.5 μm × 5.5 μm) mounted as an image pickup element were used. The frame rate of such an image sensor is 200 fps. The focal length of the lens mounted on the camera is 24 mm and the angle of view is 26 °. The pixel size of the imaged image is 0.25 mm × 0.25 mm, and the line width of the linear laser light L is captured with the width of the bright line of 2 to 4 pixels on the imaged image.

円盤状加工品が、径方向に直交し、かつ、研削面に平行な方向に回転している際に、PLGから出力される信号に同期して、2台のエリアカメラにより連続的に画像を取得した。具体的には、円盤状加工品が5msecの間で回転する毎に、撮像を行った。なお、照明装置101は、鉛直方向上方に設け、鉛直方向下向きに線状のレーザ光Lを照射し、2台のエリアカメラの設置角度φは、±45度とした。なお、画像の取りこみピッチを0.25mmとして、撮像素子の画素サイズに一致させた。   When the disk-shaped processed product is rotating in the direction perpendicular to the radial direction and parallel to the grinding surface, the images are continuously displayed by the two area cameras in synchronization with the signal output from the PLG. I got it. Specifically, imaging was performed every time the disk-shaped processed product rotated for 5 msec. The illuminating device 101 is provided vertically upward, irradiates the linear laser light L vertically downward, and the installation angle φ of the two area cameras is ± 45 degrees. The image pickup pitch was set to 0.25 mm to match the pixel size of the image sensor.

上記のような被検査体撮像装置100により得られた光切断画像を、先だって説明したような構成を有する演算処理装置200により画像処理し、円盤状加工品の研削面の表面性状を検査した。なお、線幅画像の算出に際し、線幅閾値Th2は5画素に設定し、先だって言及したような、8bitフルスケールを利用した輝度値の割り当てを行った。   The light-section image obtained by the above-described device to be inspected 100 is subjected to image processing by the arithmetic processing device 200 having the configuration described above, and the surface texture of the ground surface of the disk-shaped processed product is inspected. In calculating the line width image, the line width threshold Th2 was set to 5 pixels, and the brightness value was assigned using the 8-bit full scale as previously mentioned.

得られた光切断画像のうち、正常部に対応する部分の光切断画像、凹部に対応する部分の光切断画像、及び、地肌残存部に対応する部分の光切断画像を、図17にまとめて示した。図17から明らかなように、正常部に対応する光切断画像では、光切断線の線幅がほぼ一定のまま、ほぼ真っすぐな線分が撮像されており、凹部に対応する光切断画像では、光切断線の線幅はほぼ変わることなく、凹部に対応する位置に光切断線の屈曲が生じていることがわかる。一方、地肌残存部に対応する光切断画像では、正常部に対応する光切断画像と比較すると明らかなように、光切断線の線幅が拡大しているのが確認された。   Of the obtained light-section images, the light-section image of the portion corresponding to the normal portion, the light-section image of the portion corresponding to the concave portion, and the light-section image of the portion corresponding to the background remaining portion are summarized in FIG. Indicated. As is clear from FIG. 17, in the light-section image corresponding to the normal part, a substantially straight line segment is imaged while the line width of the light-section line remains substantially constant, and in the light-section image corresponding to the recess, It can be seen that the line width of the light cutting line remains almost unchanged, and the light cutting line is bent at a position corresponding to the recess. On the other hand, in the light section image corresponding to the background remaining portion, it was confirmed that the line width of the light section line was enlarged, as is clear when compared with the light section image corresponding to the normal portion.

それぞれのエリアカメラから得られた光切断画像を利用して、演算処理装置200により算出された輝度画像、深さ画像及び線幅画像を、まとめて図18に示した。なお、図18において、「エリアカメラ1」は、円盤状加工品の回転方向の下流側に設けたエリアカメラであり、「エリアカメラ2」は、円盤状加工品の回転方向の上流側に設けたエリアカメラである。   The light intensity image, the depth image, and the line width image calculated by the arithmetic processing device 200 using the light section images obtained from the respective area cameras are collectively shown in FIG. In FIG. 18, “area camera 1” is an area camera provided on the downstream side in the rotation direction of the disk-shaped processed product, and “area camera 2” is provided on the upstream side in the rotation direction of the disk-shaped processed product. Area camera.

図18に示した2種類の輝度画像に着目すると明らかなように、輝度画像では、埃や微小凹凸に起因する周辺のノイズからの反射光の影響を受け、欠陥候補部位となる白く見える部分が多数存在していることがわかる。かかる輝度画像を参照したのみでは、本発明で着目している地肌残存部を顕在化させることが困難であることがわかる。   As is clear from the attention to the two types of luminance images shown in FIG. 18, in the luminance image, a white-looking portion, which is a defect candidate portion, is affected by reflected light from surrounding noise caused by dust or minute unevenness. It turns out that there are many. It can be seen that it is difficult to reveal the background residual portion which is the focus of the present invention only by referring to such a luminance image.

同様に、図18に示した2種類の深さ画像に注目した場合、深さ画像では、欠陥候補部位となる灰色の部分が多数存在し、かかる深さ画像を参照したのみでは、本発明で着目している地肌残存部を顕在化させることが困難であることがわかる。   Similarly, when attention is paid to the two types of depth images shown in FIG. 18, in the depth image, there are a large number of gray portions that are defect candidate portions, and the present invention can be performed only by referring to such depth images. It can be seen that it is difficult to make the remaining surface of the surface of interest noticeable.

一方、図18に示した2種類の線幅画像では、周辺ノイズの影響はあるものの、地肌残存部とそれ以外の部分とで画像の状態が明確に異なっており、地肌残存部を顕在化させることが可能であることが明らかとなった。かかる図からも明らかなように、線幅画像を利用することで、地肌残存部と周辺ノイズとの識別性も高いことが確認できた。   On the other hand, in the two types of line width images shown in FIG. 18, although there is an influence of peripheral noise, the image state is clearly different between the background residual portion and other portions, and the background residual portion is made visible. It became clear that it is possible. As is clear from this figure, it was confirmed that by using the line width image, the distinguishability between the background residual part and the ambient noise is high.

また、2つのエリアカメラから算出した2種類の線幅画像を比較した結果、エリアカメラ1からの光切断画像に基づく線幅画像の方が、エリアカメラ2からの光切断画像に基づく線幅画像よりも鮮明であることがわかる。かかる結果は、被検査体1とした円盤状加工品の地肌残存部には、表面の方向性があることを示唆している。このような場合であっても、線状のレーザ光Lを複数の方向から撮像することで、より確実に地肌残存部を顕在化することが可能であり、地肌残存部や錆を過小評価してしまう可能性を回避できることが確認できた。   Further, as a result of comparing two types of line width images calculated from two area cameras, the line width image based on the light section image from the area camera 1 is the line width image based on the light section image from the area camera 2. It turns out that it is clearer than. These results suggest that the surface-remaining portion of the disc-shaped processed product used as the inspection object 1 has surface orientation. Even in such a case, by capturing the linear laser beam L from a plurality of directions, it is possible to more surely reveal the background residual portion and to underestimate the background residual portion and rust. It was confirmed that the possibility of being lost can be avoided.

以上、添付図面を参照しながら本発明の好適な実施形態について詳細に説明したが、本発明はかかる例に限定されない。本発明の属する技術の分野における通常の知識を有する者であれば、特許請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本発明の技術的範囲に属するものと了解される。   The preferred embodiments of the present invention have been described above in detail with reference to the accompanying drawings, but the present invention is not limited to these examples. It is obvious that a person having ordinary knowledge in the technical field to which the present invention pertains can come up with various changes or modifications within the scope of the technical idea described in the claims. Of course, it is understood that these also belong to the technical scope of the present invention.

10 表面性状検査装置
100 被検査体撮像装置
101 照明装置
103,105 エリアカメラ
200 演算処理装置
201 撮像制御部
203 画像処理部
205 表示制御部
207 記憶部
211 データ取得部
213 縞画像フレーム生成部
215 画像算出部
217 光切断線処理部
219 深さ画像算出部
221 輝度画像算出部
223 線幅画像算出部
225 検出処理部
10 surface texture inspection device 100 inspected object imaging device 101 illumination device 103, 105 area camera 200 arithmetic processing device 201 imaging control unit 203 image processing unit 205 display control unit 207 storage unit 211 data acquisition unit 213 striped image frame generation unit 215 image Calculation unit 217 Light section line processing unit 219 Depth image calculation unit 221 Luminance image calculation unit 223 Line width image calculation unit 225 Detection processing unit

Claims (9)

中間素材を素材とした機械加工品を被検査体とする表面性状検査装置であって、
移動する前記被検査体の表面に線状のレーザ光を照射し、当該線状のレーザ光が照射された前記表面を撮像することで、前記表面における前記線状のレーザ光の撮像画像である光切断画像を前記被検査体の移動方向に沿って複数生成する被検査体撮像装置と、
前記被検査体撮像装置により生成された前記光切断画像に対して画像処理を行い、前記被検査体の表面の表面性状を判断する演算処理装置と、
を備え、
前記被検査体撮像装置は、
前記線状のレーザ光を前記被検査体の表面に対して照射する照明装置と、
前記線状のレーザ光が照射された前記表面を撮像する撮像装置と、
を有し、
前記演算処理装置は、
複数の前記光切断画像それぞれにおける前記線状のレーザ光の照射部分に対応する線分である光切断線を前記移動方向に沿って順に配列させた縞画像フレームに基づいて、前記被検査体の表面の凹凸状態を表す深さ画像と、前記被検査体の表面における前記線状のレーザ光の輝度分布を表す輝度画像と、前記被検査体の表面における前記線状のレーザ光の前記移動方向の線幅の分布を輝度値に対応づけた線幅画像と、を算出する画像算出部と、
算出された前記深さ画像、前記輝度画像及び前記線幅画像に基づいて、前記被検査体の表面性状を検出する検出処理部と、
を有し、
前記検出処理部は、前記線幅画像に基づいて、前記中間素材を素材とした地肌残存部又は錆が、前記被検査体の表面に存在しているか否かを検出する、表面性状検査装置。
A surface texture inspection device that uses a machined product made of an intermediate material as an inspection object,
By irradiating the surface of the moving object to be inspected with a linear laser beam and by imaging the surface irradiated with the linear laser beam, it is a captured image of the linear laser beam on the surface. An object-to-be-inspected imaging device that generates a plurality of light-section images along the moving direction of the object to be inspected;
An arithmetic processing device that performs image processing on the light-section image generated by the inspection object imaging device to determine the surface texture of the surface of the inspection object,
Equipped with
The inspected device imaging device,
An illumination device that irradiates the surface of the inspected object with the linear laser beam,
An imaging device for imaging the surface irradiated with the linear laser light,
Have
The arithmetic processing unit,
Based on a striped image frame in which light cutting lines, which are line segments corresponding to the irradiation portion of the linear laser light in each of the plurality of light cutting images, are arranged in order along the moving direction, Depth image showing the unevenness of the surface, a luminance image showing the luminance distribution of the linear laser light on the surface of the inspection object, and the moving direction of the linear laser light on the surface of the inspection object An image calculation unit that calculates a line width image in which the distribution of the line width of is associated with a luminance value,
Based on the calculated depth image, the brightness image and the line width image, a detection processing unit for detecting the surface texture of the inspection object,
Have
The surface texture inspection device, wherein the detection processing unit detects, based on the line width image, whether or not a background residual portion or rust made of the intermediate material is present on the surface of the inspection object.
前記検出処理部は、前記線幅画像の輝度値が、前記地肌残存部及び錆の検出のための第1の閾値以上か否かに基づき、前記地肌残存部及び前記錆を検出する、請求項1に記載の表面性状検査装置。   The detection processing unit detects the background residual portion and the rust based on whether or not the luminance value of the line width image is equal to or higher than a first threshold value for detecting the background residual portion and rust, 1. The surface texture inspection device according to 1. 前記画像算出部は、前記縞画像フレームにおけるそれぞれの前記光切断線について、当該光切断線の延伸方向の各位置での前記線幅と所定の閾値線幅との差分を算出し、算出された前記差分の大きさに応じて輝度値を割り当てることで、前記線幅画像を算出する、請求項1又は2に記載の表面性状検査装置。   The image calculation unit calculates, for each light cutting line in the striped image frame, a difference between the line width and a predetermined threshold line width at each position in the extending direction of the light cutting line, and is calculated. The surface texture inspection apparatus according to claim 1, wherein the line width image is calculated by assigning a brightness value according to the magnitude of the difference. 前記画像算出部は、前記被検査体の移動方向に沿った前記光切断線の線幅方向の重心位置を算出し、前記光切断画像に対して予め指定した移動方向の位置である基準位置と前記重心位置との変位量に基づいて、前記深さ画像を算出する、請求項1〜3の何れか1項に記載の表面性状検査装置。   The image calculation unit calculates the barycentric position in the line width direction of the light cutting line along the moving direction of the inspection object, and a reference position that is a position in the moving direction designated in advance with respect to the light cutting image. The surface texture inspection device according to claim 1, wherein the depth image is calculated based on the amount of displacement from the position of the center of gravity. 前記検出処理部は、
前記深さ画像及び前記輝度画像の輝度値が、欠陥部位特定のための第2の閾値以上であるか否かに基づいて欠陥部位を特定し、
特定した前記欠陥部位について、当該欠陥部位の形態及び輝度値に関する特徴量情報を抽出し、
抽出した特徴量情報に基づいて、前記被検査体の表面に存在する欠陥を判別する、請求項1〜4の何れか1項に記載の表面性状検査装置。
The detection processing unit,
The depth value and the brightness value of the brightness image specify a defective portion based on whether or not a second threshold value for specifying the defective portion,
For the identified defective portion, the feature amount information regarding the form and the brightness value of the defective portion is extracted,
The surface texture inspection apparatus according to claim 1, wherein a defect existing on the surface of the inspection object is determined based on the extracted feature amount information.
前記検出処理部は、前記深さ画像及び前記輝度画像において、前記線幅画像に基づき前記地肌残存部又は前記錆が検出された部位以外で、前記欠陥部位の検出を実施する、請求項5に記載の表面性状検査装置。   In the depth image and the luminance image, the detection processing unit performs detection of the defective portion other than the portion where the background residual portion or the rust is detected based on the line width image, The surface texture inspection device described. 前記被検査体撮像装置は、前記線状のレーザ光が照射された前記表面を、前記移動方向の上流側及び前記移動方向の下流側のそれぞれから撮像する少なくとも2つの前記撮像装置を有する、請求項1〜6の何れか1項に記載の表面性状検査装置。   The imaging device for an object to be inspected has at least two imaging devices for imaging the surface irradiated with the linear laser beam from an upstream side in the moving direction and a downstream side in the moving direction, respectively. Item 7. The surface texture inspection device according to any one of items 1 to 6. 中間素材を素材とした機械加工品を被検査体とする表面性状検査方法であって、
移動する前記被検査体の表面に照明装置から線状のレーザ光を照射し、当該線状のレーザ光が照射された前記表面を撮像装置により撮像することで、前記表面における前記線状のレーザ光の撮像画像である光切断画像を前記被検査体の移動方向に沿って複数生成する光切断画像生成ステップと、
演算処理装置により、複数の前記光切断画像それぞれにおける前記線状のレーザ光の照射部分に対応する線分である光切断線を前記移動方向に沿って順に配列させた縞画像フレームに基づいて、前記被検査体の表面の凹凸状態を表す深さ画像と、前記被検査体の表面における前記線状のレーザ光の輝度分布を表す輝度画像と、前記被検査体の表面における前記線状のレーザ光の前記移動方向の線幅の分布を輝度値に対応づけた線幅画像と、を算出する画像算出ステップと、
演算処理装置により、算出された前記深さ画像、前記輝度画像及び前記線幅画像に基づいて前記被検査体の表面性状を検出する検出処理ステップと、
を含み、
前記検出処理ステップでは、前記線幅画像に基づいて、前記中間素材を素材とした地肌残存部又は錆が、前記被検査体の表面に存在しているか否かが検出される、表面性状検査方法。
A method for inspecting a surface property of a machined product made of an intermediate material as an inspected object,
By irradiating the surface of the moving object to be inspected with linear laser light from an illuminating device, and by imaging the surface irradiated with the linear laser light with an imaging device, the linear laser on the surface is obtained. A light-section image generating step of generating a plurality of light-section images that are captured images of light along the moving direction of the object to be inspected;
Based on a striped image frame in which the optical processing line is arranged in order along the moving direction, which is a line segment corresponding to the irradiation portion of the linear laser light in each of the plurality of light cutting images, by the processing device. A depth image showing the concavo-convex state of the surface of the inspection object, a luminance image showing the luminance distribution of the linear laser light on the surface of the inspection object, and the linear laser on the surface of the inspection object An image calculation step of calculating a line width image in which the distribution of the line width in the moving direction of light is associated with a luminance value,
A detection processing step of detecting a surface texture of the inspected object based on the calculated depth image, the brightness image, and the line width image by an arithmetic processing device,
Including,
In the detection processing step, based on the line width image, it is detected whether or not a background residual portion or rust made of the intermediate material is present on the surface of the inspection object, a surface texture inspection method. .
中間素材を素材とした機械加工品を被検査体とし、移動する前記被検査体の表面に線状のレーザ光を照射し、当該線状のレーザ光が照射された前記表面を撮像することで、前記表面における前記線状のレーザ光の撮像画像である光切断画像を前記被検査体の移動方向に沿って複数生成する被検査体撮像装置と相互に通信が可能なコンピュータに、
生成された複数の前記光切断画像それぞれにおける前記線状のレーザ光の照射部分に対応する線分である光切断線を前記移動方向に沿って順に配列させた縞画像フレームに基づいて、前記被検査体の表面の凹凸状態を表す深さ画像と、前記被検査体の表面における前記線状のレーザ光の輝度分布を表す輝度画像と、前記被検査体の表面における前記線状のレーザ光の前記移動方向の線幅の分布を輝度値に対応づけた線幅画像と、を算出する画像算出機能と、
算出された前記深さ画像、前記輝度画像及び前記線幅画像に基づいて前記被検査体の表面性状を検出する検出処理機能と、
を実現させ、
前記検出処理機能は、前記線幅画像に基づいて、前記中間素材を素材とした地肌残存部又は錆が、前記被検査体の表面に存在しているか否かを検出する、プログラム。
By using a machined product made of an intermediate material as the inspection object, irradiating the surface of the moving inspection object with a linear laser beam, and imaging the surface irradiated with the linear laser beam. A computer capable of mutually communicating with a device under test imaging device that generates a plurality of light-section images that are captured images of the linear laser light on the surface along the moving direction of the device under test,
Based on a striped image frame in which light cutting lines, which are line segments corresponding to the irradiation portion of the linear laser light in each of the plurality of generated light cutting images, are sequentially arranged along the moving direction, Depth image showing the concavo-convex state of the surface of the inspection object, a luminance image showing the luminance distribution of the linear laser light on the surface of the inspection object, and the linear laser light on the surface of the inspection object An image calculation function for calculating a line width image in which the distribution of the line width in the moving direction is associated with a luminance value,
A detection processing function of detecting the surface texture of the inspected object based on the calculated depth image, the luminance image, and the line width image,
And realize
The detection processing function is a program for detecting, based on the line width image, whether or not a background residual portion or rust made of the intermediate material is present on the surface of the inspection object.
JP2016185976A 2016-09-23 2016-09-23 Surface texture inspection device, surface texture inspection method and program Active JP6683088B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016185976A JP6683088B2 (en) 2016-09-23 2016-09-23 Surface texture inspection device, surface texture inspection method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016185976A JP6683088B2 (en) 2016-09-23 2016-09-23 Surface texture inspection device, surface texture inspection method and program

Publications (2)

Publication Number Publication Date
JP2018048979A JP2018048979A (en) 2018-03-29
JP6683088B2 true JP6683088B2 (en) 2020-04-15

Family

ID=61766186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016185976A Active JP6683088B2 (en) 2016-09-23 2016-09-23 Surface texture inspection device, surface texture inspection method and program

Country Status (1)

Country Link
JP (1) JP6683088B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019171474A1 (en) * 2018-03-06 2019-09-12 日本製鉄株式会社 Surface property inspection device, surface property inspection method, and program
KR102011790B1 (en) * 2018-05-16 2019-08-19 라온피플 주식회사 Method and appratus for inspecting product using laser
JP7359383B2 (en) * 2019-10-25 2023-10-11 国立大学法人 新潟大学 Corrosion diagnosis device, corrosion diagnosis system, corrosion diagnosis method, and program
JP7431195B2 (en) 2021-06-03 2024-02-14 東芝三菱電機産業システム株式会社 Inspection device for planar shape measurement system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001191206A (en) * 1999-11-02 2001-07-17 Nippon Steel Corp Surface defect removing method for steel plate
FI20000032A0 (en) * 2000-01-07 2000-01-07 Spectra Physics Visiontech Oy Arrangement and method of surface inspection
JP2002346925A (en) * 2001-05-29 2002-12-04 Ryoei Engineering Kk Method of determining grinding surface quality and device therefor
JP5488953B2 (en) * 2008-09-17 2014-05-14 新日鐵住金株式会社 Method and apparatus for inspection of uneven surface
JP5659540B2 (en) * 2009-04-15 2015-01-28 Jfeスチール株式会社 Steel plate surface defect inspection method and apparatus
JP5742655B2 (en) * 2011-01-14 2015-07-01 新日鐵住金株式会社 Defect detection apparatus and defect detection method

Also Published As

Publication number Publication date
JP2018048979A (en) 2018-03-29

Similar Documents

Publication Publication Date Title
JP6447728B2 (en) Inspected object imaging apparatus, inspected object imaging method, surface inspection apparatus, and surface inspection method
JP6683088B2 (en) Surface texture inspection device, surface texture inspection method and program
JP5742655B2 (en) Defect detection apparatus and defect detection method
JP6515344B2 (en) Defect detection apparatus and defect detection method
JP5672480B2 (en) Apparatus and method for determining shape of terminal end of bead
JP6696278B2 (en) Drift inspection equipment
JP6079948B1 (en) Surface defect detection device and surface defect detection method
JP4150390B2 (en) Appearance inspection method and appearance inspection apparatus
JP6119926B1 (en) Metal body shape inspection apparatus and metal body shape inspection method
US10527410B2 (en) Shape measurement apparatus and shape measurement method
JP4739044B2 (en) Appearance inspection device
JPWO2016208626A1 (en) Surface defect detection method, surface defect detection apparatus, and steel material manufacturing method
JP6481216B1 (en) Tubular body surface inspection method and tubular body surface inspection apparatus
JP6451839B2 (en) Shape inspection method, shape inspection apparatus, and program
JP6481217B1 (en) Tubular body surface inspection apparatus and tubular body surface inspection method
JP5655045B2 (en) Optical surface defect inspection apparatus and optical surface defect inspection method
JP6417948B2 (en) Drift gauge and drift inspection method
US20230020684A1 (en) Laser based inclusion detection system and methods
He et al. An effective MID-based visual defect detection method for specular car body surface
WO2019171474A1 (en) Surface property inspection device, surface property inspection method, and program
JP5251189B2 (en) Line-shaped object detection apparatus and line-shaped object detection method used for the line-shaped object detection apparatus
TWI550425B (en) Method and apparatus for fusing 2d image and 3d point cloud data and the storage medium thereof
Yan et al. A boosted decision tree approach to shadow detection in scanning electron microscope (SEM) images for machine vision applications
JPH03142576A (en) Picture processing method
JP4035558B2 (en) Surface inspection device

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190208

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190415

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190508

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200214

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: 20200225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200309

R151 Written notification of patent or utility model registration

Ref document number: 6683088

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151