JP4837541B2 - End face shape inspection method and apparatus - Google Patents

End face shape inspection method and apparatus Download PDF

Info

Publication number
JP4837541B2
JP4837541B2 JP2006340010A JP2006340010A JP4837541B2 JP 4837541 B2 JP4837541 B2 JP 4837541B2 JP 2006340010 A JP2006340010 A JP 2006340010A JP 2006340010 A JP2006340010 A JP 2006340010A JP 4837541 B2 JP4837541 B2 JP 4837541B2
Authority
JP
Japan
Prior art keywords
face
shape
contour line
outermost contour
measured
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006340010A
Other languages
Japanese (ja)
Other versions
JP2008151649A (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.)
Showa Denko KK
Original Assignee
Showa Denko KK
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 Showa Denko KK filed Critical Showa Denko KK
Priority to JP2006340010A priority Critical patent/JP4837541B2/en
Publication of JP2008151649A publication Critical patent/JP2008151649A/en
Application granted granted Critical
Publication of JP4837541B2 publication Critical patent/JP4837541B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、たとえば複写機の感光ドラム基体等の円筒体または円柱体の端面形状を検査する方法等に関する。   The present invention relates to a method for inspecting the shape of an end surface of a cylindrical body or columnar body such as a photosensitive drum base of a copying machine, for example.

種々の被測定体に対して、その形状や寸法等を被測定体をカメラで撮影した画像に基づいて測定することが考えられる。   It is conceivable to measure the shape, dimensions, etc. of various measured objects based on images obtained by photographing the measured object with a camera.

レンズで立体物を撮影した場合、画像の中心よりも周辺が大きくもしくは曲がって写ってしまう歪みが発生する。このような歪みに対応するため、たとえば下記特許文献1には画像の中心と周辺の倍率を変えて歪みを除去する方法が提案されている。また、下記特許文献2では、レーザーをカメラ軸と平行に被測定体に投影して、そのレーザー情報を基準として、撮影画像の位置関係を計測する方法が提案されている。   When a three-dimensional object is photographed with a lens, distortion occurs in which the periphery is larger or bent than the center of the image. In order to cope with such distortion, for example, Patent Document 1 below proposes a method of removing distortion by changing the magnification between the center and the periphery of an image. In Patent Document 2 below, a method is proposed in which a laser is projected onto a measurement object parallel to the camera axis, and the positional relationship between captured images is measured using the laser information as a reference.

また、下記特許文献3には、実空間における対象物体のカメラ画像と、対象物体の種々の3次元姿勢を画像化した複数のモデル画像をデータベース化した画像照合データデーストを画像照合することで、実空間における対象物体の3次元姿勢を推定するモデル画像照合における3次元姿勢の補正手法が開示されている。この文献では、カメラ画像とモデル画像の重心の視線差等に基づいて、暫定的に推定した3次元姿勢を回転補正することが提案されている。
特開平11−161779号公報 特開2006−23262号公報 特開2004−362128号公報
In Patent Document 3 below, image collation is performed by comparing a camera image of a target object in a real space and an image verification data data that is a database of a plurality of model images obtained by imaging various three-dimensional postures of the target object. A method for correcting a three-dimensional posture in model image matching for estimating a three-dimensional posture of a target object in real space is disclosed. In this document, it is proposed to rotationally correct a provisionally estimated three-dimensional posture based on a line-of-sight difference between the center of gravity of a camera image and a model image.
JP-A-11-161779 JP 2006-23262 A JP 2004-362128 A

しかしながら、従来、三角法を用いる比較的高価な立体計測装置等によらず、カメラによる撮影画像に基づいて、被測定体の端部の形状を正確に測定する方法は提案されていない。   However, conventionally, no method has been proposed for accurately measuring the shape of the end of the object to be measured based on the image captured by the camera, regardless of the relatively expensive three-dimensional measurement device using the trigonometric method.

すなわち、カメラ軸方向に高さ(奥行き)を有しない被測定体であれば、撮像画像内における被測定体の輪郭線の位置を検出すれば、レンズの歪み等を補正するだけで端部の位置を得ることができる。   In other words, if the object to be measured does not have a height (depth) in the camera axis direction, detecting the position of the contour line of the object to be measured in the captured image will only correct the distortion of the lens. The position can be obtained.

ところが、画角を有する通常のカメラでは撮影画像内の位置によって撮影角度が異なるため、カメラ軸方向に高さを有する被測定体の場合、撮影角度と端部の形状の関係によっては、端部を構成する高さ位置の異なる部位が撮影される可能性がある。   However, in a normal camera having an angle of view, the shooting angle varies depending on the position in the captured image. Therefore, in the case of a measured object having a height in the camera axis direction, depending on the relationship between the shooting angle and the shape of the end, There is a possibility that parts having different height positions constituting the image are photographed.

このため、被測定体毎に置かれる位置が一定でなく、あるいは寸法や形状が異なる場合には、撮影機会毎に撮影角度条件が異なり、条件によっては誤差が大きくなって正確な形状を検出できないという問題が生じる。   For this reason, when the position to be measured for each object to be measured is not constant, or the dimensions and shape are different, the photographing angle condition differs for each photographing opportunity, and depending on the condition, the error becomes large and an accurate shape cannot be detected. The problem arises.

本発明は上記課題に鑑みてなされたものであり、被測定体がカメラ軸方向に高さを有するものであっても、その端面の形状を簡易にかつ正確に評価することのできる検査方法等を提供することを目的とする。   The present invention has been made in view of the above problems, and an inspection method or the like that can easily and accurately evaluate the shape of an end surface of a measured object even if the measured object has a height in the camera axis direction. The purpose is to provide.

上記課題を解決するため、本発明は、以下の手段を提供する。すなわち、
[1]円筒形状または円柱形状の被測定体の端面を、該端面に略平行な方向から、画角を有するカメラにより撮影し、
撮影画像から被測定体の端面の最外輪郭線を検出し、
検出した最外輪郭線の曲線形状が、その最外輪郭線の前記撮影画像内における位置に応じた曲線形状であるか否かにより、端面の形状を評価することを特徴とする端面形状検査方法。
In order to solve the above problems, the present invention provides the following means. That is,
[1] An end surface of a cylindrical or columnar object to be measured is photographed with a camera having an angle of view from a direction substantially parallel to the end surface;
Detect the outermost contour of the end face of the measured object from the captured image,
End face shape inspection method, wherein the shape of the end face is evaluated based on whether or not the detected curve shape of the outermost contour line is a curved shape corresponding to the position of the outermost contour line in the captured image .

[2]検出した最外輪郭線の前記撮影画像内の位置に、理想的な真円形状の端面の最外輪郭線が検出される場合の曲線形状を算出し、
検出した最外輪郭線の曲線形状を、前記理想的な端面の最外輪郭線の曲線形状と比較することにより、当該被測定体の端面の形状を評価する前項1に記載の端面形状検査方法。
[2] Calculate a curve shape when an outermost contour line of an ideal perfect circular shape is detected at a position in the captured image of the detected outermost contour line,
The end face shape inspection method according to item 1 above, wherein the shape of the end face of the measured object is evaluated by comparing the detected curve shape of the outermost outline with the curve shape of the outermost outline of the ideal end face. .

[3]検出した最外輪郭線の曲線形状の画像を、前記理想的な端面の最外輪郭線の曲線形状の画像と比較することにより、当該被測定体の端面の形状を評価する前項2に記載の端面形状検査方法。   [3] The above item 2 for evaluating the shape of the end face of the measured object by comparing the detected image of the curved shape of the outermost contour line with the image of the curved shape of the outermost contour line of the ideal end face. The end face shape inspection method according to 1.

[4]検出した最外輪郭線の曲線形状の指標となる所定の指標値を、前記理想的な端面の最外輪郭線の曲線形状の前記指標値と比較することにより、当該被測定体の端面の形状を評価する前項2に記載の端面形状検査方法。   [4] By comparing a predetermined index value as an index of the detected curve shape of the outermost contour line with the index value of the curve shape of the outermost contour line of the ideal end face, 3. The end face shape inspection method according to item 2 above, wherein the end face shape is evaluated.

[5]被測定体にバックライト照明を照射して撮影を行う前項1〜4のいずれかに記載の端部位置測定方法。   [5] The end position measuring method according to any one of the above items 1 to 4, wherein the object to be measured is irradiated with backlight illumination to perform imaging.

[6]前記端面の形状を評価するとともに、
検出した最外輪郭線の前記撮影画像内における位置に応じて、当該最外輪郭線として撮影されている部位の高さ位置を判別し、
前記撮影画像内における当該最外輪郭線の位置を、当該最外輪郭線の前記高さ位置に応じて補正することにより、当該最外輪郭線として撮影されている被測定体の端面のカメラ軸方向に交差する方向についての位置を算出する前項1〜5のいずれかに記載の端面形状検査方法。
[6] While evaluating the shape of the end face,
According to the position of the detected outermost contour line in the captured image, determine the height position of the part imaged as the outermost contour line,
By correcting the position of the outermost contour line in the captured image in accordance with the height position of the outermost contour line, the camera axis of the end face of the measurement object being photographed as the outermost contour line 6. The end face shape inspection method according to any one of items 1 to 5, wherein a position in a direction intersecting the direction is calculated.

[7]算出した被測定体の端面の位置に基づいて、当該被測定体の長さ寸法を算出する前項6に記載の端面形状検査方法。   [7] The end face shape inspection method according to [6], wherein a length dimension of the measurement object is calculated based on the calculated position of the end face of the measurement object.

「8」被測定体の両端面を撮影し、
この撮影画像に基づいて両端面の形状評価を行うとともに、
この撮影画像に基づいて両端面の位置を算出し、
算出した両端面の位置関係に基づいて当該被測定体の長さ寸法を算出する前項7に記載の端面形状検査方法。
“8” Photograph both end faces of the object to be measured,
While evaluating the shape of both end faces based on this captured image,
Calculate the position of both end faces based on this captured image,
8. The end face shape inspection method according to item 7, wherein the length dimension of the measurement object is calculated based on the calculated positional relationship between both end faces.

[9]被測定体の両端面をそれぞれ異なるカメラで撮影して各位置を算出する前項8に記載の端面形状検査方法。   [9] The end face shape inspection method according to item 8 above, wherein both positions of the object to be measured are photographed by different cameras and each position is calculated.

[10]被測定体が感光ドラム用基体である前項1〜9のいずれかに記載の端面形状検査方法。   [10] The end face shape inspection method according to any one of [1] to [9], wherein the measurement target is a photosensitive drum substrate.

[11]円筒形状または円柱形状の被測定体の端面を、該端面に略平行な方向から、画角を有するカメラにより撮影する撮影手段と、
撮影画像から被測定体の端面の最外輪郭線を検出する輪郭線検出手段と、
検出した最外輪郭線の曲線形状が、その最外輪郭線の前記撮影画像内における位置に応じた曲線形状であるか否かにより、端面の形状を評価する端面形状評価手段と、
を備えたことを特徴とする端面形状検査装置。
[11] An imaging means for imaging an end face of a cylindrical or columnar object to be measured with a camera having an angle of view from a direction substantially parallel to the end face;
Contour detection means for detecting the outermost contour of the end face of the object to be measured from the captured image;
End face shape evaluation means for evaluating the shape of the end face depending on whether or not the detected curve shape of the outermost contour line is a curved shape according to the position of the outermost contour line in the captured image;
An end face shape inspection apparatus comprising:

[12]検出した最外輪郭線の前記撮影画像内における位置に応じて、当該最外輪郭線として撮影されている部位の高さ位置を判別する高さ位置判別手段と、
前記撮影画像内における当該最外輪郭線の位置を、当該最外輪郭線の前記高さ位置に応じて補正することにより、当該最外輪郭線として撮影されている被測定体の端面のカメラ軸方向に交差する方向についての位置を算出する端部位置算出手段と、
を備えた前項11に記載の端面形状検査装置。
[12] A height position determining unit that determines a height position of a part imaged as the outermost contour line according to the position of the detected outermost contour line in the captured image;
By correcting the position of the outermost contour line in the captured image in accordance with the height position of the outermost contour line, the camera axis of the end face of the measurement object being photographed as the outermost contour line End position calculating means for calculating a position in a direction intersecting the direction;
12. The end face shape inspection apparatus according to 11 above, comprising:

上記発明[1]によると、検出した最外輪郭線曲線形状が、撮影画像内における位置、すなわちその撮影角度に応じた曲線形状であるか否かが判断される。このため、被測定体がカメラ軸方向に高さを有し、撮影角度によって端部を構成する高さ位置の異なる部位が撮影される可能性がある場合であっても、端面の形状を正確に評価することができる。また画角を有する通常のカメラによる撮影画像に基づいて、簡易に検査を行うことができる。また検出対象として最外輪郭線を用いるため、高い信頼性をもって検出することができる。   According to the above invention [1], it is determined whether or not the detected outermost contour curve shape is a curve shape corresponding to the position in the photographed image, that is, the photographing angle. Therefore, even when the measured object has a height in the camera axis direction, and there is a possibility that a part with a different height position constituting the end depending on the imaging angle may be imaged, the shape of the end face is accurately Can be evaluated. In addition, it is possible to easily inspect based on an image captured by a normal camera having an angle of view. In addition, since the outermost contour line is used as a detection target, it can be detected with high reliability.

上記発明[2]によると、検出した最外輪郭線を理想的な真円形状の端面の最外輪郭線の曲線形状と比較するため、理想的な端面との差異に基づいた評価を行うことができる。   According to the above invention [2], in order to compare the detected outermost contour line with the curved shape of the outermost contour line of the ideal perfect circular end surface, the evaluation based on the difference from the ideal end surface is performed. Can do.

上記発明[3]によると、検出した最外輪郭線を理想的な端面の画像と比較するため、端面の各部について詳細な評価を行うことができる。   According to the invention [3], since the detected outermost contour line is compared with an ideal end face image, it is possible to perform detailed evaluation on each part of the end face.

上記発明[4]によると、検出した最外輪郭線を理想的な端面の指標値と比較するため、より簡易に端面形状を評価することができる。   According to the above invention [4], since the detected outermost contour line is compared with the index value of the ideal end face, the end face shape can be more easily evaluated.

上記発明[5]によると、最外輪郭線をより正確に検出することができる。   According to the above invention [5], the outermost contour line can be detected more accurately.

上記発明[6]によると、被測定体の端面の撮影結果から、端面の形状だけでなく、端面の位置についても評価することができる。   According to the above invention [6], not only the shape of the end face but also the position of the end face can be evaluated from the result of photographing the end face of the measured object.

上記発明[7]によると、被測定体の端面の撮影結果から、端面の形状だけでなく、被測定体の長さ寸法についても評価することができる。   According to the above invention [7], it is possible to evaluate not only the shape of the end face but also the length dimension of the measured object from the result of photographing the end face of the measured object.

上記発明[8]によると、両端面を撮影するため、両端面の形状評価を行うことができるとともに、撮影時の被測定体の置き位置によらずその長さ寸法測定を行うことができる。   According to the invention [8], since both end faces are photographed, the shape of both end faces can be evaluated, and the length dimension can be measured regardless of the position of the measurement object at the time of photographing.

上記発明[9]によると、各カメラを被測定体の各端面を撮影範囲に含む位置に固定しておくことができるため、カメラ位置を安定させて、正確な形状評価や長さ寸法測定を行うことができる。   According to the invention [9], each camera can be fixed at a position where each end face of the measured object is included in the photographing range, so that the camera position is stabilized and accurate shape evaluation and length dimension measurement are performed. It can be carried out.

上記発明[10]によると、求められる端面形状精度の感光ドラム用基体の供給に寄与することができる。   According to the invention [10], it is possible to contribute to the supply of the photosensitive drum substrate having the required end face shape accuracy.

上記発明[11]によると、検出した最外輪郭線曲線形状が、撮影画像内における位置、すなわちその撮影角度に応じた曲線形状であるか否かが判断される。このため、被測定体がカメラ軸方向に高さを有し、撮影角度によって端部を構成する高さ位置の異なる部位が撮影される可能性がある場合であっても、端面の形状を正確に評価することができる。また画角を有する通常のカメラによる撮影画像に基づいて、簡易に検査を行うことができる。また検出対象として最外輪郭線を用いるため、高い信頼性をもって検出することができる。   According to the above invention [11], it is determined whether or not the detected outermost contour curve shape is a curve shape corresponding to the position in the captured image, that is, the imaging angle. Therefore, even when the measured object has a height in the camera axis direction, and there is a possibility that a part with a different height position constituting the end depending on the imaging angle may be imaged, the shape of the end face is accurately Can be evaluated. In addition, it is possible to easily inspect based on an image captured by a normal camera having a field angle. In addition, since the outermost contour line is used as a detection target, it can be detected with high reliability.

上記発明[12]によると、被測定体の端面の撮影結果から、端面の形状だけでなく、端面の位置についても評価することができる。   According to the above invention [12], not only the shape of the end face but also the position of the end face can be evaluated from the result of photographing the end face of the measured object.

以下、本発明を実施形態に基づいて説明する。   Hereinafter, the present invention will be described based on embodiments.

図1は、本発明にかかる被測定体の端面形状の検査方法を行う端面形状検査装置の説明図である。   FIG. 1 is an explanatory diagram of an end face shape inspection apparatus that performs an end face shape inspection method for an object to be measured according to the present invention.

ここでは、感光ドラム用基体として用いられる円筒体を被測定体90として、その端面形状とともに長さ寸法を測定する場合を例としている。この被測定体90としての円筒体の両端面は平面であり、被測定体90の長さ方向に対して垂直である。このような立体形状の被測定体90は、どのような撮影方向に対しても高さを有している。   Here, a case where a cylindrical body used as a photosensitive drum substrate is a measurement object 90 and its end face shape and the length dimension are measured is taken as an example. Both end surfaces of the cylindrical body as the measurement target 90 are flat and perpendicular to the length direction of the measurement target 90. Such a three-dimensional object to be measured 90 has a height in any shooting direction.

この検査装置は、被測定体90の両端部91,91をそれぞれ撮影するカメラ10,10と、カメラ10,10による撮影画像に基づいて被測定体90の端面形状の評価計算等を行う画像処理装置20と、カメラ10,10側から見て被測定体90の背後からバックライト照明を照射する照明装置30,30を備えている。   The inspection apparatus includes cameras 10 and 10 that respectively photograph both end portions 91 and 91 of the measured object 90, and image processing that performs evaluation calculation of an end surface shape of the measured object 90 based on images captured by the cameras 10 and 10. The apparatus 20 includes illumination apparatuses 30 and 30 that irradiate backlight illumination from behind the object to be measured 90 when viewed from the camera 10 and 10 side.

カメラ10,10は、画角θを有し、このために撮影画像の位置によって、被写体(被測定体)90の各部位に対する撮影角度が変化しうるものである。この実施形態では、カメラ10,10として、2次元画像を撮影する2次元カメラを採用している。   The cameras 10 and 10 have an angle of view θ. For this reason, the photographing angle with respect to each part of the subject (measured object) 90 can be changed depending on the position of the photographed image. In this embodiment, a two-dimensional camera that captures a two-dimensional image is employed as the cameras 10 and 10.

このカメラ10,10は、被測定体90の端部91,91の最外輪郭線を検出可能な撮影画像を撮影する。ここで本発明において最外輪郭線とは、被測定体90を構成する各部によって、カメラ10から見て最も外側の輪郭線をなすものをいう。   The cameras 10 and 10 capture a captured image that can detect the outermost contour lines of the end portions 91 and 91 of the measurement object 90. Here, in the present invention, the outermost contour line means that the outermost contour line as viewed from the camera 10 is formed by each part constituting the measured object 90.

この実施形態では、カメラ10,10は、被測定体90の両端部91,91をそれぞれ狙う位置に複数台(2台)が設けられ、複数の被測定体90に対する検査を順次行う間、その位置が固定されるようになっている。   In this embodiment, the cameras 10 and 10 are provided with a plurality of units (two units) at positions aiming at both end portions 91 and 91 of the measured object 90, respectively, while the plurality of measured objects 90 are sequentially inspected. The position is fixed.

また、各カメラ10,10は、理想的な設計寸法どおりの被測定体90が、理想的な位置に置かれた場合に、被測定体90の両端部91,91をそれぞれその真上から狙う位置に配置されている。具体的には、被測定体90の各端面を含む平面上に各カメラ軸11,11が位置する位置である。このときカメラ軸11は各端面と平行になっている。ここで本発明においてカメラ軸11とはカメラ10の中心と撮影画像の中心を結ぶ直線を言うものとする。   The cameras 10 and 10 aim at both end portions 91 and 91 of the measured object 90 from directly above when the measured object 90 according to the ideal design dimensions is placed at an ideal position. Placed in position. Specifically, it is a position where each camera axis 11, 11 is located on a plane including each end face of the measurement object 90. At this time, the camera shaft 11 is parallel to each end face. Here, in the present invention, the camera axis 11 refers to a straight line connecting the center of the camera 10 and the center of the captured image.

このように理想的な被測定体90であれば両カメラ10,10のカメラ軸11,11上に被測定体の端面が一致するというカメラ10,10の位置設定は、例えば理想的なマスターワークを撮影して、その両端がカメラ軸11,11上になるようにカメラ位置を調整することによって、実現することができる。   Thus, in the case of the ideal measured object 90, the position setting of the cameras 10 and 10 that the end surfaces of the measured objects coincide with the camera axes 11 and 11 of both the cameras 10 and 10 is, for example, an ideal master work. Can be realized by adjusting the camera position so that both ends thereof are on the camera axes 11 and 11.

また、カメラ10,10が被測定体90の両端部91,91を真上から狙う位置に配置されていることから、測定対象となる被測定体90の端部91の位置や長さ寸法は、各カメラ軸11,11に直交する方向についてのものとなっている。   Further, since the cameras 10 and 10 are arranged at positions where the both end portions 91 and 91 of the measured object 90 are aimed from directly above, the position and length dimension of the end portion 91 of the measured object 90 to be measured are determined. The direction is orthogonal to the camera axes 11 and 11.

このカメラ10,10は、カメラ軸方向について高さを有する被測定体90を撮影する撮影手段として機能する。   The cameras 10 and 10 function as photographing means for photographing the measured object 90 having a height in the camera axial direction.

照明装置30,30は、蛍光灯やLED等、任意の光源を用いて構成され、カメラ10,10の撮影画像において、被測定体90の端部91,91の最外輪郭線をシルエット像として明確に浮かび上がらせることができるものとなっている。このようなバックライト照明を用いることで被測定体90の最外輪郭線をより正確に検出することができる。   The illuminating devices 30 and 30 are configured using an arbitrary light source such as a fluorescent lamp or an LED, and in the captured images of the cameras 10 and 10, the outermost contour lines of the end portions 91 and 91 of the measured object 90 are used as silhouette images. It is something that can clearly emerge. By using such backlight illumination, the outermost contour line of the measurement object 90 can be detected more accurately.

画像処理装置20は、例えば、CPU、メモリ、外部記憶装置、キーボードやマウス等の入力手段、モニタ等の出力手段、他の装置との入出力インタフェース等を備えたコンピュータから構成されている。この画像処理装置20は、後述するように、輪郭線検出手段と、端面形状評価手段と、高さ位置判別手段と、端部位置算出手段と、寸法算出手段とを機能的に備えている。   The image processing apparatus 20 includes, for example, a computer having a CPU, a memory, an external storage device, an input unit such as a keyboard and a mouse, an output unit such as a monitor, and an input / output interface with other devices. As will be described later, the image processing apparatus 20 functionally includes contour detection means, end face shape evaluation means, height position determination means, end position calculation means, and dimension calculation means.

この画像処理装置20は、被測定体90の両端部91,91の撮影画像に基づいて、両端面の形状を評価し、合否判断した検査結果を出力する。   The image processing apparatus 20 evaluates the shape of both end surfaces based on the captured images of both end portions 91 and 91 of the measurement object 90, and outputs the inspection result determined to be acceptable.

また、並行して、この画像処理装置20は、被測定体90の両端部91,91の撮影画像に基づいてこれらの位置をそれぞれ算出し、さらに算出した両端部91,91の位置に基づいて、両端部91,91間の距離を当該被測定体90の長さ寸法として算出し、出力する。   In parallel, the image processing apparatus 20 calculates these positions based on the captured images of the both end portions 91 and 91 of the measured object 90, and further, based on the calculated positions of the both end portions 91 and 91. The distance between both end portions 91 and 91 is calculated as the length dimension of the measured object 90 and output.

本発明において用いるような画角を有する通常のカメラ10,10は、撮影画像内の位置によって被写体に対する撮影角度が異なる。   The normal cameras 10 and 10 having an angle of view as used in the present invention have different shooting angles with respect to the subject depending on the position in the shot image.

このため、カメラ軸方向に高さを有する被測定体90の場合、撮影角度と端部91,91の形状の関係によっては、端部91,91を構成する高さ位置の異なる部位が撮影される可能性がある。   For this reason, in the case of the measurement object 90 having a height in the camera axis direction, the parts having different height positions constituting the end portions 91 and 91 are photographed depending on the relationship between the photographing angle and the shape of the end portions 91 and 91. There is a possibility.

たとえば本実施形態の例のように、被測定体90の端部91,91が、カメラ軸11に平行な端面を有する場合、この端面が見える撮影角度と、見えない撮影角度とがある。端面が見える場合には、端面の下側(カメラ10から遠い側)の縁が当該端部の最外輪郭線として撮影される。一方、端面が見えない場合、撮影されている最外輪郭線は端面の上側(カメラ10に近い側)の縁が当該端部の最外輪郭線として撮影される。   For example, as in the example of the present embodiment, when the end portions 91 and 91 of the measured object 90 have end faces parallel to the camera axis 11, there are shooting angles at which the end faces can be seen and shooting angles at which the end faces cannot be seen. When the end surface is visible, the lower edge (the side far from the camera 10) of the end surface is photographed as the outermost contour line of the end portion. On the other hand, when the end face cannot be seen, the outermost contour line being photographed is photographed with the upper edge (side closer to the camera 10) of the end face as the outermost contour line of the end portion.

さらに、同じ上側縁あるいは下側縁が撮影されている場合であっても、その撮影画像内の位置、すなわち撮影角度によって撮影された最外輪郭線の曲線形状は異なってしまう。   Furthermore, even when the same upper edge or lower edge is photographed, the curve shape of the outermost contour line photographed differs depending on the position in the photographed image, that is, the photographing angle.

本実施形態の画像処理装置20は、端面形状検査においては、このような被測定体90の端部の最外輪郭線がどのような撮影角度で撮影されたかを判別して、それぞれの場合に応じて撮影された最外輪郭線に現れる端面の形状を評価するようになっている。   In the end face shape inspection, the image processing apparatus 20 according to the present embodiment determines at what shooting angle the outermost contour line of the end portion of the measurement object 90 is shot, and in each case. Accordingly, the shape of the end surface appearing on the outermost contour line photographed is evaluated.

また、本実施形態の画像処理装置20は、長さ寸法測定においては、このような被測定体90の端部を構成する高さ位置の異なる部位が検出される場合を判別して、それぞれの場合に応じて撮影画像内で検出された最外輪郭線の位置を補正して、被測定体の端部位置の測定と、ひいては被測定体90の両端部91,91の位置測定結果を束ねた長さ寸法の測定を正確に行うようになっている。   Further, the image processing apparatus 20 according to the present embodiment discriminates a case in which a part having a different height position constituting the end of the measurement object 90 is detected in the length dimension measurement, If necessary, the position of the outermost contour line detected in the captured image is corrected to bundle the measurement of the end position of the measured object and the position measurement results of both end portions 91 and 91 of the measured object 90. It is designed to accurately measure the length dimension.

以下においては、まずこの画像処理装置20において行われる端面形状検査処理について、被測定体90の左側の端部を測定対象とした例に基づいて説明する。   In the following, first, the end face shape inspection process performed in the image processing apparatus 20 will be described based on an example in which the left end of the measurement object 90 is a measurement target.

図2(a)は、被測定体90の端面92を含む平面上にカメラ軸11が位置する位置関係で被測定体90の端部91を撮影した場合を示す説明図であり、図2(b)はその場合の撮影画像12の例である。ここでは理想的な真円形状の端面を有する被測定体90を想定している。後述の図3および図4も同様である。   FIG. 2A is an explanatory diagram illustrating a case where the end 91 of the measurement target 90 is photographed in a positional relationship where the camera shaft 11 is positioned on a plane including the end surface 92 of the measurement target 90. FIG. b) is an example of the captured image 12 in that case. Here, an object to be measured 90 having an ideal perfect circular end surface is assumed. The same applies to FIGS. 3 and 4 described later.

この被測定体90の端面92を含む平面上にカメラ軸11が位置する位置関係とは、同図(a)に示すように、カメラ10が端面92の真上に位置する状態である。   The positional relationship in which the camera shaft 11 is positioned on a plane including the end surface 92 of the measured object 90 is a state in which the camera 10 is positioned directly above the end surface 92 as shown in FIG.

このとき、同図(b)に示すように、撮影画像12には、被測定体90の端面92は、その上側縁および下側縁を含む高さ位置の異なるすべての部位が、一直線状になって、被測定体90のシルエットをなす最外輪郭線として写っている。すなわち、最外輪郭線は、撮影画像12内のちょうど中心に位置している。   At this time, as shown in FIG. 4B, the end surface 92 of the measured object 90 is in a straight line shape on the photographed image 12 so that all the portions including the upper edge and the lower edge at different height positions are aligned. Thus, it is shown as the outermost contour that forms the silhouette of the measurement object 90. That is, the outermost contour line is located at the exact center in the captured image 12.

図3(a)は、被測定体90の端面92を含む平面より外側にカメラ軸11が位置する位置関係で被測定体90の端部91を撮影した場合を示す説明図であり、図3(b)はその場合の撮影画像の例である。   FIG. 3A is an explanatory diagram illustrating a case where the end 91 of the measurement target 90 is photographed in a positional relationship in which the camera shaft 11 is positioned outside a plane including the end surface 92 of the measurement target 90. FIG. (B) is an example of a photographed image in that case.

この被測定体90の端面92を含む平面より外側にカメラ軸11が位置する位置関係とは、同図(a)に示すように、カメラ10が端面92の真上より被測定体90の長手方向の外側(左側の端部に対してさらに左の外側)に位置し、端面92が見える撮影角度となっている状態である。   The positional relationship in which the camera shaft 11 is positioned outside the plane including the end surface 92 of the measured object 90 is the longitudinal direction of the measured object 90 from directly above the end surface 92 as shown in FIG. It is in a state where it is located on the outside of the direction (further left outside the left end) and at a shooting angle at which the end face 92 can be seen.

このとき、同図(b)に示すように、撮影画像12には、被測定体90の端面92は一定の面積を持つ楕円として写り、端面92の下側縁93が被測定体90のシルエットをなす最外輪郭線として、撮影画像12の右半面側に写っている。すなわち、最外輪郭線は、撮影画像12内の右半面領域に位置している。   At this time, as shown in FIG. 5B, the end surface 92 of the measured object 90 appears in the captured image 12 as an ellipse having a certain area, and the lower edge 93 of the end surface 92 is the silhouette of the measured object 90. Is shown on the right half side of the photographed image 12 as the outermost contour line. That is, the outermost contour line is located in the right half surface area in the captured image 12.

そして、この最外輪郭線は、その撮影画像12内の位置、すなわち撮影角度に応じた曲線形状となって、撮影画像12に現れている。   The outermost contour line has a curved shape corresponding to the position in the photographed image 12, that is, the photographing angle, and appears in the photographed image 12.

図4(a)は、被測定体90の端面92を含む平面より内側にカメラ軸11が位置する位置関係で被測定体90の端部91を撮影した場合を示す説明図であり、図4(b)はその場合の撮影画像の例である。   4A is an explanatory diagram illustrating a case where the end 91 of the measurement target 90 is photographed in a positional relationship in which the camera shaft 11 is positioned inside a plane including the end surface 92 of the measurement target 90. FIG. (B) is an example of a photographed image in that case.

この被測定体90の端面92を含む平面より内側にカメラ軸11が位置する位置関係とは、同図(a)に示すように、カメラ10が端面92の真上より被測定体90の長手方向の内側に位置し、端面92が見えない撮影角度となっている状態である。   The positional relationship in which the camera shaft 11 is positioned on the inner side of the plane including the end surface 92 of the device under test 90 is the longitudinal direction of the device under test 90 from directly above the end surface 92 as shown in FIG. This is a state where the photographing angle is located inside the direction and the end face 92 is not visible.

このとき、同図(b)に示すように、撮影画像12には、被測定体90の端面92は写らず、端面92の上側縁94が被測定体90のシルエットをなす最外輪郭線として、撮影画像12の左半面側に写っている。すなわち、最外輪郭線は、撮影画像12内の左半面領域に位置している。   At this time, as shown in FIG. 4B, the end surface 92 of the measurement object 90 is not shown in the photographed image 12, and the upper edge 94 of the end surface 92 is the outermost contour line that forms the silhouette of the measurement object 90. This is shown on the left half side of the photographed image 12. That is, the outermost contour line is located in the left half surface area in the captured image 12.

そして、この最外輪郭線は、その撮影画像12内の位置、すなわち撮影角度に応じた曲線形状となって、撮影画像12に現れている。   The outermost contour line has a curved shape corresponding to the position in the photographed image 12, that is, the photographing angle, and appears in the photographed image 12.

このように理想的な真円形状の端面であっても、撮影角度によってその現れ方(曲線形状)は異なる。しかしながら理想的な真円形状の端面であれば、撮影角度によってその現れ方(曲線形状)は一意に決まる。   Even in the case of an ideal perfect circular end face, the appearance (curved shape) varies depending on the photographing angle. However, in the case of an ideal perfect circular end face, the appearance (curved shape) is uniquely determined by the shooting angle.

一方、理想的な真円形状でない端面であれば、上述した理想的な真円形状とは異なる最外輪郭線が検出される。   On the other hand, if the end face is not an ideal perfect circular shape, an outermost contour line different from the ideal perfect circular shape described above is detected.

図5(a)は、上下幅が狭い扁平な端面形状の被測定体を撮影した場合を示す説明図であり、図5(b)はその場合の撮影画像の例である。同図において理想的な端面は破線で併記している。後述の図6〜図8も同様である。   FIG. 5A is an explanatory diagram showing a case where a flat end face-shaped object to be measured with a narrow vertical width is photographed, and FIG. 5B is an example of a photographed image in that case. In the figure, the ideal end face is shown with a broken line. The same applies to FIGS. 6 to 8 described later.

この例の被測定体90の端面形状は、同図(a)の右側に示すものである。   The end face shape of the measurement object 90 in this example is shown on the right side of FIG.

このような端面形状の場合、同図(b)に示すように、撮影画像12において端面92の最外輪郭線の曲線形状は、理想的な端面の最外輪郭線(破線)より、端面92が幅広になったために長く、かつ端面92の高さが低くなったために緩やかなカーブを描くものとなっている。   In the case of such an end face shape, as shown in FIG. 5B, the curve shape of the outermost contour line of the end face 92 in the photographed image 12 is more than the end face 92 than the outermost contour line (broken line) of the ideal end face. Since the width of the end face 92 is increased, the end face 92 is lowered and the length of the end face 92 is reduced.

図6(a)は、横幅が狭い扁平な端面形状の被測定体を撮影した場合を示す説明図であり、図6(b)はその場合の撮影画像の例である。   FIG. 6A is an explanatory diagram showing a case where a measured object having a flat end face shape with a narrow lateral width is photographed, and FIG. 6B is an example of a photographed image in that case.

この例の被測定体90の端面形状は、同図(a)の右側に示すものである。   The end face shape of the measurement object 90 in this example is shown on the right side of FIG.

このような端面形状の場合、同図(b)に示すように、撮影画像12において端面92の最外輪郭線の曲線形状は、理想的な端面の最外輪郭線(破線)より、端面92が幅狭になったために短く、かつ端面92の高さが高くなったために曲がり程度の大きなカーブを描くものとなっている。   In the case of such an end face shape, as shown in FIG. 5B, the curve shape of the outermost contour line of the end face 92 in the photographed image 12 is more than the end face 92 than the outermost contour line (broken line) of the ideal end face. Is short because it is narrow, and because the height of the end surface 92 is high, it draws a large curve that is bent.

図7(a)は、長手方向に対して垂直でない端面形状の被測定体を端面が斜め上方を向いた姿勢で撮影した場合を示す説明図であり、図7(b)はその場合の撮影画像の例である。ここでは、被測定体の断面は真円形状を想定している。   FIG. 7A is an explanatory view showing a case where an end face-shaped object to be measured which is not perpendicular to the longitudinal direction is photographed in a posture in which the end face is obliquely upward, and FIG. 7B is a photograph in that case. It is an example of an image. Here, the cross section of the object to be measured is assumed to be a perfect circle.

この例では、同図(a)に示すように端面92はカメラ軸11のほぼ真下に位置しているため、理想的な端面であれば撮影画像12では直線状の最外輪郭線が見えるはずである。しかしながら端面92が斜めにカットされた形状であるため、同図(b)に示すように、端面92の最外輪郭線は楕円形を描く曲線形状となっている。   In this example, since the end surface 92 is located almost directly below the camera shaft 11 as shown in FIG. 5A, a linear outermost contour line should be visible in the captured image 12 if it is an ideal end surface. It is. However, since the end face 92 has a shape that is cut obliquely, the outermost contour line of the end face 92 has an elliptical curved shape as shown in FIG.

図8(a)は、長手方向に対して垂直でない端面形状の被測定体を端面が水平方向を向いた姿勢で撮影した場合を示す説明図であり、図8(b)はその場合の撮影画像の例である。ここでは、被測定体の断面は真円形状を想定している。   FIG. 8A is an explanatory view showing a case where an end face-shaped object to be measured which is not perpendicular to the longitudinal direction is photographed in a posture in which the end face is oriented in the horizontal direction, and FIG. 8B is a photograph in that case. It is an example of an image. Here, the cross section of the object to be measured is assumed to be a perfect circle.

この例では、同図(a)に示すように端面92はカメラ軸11のほぼ真下に位置しているため、理想的な端面であれば撮影画像では被測定体90の長手方向に直交する直線状の最外輪郭線が見えるはずである。しかしながら端面92が斜めにカットされた形状であるため、同図(b)に示すように、端面92の最外輪郭線は被測定体の長手方向に対して斜め方向に延びる直線形状となっている。   In this example, since the end surface 92 is located almost directly below the camera shaft 11 as shown in FIG. 4A, a straight line orthogonal to the longitudinal direction of the measured object 90 is used in the captured image if it is an ideal end surface. The outermost contour line should be visible. However, since the end face 92 has an obliquely cut shape, the outermost contour line of the end face 92 has a linear shape extending obliquely with respect to the longitudinal direction of the measured object, as shown in FIG. Yes.

このように、理想的な端面を有しない被測定体90の場合、撮影画像12における端面92の最外輪郭線は、端面92の形状やカメラ10との位置関係により、楕円状であったり直線状であったりするが、理想的な端面の最外輪郭線とは異なるものとなっている。   As described above, in the case of the measurement target 90 that does not have an ideal end surface, the outermost contour line of the end surface 92 in the captured image 12 is elliptical or straight depending on the shape of the end surface 92 and the positional relationship with the camera 10. However, it is different from the outermost contour of the ideal end face.

そこで、この実施形態では、まず撮影された最外輪郭線についてその撮影角度(撮影画像内の位置)を求め、同じ撮影角度で理想的な端面が撮影される場合の現れ方(曲線形状)を算出する。こうして算出した理想的な曲線形状と実際に撮影された最外輪郭線の形状とを比較することにより、実際の被測定体に対する撮影角度がどのような角度であったとしても、端面形状を検査することができるものとなっている。   Therefore, in this embodiment, first, the photographing angle (position in the photographed image) is obtained for the photographed outermost contour line, and the appearance (curved shape) when an ideal end face is photographed at the same photographing angle is obtained. calculate. By comparing the ideal curve shape calculated in this way with the shape of the outermost contour actually photographed, the end face shape is inspected regardless of the angle of photographing with respect to the actual measured object. It has become something that can be done.

具体的には、図5(b)に示す撮影画像12が得られた場合を例とすると、この画像12から端面92の最外輪郭線を検出し、たとえばその最も左側のライン96の被測定体90の長手方向についての位置(カメラ軸11からの距離)を最外輪郭線の位置とする。そして、理想的な端面を有する被測定体の最外輪郭線がこの位置で検出される場合の最外輪郭線の曲線形状を算出する。   Specifically, in the case where the photographed image 12 shown in FIG. 5B is obtained as an example, the outermost contour line of the end face 92 is detected from this image 12 and, for example, the measurement of the leftmost line 96 is performed. The position of the body 90 in the longitudinal direction (distance from the camera axis 11) is set as the position of the outermost contour line. Then, the curve shape of the outermost contour line when the outermost contour line of the measurement object having an ideal end face is detected at this position is calculated.

こうして算出する理想端面の最外輪郭線の曲線形状のデータ形式としては、たとえば撮影画像と画像照合可能な画像データを挙げることができる。   As the data format of the curve shape of the outermost contour line of the ideal end face calculated in this way, for example, image data that can be collated with a photographed image can be cited.

このような画像データは、理想端面とカメラの幾何学的な位置関係から最外輪郭線の撮影画像内の位置を算出して、画像を形成することで得ることができる。あるいは多数の最外輪郭線の位置候補について、各位置毎の最外輪郭線の曲線形状を画像データとして記憶しておき、その中から抽出するようにしてもよい。   Such image data can be obtained by calculating the position of the outermost contour line in the captured image from the geometrical positional relationship between the ideal end face and the camera and forming an image. Alternatively, the curve shape of the outermost contour line for each position may be stored as image data for a large number of position candidates of the outermost contour line, and extracted from them.

理想端面の最外輪郭線の曲線形状が現れた画像としては、たとえば図3(b)の撮影画像12が得られる。   As an image in which the curved shape of the outermost contour line of the ideal end surface appears, for example, the captured image 12 of FIG. 3B is obtained.

こうして理想端面の曲線形状の画像が得られれば、これを被測定体90を撮影した撮影画像(ここでは図5(b))と比較する。この場合、画像同士の比較であるから、任意の公知の画像照合手法によって相違の程度を算出することができる。   If an image having a curved shape of the ideal end face is obtained in this way, it is compared with a photographed image obtained by photographing the measured object 90 (here, FIG. 5B). In this case, since the images are compared with each other, the degree of difference can be calculated by any known image matching method.

そして、この相違の程度が、合格品として許容できる範囲内であれば、当該被測定体90の端面を合格と評価し、逆に範囲外であれば不合格と評価し、これを検査結果とすればよい。このように画像照合で比較すると、端面の各部について詳細な評価を行うことができる。   And if the degree of this difference is within a range acceptable as an acceptable product, the end face of the measured object 90 is evaluated as acceptable, and conversely, if it is out of range, it is evaluated as unacceptable. do it. Thus, when comparing by image collation, detailed evaluation can be performed for each part of the end face.

なお、理想端面の最外輪郭線の曲線形状を表すデータ形式としては、曲線形状を特定できる数式としても、曲線形状上のいくつかの点の座標値データとすることもできる。このようなデータ形式とするならば、理想端面のデータ作成(算出)に要する計算量を軽減することができる。   The data format representing the curve shape of the outermost contour line of the ideal end face can be a mathematical expression that can specify the curve shape, or coordinate value data of several points on the curve shape. With such a data format, it is possible to reduce the amount of calculation required to create (calculate) ideal end face data.

被測定体の実際の撮影画像における最外輪郭線との比較は、直接に画像照合できないデータ形式の場合、実際の撮影画像の最外輪郭線から、理想端面のデータ形式と同様の曲線形状を示すデータを算出して、両者を比較することで行うことができる。   The comparison with the outermost contour line in the actual captured image of the object to be measured is the same as the data format of the ideal end face from the outermost contour line of the actual captured image when the data format cannot be directly matched. This can be done by calculating the data shown and comparing the two.

また、理想端面の最外輪郭線の曲線形状は、その指標となる所定の指標値をもって表現してもよい。この場合、指標値は、それだけでは曲線形状の全体が特定できない程度のものでもよい。具体的には、最外輪郭線の中の特定部位の曲率(または曲率半径)、最外輪郭線の中の特定部位の傾き(例えば被測定体の長手方向とのなす角)、最外輪郭線の曲線の長さ、最外輪郭線の幅、最外輪郭線の高さ(曲線の凹みの深さ)、最外輪郭線の幅と高さの比、あるいは最外輪郭線の平均曲率(または平均曲率半径)等を挙げることができる。   Further, the curve shape of the outermost contour line of the ideal end face may be expressed with a predetermined index value serving as the index. In this case, the index value may be such that the entire curve shape cannot be specified by itself. Specifically, the curvature (or radius of curvature) of a specific part in the outermost contour line, the inclination of the specific part in the outermost contour line (for example, the angle formed with the longitudinal direction of the measured object), the outermost contour The length of the curve of the line, the width of the outermost contour line, the height of the outermost contour line (depth of the dent of the curve), the ratio of the width and height of the outermost contour line, or the average curvature of the outermost contour line (Or average radius of curvature).

被測定体の実際の撮影画像における最外輪郭線との比較は、実際の撮影画像の最外輪郭線から、前記理想端面と同じ指標値を算出して、両者を比較することで行うことができる。   The comparison with the outermost contour in the actual captured image of the object to be measured can be performed by calculating the same index value as the ideal end face from the outermost contour of the actual captured image and comparing the two. it can.

このように指標値で比較すると、より簡易に端面形状を評価することができる。   In this way, when compared with the index value, the end face shape can be more easily evaluated.

次に、画像処理装置20において行われる端部91の位置の算出処理について、被測定体90の左側の端部を測定対象とした例に基づいて説明する。   Next, the calculation processing of the position of the end portion 91 performed in the image processing apparatus 20 will be described based on an example in which the left end portion of the measurement object 90 is a measurement target.

同じ見え方のときの理想端面と比較する上述の形状評価と異なり、被測定体の長さ寸法を計測する場合には、端面の位置を数値評価できるように求める必要がある。   Unlike the above-described shape evaluation compared with the ideal end face when viewed in the same manner, when measuring the length dimension of the object to be measured, it is necessary to determine the position of the end face so that it can be evaluated numerically.

しかしながら例えば上述した図3の例では、端面92の下側縁93が最外輪郭線として撮影されているが、ここで、撮影画像12において、画像12内の位置と実空間との位置関係の換算が、被測定体90の中心高さを基準としていた(以下、この高さを基準高さと呼ぶ。)とすると、被測定体90の長さ方向(図3の左右方向)についての端面92の位置は、図3(b)のライン95として検出されるべきであるといえる。   However, for example, in the example of FIG. 3 described above, the lower edge 93 of the end surface 92 is photographed as the outermost contour line. Here, in the photographed image 12, the positional relationship between the position in the image 12 and the real space is shown. Assuming that the conversion is based on the center height of the measured object 90 (hereinafter, this height is referred to as a reference height), the end face 92 in the length direction of the measured object 90 (the left-right direction in FIG. 3). This position should be detected as the line 95 in FIG.

また上述した図4の例では、端面92の上側縁94が最外輪郭線として撮影されているが、ここで、撮影画像12において、画像12内の位置と実空間との位置関係の換算が、被測定体90の中心高さ(基準高さ)を基準としているとすると、被測定体90の長さ方向(図4の左右方向)についての端面92の位置は、図4(b)のライン95として検出されるべきであるといえる。   In the example of FIG. 4 described above, the upper edge 94 of the end surface 92 is photographed as the outermost contour line. Here, in the photographed image 12, the positional relationship between the position in the image 12 and the real space is converted. Assuming that the center height (reference height) of the measured object 90 is used as a reference, the position of the end face 92 in the length direction (left and right direction in FIG. 4) of the measured object 90 is as shown in FIG. It can be said that it should be detected as line 95.

このように、被測定体90の端部91の位置とカメラ軸11との位置関係によって、撮影画像12の右半分と左半分とで、最外輪郭線として検出されている被測定体90の端部91の部位が異なっており、これら各部位の高さ位置が異なっている。   In this way, depending on the positional relationship between the position of the end 91 of the measured object 90 and the camera axis 11, the measured object 90 detected as the outermost contour line in the right half and the left half of the captured image 12 is shown. The site | parts of the edge part 91 differ, and the height position of these each site | part differs.

そして、高さ位置が異なる上側縁と下側縁が撮影画面内において同画面の中心から同じ距離だけ離れた位置に検出されたとしても、実空間においてそれぞれの場合の端部の位置(カメラ軸からの距離)は同一ではない。   Even if the upper edge and the lower edge having different height positions are detected at the same distance from the center of the screen in the shooting screen, the positions of the end portions in each case (camera axis) The distance from is not the same.

そこで、この実施形態では、最外輪郭線が検出された撮影画像内の領域によって、最外輪郭線として検出された部位の高さ位置を判別し、その高さ位置に応じた補正を行うことで端部の正確な位置を算出するようになっている。   Therefore, in this embodiment, the height position of the part detected as the outermost contour line is determined based on the region in the captured image where the outermost contour line is detected, and correction according to the height position is performed. The exact position of the end is calculated by.

次に、具体的な端部位置の算出式の例について説明する。   Next, an example of a specific formula for calculating the end position will be described.

図9は、被測定体90の端面92を含む平面より外側にカメラ軸11が位置する位置関係で、被測定体90の端部91を撮影した場合における、端部位置の算出方法を説明する説明図である。同図では、カメラ10の撮影画像12を被測定体90の下側に表現している。   FIG. 9 illustrates a method for calculating the end position when the end 91 of the measured object 90 is photographed in a positional relationship where the camera shaft 11 is positioned outside the plane including the end surface 92 of the measured object 90. It is explanatory drawing. In the figure, the captured image 12 of the camera 10 is represented below the measured object 90.

この例では、被測定体90は、実空間において、その端面92がカメラ軸11から距離Lだけ被測定体90の外側に離れた位置にある。この位置関係のとき、上述したとおり、端面92の下側縁93が撮影画像12における端部91の最外輪郭線として撮影される。   In this example, the measured object 90 is in a position in which the end surface 92 of the measured object 90 is away from the measured object 90 by a distance L from the camera axis 11. In this positional relationship, as described above, the lower edge 93 of the end surface 92 is imaged as the outermost contour line of the end portion 91 in the captured image 12.

しかし、上述したように、撮影画像12内の位置と実空間との位置関係の換算が、被測定体90の中心高さを基準高さとしているとすると、本来、端部91として撮影されるべき部位は、端面92の中心高さ上の点Pである。   However, as described above, if the conversion of the positional relationship between the position in the captured image 12 and the real space is based on the center height of the measurement object 90 as the reference height, the image is originally captured as the end portion 91. The region to be power is a point P on the center height of the end face 92.

すなわち、図9に示すように、撮影画像12上において、下側縁93が最外輪郭線としてカメラ軸11から距離Xの位置に検出されたが、本来なら前記点Pの撮影画像12上への投影点であるカメラ軸11から距離Xansの位置が検出されるべきであったといえる。   That is, as shown in FIG. 9, the lower edge 93 is detected as the outermost contour line at the position of the distance X from the camera axis 11 on the photographed image 12. It can be said that the position of the distance Xans should have been detected from the camera axis 11 which is the projection point.

したがって、撮影画像12内の最外輪郭線の位置Xを、本来の位置Xansに変換する補正を行えば、正確な端部91の位置を得られることになる。そこで、検出された最外輪郭線の位置Xから、本来、検出されるべきであった位置Xansの比率を検討する。   Therefore, if the position X of the outermost contour line in the photographed image 12 is corrected to be converted into the original position Xans, the accurate position of the end 91 can be obtained. Therefore, the ratio of the position Xans that should have been detected from the position X of the detected outermost contour line is examined.

カメラ10の画角の頂点をO、被測定体90の中心高さ(基準高さ)95における端面92上の点を上述のP、同じく中心高さ(基準高さ)95におけるカメラ軸11上の点をA、最外輪郭線として検出された端面の下側縁93をC,この下側縁93の高さ位置での水平方向の直線96と直線OPの交点をQ、同じく直線96におけるカメラ軸11上の点をBとし、被測定体90の高さ寸法をDとする。   The vertex of the angle of view of the camera 10 is O, the point on the end surface 92 at the center height (reference height) 95 of the measured object 90 is P, and the camera axis 11 is also at the center height (reference height) 95. , A is the lower edge 93 of the end face detected as the outermost contour line, C is the intersection of the horizontal straight line 96 and the straight line OP at the height of the lower edge 93, and A point on the camera axis 11 is B, and a height dimension of the measurement object 90 is D.

直線96と撮影画像12の面とは平行だから、
BC:BQ=X:Xans
カメラ軸11と端面92の距離は高さ位置によらず同一だから、
AP=BC
ここで三角形OAPと三角形OBQは相似だから、
OA:OB=AP:BQ
H:(H+D/2)=X:Xans
したがって、
Xans=(1+D/2H)・X ……(1)
となる。
Since the straight line 96 and the surface of the captured image 12 are parallel,
BC: BQ = X: Xans
Since the distance between the camera shaft 11 and the end face 92 is the same regardless of the height position,
AP = BC
Here, triangle OAP and triangle OBQ are similar,
OA: OB = AP: BQ
H: (H + D / 2) = X: Xans
Therefore,
Xans = (1 + D / 2H) · X (1)
It becomes.

最外輪郭線が撮影画像12の右側の領域に見えた場合には、端面92の下側縁93が最外輪郭線として検出されているから、この最外輪郭線の撮影画像12における位置Xを前記算出式(1)によりXansに変換補正して、このXansを基準高さ95上のカメラ軸11からの距離に換算することで、実空間における端部の位置を示す距離Lが算出できる。   When the outermost contour line is seen in the region on the right side of the photographed image 12, the lower edge 93 of the end face 92 is detected as the outermost contour line. Therefore, the position X of the outermost contour line in the photographed image 12 is detected. Is converted and corrected to Xans by the calculation formula (1), and this Xans is converted into a distance from the camera axis 11 on the reference height 95, whereby the distance L indicating the position of the end in the real space can be calculated. .

図10は、被測定体90の端面92を含む平面より内側にカメラ軸11が位置する位置関係で、被測定体90の端部91を撮影した場合における、端部位置の算出方法を説明する説明図である。同図では、カメラ10の撮影画像12を被測定体90の下側に表現している。   FIG. 10 illustrates a method for calculating the end position when the end 91 of the measurement target 90 is photographed in a positional relationship in which the camera shaft 11 is positioned inside the plane including the end surface 92 of the measurement target 90. It is explanatory drawing. In the figure, the captured image 12 of the camera 10 is represented below the measured object 90.

この例では、被測定体90は、実空間において、その端面92がカメラ軸11から距離Lだけ被測定体90の内側に離れた位置にある。この位置関係のとき、上述したとおり、端面92の上側縁94が撮影画像12における端部91の最外輪郭線として撮影される。   In this example, the measured object 90 is in a position in which the end surface 92 of the measured object 90 is separated from the camera axis 11 by a distance L to the inside of the measured object 90. In this positional relationship, as described above, the upper edge 94 of the end surface 92 is photographed as the outermost contour line of the end portion 91 in the photographed image 12.

しかし、上述したように、撮影画像12内の位置と実空間との位置関係の換算が、被測定体90の中心高さを基準高さとしているとすると、本来、端部91として撮影されるべき部位は、端面92の中心高さ上の点Pである。   However, as described above, if the conversion of the positional relationship between the position in the captured image 12 and the real space is based on the center height of the measurement object 90 as the reference height, the image is originally captured as the end portion 91. The region to be power is a point P on the center height of the end face 92.

すなわち、図10に示すように、撮影画像12上において、上側縁94が最外輪郭線としてカメラ軸11から距離Xの位置に検出されたが、本来なら前記点Pの撮影画像12上への投影点であるカメラ軸11から距離Xansの位置が検出されるべきであったといえる。   That is, as shown in FIG. 10, on the photographed image 12, the upper edge 94 is detected as the outermost contour line at a position of a distance X from the camera axis 11, but originally the point P onto the photographed image 12 is detected. It can be said that the position of the distance Xans should be detected from the camera axis 11 which is the projection point.

したがって、撮影画像12内の最外輪郭線の位置Xを、本来の位置Xansに変換する補正を行えば、正確な端部91の位置を得られることになる。そこで、検出された最外輪郭線の位置Xから、本来、検出されるべきであった位置Xansの比率を検討する。   Therefore, if the position X of the outermost contour line in the photographed image 12 is corrected to be converted into the original position Xans, the accurate position of the end 91 can be obtained. Therefore, the ratio of the position Xans that should have been detected from the position X of the detected outermost contour line is examined.

カメラ10の画角の頂点をO、被測定体90の中心高さ(基準高さ)95における端面92上の点を上述のP、同じく中心高さ(基準高さ)95におけるカメラ軸11上の点をA、最外輪郭線として検出された端面の上側縁94をC,この上側縁94の高さ位置での水平方向の直線97と直線OPの交点をQ、同じく直線97におけるカメラ軸11上の点をBとし、被測定体90の高さ寸法をDとする。   The vertex of the angle of view of the camera 10 is O, the point on the end surface 92 at the center height (reference height) 95 of the measured object 90 is P, and the camera axis 11 is also at the center height (reference height) 95. Is the point A, C is the upper edge 94 of the end face detected as the outermost contour line, Q is the intersection of the horizontal straight line 97 and the straight line OP at the height position of the upper edge 94, and the camera axis on the straight line 97 A point on 11 is B, and a height dimension of the measurement object 90 is D.

直線97と撮影画像12の面とは平行だから、
BC:BQ=X:Xans
カメラ軸11と端面92の距離は高さ位置によらず同一だから、
AP=BC
ここで三角形OAPと三角形OBQは相似だから、
OA:OB=AP:BQ
H:(H−D/2)=X:Xans
したがって、
Xans=(1−D/2H)・X ……(2)
となる。
Since the straight line 97 and the surface of the captured image 12 are parallel,
BC: BQ = X: Xans
Since the distance between the camera shaft 11 and the end face 92 is the same regardless of the height position,
AP = BC
Here, triangle OAP and triangle OBQ are similar,
OA: OB = AP: BQ
H: (HD / 2) = X: Xans
Therefore,
Xans = (1-D / 2H) · X (2)
It becomes.

最外輪郭線が撮影画像12の左側の領域に見えた場合には、端面92の上側縁94が最外輪郭線として検出されているから、この最外輪郭線の撮影画像12における位置Xを前記算出式(2)によりXansに変換補正して、このXansを基準高さ95上のカメラ軸11からの距離に換算することで、実空間における端部の位置を示す距離Lが算出できる。   When the outermost contour line appears in the left region of the photographed image 12, the upper edge 94 of the end face 92 is detected as the outermost contour line. Therefore, the position X of the outermost contour line in the photographed image 12 is determined. The distance L indicating the position of the end portion in the real space can be calculated by converting and correcting to Xans by the calculation formula (2) and converting this Xans into the distance from the camera axis 11 on the reference height 95.

次に、上記の算出方法によって端部位置を算出し、さらに被測定体90の長さ寸法を算出する画像処理装置20の機能について説明する。   Next, the function of the image processing apparatus 20 that calculates the end position by the above calculation method and further calculates the length dimension of the measurement object 90 will be described.

図11は、この画像処理装置20の機能ブロック図である。同図に示すように、画像処理装置20は、輪郭線検出手段21、端面形状評価手段22、高さ位置判別手段23、端部位置算出手段24、寸法算出手段25を機能的に備えている。
FIG. 11 is a functional block diagram of the image processing apparatus 20. As shown in the figure, the image processing apparatus 20, the contour detection unit 21, the end face shape evaluation unit 22, the height position determination means 23, the end position calculating means 24, provided with a dimension calculation hand stage 2 5 functional ing.

輪郭線検出手段21は、カメラ10,10による被測定体90の各端部91,91の撮影画像12から、被測定体90の各端部91,91の最外輪郭線を検出する演算処理を行う。上述したように、被測定体90は背後からバックライト照明が照射されるため、撮影画像12には被測定体90はシルエットとして浮かび上がり、その明暗差から最外輪郭線を検出することができる。   The contour line detecting means 21 detects the outermost contour lines of the end portions 91 and 91 of the measured object 90 from the captured images 12 of the end portions 91 and 91 of the measured object 90 by the cameras 10 and 10. I do. As described above, since the measured object 90 is illuminated by the backlight from behind, the measured object 90 appears as a silhouette in the captured image 12, and the outermost contour line can be detected from the brightness difference. .

端面形状評価手段22は、検出した最外輪郭線の曲線形状が、その最外輪郭線の前記撮影画像12内における位置に応じた曲線形状であるか否かにより、端面の形状を評価するものである。   The end face shape evaluation means 22 evaluates the shape of the end face depending on whether or not the detected curve shape of the outermost contour line is a curve shape corresponding to the position of the outermost contour line in the captured image 12. It is.

高さ位置判別手段23は、検出した最外輪郭線の前記撮影画像12内における位置に応じて、当該最外輪郭線として撮影されている被測定体90の端部の高さ位置を判別するものである。   The height position discriminating means 23 discriminates the height position of the end portion of the measured object 90 photographed as the outermost contour line according to the position of the detected outermost contour line in the photographed image 12. Is.

上述したように、カメラ軸11に平行な端面92を測定対象とする場合には、端面92とカメラ軸11の位置関係により、端面92が見えるか否か、ひいては最外輪郭線として上側縁94と下側縁93のいずれが見えるか、が異なってくる。   As described above, when the end surface 92 parallel to the camera axis 11 is to be measured, whether or not the end surface 92 is visible depending on the positional relationship between the end surface 92 and the camera axis 11 and, as a result, the upper edge 94 as the outermost contour line. And which of the lower edges 93 is visible is different.

そこで、この実施形態では、これら上側縁94と下側縁93を、最外輪郭線として検出されうる部位である候補部位として予め設定しておき、それらの基準高さ(被測定体90の中心高さ)からの高さ情報を予め設定しておくようになっている。   Therefore, in this embodiment, the upper edge 94 and the lower edge 93 are set in advance as candidate parts that are parts that can be detected as the outermost contour line, and their reference height (the center of the object 90 to be measured) is set. Height information from (height) is set in advance.

また、候補部位である上側縁94と下側縁93について、最外輪郭線として撮影される場合の撮影画像12内の領域として、カメラ軸11を中心とした右半面の領域と左半面の領域を予め設定しておくようになっている。   Further, regarding the upper edge 94 and the lower edge 93 which are candidate parts, the areas on the right half surface and the left half surface centered on the camera axis 11 as the areas in the captured image 12 when being photographed as the outermost contour line. Is set in advance.

これにより、撮影画像12から最外輪郭線が検出されれば、それが撮影画像12を2つに分割した右半面の領域にあるか、左半面の領域にあるかから、上側縁94と下側縁93のいずれか見えているのかを容易に、かつ速やかに判別し、その高さ情報を得ることができるようになっている。   As a result, if the outermost contour line is detected from the photographed image 12, the upper edge 94 and the bottom edge are detected from whether the photographed image 12 is in the right half surface area or the left half surface area obtained by dividing the photographed image 12 into two. It is possible to easily and quickly determine which side edge 93 is visible, and obtain height information thereof.

端部位置算出手段24は、撮影画像12内における最外輪郭線の位置を、最外輪郭線の高さ位置に応じて補正することにより、最外輪郭線として撮影されている被測定体90の端部91のカメラ軸11方向に交差する方向についての位置を算出するものである。
The end position calculation unit 24 corrects the position of the outermost contour line in the captured image 12 according to the height position of the outermost contour line, thereby measuring the measurement object 90 photographed as the outermost contour line. The position of the end portion 91 in the direction intersecting the camera axis 11 direction is calculated.

この実施形態では、上述したとおり、最外輪郭線として検出されている部位が端面92の上側縁94か下側縁93かが判別されるため、それぞれの高さ位置に応じた上記補正式(1)または(2)によって、撮影画像12内の最外輪郭線の位置を補正するようになっている。   In this embodiment, as described above, since it is determined whether the portion detected as the outermost contour line is the upper edge 94 or the lower edge 93 of the end surface 92, the above correction formula ( According to 1) or (2), the position of the outermost contour line in the captured image 12 is corrected.

なお、この実施形態では、被測定体90の両端部91,91を2台のカメラ10,10でそれぞれ撮影するため、以上の輪郭線検出、高さ位置判別、および端部位置算出の各処理は、両端部91,91について、それぞれ行うようになっている。 In this embodiment, for taking respective opposite ends 91, 91 of the object to be measured 90 by two cameras 10, 10, contour detection on than, the height position determination, and ends the position calculation The processing is performed for both end portions 91 and 91, respectively.

寸法算出手段25は、算出した前記端部の位置に基づいて当該被測定体90の寸法を算出するものである。   The dimension calculation means 25 calculates the dimension of the measurement object 90 based on the calculated position of the end.

この実施形態では、上述した2台のカメラ10,10の撮影画像12から測定された被測定体90の両端部91,91の位置に基づいて、被測定体90の寸法が算出される。   In this embodiment, the dimension of the measured object 90 is calculated based on the positions of both end portions 91 and 91 of the measured object 90 measured from the captured images 12 of the two cameras 10 and 10 described above.

具体的には、これら2台のカメラ10,10はいずれも理想的な被測定体90であれば撮影画像12の中心にその端部91,91を捉える位置に配置されているから、両端部91,91の理想的な位置からのズレ量を、理想的な被測定体90の長さ寸法に加減することによって、測定対象となっている被測定体90の長さ寸法を算出することができる。   Specifically, since these two cameras 10 and 10 are both ideal measurement objects 90, they are arranged at positions where the end portions 91 and 91 are captured at the center of the captured image 12. It is possible to calculate the length dimension of the measured object 90 to be measured by adding or subtracting the deviation amount from the ideal position of 91, 91 to the ideal length dimension of the measured object 90. it can.

以上のように本実施形態にかかる端面形状検査装置によると、検出した最外輪郭線曲線形状が、撮影画像内における位置、すなわちその撮影角度に応じた曲線形状であるか否かが判断される。このため、被測定体がカメラ軸方向に高さを有し、撮影角度によって端部を構成する高さ位置の異なる部位が撮影される可能性がある場合であっても、端面の形状を正確に評価することができる。   As described above, according to the end face shape inspection apparatus according to the present embodiment, it is determined whether or not the detected outermost contour curve shape is a curve shape according to the position in the captured image, that is, the imaging angle. . Therefore, even when the measured object has a height in the camera axis direction, and there is a possibility that a part with a different height position constituting the end depending on the imaging angle may be imaged, the shape of the end face is accurately Can be evaluated.

また画角を有する通常のカメラによる撮影画像に基づいて、簡易に検査を行うことができる。   In addition, it is possible to easily inspect based on an image captured by a normal camera having an angle of view.

また検出対象として最外輪郭線を用いるため、高い信頼性をもって検出することができる。   In addition, since the outermost contour line is used as a detection target, it can be detected with high reliability.

また、本実施形態にかかる端面形状検査装置によると、端面形状検査とともに、端面の位置や被測定体の長さ寸法を測定することができる。   Moreover, according to the end surface shape inspection apparatus concerning this embodiment, the position of an end surface and the length dimension of a to-be-measured body can be measured with an end surface shape inspection.

そしてこの端面の位置測定においては、最外輪郭線として撮影されている被測定体の端部の高さ位置を撮影画像内における位置に応じて判別し、高さ位置に応じて補正するため、被測定体がカメラ軸方向に高さを有し、撮影角度によって端部を構成する高さ位置の異なる部位が撮影される可能性がある場合であっても、端部の位置を正確に測定することができる。   And in this position measurement of the end face, in order to determine the height position of the end of the measurement object being photographed as the outermost contour line according to the position in the photographed image, and to correct according to the height position, Even when the object to be measured has a height in the camera axis direction and there is a possibility that parts with different height positions constituting the end depending on the imaging angle may be imaged, the position of the end is accurately measured can do.

特に、本実施形態にかかる長さ寸法測定は、一般的な画角を有するカメラによる撮影画像から高精度に被測定体の端部の位置を測定することができるものであり、高価な立体形状計測装置と同等な機能を、より安価に実現することができる。   In particular, the length measurement according to the present embodiment can measure the position of the end of the measured object with high accuracy from an image taken by a camera having a general angle of view, and is an expensive three-dimensional shape. Functions equivalent to the measurement device can be realized at a lower cost.

また、端部の高さ位置に応じて異なる補正演算式を用いたため、適正な補正演算を行うことができる。   In addition, since a different correction calculation formula is used depending on the height position of the end, an appropriate correction calculation can be performed.

また、候補部位の高さ情報を予め設定したため、検出された最外輪郭線として撮影されている被測定体の端部の高さ位置を的確に判別することができる。   Further, since the height information of the candidate part is set in advance, the height position of the end of the measured object that is imaged as the detected outermost contour line can be accurately determined.

また、最外輪郭線として撮影される領域を予め設定し、どの領域に属するかに応じて撮影されている候補部位を判別するため、検出された最外輪郭線として撮影されている被測定体の端部の高さ位置を速やかに判別することができる。   In addition, a region to be imaged as the outermost contour line is set in advance, and a measured object imaged as the detected outermost contour line is determined in order to determine a candidate region being imaged according to which region belongs to It is possible to quickly determine the height position of the end portion.

また、被測定体90にバックライト照明を照射して撮影を行うため、最外輪郭線をより正確に検出することができる。   Moreover, since the measurement is performed by irradiating the measurement object 90 with backlight illumination, the outermost contour line can be detected more accurately.

また、被測定体90の両端部91,91をそれぞれ撮影して算出した位置関係に基づいて被測定体90の長さ寸法を算出するため、撮影時の被測定体90の置き位置によらずその寸法測定を行うことができる。   In addition, since the length dimension of the measurement object 90 is calculated based on the positional relationship calculated by imaging both end portions 91 and 91 of the measurement object 90, the measurement object 90 is not dependent on the position of the measurement object 90 at the time of imaging. The dimension can be measured.

また、被測定体の各端部91,91を異なるカメラ10,10でそれぞれ撮影して各位置を算出するため、各カメラ10.10を被測定体90の各端部91,91を撮影範囲に含む位置に固定しておくことができ、カメラ位置を安定させて、正確な測定を行うことができる。   In addition, since each end 91, 91 of the object to be measured is photographed by different cameras 10, 10 and the respective positions are calculated, each camera 10.10 uses each end 91, 91 of the object 90 to be imaged. The position of the camera can be fixed, and the camera position can be stabilized and accurate measurement can be performed.

また、被測定体90とした円筒体(感光ドラム用基体)の長さを正確に測定して、例えば求められる寸法精度の円筒体の供給に寄与することができる。   In addition, the length of the cylindrical body (photosensitive drum substrate) serving as the measurement target 90 can be accurately measured, which can contribute to the supply of a cylindrical body with the required dimensional accuracy, for example.

以上、本発明を実施形態に基づいて説明したが、本発明は上記に限定されず、以下のように構成してもよい。   As mentioned above, although this invention was demonstrated based on embodiment, this invention is not limited above, You may comprise as follows.

(1)上記実施形態では、被測定体の背後からバックライト照明を照射して撮影したが、バックライト照明等を用いることなく、被測定体の端部の最外輪郭線が検出可能な撮影を行ってもよい。   (1) In the above-described embodiment, imaging is performed by irradiating backlight illumination from behind the object to be measured. However, imaging that can detect the outermost contour of the end of the object to be measured without using backlight illumination or the like. May be performed.

(2)上記実施形態では、被測定体の両端部の位置を測定してからその長さ寸法を算出したが、長さ寸法を算出せず、被測定体の1または複数の端部の位置を測定するだけとしてもよい。   (2) In the above embodiment, the length dimension is calculated after measuring the positions of both ends of the measured object. However, the length dimension is not calculated, and the positions of one or more ends of the measured object are measured. May be measured.

(3)上記実施形態では、被測定体の両端部をそれぞれ別のカメラで撮影して各位置を測定したが、1台のカメラを移動させて各端部を順次撮影し、各位置を算出することにより、被測定体の寸法測定を行うようにしてもよい。あるいはまた1台のカメラに対して被測定体を移動させて各端部を順次撮影し、各位置を算出するようにしてもよい。このようにすると、1台のカメラによる複数の端部の位置測定結果から被測定体の寸法を得ることができる。   (3) In the above embodiment, each position is measured by photographing both ends of the measured object with different cameras, but each end is photographed sequentially by moving one camera, and each position is calculated. By doing so, you may make it perform the dimension measurement of a to-be-measured body. Alternatively, the position of the object to be measured may be calculated by moving the object to be measured with respect to one camera and sequentially photographing each end. If it does in this way, the dimension of a to-be-measured object can be obtained from the position measurement result of a plurality of ends by one camera.

(4)上記実施形態では、2台のカメラで被測定体の両端部を撮影して各位置を算出し、被測定体の長さ寸法を算出したが、被測定体の一端面を所定の位置基準部に当接させた状態で、他の端面を撮影してその位置を算出し、ここから被測定体の長さ寸法を算出するようしてもよい。   (4) In the above-described embodiment, the two ends of the object to be measured are photographed with two cameras, each position is calculated, and the length dimension of the object to be measured is calculated. While contacting the position reference portion, another end face may be photographed to calculate its position, and the length dimension of the measured object may be calculated therefrom.

具体的には、たとえば図12に示すように、被測定体90の一方(右側)の端部は、所定の予め位置決めされた所定の位置基準部40に当接させる。この状態で、上述した実施形態と同様に、他方(左側)の端部を画角θを有するカメラ10により撮影して、その位置を測定する。そして、前記位置基準部の位置と算出した端部の位置に基づいて被測定体の寸法を算出するようになっている。   Specifically, as shown in FIG. 12, for example, one (right side) end of the measurement object 90 is brought into contact with a predetermined position reference portion 40 that is predetermined in advance. In this state, as in the above-described embodiment, the other (left side) end is photographed by the camera 10 having the angle of view θ, and the position thereof is measured. And the dimension of a to-be-measured body is calculated based on the position of the said position reference | standard part, and the calculated position of the edge part.

このようにすると、1台のカメラ10による端部の位置測定結果から被測定体90の寸法を得ることができる。また、カメラ10を被測定体90の一方の端部91を撮影範囲に含む位置に固定しておくことができるため、カメラ位置を安定させて、正確な測定を行うことができる。   In this way, the dimension of the measured object 90 can be obtained from the position measurement result of the end by one camera 10. In addition, since the camera 10 can be fixed at a position where one end 91 of the measurement object 90 is included in the imaging range, the camera position can be stabilized and accurate measurement can be performed.

本発明にかかる被測定体の端面形状の検査方法を行う端面形状検査装置の説明図である。It is explanatory drawing of the end surface shape inspection apparatus which performs the inspection method of the end surface shape of the to-be-measured body concerning this invention. (a)は、被測定体の端面を含む平面上にカメラ軸が位置する位置関係で被測定体の端部を撮影した場合を示す説明図であり、(b)はその場合の撮影画像の例である。(A) is explanatory drawing which shows the case where the edge part of a to-be-measured object was image | photographed by the positional relationship to which a camera axis is located on the plane containing the end surface of a to-be-measured object, (b) is the imaging | photography image in that case It is an example. (a)は、被測定体の端面を含む平面より外側にカメラ軸が位置する位置関係で被測定体の端部を撮影した場合を示す説明図であり、(b)はその場合の撮影画像の例である。(A) is explanatory drawing which shows the case where the edge part of a to-be-measured object was image | photographed with the positional relationship to which a camera axis is located outside the plane containing the end surface of a to-be-measured object, (b) is a picked-up image in that case It is an example. (a)は、被測定体の端面を含む平面より内側にカメラ軸が位置する位置関係で被測定体の端部を撮影した場合を示す説明図であり、(b)はその場合の撮影画像の例である。(A) is explanatory drawing which shows the case where the edge part of a to-be-measured object was image | photographed with the positional relationship to which a camera axis is located inside the plane containing the end surface of a to-be-measured body, (b) is a picked-up image in that case It is an example. (a)は、上下幅が狭い扁平な端面形状の被測定体を撮影した場合を示す説明図であり、図5(b)はその場合の撮影画像の例である。(A) is explanatory drawing which shows the case where the to-be-measured object of a flat end surface with narrow vertical width is image | photographed, FIG.5 (b) is an example of the picked-up image in that case. (a)は、横幅が狭い扁平な端面形状の被測定体を撮影した場合を示す説明図であり、図6(b)はその場合の撮影画像の例である。(A) is explanatory drawing which shows the case where the to-be-measured object of a flat end surface shape with a narrow width | variety is image | photographed, FIG.6 (b) is an example of the picked-up image in that case. (a)は、長手方向に対して垂直でない端面形状の被測定体を端面が斜め上方を向いた姿勢で撮影した場合を示す説明図であり、図7(b)はその場合の撮影画像の例である。(A) is explanatory drawing which shows the case where the to-be-measured object of end face shape which is not perpendicular | vertical with respect to a longitudinal direction is image | photographed with the attitude | position in which the end surface turned diagonally upward, FIG.7 (b) is a picked-up image of the case in that case. It is an example. (a)は、長手方向に対して垂直でない端面形状の被測定体を端面が水平方向を向いた姿勢で撮影した場合を示す説明図であり、図8(b)はその場合の撮影画像の例である。(A) is explanatory drawing which shows the case where the to-be-measured object of the end surface shape which is not perpendicular | vertical with respect to a longitudinal direction is image | photographed with the attitude | position in which the end surface turned to the horizontal direction, FIG.8 (b) is the imaging | photography image in that case. It is an example. 被測定体の端面を含む平面より外側にカメラ軸が位置する位置関係で、被測定体の端部を撮影した場合における、端部位置の算出方法を説明する説明図である。It is explanatory drawing explaining the calculation method of an edge part position when the edge part of a to-be-measured object is image | photographed by the positional relationship in which a camera axis is located outside the plane containing the end surface of a to-be-measured object. 被測定体の端面を含む平面より内側にカメラ軸が位置する位置関係で、被測定体の端部を撮影した場合における、端部位置の算出方法を説明する説明図である。It is explanatory drawing explaining the calculation method of an edge part position when the edge part of a to-be-measured object is image | photographed by the positional relationship to which a camera axis is located inside the plane containing the end surface of a to-be-measured object. 画像処理装置の機能ブロック図である。It is a functional block diagram of an image processing apparatus. 本発明の他の実施形態にかかる端面形状検査装置の説明図である。It is explanatory drawing of the end surface shape test | inspection apparatus concerning other embodiment of this invention.

符号の説明Explanation of symbols

10 カメラ
11 カメラ軸
12 撮影画像
20 画像処理装置
30 照明装置
90 被測定体
91 端部
92 端面
93 上側縁
94 下側縁
DESCRIPTION OF SYMBOLS 10 Camera 11 Camera shaft 12 Captured image 20 Image processing apparatus 30 Illumination apparatus 90 Measurement object 91 End part 92 End surface 93 Upper edge 94 Lower edge

Claims (11)

円筒形状または円柱形状の被測定体の端面を、該端面に略平行な方向から、画角を有するカメラにより撮影し、
撮影画像から被測定体の端面の最外輪郭線を検出し、
検出した最外輪郭線の曲線形状が、その最外輪郭線の前記撮影画像内における位置に応じた曲線形状であるか否かにより、端面の形状を評価するものとし、
前記位置に応じた曲線形状として、検出した最外輪郭線の前記撮影画像内の位置に、理想的な真円形状の端面の最外輪郭線が検出される場合の曲線形状を算出し、
検出した最外輪郭線の曲線形状を、前記理想的な端面の最外輪郭線の曲線形状と比較することにより、当該被測定体の端面の形状を評価することを特徴とする端面形状検査方法。
The end surface of the cylindrical or columnar object to be measured is photographed with a camera having an angle of view from a direction substantially parallel to the end surface,
Detect the outermost contour of the end face of the measured object from the captured image,
According to whether or not the detected curve shape of the outermost contour line is a curved shape according to the position of the outermost contour line in the captured image, the shape of the end face is evaluated .
As a curve shape according to the position, a curve shape when an outermost contour line of an ideal perfect circular shape is detected at a position in the captured image of the detected outermost contour line is calculated.
An end face shape inspection method for evaluating the shape of the end face of the measurement object by comparing the detected curve shape of the outermost outline with the curve shape of the outermost outline of the ideal end face. .
検出した最外輪郭線の曲線形状の画像を、前記理想的な端面の最外輪郭線の曲線形状の画像と比較することにより、当該被測定体の端面の形状を評価する請求項に記載の端面形状検査方法。 An image of the curved shape of the detected most outer profile, by comparing the image of the curved shape of the outermost contour line of the ideal end faces, according to claim 1 for evaluating the shape of the end face of the object to be measured End face shape inspection method. 検出した最外輪郭線の曲線形状の指標となる所定の指標値を、前記理想的な端面の最外輪郭線の曲線形状の前記指標値と比較することにより、当該被測定体の端面の形状を評価する請求項に記載の端面形状検査方法。 By comparing a predetermined index value that is an index of the detected curve shape of the outermost contour line with the index value of the curve shape of the outermost contour line of the ideal end surface, the shape of the end surface of the measured object The end face shape inspection method according to claim 1 , wherein: 被測定体にバックライト照明を照射して撮影を行う請求項1〜のいずれかに記載の端部位置測定方法。 Edge position measuring method according to any one of claims 1 to 3 for imaging by irradiating backlight illumination to the object to be measured. 前記端面の形状を評価するとともに、
検出した最外輪郭線の前記撮影画像内における位置に応じて、当該最外輪郭線として撮影されている部位の高さ位置を判別し、
前記撮影画像内における当該最外輪郭線の位置を、当該最外輪郭線の前記高さ位置に応じて補正することにより、当該最外輪郭線として撮影されている被測定体の端面のカメラ軸方向に交差する方向についての位置を算出する請求項1〜のいずれかに記載の端面形状検査方法。
While evaluating the shape of the end face,
According to the position of the detected outermost contour line in the captured image, determine the height position of the part imaged as the outermost contour line,
By correcting the position of the outermost contour line in the captured image in accordance with the height position of the outermost contour line, the camera axis of the end face of the measurement object being photographed as the outermost contour line the end surface shape inspection method according to any one of claims 1 to 4 for calculating the position of the direction intersecting the direction.
算出した被測定体の端面の位置に基づいて、当該被測定体の長さ寸法を算出する請求項に記載の端面形状検査方法。 The end face shape inspection method according to claim 5 , wherein the length dimension of the measurement object is calculated based on the calculated position of the end face of the measurement object. 被測定体の両端面を撮影し、
この撮影画像に基づいて両端面の形状評価を行うとともに、
この撮影画像に基づいて両端面の位置を算出し、
算出した両端面の位置関係に基づいて当該被測定体の長さ寸法を算出する請求項に記載の端面形状検査方法。
Take a picture of both ends of the measured object,
While evaluating the shape of both end faces based on this captured image,
Calculate the position of both end faces based on this captured image,
The end face shape inspection method according to claim 6 , wherein the length dimension of the measurement object is calculated based on the calculated positional relationship between both end faces.
被測定体の両端面をそれぞれ異なるカメラで撮影して各位置を算出する請求項に記載の端面形状検査方法。 The end face shape inspection method according to claim 7 , wherein each position is calculated by photographing both end faces of the measurement object with different cameras. 被測定体が感光ドラム用基体である請求項1〜のいずれかに記載の端面形状検査方法。 The end surface shape inspection method according to any one of claims 1-8 object to be measured is a substrate for the photosensitive drum. 円筒形状または円柱形状の被測定体の端面を、該端面に略平行な方向から、画角を有するカメラにより撮影する撮影手段と、
撮影画像から被測定体の端面の最外輪郭線を検出する輪郭線検出手段と、
検出した最外輪郭線の曲線形状が、その最外輪郭線の前記撮影画像内における位置に応じた曲線形状であるか否かにより、端面の形状を評価する端面形状評価手段と、を備え
前記位置に応じた曲線形状として、検出した最外輪郭線の前記撮影画像内の位置に、理想的な真円形状の端面の最外輪郭線が検出される場合の曲線形状を算出し、
検出した最外輪郭線の曲線形状を、前記理想的な端面の最外輪郭線の曲線形状と比較することにより、当該被測定体の端面の形状を評価することを特徴とする端面形状検査装置。
An imaging means for imaging an end face of a cylindrical or columnar object to be measured from a direction substantially parallel to the end face with a camera having an angle of view;
Contour detection means for detecting the outermost contour of the end face of the object to be measured from the captured image;
End face shape evaluation means for evaluating the shape of the end face depending on whether or not the detected curve shape of the outermost contour line is a curved shape according to the position of the outermost contour line in the captured image ,
As a curve shape according to the position, a curve shape when an outermost contour line of an ideal perfect circular shape is detected at a position in the captured image of the detected outermost contour line is calculated.
An end face shape inspection apparatus that evaluates the shape of the end face of the measured object by comparing the detected curve shape of the outermost outline with the curve shape of the outermost outline of the ideal end face. .
検出した最外輪郭線の前記撮影画像内における位置に応じて、当該最外輪郭線として撮影されている部位の高さ位置を判別する高さ位置判別手段と、
前記撮影画像内における当該最外輪郭線の位置を、当該最外輪郭線の前記高さ位置に応じて補正することにより、当該最外輪郭線として撮影されている被測定体の端面のカメラ軸方向に交差する方向についての位置を算出する端部位置算出手段と、
を備えた請求項10に記載の端面形状検査装置。
A height position determining means for determining a height position of a part imaged as the outermost contour line according to a position in the captured image of the detected outermost contour line;
By correcting the position of the outermost contour line in the captured image in accordance with the height position of the outermost contour line, the camera axis of the end face of the measurement object being photographed as the outermost contour line End position calculating means for calculating a position in a direction intersecting the direction;
The end surface shape inspection apparatus according to claim 10 , comprising:
JP2006340010A 2006-12-18 2006-12-18 End face shape inspection method and apparatus Expired - Fee Related JP4837541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006340010A JP4837541B2 (en) 2006-12-18 2006-12-18 End face shape inspection method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006340010A JP4837541B2 (en) 2006-12-18 2006-12-18 End face shape inspection method and apparatus

Publications (2)

Publication Number Publication Date
JP2008151649A JP2008151649A (en) 2008-07-03
JP4837541B2 true JP4837541B2 (en) 2011-12-14

Family

ID=39653962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006340010A Expired - Fee Related JP4837541B2 (en) 2006-12-18 2006-12-18 End face shape inspection method and apparatus

Country Status (1)

Country Link
JP (1) JP4837541B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016085188A (en) * 2014-10-29 2016-05-19 東京技研工業株式会社 Stud bolt inspection device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0244202A (en) * 1988-08-05 1990-02-14 Bridgestone Corp Apparatus for detecting end position of object
JPH04184205A (en) * 1990-11-19 1992-07-01 Sumitomo Metal Ind Ltd Length measuring apparatus
JP3136678B2 (en) * 1991-08-28 2001-02-19 日本電気硝子株式会社 Method and apparatus for inspecting size and shape of glass tube
JPH05141925A (en) * 1991-11-22 1993-06-08 Omron Corp Visual sense inspecting device
JP3419422B2 (en) * 1994-09-22 2003-06-23 日本電気硝子株式会社 Inspection method of glass tube rod end face shape
JP3312564B2 (en) * 1996-09-06 2002-08-12 住友金属工業株式会社 Measuring device for long objects
JP2000055620A (en) * 1998-08-12 2000-02-25 Nkk Corp Detector for detecting end face of body, measuring device for measuring length of body, and display of machining finish position of body

Also Published As

Publication number Publication date
JP2008151649A (en) 2008-07-03

Similar Documents

Publication Publication Date Title
TWI440847B (en) Inspection method
JP5480914B2 (en) Point cloud data processing device, point cloud data processing method, and point cloud data processing program
KR101158323B1 (en) Method for inspecting substrate
JP4784555B2 (en) Shape evaluation method, shape evaluation apparatus, and three-dimensional inspection apparatus
EP2416113A2 (en) Position and orientation measurement apparatus and position and orientation measurement method
WO2013061976A1 (en) Shape inspection method and device
JP4837538B2 (en) End position measuring method and dimension measuring method
TW201544788A (en) Methods and system for inspecting a 3D object using 2D image processing
TW201415010A (en) Inspection device, inspection method, and inspection program
JP2021193400A (en) Method for measuring artefact
JP5913903B2 (en) Shape inspection method and apparatus
JP2011203108A (en) Apparatus and method for measuring three-dimensional distance
JP6425406B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
JP2007303994A (en) Visual inspecting device and method
JP4837541B2 (en) End face shape inspection method and apparatus
JP2005283267A (en) Through hole measuring device, method, and program for through hole measurement
JP6486083B2 (en) Information processing apparatus, information processing method, and program
JP5136108B2 (en) 3D shape measuring method and 3D shape measuring apparatus
TW201317587A (en) Dimension measuring device and method thereof
JP6566903B2 (en) Surface defect detection method and surface defect detection apparatus
JP7153514B2 (en) 3D shape inspection device, 3D shape inspection method, 3D shape inspection program, computer
JP2006317418A (en) Image measuring device, image measurement method, measurement processing program, and recording medium
JP2020197495A (en) Information processing apparatus, measuring device, information processing method, program, system, and method for manufacturing article
Percoco et al. 3D image based modelling for inspection of objects with micro-features, using inaccurate calibration patterns: an experimental contribution
JPH0615236A (en) Evaluating device for visual quality of melon

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090901

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110805

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110928

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

Free format text: PAYMENT UNTIL: 20141007

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4837541

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141007

Year of fee payment: 3

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

LAPS Cancellation because of no payment of annual fees