JP2012032344A - Picture measuring device, picture measuring method and program for picture measuring device - Google Patents
Picture measuring device, picture measuring method and program for picture measuring device Download PDFInfo
- Publication number
- JP2012032344A JP2012032344A JP2010174008A JP2010174008A JP2012032344A JP 2012032344 A JP2012032344 A JP 2012032344A JP 2010174008 A JP2010174008 A JP 2010174008A JP 2010174008 A JP2010174008 A JP 2010174008A JP 2012032344 A JP2012032344 A JP 2012032344A
- Authority
- JP
- Japan
- Prior art keywords
- image
- statistical information
- edge position
- workpiece
- error
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
- G06T7/001—Industrial image inspection using an image reference approach
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30164—Workpiece; Machine component
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Instruments For Measurement Of Length By Optical Means (AREA)
Abstract
Description
本発明は、画像測定装置、画像測定方法及び画像測定装置用のプログラムに係り、さらに詳しくは、ワークを撮影して取得したワーク画像のエッジ位置に基づいて、ワークの寸法を測定する画像測定装置に関する。 The present invention relates to an image measuring apparatus, an image measuring method, and a program for the image measuring apparatus. More specifically, the present invention relates to an image measuring apparatus that measures the dimensions of a workpiece based on the edge position of a workpiece image obtained by photographing the workpiece. About.
一般に、画像測定装置は、ワークを撮影してワーク画像を取得し、ワーク画像のエッジ位置に基づいてワークの寸法を測定する装置であり、画像測定器と呼ばれることもある(例えば、特許文献1から3)。通常、ワークは、X,Y及びZ軸方向に移動可能な可動ステージ上に載置される。可動ステージをZ軸方向に移動させることにより、ワーク画像のピント合わせが行われ、X,Y軸方向に移動させることにより、ワークの視野内への位置調整が行われる。 In general, an image measuring apparatus is an apparatus that captures a workpiece to acquire a workpiece image and measures the dimension of the workpiece based on the edge position of the workpiece image, and is sometimes called an image measuring instrument (for example, Patent Document 1). To 3). Usually, the workpiece is placed on a movable stage movable in the X, Y and Z axis directions. The workpiece image is focused by moving the movable stage in the Z-axis direction, and the position of the workpiece in the field of view is adjusted by moving in the X- and Y-axis directions.
ワーク画像は、可動ステージのZ軸方向の位置に関わらず、ワークに対して極めて正確な相似形であることから、画像上で距離や角度を判定することにより、ワーク上における実際の寸法を検知することができる。ワークの寸法測定では、ワーク画像のエッジ抽出が行われる。エッジ抽出は、ワーク画像の輝度変化を解析してエッジ点を検出し、検出した複数のエッジ点に直線や円弧などの幾何学図形をフィッティングさせることにより行われ、ワークと背景との境界を示すエッジが求められる。 The workpiece image is a very accurate similar shape to the workpiece regardless of the position of the movable stage in the Z-axis direction, so the actual dimensions on the workpiece are detected by determining the distance and angle on the image. can do. In measuring the dimensions of a workpiece, edge extraction of the workpiece image is performed. Edge extraction is performed by analyzing the brightness change of the workpiece image, detecting edge points, and fitting a geometric figure such as a straight line or arc to the detected edge points to indicate the boundary between the workpiece and the background Edge is required.
従来の画像測定装置には、ワーク画像を予め保持される所定のマスター画像と比較し、ワーク画像のエッジ位置と対応するマスター画像上の位置との変位量を示す誤差を求め、求めた誤差を許容誤差と比較することにより、輪郭の良否判定を行うものがある。この様な従来の画像測定装置は、同じ製造工程を経て製造される同種のワークの品質管理のために、複数のワークを順次に測定してそれぞれ距離や角度などの寸法値を求め、これらのワークについて、寸法値の平均値や分散値を求めて表示することができる。 In a conventional image measuring apparatus, a workpiece image is compared with a predetermined master image held in advance, an error indicating an amount of displacement between the edge position of the workpiece image and a corresponding position on the master image is obtained, and the obtained error is calculated. There are some which judge the quality of a contour by comparing with an allowable error. Such a conventional image measuring apparatus measures a plurality of workpieces sequentially to obtain dimensional values such as distance and angle for quality control of the same type of workpieces manufactured through the same manufacturing process. With respect to the workpiece, the average value and dispersion value of the dimension values can be obtained and displayed.
本発明は、上記の事情に鑑みてなされたものであり、複数のワークについて、輪郭の不一致度合いを容易に識別することができる画像測定装置、画像測定方法及び画像測定装置用のプログラムを提供することを目的とする。特に、ワーク画像又はマスター画像から抽出されるエッジ上の任意の点について、エッジ位置の誤差に関する統計情報を容易に識別することができる画像測定装置を提供することを目的とする。 The present invention has been made in view of the above circumstances, and provides an image measurement device, an image measurement method, and a program for the image measurement device that can easily identify the degree of inconsistency of contours for a plurality of workpieces. For the purpose. In particular, it is an object of the present invention to provide an image measuring apparatus that can easily identify statistical information regarding an edge position error for an arbitrary point on an edge extracted from a workpiece image or a master image.
第1の本発明による画像測定装置は、ワークを撮影してワーク画像を取得し、上記ワーク画像のエッジ位置に基づいて上記ワークの寸法を測定する画像測定装置であって、上記ワーク画像からエッジを抽出するエッジ抽出手段と、上記ワーク画像及び予め保持された設計データを比較する画像比較手段と、上記比較結果に基づいて、上記ワーク画像のエッジ位置とこのエッジ位置に対応する上記設計データ上の位置との変位量を示す誤差を算出する誤差算出手段と、複数の上記ワーク画像について算出された上記誤差の統計情報をエッジ位置ごとに算出する統計情報算出手段と、上記統計情報を、その値に応じた表示態様で上記ワーク画像又は上記設計データから抽出されたエッジ位置に沿って表示する統計情報表示手段とを備えて構成される。 An image measuring apparatus according to a first aspect of the present invention is an image measuring apparatus that captures an image of a workpiece, acquires the workpiece image, and measures the dimension of the workpiece based on the edge position of the workpiece image. Edge extracting means for extracting the workpiece image, image comparing means for comparing the workpiece image and pre-stored design data, and the edge position of the workpiece image and the design data corresponding to the edge position based on the comparison result An error calculating means for calculating an error indicating a displacement amount with respect to the position, a statistical information calculating means for calculating statistical information of the error calculated for a plurality of the work images for each edge position, and the statistical information, Statistical information display means for displaying along the edge position extracted from the work image or the design data in a display mode according to the value. .
この様な構成によれば、複数のワーク画像について、ワーク画像のエッジ位置と対応する設計データ上の位置との誤差の統計情報をエッジ位置ごとに算出し、エッジ位置に沿って表示するので、エッジ上の任意の点について、誤差の統計情報を容易に識別することができる。すなわち、複数のワーク画像から得られた誤差の統計情報がエッジ位置に沿って表示されるので、統計情報がワーク画像中のどこの統計情報を示すものであるかを直感的に把握することができる。従って、複数のワークについて、輪郭の不一致度合いを容易に識別することができる。例えば、加工精度の低下が局所的に発生しているような場合に、加工精度の低下箇所を直感的に把握することができる。 According to such a configuration, for a plurality of work images, the statistical information of the error between the edge position of the work image and the corresponding position on the design data is calculated for each edge position, and displayed along the edge position. Error statistics can be easily identified for any point on the edge. That is, since statistical information of errors obtained from multiple workpiece images is displayed along the edge position, it is possible to intuitively understand where statistical information indicates statistical information in the workpiece image. it can. Therefore, it is possible to easily identify the degree of contour mismatch for a plurality of workpieces. For example, when a reduction in machining accuracy occurs locally, it is possible to intuitively grasp a place where the machining accuracy is lowered.
第2の本発明による画像測定装置は、上記構成に加え、表示対象とする上記統計情報を指定するための統計情報指定手段を備え、上記統計情報算出手段が、上記統計情報として、上記誤差の平均値、上記誤差の分散値、上記誤差が許容誤差以下となる割合、上記誤差が許容誤差を越える割合、又は、上記誤差の移動平均の傾きを算出し、上記統計情報表示手段が、指定された統計情報を上記エッジ位置に沿って表示するように構成される。この様な構成によれば、エッジ位置に沿って表示させる統計情報を必要に応じて切り替えることができる。 In addition to the above configuration, the image measuring apparatus according to the second aspect of the present invention further includes statistical information designating means for designating the statistical information to be displayed. The statistical information calculating means uses the error information as the statistical information. The statistical value display means is designated by calculating the average value, the variance value of the error, the rate at which the error is less than the allowable error, the rate at which the error exceeds the allowable error, or the slope of the moving average of the error. The statistical information is displayed along the edge position. According to such a configuration, the statistical information to be displayed along the edge position can be switched as necessary.
第3の本発明による画像測定装置は、上記構成に加え、上記ワーク画像又は上記設計データ上のエッジ位置を指定するためのエッジ位置指定手段を備え、上記統計情報表示手段が、指定されたエッジ位置に対応する上記ワーク画像ごとの上記誤差からなる時系列情報を表示するように構成される。この様な構成によれば、エッジ位置を指定することにより、指定されたエッジ位置に関連付けられた誤差の時系列情報を確認することができる。 An image measuring apparatus according to a third aspect of the present invention includes edge position designating means for designating an edge position on the work image or the design data in addition to the above-described configuration, and the statistical information display means includes the designated edge. The time-series information including the error for each work image corresponding to the position is displayed. According to such a configuration, by specifying the edge position, it is possible to confirm time series information of errors associated with the specified edge position.
第4の本発明による画像測定装置は、上記構成に加え、上記統計情報表示手段が、上記統計情報の値に応じて色の異なるドットを上記エッジ位置に沿って表示するように構成される。この様な構成によれば、誤差の統計情報をドットの色により容易に識別することができる。 In addition to the above configuration, the image measurement apparatus according to the fourth aspect of the present invention is configured such that the statistical information display unit displays dots of different colors along the edge position according to the value of the statistical information. According to such a configuration, error statistical information can be easily identified by the color of a dot.
第5の本発明による画像測定装置は、上記構成に加え、上記統計情報表示手段が、上記統計情報の値に応じて大きさの異なるドットを上記エッジ位置に沿って表示するように構成される。この様な構成によれば、誤差の統計情報をドットの大きさにより容易に識別することができる。 In addition to the above configuration, the image measurement apparatus according to the fifth aspect of the present invention is configured such that the statistical information display means displays dots having different sizes along the edge positions according to the value of the statistical information. . According to such a configuration, error statistical information can be easily identified by the size of the dots.
第6の本発明による画像測定装置は、上記構成に加え、上記統計情報表示手段が、上記統計情報の値に応じて高さの異なるヒストグラムを上記エッジ位置に沿って表示するように構成される。この様な構成によれば、誤差の統計情報をヒストグラムの高さにより容易に識別することができる。 In addition to the above-described configuration, the image measuring apparatus according to the sixth aspect of the present invention is configured such that the statistical information display means displays a histogram having different heights along the edge position according to the value of the statistical information. . According to such a configuration, error statistical information can be easily identified by the height of the histogram.
第7の本発明による画像測定方法は、ワークを撮影してワーク画像を取得し、上記ワーク画像のエッジ位置に基づいて上記ワークの寸法を測定する画像測定方法であって、上記ワーク画像からエッジを抽出するエッジ抽出ステップと、上記ワーク画像及び予め保持された設計データを比較する画像比較ステップと、上記比較結果に基づいて、上記ワーク画像のエッジ位置とこのエッジ位置に対応する上記設計データ上の位置との変位量を示す誤差を算出する誤差算出ステップと、複数の上記ワーク画像について算出された上記誤差の統計情報をエッジ位置ごとに算出する統計情報算出ステップと、上記統計情報を、その値に応じた表示態様で上記ワーク画像又は上記設計データから抽出されたエッジ位置に沿って表示する統計情報表示ステップとからなる。 An image measurement method according to a seventh aspect of the present invention is an image measurement method for capturing a workpiece and acquiring a workpiece image, and measuring the dimension of the workpiece based on an edge position of the workpiece image. An edge extraction step for extracting the workpiece image, an image comparison step for comparing the workpiece image and pre-stored design data, and an edge position of the workpiece image and the design data corresponding to the edge position based on the comparison result An error calculating step for calculating an error indicating a displacement amount with respect to the position of the position, a statistical information calculating step for calculating statistical information of the error calculated for a plurality of the work images for each edge position, and the statistical information, Statistical information display step for displaying along the edge position extracted from the work image or the design data in a display mode according to the value. Consisting of.
第8の本発明による画像測定装置用のプログラムは、ワークを撮影してワーク画像を取得し、上記ワーク画像のエッジ位置に基づいて上記ワークの寸法を測定するための画像測定装置用のプログラムであって、上記ワーク画像からエッジを抽出するエッジ抽出手順と、上記ワーク画像及び予め保持された設計データを比較する画像比較手順と、上記比較結果に基づいて、上記ワーク画像のエッジ位置とこのエッジ位置に対応する上記設計データ上の位置との変位量を示す誤差を算出する誤差算出手順と、複数の上記ワーク画像について算出された上記誤差の統計情報をエッジ位置ごとに算出する統計情報算出手順と、上記統計情報を、その値に応じた表示態様で上記ワーク画像又は上記設計データから抽出されたエッジ位置に沿って表示する統計情報表示手順とを実行させる。 A program for an image measuring device according to an eighth aspect of the present invention is a program for an image measuring device for capturing a workpiece, obtaining a workpiece image, and measuring the dimension of the workpiece based on an edge position of the workpiece image. An edge extraction procedure for extracting an edge from the workpiece image, an image comparison procedure for comparing the workpiece image and pre-stored design data, and an edge position of the workpiece image and the edge based on the comparison result An error calculation procedure for calculating an error indicating an amount of displacement from the position on the design data corresponding to the position, and a statistical information calculation procedure for calculating statistical information on the error calculated for a plurality of the work images for each edge position And the statistical information is displayed along the edge position extracted from the work image or the design data in a display mode according to the value. To perform a total of information display procedure.
本発明による画像測定装置、画像測定方法及び画像測定装置用のプログラムでは、複数のワーク画像について、ワーク画像のエッジ位置と対応する設計データ上の位置との誤差の統計情報をエッジ位置ごとに算出し、エッジ位置に沿って表示するので、エッジ上の任意の点について、誤差の統計情報を容易に識別することができる。従って、複数のワークについて、輪郭の不一致度合いを容易に識別することができる。 In the image measurement apparatus, the image measurement method, and the program for the image measurement apparatus according to the present invention, statistical information on errors between the edge position of the work image and the corresponding position on the design data is calculated for each edge position for a plurality of work images. Since it is displayed along the edge position, the error statistical information can be easily identified for any point on the edge. Therefore, it is possible to easily identify the degree of contour mismatch for a plurality of workpieces.
<画像測定装置>
図1は、本発明の実施の形態による画像測定装置100の一構成例を示した斜視図である。この画像測定装置100は、可動ステージ12上の検出エリア13内に配置された複数のワークを異なる撮影倍率で撮影し、その撮影画像を解析して各ワークの寸法を自動測定する測定器であり、測定ユニット10、制御ユニット20、キーボード31及びマウス32からなる。ワークは、その形状や寸法が測定される測定対象物である。
<Image measuring device>
FIG. 1 is a perspective view showing a configuration example of an
測定ユニット10は、ワークに検出光を照射し、その透過光又は反射光を受光して撮影画像を生成する光学系ユニットであり、ディスプレイ11、可動ステージ12、XY位置調整つまみ14a、Z位置調整つまみ14b、電源スイッチ15及び測定開始スイッチ16が設けられている。
The
ディスプレイ11は、撮影画像や測定結果を表示画面11a上に表示する表示装置である。可動ステージ12は、測定対象とするワークを載置するための載置台であり、検出光を透過させる検出エリア13が設けられている。検出エリア13は、透明ガラスからなる円形状の領域である。この可動ステージ12は、検出光の光軸に平行なZ軸方向と、光軸に垂直なXYの各軸方向とに移動させることができる。
The
XY位置調整つまみ14aは、可動ステージ12をX軸方向及びY軸方向に移動させるための操作部である。Z位置調整つまみ14bは、可動ステージ12をZ軸方向に移動させるための操作部である。電源スイッチ15は、測定ユニット10及び制御ユニット20の電源をオンするための操作部であり、測定開始スイッチ16は、ワークに対する測定を開始させるための操作部である。
The XY
制御ユニット20は、測定ユニット10による撮影や画面表示を制御し、撮影画像を解析してワークの寸法を測定するコントローラであり、キーボード31及びマウス32が接続されている。電源投入後、検出エリア13内に複数のワークを適当に配置して測定開始スイッチ16を操作すれば、各ワークについてその寸法が自動的に測定される。
The
<測定ユニット>
図2は、図1の画像測定装置100における測定ユニット10内の構成例を模式的に示した説明図であり、測定ユニット10を垂直面により切断した場合の切断面の様子が示されている。この測定ユニット10は、筐体40内部が、Z駆動部41、XY駆動部42、撮像素子43,44、透過照明ユニット50、リング照明ユニット60、同軸落射照明用光源71、受光レンズユニット80により構成されている。
<Measurement unit>
FIG. 2 is an explanatory diagram schematically showing a configuration example in the
Z駆動部41は、制御ユニット20からの駆動信号に基づいて、可動ステージ12をZ軸方向に移動させ、ワークのZ軸方向の位置を調整するZ位置調整手段である。XY駆動部42は、制御ユニット20からのXY駆動信号に基づいて、可動ステージ12をX軸方向及びY軸方向に移動させ、ワークのXY平面内の位置を調整するXY位置調整手段である。
The
透過照明ユニット50は、可動ステージ12上に載置されたワークに対し、検出光を下側から照射するための照明装置であり、透過照明用光源51、ミラー52及び光学レンズ53からなる。透過照明用光源51から出射された検出光は、ミラー52により反射され、光学レンズ52を介して出射される。この検出光は、可動ステージ12を透過し、その透過光の一部は、ワークにより遮断され、他の一部が受光レンズユニット80に入射する。
The transmitted
リング照明ユニット60は、可動ステージ12上のワークに対し、検出光を上側から照射するための照明装置であり、受光レンズユニット80を取り囲むリング状の光源からなる。同軸落射照明用光源71は、可動ステージ12上のワークに対し、検出光を上側から照射するための光源であり、ワークに対する照射光の光軸とワークによる反射光の光軸とが同軸となるように、ハーフミラー72が配置されている。ワークの照明方法としては、透過照明、リング照明又は同軸落射照明のいずれかを選択的に切り替えることができる。
The
受光レンズユニット80は、受光レンズ81,84,86、ハーフミラー82、絞り板83及び85からなる光学系であり、透過照明ユニット50からの透過光と、検出光のワークによる反射光とを受光して撮像素子43及び44に結像させる。受光レンズ81は、可動ステージ12側に配置された光学レンズであり、当該可動ステージ12の上面に対向させて配置されている。受光レンズ84は、撮像素子43側に配置された光学レンズであり、当該撮像素子43に対向させて配置されている。また、受光レンズ86は、撮像素子44側に配置された光学レンズであり、当該撮像素子44に対向させて配置されている。
The light receiving
絞り板83及び受光レンズ84は、撮影倍率の低い低倍側結像部であり、その中心軸を光学レンズ53及び受光レンズ81と一致させて配置されている。一方、絞り板85及び受光レンズ86は、撮影倍率の高い高倍側結像部であり、ワークからの検出光はハーフミラー82を介して入射される。受光レンズ81,84及び86は、ワークの光軸方向(Z軸方向)の位置が変化しても、像の大きさを変化させない性質を有し、テレセントリックレンズと呼ばれる。
The diaphragm plate 83 and the
撮像素子43は、受光レンズユニット80により形成される低倍率視野内のワークを低倍率で撮影し、低倍率画像を生成する低倍率用のイメージセンサである。撮像素子44は、受光レンズユニット80により形成される高倍率視野内のワークを高倍率で撮影し、高倍率画像を生成する高倍率用のイメージセンサである。高倍率視野は、低倍率視野よりも狭い視野であり、低倍率視野内に形成される。
The
撮像素子43,44は、いずれもCCD(Charge Coupled Devices:電荷結合素子)又はCMOS(Complementary Metal Oxide Semiconductor:相補型金属酸化物半導体)などの半導体素子からなる。
The
この画像測定装置100では、可動ステージ12の検出エリア13内であれば、ワークをどこに配置しても、低倍率視野で捉えられる。また、低倍率視野内に配置されたワークは、低倍率画像を解析して可動ステージ12をXY平面内で移動させることにより、高倍率視野内へ案内され、高倍率で撮影される。この画像測定装置100では、低倍率視野及び高倍率視野が略同心であり、低倍率画像と高倍率画像とを同時に取得することができる。
In this
<画像測定装置の動作>
図3のステップS101〜S103は、図1の画像測定装置100の動作の一例を示したフローチャートである。この画像測定装置100では、その動作が3つのプロセス、すなわち、測定設定データの作成(ステップS101)、測定の実行(ステップS102)及び測定結果の表示(ステップS103)からなる。
<Operation of image measuring apparatus>
Steps S101 to S103 in FIG. 3 are flowcharts showing an example of the operation of the
測定設定データは、測定の実行に必要な情報であり、特徴量を示す特徴量情報、測定箇所や測定種別を示す情報、測定箇所ごとの設計値や公差を示す情報などからなる。特徴量情報は、ワーク画像を解析してワークの位置や姿勢を検出するための位置決め用の情報であり、所定のマスター画像に基づいて設定される。なお、特徴量情報、測定箇所や測定種別を示す情報が高倍率画像に基づいて設定されたものである場合には、その旨を示す識別情報が測定設定データとして保持される。 The measurement setting data is information necessary for execution of measurement, and includes feature amount information indicating feature amounts, information indicating measurement locations and measurement types, information indicating design values and tolerances for each measurement location, and the like. The feature amount information is positioning information for analyzing the workpiece image and detecting the position and posture of the workpiece, and is set based on a predetermined master image. If the feature amount information, the information indicating the measurement location and the measurement type are set based on the high-magnification image, identification information indicating that fact is stored as measurement setting data.
測定設定データは、制御ユニット20において作成される。或いは、PC(パーソナルコンピュータ)などの情報処理端末において作成された測定設定データを制御ユニット20に転送して用いるような構成であっても良い。測定処理は、この様な測定設定データに基づいて実行される。そして、測定結果の表示処理は、測定によって得られた寸法値などをディスプレイ11上に表示することにより行われる。
The measurement setting data is created in the
<測定設定データの作成>
図4のステップS201〜S203は、図1の画像測定装置100における測定設定データの作成時の動作の一例を示したフローチャートである。この図には、制御ユニット20において測定設定データを作成する場合が示されている。
<Create measurement setting data>
Steps S201 to S203 in FIG. 4 are flowcharts showing an example of the operation when creating the measurement setting data in the
測定設定データの作成処理は、3つの処理手順、すなわち、設計データの入力(ステップS201)と、特徴量の設定(ステップS202)と、設計値及び公差の修正(ステップS203)からなる。設計データの入力ステップは、マスターピースなどの所定の基準物を撮影した撮影画像、或いは、CAD(Computer Aided Design)により作成されたCADデータを入力し、入力された設計データから後述する輪郭比較のための輪郭情報を取得するステップである。なお、輪郭情報は、マスターピースを撮影した画像を設計データとして用いる場合、その画像のエッジ点の集合であり、CADデータを設計データとして用いる場合には、CADデータの設計値が輪郭情報に相当する。 The measurement setting data creation process includes three processing procedures: design data input (step S201), feature value setting (step S202), and design value and tolerance correction (step S203). In the design data input step, a photographed image obtained by photographing a predetermined reference object such as a master piece or CAD data created by CAD (Computer Aided Design) is input, and contour comparison to be described later is performed from the input design data. It is the step which acquires the outline information. The contour information is a set of edge points of an image obtained by photographing the master piece as design data. When CAD data is used as design data, the design value of the CAD data corresponds to the contour information. .
入力した設計データに、輪郭比較を実行する範囲や、比較される各輪郭に公差が予め設定されている場合は、設計データの入力とともにこれらの情報も入力され、測定設定データとして設定される。 When tolerances are set in advance in the input design data for the range in which contour comparison is performed and for each contour to be compared, these pieces of information are also input together with the design data and set as measurement setting data.
ステップS202において、特徴量は、入力された設計データから自動的に抽出されるが、ユーザが特徴量を抽出する範囲を設定することにより、特徴量の設定が実行されるようにしても良い。 In step S202, the feature amount is automatically extracted from the input design data. However, the feature amount may be set by setting a range in which the user extracts the feature amount.
続いて、ステップS203において、必要に応じて、ユーザは、輪郭比較を実行する範囲や公差の修正を行うことができる。上記ステップを実行することにより、設計データの輪郭比較範囲、設計値である輪郭比較範囲内の輪郭情報、各輪郭位置の公差を含む測定設定データが生成され、記憶される。 Subsequently, in step S203, the user can correct the range or tolerance for performing the contour comparison as necessary. By executing the above steps, the measurement setting data including the contour comparison range of the design data, the contour information within the contour comparison range as the design value, and the tolerance of each contour position is generated and stored.
<輪郭比較>
図5のステップS301〜S308は、図1の画像測定装置100における測定時の動作の一例を示したフローチャートである。まず、可動ステージ12上に配置されたワークを撮影してワーク画像を取得し、測定設定データの特徴量情報に基づいてワーク画像を解析することにより、ワークの位置決めが行われる(ステップS301)。このワークの位置決めは、特徴量情報に基づくパターンマッチングなどの手法を用いて、ワーク画像内におけるワークの位置及び姿勢を検出することにより行われる。
<Contour comparison>
Steps S301 to S308 in FIG. 5 are flowcharts illustrating an example of an operation at the time of measurement in the
次に、位置及び姿勢の検出結果と測定設定データに基づいて、輪郭比較を行う範囲を特定し(ステップS302)、比較範囲内に存在するエッジを抽出する(ステップS303)。エッジ抽出の方法としては、画像の輝度値を用いる方法、輝度値の1次微分を用いる方法、輝度値の2次微分を用いる方法などを利用することができる。 Next, based on the detection result of the position and orientation and the measurement setting data, a range for contour comparison is specified (step S302), and an edge existing in the comparison range is extracted (step S303). As an edge extraction method, a method using the luminance value of the image, a method using the first derivative of the luminance value, a method using the second derivative of the luminance value, or the like can be used.
次に、抽出した各エッジ位置と、各エッジ位置に対応する設計データの輪郭情報(設計値)とを比較し、誤差を算出する(ステップS304,S305)。設計値との誤差は、幾何学的に計算される。すなわち、設計データの輪郭情報が曲線として与えられている場合、誤差は、エッジ位置と曲線の法線方向の距離として規定することができる。また、輪郭情報が基準座標として与えられている場合には、XYの各座標軸方向の距離として算出することができる。 Next, each extracted edge position is compared with the outline information (design value) of the design data corresponding to each edge position, and an error is calculated (steps S304 and S305). The error from the design value is calculated geometrically. That is, when the contour information of the design data is given as a curve, the error can be defined as the distance between the edge position and the normal direction of the curve. Further, when the contour information is given as reference coordinates, it can be calculated as a distance in the direction of each coordinate axis of XY.
続いて、このとき算出された誤差と、測定設定データに含まれる公差とを比較し(ステップS306)、各エッジ位置ごとに良否の判定を行う(ステップS307)。この様に、予め入力した設計データの輪郭情報と、ワーク画像から抽出したエッジ位置とを比較することにより、各エッジ位置ごとに設計データとの誤差を算出することができる。なお、本実施例では、各エッジ位置ごとに設計データとの誤差を算出することとしたが、エッジ位置を間引いて一部のエッジ位置についてのみ誤差を算出するようにしても良い。 Subsequently, the error calculated at this time is compared with the tolerance included in the measurement setting data (step S306), and pass / fail is determined for each edge position (step S307). In this way, by comparing the contour information of the design data inputted in advance with the edge position extracted from the work image, an error from the design data can be calculated for each edge position. In this embodiment, the error from the design data is calculated for each edge position, but the error may be calculated only for a part of the edge positions by thinning out the edge positions.
<マスター画像>
図6は、設計データとして予め保持されるマスター画像A1の一例を示した図である。このマスター画像A1は、特徴量の設定や輪郭比較に用いるパターン画像である。
<Master image>
FIG. 6 is a diagram illustrating an example of a master image A1 that is held in advance as design data. The master image A1 is a pattern image used for setting feature amounts and comparing contours.
マスター画像A1は、例えば、所定の基準物を画像測定装置100により撮影した撮影画像に基づいて作成される。或いは、CADにより作成されたCAD画像をマスター画像A1として用いても良い。ここでは、所定の基準物を画像測定装置100により撮影した撮影画像をマスター画像A1として用いた場合の例を説明する。この様なマスター画像A1と、ワークを撮影して取得したワーク画像を比較することにより、輪郭の不一致度合いを検知することができる。
The master image A1 is created based on a photographed image obtained by photographing a predetermined reference object with the
<時系列情報のグラフ表示>
図7は、図1の画像測定装置100における測定結果の表示時の動作の一例を示した図であり、エッジ位置に関連付けられた時系列情報のグラフ表示の一例が示されている。画像測定装置100を製造現場で用いる場合、次々と加工、成型された加工品を連続的に測定して良否判定を行うために、通常、同一形状で略同サイズの複数のワークを連続的に測定するケースが多い。同一の形状、サイズのワークを連続測定する場合には、一度設定した測定設定データを繰返し利用することができるため、ユーザはワークを測定位置にセットして測定の実行を指示するだけでワークの良否判定を次々と実行させることができる。
<Graph display of time series information>
FIG. 7 is a diagram showing an example of the operation when displaying the measurement result in the
測定を繰り返すごとに、各エッジ位置と設計データとの誤差を取得することにより、各エッジ位置ごとの誤差を時系列に取得することができる。図中の(a)及び(b)は、この時得られる誤差の時系列情報を示す例である。この時系列情報は、エッジ位置に対応するワーク画像ごとの誤差からなり、順次に取得した複数のワーク画像に基づいて作成され、エッジ位置に関連付けて保持される。 By acquiring the error between each edge position and the design data every time measurement is repeated, the error for each edge position can be acquired in time series. (A) and (b) in the figure are examples showing time series information of errors obtained at this time. This time-series information includes errors for each work image corresponding to the edge position, is created based on a plurality of work images acquired sequentially, and is held in association with the edge position.
図7の例では、横軸を測定回数とし、縦軸を誤差の測定値として時系列情報がグラフ表示されている。また、このグラフには、誤差の平均値を示すライン2、誤差の標準偏差σに対応する判定ライン4a,4b、公差の上限及び下限をそれぞれ示す公差ライン3a,3bが表示されている。この様なグラフ表示により、誤差がどの時点で大きく変化したのかを容易に識別することができる。
In the example of FIG. 7, the time series information is displayed in a graph with the horizontal axis as the number of measurements and the vertical axis as the error measurement value. Further, in this graph, a line 2 indicating the average value of errors,
図7の(a)は、連続測定の途中、すなわち、T回目の測定後に測定精度が急激に悪化している例を示している。この様な場合、ユーザの製造環境に突発的な異常が発生した可能性がある。一方、図7の(b)のケースでは、ワークの加工精度に全体として大きなバラツキがあるため、例えば、加工時のワークの位置決め精度にバラツキが発生していたり、加工装置自体が経年劣化により安定した加工精度を維持できない状態になっている可能性がある。 FIG. 7A shows an example in which the measurement accuracy is rapidly deteriorated during the continuous measurement, that is, after the T-th measurement. In such a case, a sudden abnormality may have occurred in the user's manufacturing environment. On the other hand, in the case of FIG. 7B, since there is a large variation in the machining accuracy of the workpiece as a whole, for example, there is a variation in the positioning accuracy of the workpiece during machining, or the machining device itself is stable due to aging There is a possibility that the processed accuracy cannot be maintained.
図8は、図1の画像測定装置100における測定結果の表示時の動作の一例を示した図であり、エッジ位置に関連付けられた測定値ごとの度数分布が示されている。この図は、統計情報のグラフ表示の一例であり、横軸を誤差の測定値とし、縦軸を度数として、測定値の出現頻度を統計情報とする場合が示されている。
FIG. 8 is a diagram showing an example of the operation when displaying the measurement result in the
この様に、誤差の時系列情報や度数分布を確認することにより、不良品が発生した時期や原因を追究することが容易になる。しかし、この様な時系列情報を確認するだけでは、ワークの全体の中で特にどの部分に不良が頻発しているのかを把握することはできない。すなわち、時系列情報や度数分布のみでは、誤差の経時的な変化を確認することはできても、ワークの各部位ごとに誤差を評価、解析することが難しい。 In this way, by checking the time series information and frequency distribution of errors, it becomes easy to investigate the timing and cause of defective products. However, simply checking such time-series information does not make it possible to grasp which part of the entire work is particularly defective. That is, it is difficult to evaluate and analyze the error for each part of the workpiece even though the time-dependent information and the frequency distribution alone can confirm the change of the error over time.
そこで、本実施の形態では、各エッジ位置ごとに誤差の統計情報を算出して、当該統計情報をワーク画像又は設計データの輪郭に沿って重畳表示している。 Therefore, in the present embodiment, error statistical information is calculated for each edge position, and the statistical information is superimposed and displayed along the contour of the work image or design data.
<ワーク画像に対する統計情報の重畳表示>
図9及び図10は、図1の画像測定装置100における測定結果の表示時の動作の一例を示した図であり、誤差の統計情報を示すドット1がエッジ上に配置されたワーク画像A2が示されている。ワーク画像A2は、例えば、低倍率視野内のワークを低倍率で撮影して得られる撮影画像である。この図では、検出エリア13内に配置されたワークを透過照明時に撮影した撮影画像が示されている。
<Statistical information overlay on work image>
FIG. 9 and FIG. 10 are diagrams showing an example of the operation at the time of displaying the measurement result in the
測定設定データの特徴量情報に基づいて、ワーク画像A2を解析することにより、ワークの低倍率視野内における位置や姿勢などの配置状態を特定することができる。ワーク画像A2のエッジ抽出は、ワークの配置状態に基づいてワーク画像A2を解析することにより行われる。 By analyzing the workpiece image A2 based on the feature amount information of the measurement setting data, it is possible to specify the arrangement state such as the position and posture of the workpiece in the low magnification field of view. Edge extraction of the workpiece image A2 is performed by analyzing the workpiece image A2 based on the arrangement state of the workpiece.
具体的には、ワーク画像A2の輝度変化を解析することにより、エッジ点が検出される。そして、検出された複数のエッジ点について、最小2乗法などの統計的手法を用いてこれらのエッジ点に直線又は円弧などの幾何学図形をフィッティングさせれば、ワークの輪郭線がエッジとして求められる。 Specifically, the edge point is detected by analyzing the luminance change of the work image A2. Then, for a plurality of detected edge points, if a geometrical figure such as a straight line or an arc is fitted to these edge points using a statistical method such as a least square method, the outline of the workpiece is obtained as an edge. .
同一形状で略同サイズの複数のワークを順次に撮影して得られる複数のワーク画像A2について、エッジ位置を求めれば、各ワークの製造時の寸法バラツキの影響により、ワーク画像A2の輪郭にバラツキが生じる。 If an edge position is obtained for a plurality of workpiece images A2 obtained by sequentially photographing a plurality of workpieces of the same shape and substantially the same size, the outline of the workpiece image A2 varies due to the influence of dimensional variations during manufacturing of each workpiece. Occurs.
本実施の形態による画像測定装置100では、輪郭の不一致度合いが統計情報の値に応じて大きさや色が異なるドット1により表される。誤差は、ワーク画像A2のエッジ位置と対応するマスター画像上の位置との変位量を示すパラメータである。統計情報は、エッジ位置ごとの乖離度合いを示す指標であり、複数のワーク画像A2についての誤差の演算結果からなる。例えば、統計情報として、複数のワークに関する誤差の平均値、誤差の分散値、OK率、NG率、誤差の移動平均の傾き、誤差の最大値、最小値などが算出される。NG率は、誤差が公差を越える割合である。
In the
ドット1は、統計情報の値に応じた表示態様で表示される表示オブジェクトであり、例えば、大きさ及び色相が統計情報の値に応じて異なる円形領域からなる。ドット1は、ワーク画像A2又はマスター画像A1から抽出されたエッジ位置に沿って配置される。この例では、ドット1がワーク画像A2のエッジ上に配置されている。なお、ドット1は、マスター画像A1のエッジ上に表示しても良い。 The dot 1 is a display object that is displayed in a display mode corresponding to the value of the statistical information, and includes, for example, a circular area whose size and hue are different depending on the value of the statistical information. The dot 1 is arranged along the edge position extracted from the work image A2 or the master image A1. In this example, the dot 1 is arranged on the edge of the work image A2. The dot 1 may be displayed on the edge of the master image A1.
ユーザは、統計情報として様々な種類のものを選択することができる。図9は、統計情報として誤差の平均値を選択した場合の表示例を示したものであり、誤差が平均して多く発生しているエッジ位置のドット1が大きく表示されている。一方、図10は、誤差の分散値を選択した場合の表示例を示したものであり、誤差の分散が多く発生しているエッジ位置のドット1が大きく表示されている。これらの図に示すように、表示対象とする統計情報を切り替えることにより、ドット1が大きく表示されるエッジ位置が変化することがある。 The user can select various types of statistical information. FIG. 9 shows a display example when the average value of errors is selected as the statistical information, and the dot 1 at the edge position where an error occurs on the average is greatly displayed. On the other hand, FIG. 10 shows a display example when the error variance value is selected, and the dot 1 at the edge position where a large amount of error variance occurs is displayed large. As shown in these figures, the edge position where the dot 1 is displayed may change by switching the statistical information to be displayed.
この様に、表示対象とする統計情報を切り替えることにより、ユーザは各統計情報が持つ特性に従った誤差情報を確認することができる。例えば、誤差の分散値が大きい場合には、加工時のワークの位置決め精度にバラツキが発生していたり、加工装置自体が経年劣化により安定した加工精度を維持できない状態になっている可能性がある。一方、誤差の移動平均の傾きを確認すれば、加工精度が他の部位よりも早いスピードで経時的に低下してきている特定の部位を確認することができる。これにより、ユーザは問題の原因を追究することが容易となり必要な措置を取ることができる。 In this way, by switching the statistical information to be displayed, the user can check error information according to the characteristics of each statistical information. For example, when the variance value of the error is large, there is a possibility that the workpiece positioning accuracy at the time of machining varies, or that the machining device itself cannot maintain stable machining accuracy due to deterioration over time. . On the other hand, if the inclination of the moving average of the error is confirmed, it is possible to confirm a specific part whose processing accuracy is decreasing with time at a faster speed than other parts. This makes it easy for the user to investigate the cause of the problem and take necessary measures.
さらに、本実施の形態では、図9のエッジ位置P1をユーザが指定すると、例えば、上述した図7の(a)に示されるような時系列情報が表示される。エッジ位置P1は、誤差の平均値が大きいため、連続して大きな誤差が発生している時系列情報が表示される。一方、図10のエッジ位置P2をユーザが指定すると、図7の(b)に示されるような時系列情報が表示される。エッジ位置P2は、誤差の平均値は小さいが、分散値が大きい時系列情報である。この様に、ユーザが統計情報の重畳表示中に特に気になったエッジ位置を指定することにより、統計情報の重畳表示では確認できない経時的な誤差の変化を確認することができる。 Further, in the present embodiment, when the user designates the edge position P1 in FIG. 9, for example, time-series information as shown in FIG. 7A described above is displayed. Since the edge position P1 has a large average error value, time series information in which a large error continuously occurs is displayed. On the other hand, when the user designates the edge position P2 in FIG. 10, time-series information as shown in FIG. 7B is displayed. The edge position P2 is time-series information with a small average value of errors but a large variance value. In this way, by specifying the edge position that the user is particularly interested in when the statistical information is superimposed and displayed, it is possible to check the change in error over time that cannot be confirmed by the superimposed display of statistical information.
<間引き表示>
図11は、図1の画像測定装置100における測定結果の表示時の動作の他の一例を示した図であり、誤差の統計情報を示すドット1を間引いてエッジ上に配置する場合が示されている。統計情報の値に応じて大きさや色相が異なるドット1をエッジ位置に沿って表示する場合、ピクセル単位で表示しても良いが、統計情報やドット1を容易に識別できるようにするために、間引き表示することが望ましい。この間引き表示は、ドット1を所定間隔でエッジ上に配置するものである。
<Thinning display>
FIG. 11 is a diagram showing another example of the operation when displaying the measurement result in the
<制御ユニット>
図12は、図1の画像測定装置100における制御ユニット20の構成例を示したブロック図であり、制御ユニット20内の機能構成の一例が示されている。この制御ユニット20は、測定設定データ記憶部21、位置及び姿勢検出部22、エッジ抽出部23、画像比較部24、誤差算出部25、統計情報算出部26、統計情報表示部27、エッジ位置指定部28及び統計情報指定部29により構成される。
<Control unit>
FIG. 12 is a block diagram illustrating a configuration example of the
測定設定データ記憶部21には、マスター画像が測定設定データとして予め保持される。位置及び姿勢検出部22は、ワーク画像を測定ユニット10から取得し、測定設定データ記憶部21から読み出した特徴量情報に基づいてワーク画像を解析することにより、ワークの位置及び姿勢を検出する。エッジ抽出部23は、位置及び姿勢検出部22による検出結果に基づいて、ワーク画像からエッジを抽出する。画像比較部24は、ワーク画像を測定設定データ記憶部21から読み出したマスター画像と比較し、その比較結果を誤差算出部25へ出力する。
In the measurement setting
誤差算出部25は、画像比較部24による比較結果に基づいて、ワーク画像のエッジ位置とこのエッジ位置に対応するマスター画像上の位置との変位量を示す誤差を算出し、統計情報算出部26へ出力する。統計情報算出部26は、複数のワーク画像について算出された誤差に基づいて、エッジ位置ごとの乖離度合いを示す統計情報を算出し、統計情報表示部27へ出力する。
The
統計情報表示部27は、統計情報を、その値に応じた表示態様でエッジ位置に沿って表示するための画面データを生成し、測定ユニット10へ出力する。具体的には、統計情報を示すドット1がワーク画像又はマスター画像から抽出されたエッジ位置に沿って表示される。ドット1は、統計情報の値に応じてその大きさ及び色相が異なる。
The statistical
エッジ位置指定部28は、ユーザによる所定の操作入力に基づいて、ワーク画像又はマスター画像上のエッジ位置を指定する。統計情報表示部27では、エッジ位置指定部28によりエッジ位置が指定されれば、指定されたエッジ位置に対応する時系列情報を表示する動作が行われる。
The edge
統計情報指定部29は、ユーザによる所定の操作入力に基づいて、表示対象とする統計情報を指定する。統計情報表示部27では、統計情報指定部29により統計情報が指定されれば、指定された統計情報をエッジ位置に沿って表示する動作が行われる。
The statistical
<統計情報の表示フロー>
図13のステップS401〜S407は、図1の画像測定装置100における統計情報の表示時の動作の一例を示したフローチャートである。統計情報算出部26は、複数のワーク画像について算出された誤差に基づいて、エッジ位置ごとの誤差を示す統計情報を算出する(ステップS401)。統計情報表示部27は、統計情報を示すドット1をエッジ位置に沿って表示する(ステップS402)。
<Statistical information display flow>
Steps S401 to S407 in FIG. 13 are flowcharts showing an example of operations at the time of displaying statistical information in the
次に、統計情報表示部27は、表示対象とする統計情報を変更するための所定の切替操作があれば、統計情報を変更する(ステップS403,S404)。また、統計情報表示部27は、エッジ位置が指定されれば、当該エッジ位置に関連付けられた時系列情報をグラフ表示する(ステップS405,S406)。ステップS403からステップS406までの処理手順は、表示終了が指示されるまで繰り返される(ステップS407)。
Next, if there is a predetermined switching operation for changing the statistical information to be displayed, the statistical
本実施の形態によれば、複数のワーク画像A2について、ワーク画像A2のエッジ位置とマスター画像A1上の位置との誤差からエッジ位置ごとの誤差を示す統計情報を算出し、エッジ位置に沿って表示するので、エッジ上の任意の点について、誤差の統計情報を容易に識別することができる。従って、複数のワークについて、輪郭の不一致度合いを容易に識別することができる。 According to the present embodiment, for a plurality of work images A2, statistical information indicating an error for each edge position is calculated from an error between the edge position of the work image A2 and the position on the master image A1, and along the edge positions. Since it is displayed, the error statistical information can be easily identified for any point on the edge. Therefore, it is possible to easily identify the degree of contour mismatch for a plurality of workpieces.
また、エッジ位置に沿って表示させる統計情報をユーザ操作により切り替えることができる。さらに、エッジ位置を指定することにより、指定されたエッジ位置に関連付けられた誤差の時系列情報を確認することもできる。 Further, statistical information to be displayed along the edge position can be switched by a user operation. Furthermore, by specifying the edge position, it is possible to check time series information of errors associated with the specified edge position.
なお、本実施の形態では、統計情報の値に応じて大きさ及び色相が異なるドット1をエッジ位置に沿って表示する場合の例について説明したが、統計情報の値が識別可能な表示態様であれば、他の構成であっても良い。例えば、統計情報の値に応じて高さが異なるヒストグラムをエッジ位置に沿って表示するものも本発明には含まれる。 In the present embodiment, an example in which the dots 1 having different sizes and hues according to the value of the statistical information are displayed along the edge position has been described. However, in a display mode in which the value of the statistical information can be identified. Any other configuration may be used. For example, the present invention includes a display that displays a histogram having different heights according to the value of statistical information along the edge position.
1 ドット
10 測定ユニット
11 ディスプレイ
11a 表示画面
12 可動ステージ
13 検出エリア
14a XY位置調整つまみ
14b Z位置調整つまみ
15 電源スイッチ
16 測定開始スイッチ
20 制御ユニット
21 被写体画像記憶部
22 マッチング画像記憶部
23 輪郭線検出部
23a 位置及び姿勢検出部
23b エッジ検出部
23c フィッティング部
24 輪郭基準記憶部
25 統計値算出部
26 統計値表示部
27 位置指定部
31 キーボード
32 マウス
40 筐体
41 Z駆動部
42 XY駆動部
43,44 撮像素子
50 透過照明ユニット
51 透過照明用光源
52 ミラー
53 光学レンズ
60 リング照明ユニット
71 同軸落射照明用光源
72 ハーフミラー
80 受光レンズユニット
81,84,86 受光レンズ
82 ハーフミラー
83,85 絞り板
100 画像測定装置
A1 マスター画像
A2 ワーク画像
1 dot 10
Claims (8)
上記ワーク画像からエッジを抽出するエッジ抽出手段と、
上記ワーク画像及び予め保持された設計データを比較する画像比較手段と、
上記比較結果に基づいて、上記ワーク画像のエッジ位置とこのエッジ位置に対応する上記設計データ上の位置との変位量を示す誤差を算出する誤差算出手段と、
複数の上記ワーク画像について算出された上記誤差の統計情報をエッジ位置ごとに算出する統計情報算出手段と、
上記統計情報を、その値に応じた表示態様で上記ワーク画像又は上記設計データから抽出されたエッジ位置に沿って表示する統計情報表示手段とを備えたことを特徴とする画像測定装置。 In an image measuring apparatus that captures a workpiece and acquires a workpiece image, and measures the dimension of the workpiece based on the edge position of the workpiece image.
Edge extraction means for extracting edges from the workpiece image;
Image comparison means for comparing the workpiece image and pre-stored design data;
Based on the comparison result, an error calculating means for calculating an error indicating an amount of displacement between the edge position of the work image and the position on the design data corresponding to the edge position;
Statistical information calculation means for calculating statistical information of the error calculated for a plurality of the work images for each edge position;
An image measurement apparatus comprising: statistical information display means for displaying the statistical information along an edge position extracted from the work image or the design data in a display mode corresponding to the value.
上記統計情報算出手段は、上記統計情報として、上記誤差の平均値、上記誤差の分散値、上記誤差が許容誤差以下となる割合、上記誤差が許容誤差を越える割合、又は、上記誤差の移動平均の傾きを算出し、
上記統計情報表示手段は、指定された統計情報を上記エッジ位置に沿って表示することを特徴とする請求項1に記載の画像測定装置。 A statistical information specifying means for specifying the statistical information to be displayed is provided.
The statistical information calculation means includes, as the statistical information, an average value of the error, a variance value of the error, a ratio at which the error is less than or equal to an allowable error, a ratio at which the error exceeds an allowable error, or a moving average of the error Calculate the slope of
The image measurement apparatus according to claim 1, wherein the statistical information display unit displays designated statistical information along the edge position.
上記統計情報表示手段は、指定されたエッジ位置に対応する上記ワーク画像ごとの上記誤差からなる時系列情報を表示することを特徴とする請求項2に記載の画像測定装置。 An edge position designating means for designating an edge position on the work image or the design data;
The image measurement apparatus according to claim 2, wherein the statistical information display unit displays time series information including the error for each work image corresponding to a specified edge position.
上記ワーク画像からエッジを抽出するエッジ抽出ステップと、
上記ワーク画像及び予め保持された設計データを比較する画像比較ステップと、
上記比較結果に基づいて、上記ワーク画像のエッジ位置とこのエッジ位置に対応する上記設計データ上の位置との変位量を示す誤差を算出する誤差算出ステップと、
複数の上記ワーク画像について算出された上記誤差の統計情報をエッジ位置ごとに算出する統計情報算出ステップと、
上記統計情報を、その値に応じた表示態様で上記ワーク画像又は上記設計データから抽出されたエッジ位置に沿って表示する統計情報表示ステップとからなることを特徴とする画像測定方法。 In an image measurement method for capturing a workpiece by capturing a workpiece and measuring the dimension of the workpiece based on an edge position of the workpiece image,
An edge extraction step of extracting an edge from the workpiece image;
An image comparison step for comparing the work image and pre-stored design data;
Based on the comparison result, an error calculating step for calculating an error indicating an amount of displacement between the edge position of the work image and the position on the design data corresponding to the edge position;
Statistical information calculation step for calculating statistical information of the error calculated for a plurality of the work images for each edge position;
An image measurement method comprising: a statistical information display step for displaying the statistical information along the edge position extracted from the work image or the design data in a display mode corresponding to the value.
上記ワーク画像からエッジを抽出するエッジ抽出手順と、
上記ワーク画像及び予め保持された設計データを比較する画像比較手順と、
上記比較結果に基づいて、上記ワーク画像のエッジ位置とこのエッジ位置に対応する上記設計データ上の位置との変位量を示す誤差を算出する誤差算出手順と、
複数の上記ワーク画像について算出された上記誤差の統計情報をエッジ位置ごとに算出する統計情報算出手順と、
上記統計情報を、その値に応じた表示態様で上記ワーク画像又は上記設計データから抽出されたエッジ位置に沿って表示する統計情報表示手順とを実行させることを特徴とする画像測定装置用のプログラム。 In a program for an image measuring device for capturing a workpiece to acquire a workpiece image and measuring the dimension of the workpiece based on the edge position of the workpiece image,
An edge extraction procedure for extracting an edge from the workpiece image;
An image comparison procedure for comparing the work image and pre-stored design data;
Based on the comparison result, an error calculation procedure for calculating an error indicating an amount of displacement between the edge position of the work image and the position on the design data corresponding to the edge position;
Statistical information calculation procedure for calculating statistical information of the error calculated for a plurality of the work images for each edge position;
A program for an image measuring apparatus, which causes a statistical information display procedure to display the statistical information along an edge position extracted from the work image or the design data in a display mode corresponding to the value. .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010174008A JP5597056B2 (en) | 2010-08-02 | 2010-08-02 | Image measuring apparatus, image measuring method, and program for image measuring apparatus |
US13/182,499 US8503757B2 (en) | 2010-08-02 | 2011-07-14 | Image measurement device, method for image measurement, and computer readable medium storing a program for image measurement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010174008A JP5597056B2 (en) | 2010-08-02 | 2010-08-02 | Image measuring apparatus, image measuring method, and program for image measuring apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012032344A true JP2012032344A (en) | 2012-02-16 |
JP5597056B2 JP5597056B2 (en) | 2014-10-01 |
Family
ID=45526776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010174008A Active JP5597056B2 (en) | 2010-08-02 | 2010-08-02 | Image measuring apparatus, image measuring method, and program for image measuring apparatus |
Country Status (2)
Country | Link |
---|---|
US (1) | US8503757B2 (en) |
JP (1) | JP5597056B2 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102015203178A1 (en) | 2014-02-27 | 2015-08-27 | Keyence Corporation | Image measuring device |
JP2017049035A (en) * | 2015-08-31 | 2017-03-09 | 株式会社ミツトヨ | Image measuring device and control program thereof |
US9638910B2 (en) | 2014-02-27 | 2017-05-02 | Keyence Corporation | Image measurement device |
JP2018116022A (en) * | 2017-01-20 | 2018-07-26 | 三菱重工機械システム株式会社 | Dimension measurement system, server for dimension measurement system, and dimension measurement method |
JP2020034484A (en) * | 2018-08-31 | 2020-03-05 | 株式会社キーエンス | Image inspection device |
JP2020509370A (en) * | 2017-02-28 | 2020-03-26 | クオリティー ヴィジョン インターナショナル インコーポレイテッドQuality Vision International, Inc. | Automatic alignment of 3D model to test object |
US10997702B2 (en) | 2018-03-14 | 2021-05-04 | Fujitsu Patent Center | Inspection apparatus, inspection method, and computer readable recording medium storing inspection program |
US11132806B2 (en) | 2019-03-13 | 2021-09-28 | Fujitsu Limited | Image processing apparatus and image processing method |
US11145048B2 (en) | 2019-07-24 | 2021-10-12 | Fujitsu Limited | Image processing apparatus, image processing method, and non-transitory computer-readable storage medium for storing program |
CN115106840A (en) * | 2021-03-17 | 2022-09-27 | 芝浦机械株式会社 | Tool shape abnormality detection device and tool shape abnormality detection method |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5865666B2 (en) | 2011-10-19 | 2016-02-17 | 株式会社キーエンス | Image processing apparatus and image processing program |
JP6193765B2 (en) * | 2012-02-08 | 2017-09-06 | 株式会社堀場製作所 | Measurement data display device |
JP6554695B2 (en) | 2014-07-18 | 2019-08-07 | 株式会社ミツトヨ | Image measuring device |
JP6599698B2 (en) * | 2015-08-31 | 2019-10-30 | 株式会社ミツトヨ | Image measuring apparatus and control program therefor |
DE102016120775B4 (en) * | 2015-11-02 | 2025-02-20 | Cognex Corporation | System and method for detecting lines in an image with a vision system |
US10937168B2 (en) | 2015-11-02 | 2021-03-02 | Cognex Corporation | System and method for finding and classifying lines in an image with a vision system |
US9875535B2 (en) | 2016-02-11 | 2018-01-23 | Caterpillar Inc. | Wear measurement system using computer vision |
US9880075B2 (en) | 2016-02-11 | 2018-01-30 | Caterpillar Inc. | Wear measurement system using a computer model |
DE102016203275B4 (en) | 2016-02-29 | 2019-07-18 | Carl Zeiss Industrielle Messtechnik Gmbh | Method and apparatus for determining a defocus value and method and apparatus for image-based determination of a dimensional size |
JP6663808B2 (en) * | 2016-07-04 | 2020-03-13 | 株式会社キーエンス | Image measuring device |
JP6663807B2 (en) * | 2016-07-04 | 2020-03-13 | 株式会社キーエンス | Image measuring device |
JP7152223B2 (en) | 2018-08-31 | 2022-10-12 | 株式会社キーエンス | Image measuring device |
JP7222764B2 (en) | 2019-03-18 | 2023-02-15 | 株式会社キーエンス | Image measuring device |
JP7252018B2 (en) * | 2019-03-18 | 2023-04-04 | 株式会社キーエンス | Image measuring device |
EP4249169A4 (en) * | 2021-09-29 | 2024-12-04 | DMG Mori Co., Ltd. | INFORMATION PROCESSING DEVICE, MACHINING SYSTEM, MACHINING TOOL, AND PROGRAM |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03278131A (en) * | 1990-03-09 | 1991-12-09 | Hitachi Ltd | Method and system for evaluating and updating knowledge |
JPH05204295A (en) * | 1992-01-24 | 1993-08-13 | Kubota Corp | Water distribution simulator |
JPH08335610A (en) * | 1995-06-08 | 1996-12-17 | Advantest Corp | Semiconductor device analyzer |
JPH10148515A (en) * | 1996-11-19 | 1998-06-02 | Nippon Steel Corp | Image inspection apparatus and image inspection method |
JPH11166810A (en) * | 1991-07-10 | 1999-06-22 | Nikon Corp | Alignment method and device and exposure device |
JP2001110862A (en) * | 1999-10-07 | 2001-04-20 | Hitachi Ltd | Fine pattern inspection method |
JP2001141441A (en) * | 1999-11-18 | 2001-05-25 | Honda Motor Co Ltd | Method and apparatus for evaluating cylindrical workpiece |
JP2001175322A (en) * | 1999-12-16 | 2001-06-29 | Toshiba Corp | Process monitoring and controlling equipment, screen display control method and storage medium |
JP2005083893A (en) * | 2003-09-09 | 2005-03-31 | Enzan Kobo:Kk | Method for displaying cross section measurement result and its program |
JP2005098994A (en) * | 2003-08-26 | 2005-04-14 | Shimizu Corp | National land information provision system, national land information provision method, national land information provision program |
JP2006515468A (en) * | 2002-09-26 | 2006-05-25 | ラム リサーチ コーポレーション | User interface for non-uniformity quantification and significance illustration for wafers |
US20070156379A1 (en) * | 2005-11-18 | 2007-07-05 | Ashok Kulkarni | Methods and systems for utilizing design data in combination with inspection data |
JP2007282945A (en) * | 2006-04-19 | 2007-11-01 | Toshiba Corp | Image processor |
JP2008235575A (en) * | 2007-03-20 | 2008-10-02 | Toshiba Corp | Pattern measuring method, pattern measuring device, and program |
JP2009109505A (en) * | 2008-12-05 | 2009-05-21 | Nec Corp | Apparatus and method for appearance inspection |
Family Cites Families (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6175415B1 (en) * | 1997-02-19 | 2001-01-16 | United Technologies Corporation | Optical profile sensor |
US6421458B2 (en) * | 1998-08-28 | 2002-07-16 | Cognex Corporation | Automated inspection of objects undergoing general affine transformation |
JP2000241117A (en) * | 1999-02-22 | 2000-09-08 | Keyence Corp | Edge detection method of image, inspecting device, and storage medium |
JP3596753B2 (en) * | 2000-05-10 | 2004-12-02 | 株式会社ミツトヨ | Apparatus and method for generating part program for image measuring device |
JP4090683B2 (en) * | 2000-11-27 | 2008-05-28 | 株式会社東芝 | Pattern evaluation method, pattern evaluation apparatus, and computer-readable recording medium |
US7042457B2 (en) * | 2001-07-03 | 2006-05-09 | Dassault Systemes | Method and system for real-time analysis and display of curve connection quality |
US7035446B2 (en) * | 2002-05-22 | 2006-04-25 | Lsi Logic Corporation | Quality measurement of an aerial image |
KR100591736B1 (en) * | 2004-07-13 | 2006-06-22 | 삼성전자주식회사 | Method and apparatus for classifying repeated defects on a substrate |
AU2005281043B2 (en) * | 2004-09-07 | 2009-01-08 | National Printing Bureau, Incorporated Administrative Agency | OVD examination method and examination instrument |
US20060192950A1 (en) * | 2004-12-19 | 2006-08-31 | Neil Judell | System and method for inspecting a workpiece surface using combinations of light collectors |
WO2007049751A1 (en) * | 2005-10-27 | 2007-05-03 | Komatsu Industries Corporation | Automatic cutting device and production method for beveled product |
US8477154B2 (en) * | 2006-03-20 | 2013-07-02 | Siemens Energy, Inc. | Method and system for interactive virtual inspection of modeled objects |
US7821513B2 (en) * | 2006-05-09 | 2010-10-26 | Inus Technology, Inc. | System and method for analyzing modeling accuracy while performing reverse engineering with 3D scan data |
US7765444B2 (en) * | 2006-11-06 | 2010-07-27 | Nec Electronics Corporation | Failure diagnosis for logic circuits |
JP4943304B2 (en) * | 2006-12-05 | 2012-05-30 | 株式会社 Ngr | Pattern inspection apparatus and method |
US7765020B2 (en) * | 2007-05-04 | 2010-07-27 | Applied Materials, Inc. | Graphical user interface for presenting multivariate fault contributions |
JP5114301B2 (en) | 2008-06-10 | 2013-01-09 | 株式会社キーエンス | Image measuring apparatus, image measuring method, and computer program |
JP5270971B2 (en) | 2008-06-10 | 2013-08-21 | 株式会社キーエンス | Image measuring apparatus, image measuring method, and computer program |
JP2010019667A (en) | 2008-07-10 | 2010-01-28 | Keyence Corp | Image measuring apparatus and computer program |
JP2010032330A (en) | 2008-07-28 | 2010-02-12 | Keyence Corp | Image measuring device and computer program |
JP2010032329A (en) | 2008-07-28 | 2010-02-12 | Keyence Corp | Image measuring device and computer program |
JP2010032331A (en) | 2008-07-28 | 2010-02-12 | Keyence Corp | Image measuring apparatus and computer program |
JP5074319B2 (en) | 2008-07-31 | 2012-11-14 | 株式会社キーエンス | Image measuring apparatus and computer program |
JP2010060528A (en) | 2008-09-08 | 2010-03-18 | Keyence Corp | Image measurement system and computer program |
JP5095644B2 (en) | 2009-01-23 | 2012-12-12 | 株式会社キーエンス | Image measuring apparatus and computer program |
CN101876536B (en) * | 2009-04-29 | 2012-09-19 | 鸿富锦精密工业(深圳)有限公司 | Three-dimensional color scale comparison dynamic analysis method |
US8640079B2 (en) * | 2010-03-02 | 2014-01-28 | Cadence Design Systems, Inc. | Method and system for searching and replacing graphical objects of a design |
-
2010
- 2010-08-02 JP JP2010174008A patent/JP5597056B2/en active Active
-
2011
- 2011-07-14 US US13/182,499 patent/US8503757B2/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03278131A (en) * | 1990-03-09 | 1991-12-09 | Hitachi Ltd | Method and system for evaluating and updating knowledge |
JPH11166810A (en) * | 1991-07-10 | 1999-06-22 | Nikon Corp | Alignment method and device and exposure device |
JPH05204295A (en) * | 1992-01-24 | 1993-08-13 | Kubota Corp | Water distribution simulator |
JPH08335610A (en) * | 1995-06-08 | 1996-12-17 | Advantest Corp | Semiconductor device analyzer |
JPH10148515A (en) * | 1996-11-19 | 1998-06-02 | Nippon Steel Corp | Image inspection apparatus and image inspection method |
JP2001110862A (en) * | 1999-10-07 | 2001-04-20 | Hitachi Ltd | Fine pattern inspection method |
JP2001141441A (en) * | 1999-11-18 | 2001-05-25 | Honda Motor Co Ltd | Method and apparatus for evaluating cylindrical workpiece |
JP2001175322A (en) * | 1999-12-16 | 2001-06-29 | Toshiba Corp | Process monitoring and controlling equipment, screen display control method and storage medium |
JP2006515468A (en) * | 2002-09-26 | 2006-05-25 | ラム リサーチ コーポレーション | User interface for non-uniformity quantification and significance illustration for wafers |
JP2005098994A (en) * | 2003-08-26 | 2005-04-14 | Shimizu Corp | National land information provision system, national land information provision method, national land information provision program |
JP2005083893A (en) * | 2003-09-09 | 2005-03-31 | Enzan Kobo:Kk | Method for displaying cross section measurement result and its program |
US20070156379A1 (en) * | 2005-11-18 | 2007-07-05 | Ashok Kulkarni | Methods and systems for utilizing design data in combination with inspection data |
JP2007282945A (en) * | 2006-04-19 | 2007-11-01 | Toshiba Corp | Image processor |
JP2008235575A (en) * | 2007-03-20 | 2008-10-02 | Toshiba Corp | Pattern measuring method, pattern measuring device, and program |
JP2009109505A (en) * | 2008-12-05 | 2009-05-21 | Nec Corp | Apparatus and method for appearance inspection |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102015203178B4 (en) * | 2014-02-27 | 2024-12-24 | Keyence Corporation | image measuring device |
US9638908B2 (en) | 2014-02-27 | 2017-05-02 | Keyence Corporation | Image measurement device |
US9638910B2 (en) | 2014-02-27 | 2017-05-02 | Keyence Corporation | Image measurement device |
US9772480B2 (en) | 2014-02-27 | 2017-09-26 | Keyence Corporation | Image measurement device |
DE102015017539B4 (en) | 2014-02-27 | 2025-01-02 | Keyence Corporation | image measuring device |
DE102015203178A1 (en) | 2014-02-27 | 2015-08-27 | Keyence Corporation | Image measuring device |
JP2017049035A (en) * | 2015-08-31 | 2017-03-09 | 株式会社ミツトヨ | Image measuring device and control program thereof |
JP2018116022A (en) * | 2017-01-20 | 2018-07-26 | 三菱重工機械システム株式会社 | Dimension measurement system, server for dimension measurement system, and dimension measurement method |
JP2020509370A (en) * | 2017-02-28 | 2020-03-26 | クオリティー ヴィジョン インターナショナル インコーポレイテッドQuality Vision International, Inc. | Automatic alignment of 3D model to test object |
US10997702B2 (en) | 2018-03-14 | 2021-05-04 | Fujitsu Patent Center | Inspection apparatus, inspection method, and computer readable recording medium storing inspection program |
JP7154069B2 (en) | 2018-08-31 | 2022-10-17 | 株式会社キーエンス | Image inspection device |
JP2020034484A (en) * | 2018-08-31 | 2020-03-05 | 株式会社キーエンス | Image inspection device |
US11132806B2 (en) | 2019-03-13 | 2021-09-28 | Fujitsu Limited | Image processing apparatus and image processing method |
US11145048B2 (en) | 2019-07-24 | 2021-10-12 | Fujitsu Limited | Image processing apparatus, image processing method, and non-transitory computer-readable storage medium for storing program |
CN115106840A (en) * | 2021-03-17 | 2022-09-27 | 芝浦机械株式会社 | Tool shape abnormality detection device and tool shape abnormality detection method |
JP2022143420A (en) * | 2021-03-17 | 2022-10-03 | 芝浦機械株式会社 | Device and method for detecting shape abnormality of tool |
JP7332645B2 (en) | 2021-03-17 | 2023-08-23 | 芝浦機械株式会社 | Tool shape abnormality detection device, tool shape abnormality detection method |
CN115106840B (en) * | 2021-03-17 | 2023-12-08 | 芝浦机械株式会社 | Tool shape abnormality detection device and tool shape abnormality detection method |
Also Published As
Publication number | Publication date |
---|---|
US8503757B2 (en) | 2013-08-06 |
US20120027289A1 (en) | 2012-02-02 |
JP5597056B2 (en) | 2014-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5597056B2 (en) | Image measuring apparatus, image measuring method, and program for image measuring apparatus | |
JP5525953B2 (en) | Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus | |
JP5547105B2 (en) | Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus | |
US9341465B2 (en) | Dimension measuring apparatus, dimension measuring method, and program for dimension measuring apparatus | |
US9002094B2 (en) | Image processing device and image processing method | |
US8233041B2 (en) | Image processing device and image processing method for performing three dimensional measurements | |
US10088301B2 (en) | Image measurement device | |
CN104913722B (en) | A kind of car body controller connector pin normotopia degree detection method | |
US10088302B2 (en) | Image measurement device | |
JP5997989B2 (en) | Image measuring apparatus, control method thereof, and program for image measuring apparatus | |
JP5467962B2 (en) | Measurement setting data creation device, measurement setting data creation method, program for measurement setting data creation device, and dimension measurement device | |
JP2012037257A (en) | Measurement setting data creation device, measurement setting data creation method, and program for measurement setting data creation device | |
US20130100170A1 (en) | Image Processing Apparatus And Image Processing Program | |
JP6140255B2 (en) | Image processing apparatus and image processing method | |
JP2014085115A (en) | Dimension measurement device, dimension measurement method, and program for dimension measurement device | |
JP6184345B2 (en) | Image measuring instrument | |
JP2011191170A (en) | Image processing apparatus | |
KR20100034039A (en) | Micro-dimension measuring method and measuring device | |
JP2012032323A (en) | Picture measuring device, picture measuring method and program for picture measuring device | |
KR102130837B1 (en) | Digital projector Inspection System and its inspection method | |
KR101891681B1 (en) | Apparatus for alignment of pivot point using vision | |
KR20080035103A (en) | Manufacturing process measurement method and measuring device | |
US20250045961A1 (en) | Method for checking the calibration of an image processing system of a sheet metal working machine | |
JP7329427B2 (en) | lens meter | |
CN114787859A (en) | Setup system, setup methods and procedures |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130409 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140121 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140314 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140410 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140530 |
|
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: 20140805 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140808 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5597056 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |