JP2018031746A - Three-dimensional measurement device - Google Patents

Three-dimensional measurement device Download PDF

Info

Publication number
JP2018031746A
JP2018031746A JP2016166266A JP2016166266A JP2018031746A JP 2018031746 A JP2018031746 A JP 2018031746A JP 2016166266 A JP2016166266 A JP 2016166266A JP 2016166266 A JP2016166266 A JP 2016166266A JP 2018031746 A JP2018031746 A JP 2018031746A
Authority
JP
Japan
Prior art keywords
measurement
cross
sectional profile
dimensional
shape
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
Application number
JP2016166266A
Other languages
Japanese (ja)
Other versions
JP6799893B2 (en
Inventor
中務 貴司
Takashi Nakatsukasa
貴司 中務
潤 田淵
Jun Tabuchi
潤 田淵
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.)
Keyence Corp
Original Assignee
Keyence Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP2016166266A priority Critical patent/JP6799893B2/en
Publication of JP2018031746A publication Critical patent/JP2018031746A/en
Application granted granted Critical
Publication of JP6799893B2 publication Critical patent/JP6799893B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a three-dimensional measurement device with which it is possible to objectively understand the degree and position of deviation.SOLUTION: The three-dimensional measurement device comprises: three-dimensional shape display means 503 for displaying a measurement three-dimensional shape image and a reference three-dimensional shape image on measurement screen; geometrical element extraction means 504 for specifying a first geometrical element and a second geometrical element on the basis of designation of a position in the measurement three-dimensional shape image and reference three-dimensional shape image being displayed; relative position change means 505 for changing the relative positions of measurement three-dimensional shape data and reference three-dimensional shape data so that the first geometrical element and the second geometrical element will match; profile acquisition means 506 for acquiring a measurement section profile and a reference section profile that represent a cross-sectional shape when the measurement three-dimensional shape and the reference three-dimensional shape respectively are cut at a cut section, on the basis of the measurement three-dimensional shape data and reference three-dimensional shape data after change of the relative positions; and profile display means 508 for displaying the measurement section profile and the reference section profile by superposition on the measurement screen.SELECTED DRAWING: Figure 17

Description

本発明は、三次元測定装置に係り、さらに詳しくは、測定対象物の立体形状を測定する三次元測定装置の改良に関する。   The present invention relates to a three-dimensional measurement apparatus, and more particularly to an improvement of a three-dimensional measurement apparatus that measures a three-dimensional shape of a measurement object.

三次元測定装置は、測定対象物の形状や寸法を三次元的に測定する測定器であり、三角測距の原理等を利用して、三次元空間における多数の測定点の位置情報を測定し、測定対象物の立体形状を表す立体形状データを取得することができる。例えば、ステージ上に載置された測定対象物に対し、縞状のパターン光を投影し、この状態でステージ上の測定対象物がカメラにより撮影される。測定対象物の高さ情報は、撮影画像を解析し、パターンのずれやゆがみ具合から求められる。   A three-dimensional measuring device is a measuring instrument that three-dimensionally measures the shape and dimensions of an object to be measured, and measures the position information of a large number of measurement points in a three-dimensional space using the principle of triangulation. The three-dimensional shape data representing the three-dimensional shape of the measurement object can be acquired. For example, striped pattern light is projected onto the measurement object placed on the stage, and the measurement object on the stage is photographed by the camera in this state. The height information of the object to be measured is obtained from analysis of a captured image and pattern deviation or distortion.

この様にして取得した立体形状データに基づいて、測定対象物の立体形状が画面に表示される。寸法測定は、例えば、測定箇所の幾何要素やその形状を指定して幾何要素を抽出し、幾何要素間の距離や角度を求めることによって行われる。   Based on the solid shape data acquired in this way, the solid shape of the measurement object is displayed on the screen. The dimension measurement is performed by, for example, extracting a geometric element by designating a geometric element at a measurement location or its shape and obtaining a distance or angle between the geometric elements.

測定によって得られた立体形状同士を比較し、或いは、測定によって得られた立体形状とCAD(Computer Aided Design)を用いて作成された立体形状とを比較する場合、これらの立体形状を重ねて画面に表示することができる。しかしながら、この様な表示では、三次元的な拡がりの情報が二次元情報に圧縮されるため、どこにどの程度のずれが生じているのかを客観的に理解するのが困難であった。   When comparing three-dimensional shapes obtained by measurement, or comparing three-dimensional shapes obtained by measurement and three-dimensional shapes created using CAD (Computer Aided Design), these three-dimensional shapes are superimposed on the screen. Can be displayed. However, in such a display, since the information of the three-dimensional spread is compressed into the two-dimensional information, it is difficult to objectively understand where and how much deviation has occurred.

また、立体形状を切断面により切断した場合の断面形状を取得して表示することにより、立体形状が二次元の幾何学図形により表されるため、立体形状間に生じているずれの程度や位置を客観的に理解することができる。しかし、測定対象物の位置や姿勢が測定ごとに変化するため、形状を比較しようとする2つの立体形状の位置や姿勢が一致することはない。このため、位置や姿勢が異なる立体形状を同じように切断して断面形状を取得することが困難であるという問題があった。   In addition, since the three-dimensional shape is represented by a two-dimensional geometric figure by acquiring and displaying the cross-sectional shape when the three-dimensional shape is cut by the cut surface, the degree and position of the deviation occurring between the three-dimensional shapes Can be objectively understood. However, since the position and orientation of the measurement object change from measurement to measurement, the positions and orientations of the two three-dimensional shapes whose shapes are to be compared do not match. For this reason, there is a problem that it is difficult to obtain a cross-sectional shape by cutting three-dimensional shapes having different positions and postures in the same manner.

本発明は、上記の事情に鑑みてなされたものであり、ずれの程度や位置を客観的に理解することができる三次元測定装置を提供することを目的とする。特に、表示直後に位置や姿勢が異なる立体形状であっても同じように切断して断面形状を取得することができる三次元測定装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a three-dimensional measuring apparatus that can objectively understand the degree and position of deviation. In particular, it is an object of the present invention to provide a three-dimensional measuring apparatus capable of obtaining a cross-sectional shape by cutting in the same way even if the solid shape has a different position and orientation immediately after display.

本発明の第1の態様による三次元測定装置は、三次元空間における複数の測定点の位置情報を測定し、測定対象物の立体形状を表す測定立体形状データを生成する形状データ生成手段と、形状を比較する際の基準とする基準立体形状データを保持する形状データ記憶手段と、上記測定立体形状データに対応する測定立体形状画像、及び、上記基準立体形状データに対応する基準立体形状画像を計測画面に表示する立体形状表示手段と、表示中の上記測定立体形状画像に対する位置の指定に基づいて第1幾何要素を特定し、表示中の上記基準立体形状画像に対する位置の指定に基づいて第2幾何要素を特定する幾何要素抽出手段と、上記第1幾何要素及び上記第2幾何要素が一致するように、上記測定立体形状データ及び上記基準立体形状データの相対位置を変更する相対位置変更手段と、相対位置の変更後の上記測定立体形状データ及び上記基準立体形状データに基づいて、測定立体形状を切断面により切断した場合の断面形状を表す測定断面プロファイルを取得するとともに、基準立体形状を上記切断面により切断した場合の断面形状を表す基準断面プロファイルを取得するプロファイル取得手段と、上記測定断面プロファイル及び上記基準断面プロファイルを重ねて上記計測画面に表示するプロファイル表示手段とを備える。   The three-dimensional measuring apparatus according to the first aspect of the present invention measures shape information of a plurality of measurement points in a three-dimensional space, and generates measurement solid shape data representing a three-dimensional shape of the measurement object; Shape data storage means for holding reference solid shape data as a reference when comparing shapes, a measurement solid shape image corresponding to the measurement solid shape data, and a reference solid shape image corresponding to the reference solid shape data The first geometric element is specified based on the three-dimensional shape display means to be displayed on the measurement screen and the designation of the position with respect to the measured three-dimensional shape image being displayed. Two geometric element extraction means for specifying two geometric elements, and the measured three-dimensional shape data and the reference three-dimensional shape data so that the first geometric element and the second geometric element coincide with each other. The relative position changing means for changing the relative position of the measurement, and the measurement cross section representing the cross-sectional shape when the measurement solid shape is cut by the cut surface based on the measurement solid shape data and the reference solid shape data after the change of the relative position A profile acquisition unit that acquires a profile and acquires a reference cross-sectional profile that represents a cross-sectional shape when the reference solid shape is cut by the cut surface, and the measurement cross-sectional profile and the reference cross-sectional profile are superimposed and displayed on the measurement screen. Profile display means.

この様な構成によれば、表示中の測定立体形状画像及び基準立体形状画像に対して位置を指定することにより、第1幾何要素及び第2幾何要素をそれぞれ特定して相対位置の変更が行われるため、測定立体形状及び基準立体形状の位置及び姿勢を一致させることができる。このため、表示直後に位置や姿勢が異なる立体形状であっても、同じように切断して断面形状を取得することができる。また、測定立体形状及び基準立体形状がそれぞれ測定断面プロファイル及び基準断面プロファイルとして二次元の幾何学図形により表されるため、立体形状間に生じているずれの程度や位置を客観的に理解することができる。   According to such a configuration, the relative position can be changed by specifying the first geometric element and the second geometric element by designating the position with respect to the measured stereoscopic shape image and the reference stereoscopic shape image being displayed. Therefore, the positions and postures of the measurement solid shape and the reference solid shape can be matched. For this reason, even if it is a three-dimensional shape from which a position and a posture differ immediately after display, it can cut similarly and can acquire a section shape. In addition, since the measurement solid shape and the reference solid shape are represented by two-dimensional geometric figures as the measurement cross-sectional profile and the reference cross-sectional profile, respectively, it is necessary to objectively understand the degree and position of the deviation between the three-dimensional shapes. Can do.

本発明の第2の態様による三次元測定装置は、上記構成に加え、上記測定断面プロファイル及び上記基準断面プロファイル間の差分値を算出するプロファイル比較手段を更に備え、上記プロファイル表示手段が、上記測定断面プロファイル又は上記基準断面プロファイルに対応づけて上記差分値を表示するように構成される。この様な構成によれば、立体形状間に生じているずれの程度、位置及びずれの極性をより客観的に理解することができる。   The three-dimensional measurement apparatus according to the second aspect of the present invention further includes profile comparison means for calculating a difference value between the measurement cross-sectional profile and the reference cross-sectional profile in addition to the above-described configuration, and the profile display means includes the measurement The difference value is displayed in association with the cross-sectional profile or the reference cross-sectional profile. According to such a configuration, it is possible to more objectively understand the degree of displacement, the position, and the polarity of displacement generated between three-dimensional shapes.

本発明の第3の態様による三次元測定装置は、上記構成に加え、上記プロファイル表示手段が、上記差分値の極性に応じて、上記測定断面プロファイル及び上記基準断面プロファイル間の領域を色付けするように構成される。この様な構成によれば、立体形状間に生じているずれの極性に対する視認性を向上させることができる。   In the three-dimensional measurement apparatus according to the third aspect of the present invention, in addition to the above configuration, the profile display means colors the region between the measurement cross-sectional profile and the reference cross-sectional profile according to the polarity of the difference value. Configured. According to such a structure, the visibility with respect to the polarity of the shift | offset | difference which has arisen between three-dimensional shapes can be improved.

本発明の第4の態様による三次元測定装置は、上記構成に加え、表示中の上記測定断面プロファイル及び上記基準断面プロファイルに対し、注目領域を指定する注目領域指定手段を更に備え、上記プロファイル表示手段が、上記差分値に応じて変化するグラフを上記注目領域内の上記測定断面プロファイル又は上記基準断面プロファイルに重畳させて表示するように構成される。この様な構成によれば、グラフにより注目領域内のずれが強調されるため、断面プロファイルの表示倍率によってずれの程度が判別できなくなるのを防止することができる。   The three-dimensional measurement apparatus according to the fourth aspect of the present invention further includes attention area designating means for designating an attention area for the measurement cross-sectional profile and the reference cross-sectional profile being displayed, in addition to the above-described configuration, and the profile display The means is configured to display a graph that changes according to the difference value so as to be superimposed on the measured cross-sectional profile or the reference cross-sectional profile in the region of interest. According to such a configuration, since the shift in the attention area is emphasized by the graph, it is possible to prevent the level of the shift from being determined based on the display magnification of the cross-sectional profile.

本発明の第5の態様による三次元測定装置は、上記構成に加え、上記相対位置変更手段が、順次に特定された上記第1幾何要素及び上記第2幾何要素を位置合わせ用の幾何要素として対応づけ、これらの幾何要素が一致するように相対位置の変更を行い、相対位置の変更後に再度、上記第1幾何要素及び上記第2幾何要素が順次に特定されれば、これらの幾何要素も一致するように相対位置の変更を行う。   In the three-dimensional measuring apparatus according to the fifth aspect of the present invention, in addition to the above configuration, the relative position changing means uses the first geometric element and the second geometric element, which are specified in sequence, as a geometric element for alignment. If the relative position is changed so that these geometric elements are matched, and the first geometric element and the second geometric element are sequentially identified again after the relative position is changed, these geometric elements are also Change the relative position so that they match.

この様な構成によれば、相対位置の変更後に再度、第1幾何要素及び第2幾何要素を順次に指定することにより、測定立体形状及び基準立体形状間の位置合わせの精度を向上させることができる。   According to such a configuration, the accuracy of alignment between the measurement solid shape and the reference solid shape can be improved by sequentially specifying the first geometric element and the second geometric element again after the relative position is changed. it can.

本発明の第6の態様による三次元測定装置は、上記構成に加え、相対位置の変更後の上記測定立体形状又は上記基準立体形状に対し、基準平面を指定する基準平面指定手段と、上記基準平面の法線が上記計測画面と直交し、或いは、上記計測画面の縦方向又は横方向と平行になるように、上記測定立体形状及び上記基準立体形状の姿勢を変更する姿勢変更手段と、上記計測画面内における切断線の指定を受け付ける切断線指定手段とを更に備え、上記プロファイル取得手段が、上記切断線を含んで上記計測画面に垂直な面を上記切断面とし、姿勢変更後の上記測定立体形状及び上記基準立体形状を当該切断面により切断して上記測定断面プロファイル及び上記基準断面プロファイルを取得するように構成される。   In addition to the above configuration, the three-dimensional measurement apparatus according to the sixth aspect of the present invention includes a reference plane designating unit that designates a reference plane for the measurement solid shape or the reference solid shape after changing the relative position, and the reference Posture changing means for changing the posture of the measurement solid shape and the reference solid shape so that the normal line of the plane is orthogonal to the measurement screen or parallel to the vertical direction or the horizontal direction of the measurement screen; Cutting line designation means for receiving designation of a cutting line in the measurement screen, and the profile acquisition means uses the surface perpendicular to the measurement screen including the cutting line as the cutting surface, and the measurement after posture change The three-dimensional shape and the reference three-dimensional shape are cut by the cut surface to obtain the measurement cross-sectional profile and the reference cross-sectional profile.

この様な構成によれば、基準平面が計測画面に対して特定の姿勢になるため、立体形状を切断線により切断した場合の切断面として所望の切断面を得るには、どの様な切断線でどこを切断すればよいのかを直感的に理解することができる。また、切断線は、計測画面内における一次元の幾何学図形であり、切断面が計測画面に垂直であることから、三次元空間内で二次元の切断面を直接に指定する場合に比べ、切断面の指定を容易化することができる。ここで、一次元の幾何学図形には、直線、折れ線、曲線及びその組み合わせ等の線が含まれる。   According to such a configuration, since the reference plane has a specific posture with respect to the measurement screen, in order to obtain a desired cut surface as a cut surface when the three-dimensional shape is cut by the cut line, what kind of cut line You can intuitively understand where to cut. In addition, the cutting line is a one-dimensional geometric figure in the measurement screen, and since the cut surface is perpendicular to the measurement screen, compared to the case of directly specifying the two-dimensional cut surface in the three-dimensional space, Specification of the cut surface can be facilitated. Here, the one-dimensional geometric figure includes lines such as a straight line, a broken line, a curved line, and a combination thereof.

本発明の第7の態様による三次元測定装置は、上記構成に加え、上記基準平面指定手段が、上記測定立体形状から上記第1幾何要素として抽出された平面又は上記基準立体形状から上記第2幾何要素として抽出された平面を上記基準平面に指定するように構成される。この様な構成によれば、基準平面を新たに指定する手間を省くことができる。   In the three-dimensional measurement apparatus according to the seventh aspect of the present invention, in addition to the above configuration, the reference plane designating unit is configured to extract the second from the plane extracted from the measurement solid shape as the first geometric element or the reference solid shape. A plane extracted as a geometric element is configured to be designated as the reference plane. According to such a configuration, the trouble of newly designating the reference plane can be saved.

本発明の第8の態様による三次元測定装置は、上記構成に加え、表示中の上記測定断面プロファイルに対する位置の指定に基づいて、寸法測定を行う断面計測手段を更に備え、上記プロファイル表示手段が、上記寸法測定の結果を上記測定断面プロファイルに対応づけて表示するように構成される。   The three-dimensional measuring apparatus according to the eighth aspect of the present invention further includes a cross-sectional measuring unit that performs dimension measurement based on designation of a position with respect to the measured cross-sectional profile being displayed, in addition to the above configuration, and the profile display unit The dimension measurement result is displayed in association with the measurement cross-sectional profile.

この様な構成によれば、所望の切断面による測定断面プロファイルに基づいて寸法測定を行うため、測定箇所、測定要素の形状及び寸法種別の指定を直感的に行うことができる。また、設計図面に記載された箇所の寸法測定を容易に行うことができる。   According to such a configuration, since the dimension measurement is performed based on the measurement cross-sectional profile by a desired cut surface, it is possible to intuitively specify the measurement location, the shape of the measurement element, and the dimension type. Moreover, the dimension measurement of the location described in the design drawing can be easily performed.

本発明によれば、測定立体形状及び基準立体形状の位置及び姿勢を一致させるため、表示直後に位置や姿勢が異なる立体形状であっても同じように切断して断面形状を取得することができる。従って、ずれの程度や位置を客観的に理解することができる三次元測定装置を提供することができる。   According to the present invention, since the positions and postures of the measurement solid shape and the reference solid shape are made to coincide, even if the solid shapes have different positions and postures immediately after display, the cross-sectional shape can be obtained by cutting in the same manner. . Therefore, it is possible to provide a three-dimensional measuring apparatus that can objectively understand the degree and position of deviation.

本発明の実施の形態1による三次元測定装置1の一構成例を示したシステム図である。It is the system figure which showed one structural example of the three-dimensional measuring apparatus 1 by Embodiment 1 of this invention. 図1の測定部2の一構成例を模式的に示した説明図である。It is explanatory drawing which showed typically the example of 1 structure of the measurement part 2 of FIG. 三次元測定装置1における寸法測定時の動作の一例を示したフローチャートである。3 is a flowchart showing an example of an operation at the time of dimension measurement in the three-dimensional measuring apparatus 1. 図3のステップS101(投光照明の明るさ調整)について、詳細動作の一例を示したフローチャートである。4 is a flowchart showing an example of detailed operation for step S101 (brightness adjustment of floodlight) in FIG. 3. 図3のステップS102(テクスチャ照明の明るさ調整)について、詳細動作の一例を示したフローチャートである。4 is a flowchart showing an example of detailed operation in step S102 (brightness adjustment of texture illumination) in FIG. 図3のステップS113(データ解析)について、詳細動作の一例を示したフローチャートである。4 is a flowchart showing an example of detailed operation for step S113 (data analysis) in FIG. 図1の情報処理端末5内の機能構成の一例を示したブロック図である。It is the block diagram which showed an example of the function structure in the information processing terminal 5 of FIG. 図7の情報処理端末5における基準平面の設定時の動作の一例を示した図である。It is the figure which showed an example of the operation | movement at the time of the setting of the reference plane in the information processing terminal 5 of FIG. 図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、表示中の立体形状から基準平面8を抽出した後の計測画面6が示されている。It is the figure which showed an example of the operation | movement at the time of the setting of the reference plane in the information processing terminal 5 of FIG. 7, and the measurement screen 6 after extracting the reference plane 8 from the solid shape currently displayed is shown. 図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、基準平面8を正対させた後の計測画面6が示されている。FIG. 8 is a diagram illustrating an example of an operation at the time of setting a reference plane in the information processing terminal 5 of FIG. 7, and shows a measurement screen 6 after the reference plane 8 is directly opposed. 図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、基準平面8を横方向に向けた場合の計測画面6が示されている。FIG. 8 is a diagram illustrating an example of an operation at the time of setting a reference plane in the information processing terminal 5 in FIG. 7, and shows a measurement screen 6 when the reference plane 8 is oriented in the horizontal direction. 図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、基準平面8を縦方向に向けた場合の計測画面6が示されている。FIG. 8 is a diagram illustrating an example of an operation at the time of setting a reference plane in the information processing terminal 5 of FIG. 7, and shows a measurement screen 6 when the reference plane 8 is oriented in the vertical direction. 図7の情報処理端末5における断面計測時の動作の一例を示した図である。It is the figure which showed an example of the operation | movement at the time of the cross-section measurement in the information processing terminal 5 of FIG. 図7の情報処理端末5における断面計測時の動作の一例を示した図であり、立体形状から抽出した幾何要素を利用して切断線93を指定する場合が示されている。It is the figure which showed an example of the operation | movement at the time of the cross-section measurement in the information processing terminal 5 of FIG. 7, and the case where the cutting line 93 is designated using the geometric element extracted from the solid shape is shown. 図7の情報処理端末5におけるレポートファイル出力時の動作の一例を示した図である。It is the figure which showed an example of the operation | movement at the time of the report file output in the information processing terminal 5 of FIG. 図7の情報処理端末5における断面計測時の動作の一例を示したフローチャートである。It is the flowchart which showed an example of the operation | movement at the time of the cross-section measurement in the information processing terminal 5 of FIG. 本発明の実施の形態2による三次元測定装置1の一構成例を示したブロック図であり、断面比較機能を有する情報処理端末500が示されている。It is the block diagram which showed one structural example of the three-dimensional measuring apparatus 1 by Embodiment 2 of this invention, and the information processing terminal 500 which has a cross-section comparison function is shown. 図17の情報処理端末500における位置合わせ時の動作の一例を示した図であり、表示部51に表示される位置合わせ画面300が示されている。FIG. 18 is a diagram illustrating an example of an operation at the time of alignment in the information processing terminal 500 in FIG. 17, in which an alignment screen 300 displayed on the display unit 51 is illustrated. 図17の情報処理端末500における位置合わせ時の動作の一例を示した図であり、測定データから第1幾何要素310を抽出した後の状態が示されている。It is the figure which showed an example of the operation | movement at the time of the alignment in the information processing terminal 500 of FIG. 17, and the state after extracting the 1st geometric element 310 from measurement data is shown. 図17の情報処理端末500における位置合わせ時の動作の一例を示した図であり、基準データから第2幾何要素311を抽出した後の状態が示されている。It is the figure which showed an example of the operation | movement at the time of the alignment in the information processing terminal 500 of FIG. 17, and the state after extracting the 2nd geometric element 311 from reference | standard data is shown. 図17の情報処理端末500における位置合わせ時の動作の一例を示した図であり、1組目の幾何要素による位置合わせ完了後の状態が示されている。It is the figure which showed an example of the operation | movement at the time of the alignment in the information processing terminal 500 of FIG. 17, and the state after the alignment completion by the 1st set of geometric elements is shown. 図17の情報処理端末500における断面比較時の動作の一例を示した図であり、表示部51に表示される計測画面320が示されている。FIG. 18 is a diagram illustrating an example of an operation at the time of cross-sectional comparison in the information processing terminal 500 of FIG. 17, and a measurement screen 320 displayed on the display unit 51 is illustrated. 図17の情報処理端末500における断面比較時の動作の一例を示した図であり、計測画面320上に表示されたプロファイル選択画面328が示されている。FIG. 18 is a diagram illustrating an example of an operation at the time of cross-sectional comparison in the information processing terminal 500 in FIG. 17, and a profile selection screen 328 displayed on the measurement screen 320 is illustrated. 図17の情報処理端末500における断面比較時の動作の一例を示した図であり、断面プロファイル312に対して注目領域314を指定した場合が示されている。FIG. 18 is a diagram showing an example of an operation at the time of cross-sectional comparison in the information processing terminal 500 of FIG. 図17の情報処理端末500における断面比較時の動作の一例を示した図であり、断面プロファイル312の表示倍率を増大させた場合が示されている。FIG. 18 is a diagram illustrating an example of an operation at the time of cross-sectional comparison in the information processing terminal 500 of FIG. 17, in which the display magnification of the cross-sectional profile 312 is increased. 図17の情報処理端末500における断面比較時の動作の一例を示した図であり、差分値に応じて変化するグラフを表示させた場合が示されている。It is the figure which showed an example of the operation | movement at the time of the cross section comparison in the information processing terminal 500 of FIG. 17, and the case where the graph which changes according to a difference value is displayed is shown. 図17の情報処理端末500におけるレポートファイル出力時の動作の一例を示した図である。It is the figure which showed an example of the operation | movement at the time of the report file output in the information processing terminal 500 of FIG. 図17の情報処理端末500における断面比較時の動作の一例を示したフローチャートである。18 is a flowchart showing an example of an operation at the time of cross-sectional comparison in the information processing terminal 500 of FIG. 図17の情報処理端末500における断面比較時の動作の一例を示したフローチャートである。18 is a flowchart showing an example of an operation at the time of cross-sectional comparison in the information processing terminal 500 of FIG.

実施の形態1.
まず、本発明の実施の形態1による三次元測定装置の概略構成について、図1〜図6を用いて以下に説明する。
Embodiment 1 FIG.
First, a schematic configuration of the three-dimensional measuring apparatus according to Embodiment 1 of the present invention will be described below with reference to FIGS.

<三次元測定装置1>
図1は、本発明の実施の形態1による三次元測定装置1の一構成例を示したシステム図である。この三次元測定装置1は、測定対象物Wの形状を光学的に測定する測定器であり、測定部2、コントローラ4及び情報処理端末5により構成される。
<3D measuring device 1>
FIG. 1 is a system diagram showing a configuration example of a three-dimensional measuring apparatus 1 according to Embodiment 1 of the present invention. The three-dimensional measuring apparatus 1 is a measuring instrument that optically measures the shape of the measuring object W, and includes a measuring unit 2, a controller 4, and an information processing terminal 5.

<測定部2>
測定部2は、ステージ21上の測定対象物Wに可視光からなる測定光を照射し、測定対象物Wにより反射された測定光を受光して撮影画像を生成する計測ユニットであり、ヘッド部20、ステージ21、ステージ保持部22、回転駆動部23及び制御基板27により構成される。
<Measurement unit 2>
The measurement unit 2 is a measurement unit that irradiates the measurement target W on the stage 21 with measurement light composed of visible light, receives the measurement light reflected by the measurement target W, and generates a photographed image. 20, a stage 21, a stage holding unit 22, a rotation driving unit 23, and a control board 27.

ヘッド部20は、測定対象物Wにパターンを有する測定光を照射する投光部24と、測定対象物Wにより反射された測定光を受光して受光量を表す受光信号を生成する受光部25と、テクスチャ照明出射部26とにより構成される。   The head unit 20 includes a light projecting unit 24 that irradiates measurement light having a pattern on the measurement target W, and a light reception unit 25 that receives the measurement light reflected by the measurement target W and generates a light reception signal representing the amount of light received. And the texture illumination emitting unit 26.

ステージ21は、測定対象物Wが載置される載置面を有する作業台である。このステージ21は、円板状のステージプレート211と、ステージプレート211を支持するステージベース212とにより構成される。   The stage 21 is a work table having a placement surface on which the measurement object W is placed. The stage 21 includes a disk-shaped stage plate 211 and a stage base 212 that supports the stage plate 211.

ステージプレート211は、中央付近で折り曲げて固定することができ、測定対象物Wを受光部25に正対させるための傾斜台として機能させることができる。ステージ保持部22は、ステージ21上の測定対象物Wに対する撮像アングルを調整するために、ステージ21を回転可能に保持する。回転駆動部23は、ステージ21を回転させることにより、撮像アングルを切り替える。   The stage plate 211 can be bent and fixed in the vicinity of the center, and can function as an inclined table for causing the measuring object W to face the light receiving unit 25 directly. The stage holding unit 22 rotatably holds the stage 21 in order to adjust the imaging angle with respect to the measurement object W on the stage 21. The rotation drive unit 23 switches the imaging angle by rotating the stage 21.

受光部25は、ステージ21上の測定対象物Wを撮影する固定倍率のカメラであり、受光レンズ251及び撮像素子252により構成される。撮像素子252は、受光レンズ251を介して測定対象物Wからの測定光を受光して受光量を表す受光信号を生成する多数の受光素子からなり、受光信号から撮影画像が生成される。撮像素子252には、例えば、CCD(Charge Coupled Devices:電荷結合素子)、CMOS(Complementary Metal Oxide Semiconductor:相補型金属酸化物半導体)などのイメージセンサが用いられる。この撮像素子252は、例えば、モノクロイメージセンサである。   The light receiving unit 25 is a fixed-magnification camera that photographs the measurement object W on the stage 21, and includes a light receiving lens 251 and an image sensor 252. The imaging element 252 includes a large number of light receiving elements that receive the measurement light from the measurement object W via the light receiving lens 251 and generate a light reception signal representing the amount of light received, and a captured image is generated from the light reception signal. For example, an image sensor such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor) is used for the imaging element 252. The image sensor 252 is, for example, a monochrome image sensor.

投光部24は、ステージ21上の測定対象物Wに測定光を照射する照明装置であり、投光用光源241、コレクタレンズ242、パターン生成ユニット243及び投光レンズ244により構成される。投光用光源241には、例えば、単色の光を生成するLED(発光ダイオード)又はハロゲンランプが用いられる。色収差補正等が容易であることから、白色光源を用いる場合に比べ、単色の投光用光源241を用いる方が有利である。また、波長は短い方が形状測定の解像度を上げるのに有利であることから、青色の光源、例えば、青色LEDを投光用光源241として用いることが好ましい。ただし、撮像素子252が良好なS/Nで受光することができる波長が選択される。   The light projecting unit 24 is an illumination device that irradiates the measurement object W on the stage 21 with measurement light, and includes a light source for light projection 241, a collector lens 242, a pattern generation unit 243, and a light projection lens 244. As the light source 241 for light projection, for example, an LED (light emitting diode) or a halogen lamp that generates monochromatic light is used. Since it is easy to correct chromatic aberration and the like, it is more advantageous to use a monochromatic light source 241 for light projection than to use a white light source. Also, since a shorter wavelength is advantageous for increasing the resolution of shape measurement, it is preferable to use a blue light source, for example, a blue LED as the light source 241 for projection. However, the wavelength at which the image sensor 252 can receive light with good S / N is selected.

なお、単色、例えば、青色の投光用光源241を使用する場合、撮像素子252がカラーイメージセンサであれば、RGの受光素子が利用できないため、Bの受光素子のみの利用となり、利用できる画素数が減ることになる。従って、画素サイズや画素数をそろえた場合、撮像素子252には、モノクロイメージセンサを用いる方が有利である。   Note that when a light source 241 for monochromatic light, for example, blue, is used, if the image sensor 252 is a color image sensor, the light receiving element of RG cannot be used. The number will decrease. Therefore, when the pixel size and the number of pixels are the same, it is more advantageous to use a monochrome image sensor for the image sensor 252.

投光用光源241から出射された光は、コレクタレンズ242を介してパターン生成ユニット243に入射する。そして、パターン生成ユニット243から出射された測定光は、投光レンズ244を介してステージ21上の測定対象物Wに照射される。   Light emitted from the light source for light projection 241 enters the pattern generation unit 243 via the collector lens 242. Then, the measurement light emitted from the pattern generation unit 243 is applied to the measurement object W on the stage 21 through the light projection lens 244.

パターン生成ユニット243は、構造化照明用のパターン光を生成するための装置であり、均一な測定光と、二次元パターンからなる測定光とを切り替えることができる。パターン生成ユニット243には、例えば、DMD(Digital Micromirror Device)又は液晶パネルが用いられる。DMDは、多数の微小なミラーが二次元状に整列配置され、各ミラーの傾きを制御することにより、画素ごとに明状態と暗状態とを切り替えることができる表示素子である。   The pattern generation unit 243 is a device for generating pattern light for structured illumination, and can switch between uniform measurement light and measurement light composed of a two-dimensional pattern. For example, a DMD (Digital Micromirror Device) or a liquid crystal panel is used for the pattern generation unit 243. The DMD is a display element in which a large number of minute mirrors are arranged in a two-dimensional manner, and the light state and the dark state can be switched for each pixel by controlling the tilt of each mirror.

三角測距の原理を利用して測定対象物Wの立体形状を測定するための構造化照明法には、正弦波位相シフト法、マルチスリット法、空間コード法等がある。正弦波位相シフト法は、測定対象物Wに正弦波状の縞パターンを投影し、正弦波の周期よりも短いピッチで縞パターンを移動させるごとに撮影画像を取得する照明法である。各撮影画像の輝度値から各画素における位相値を求めて高さ情報に変換することにより、三次元形状データが求められる。   Structured illumination methods for measuring the three-dimensional shape of the measuring object W using the principle of triangulation include a sine wave phase shift method, a multi-slit method, a spatial code method, and the like. The sine wave phase shift method is an illumination method in which a sine wave-like fringe pattern is projected onto the measurement object W, and a captured image is acquired each time the fringe pattern is moved at a pitch shorter than the period of the sine wave. The three-dimensional shape data is obtained by obtaining the phase value at each pixel from the luminance value of each captured image and converting it into height information.

マルチスリット法は、測定対象物Wに細線状の縞パターンを投影し、縞と縞との間隔よりも狭いピッチで縞パターンを移動させるごとに撮影画像を取得する照明法である。各撮影画像の輝度値から各画素における最大輝度の撮影タイミングを求めて高さ情報に変換することにより、三次元形状データが求められる。   The multi-slit method is an illumination method for projecting a fine stripe pattern on the measurement object W and acquiring a captured image every time the stripe pattern is moved at a pitch narrower than the interval between the stripes. The three-dimensional shape data is obtained by obtaining the photographing timing of the maximum luminance in each pixel from the luminance value of each photographed image and converting it to height information.

空間コード法は、測定対象物Wに対し、白黒のデューティ比が50%であり、縞パターンの幅が異なる複数の縞パターンを順次に投影し、撮影画像を取得する照明法である。各撮影画像の輝度値から各画素におけるコード値を求めて高さ情報に変換することにより、三次元形状データが求められる。   The spatial code method is an illumination method in which a black and white duty ratio is 50% with respect to the measurement target W and a plurality of fringe patterns having different fringe pattern widths are sequentially projected to obtain a captured image. Three-dimensional shape data is obtained by obtaining a code value in each pixel from the luminance value of each captured image and converting it into height information.

パターン生成ユニット243では、上述した縞パターンを二次元パターンとして生成することができる。この三次元測定装置1では、マルチスリット法と空間コード法とを組み合わせることにより、高分解能かつ高精度に三次元形状データが取得される。   The pattern generation unit 243 can generate the above-described stripe pattern as a two-dimensional pattern. In the three-dimensional measuring apparatus 1, three-dimensional shape data is acquired with high resolution and high accuracy by combining the multi-slit method and the spatial code method.

また、この三次元測定装置1では、受光部25を挟んで2つの投光部24が左右対称に配置されている。各投光部24の投光軸J2及びJ3は、三角測距の原理を利用するために、受光部25の受光軸J1に対して傾斜している。この投光部24では、投光用光源241、コレクタレンズ242及びパターン生成ユニット243の光軸に対し、投光レンズ244を受光軸J1側にオフセットさせることにより、投光軸J2及びJ3を傾斜させている。この様な構成を採用することにより、投光部24全体を傾斜させる場合に比べ、測定部2を小型化することができる。   In the three-dimensional measuring apparatus 1, the two light projecting units 24 are arranged symmetrically with the light receiving unit 25 interposed therebetween. The light projecting axes J2 and J3 of each light projecting unit 24 are inclined with respect to the light receiving axis J1 of the light receiving unit 25 in order to use the principle of triangulation. In the light projecting unit 24, the light projecting axes J2 and J3 are inclined by offsetting the light projecting lens 244 toward the light receiving axis J1 with respect to the optical axes of the light source 241 for light projection, the collector lens 242 and the pattern generation unit 243. I am letting. By adopting such a configuration, the measuring unit 2 can be downsized as compared with the case where the entire light projecting unit 24 is inclined.

テクスチャ照明出射部26は、測定対象物Wの色や模様を表面テクスチャ情報として検知するための可視光からなる均一な照明光をステージ21上の測定対象物Wに向けて出射する。このテクスチャ照明出射部26は、投光軸が受光部25の受光軸J1と略平行であり、受光部25の受光レンズ251を取り囲むように配置される。このため、投光部24からの照明と比べて測定対象物W上での影ができにくく、撮影時の死角が少なくなる。   The texture illumination emitting unit 26 emits uniform illumination light composed of visible light for detecting the color or pattern of the measurement object W as surface texture information toward the measurement object W on the stage 21. The texture illumination emitting unit 26 is disposed so that the light projecting axis is substantially parallel to the light receiving axis J1 of the light receiving unit 25 and surrounds the light receiving lens 251 of the light receiving unit 25. For this reason, compared with the illumination from the light projection part 24, the shadow on the measuring object W is hard to be formed, and the blind spot at the time of imaging | photography decreases.

制御基板27は、回転駆動部23を制御する制御回路、投光部24の投光用光源241及びパターン生成ユニット243を駆動する駆動回路、受光部25の撮像素子252からの受光信号を処理する処理回路等が設けられた回路基板である。   The control board 27 processes a light receiving signal from the image sensor 252 of the control circuit that controls the rotation driving unit 23, the driving circuit that drives the light source 241 and the pattern generation unit 243 of the light projecting unit 24, and the light receiving unit 25. A circuit board provided with a processing circuit and the like.

<コントローラ4>
コントローラ4は、測定部2用の制御装置であり、テクスチャ照明用の照明光を生成するテクスチャ光源41と、テクスチャ光源41用の駆動回路等が設けられた制御基板42と、測定部2内の各デバイスに電力を供給する電源43とにより構成される。テクスチャ光源41は、撮影画像からカラーのテクスチャ画像が得られるようにするために、例えば、R(赤)、G(緑)、B(青)の各色の照明光を順次に点灯する。撮像素子252がモノクロイメージセンサであることから、テクスチャ光源41に白色光源を用いてテクスチャ情報を取得する場合、カラー情報を取得することができない。このため、テクスチャ光源41ではRGBを切り替えて照明している。
<Controller 4>
The controller 4 is a control device for the measurement unit 2, and includes a texture light source 41 that generates illumination light for texture illumination, a control board 42 provided with a drive circuit for the texture light source 41, and the like in the measurement unit 2. And a power source 43 that supplies power to each device. For example, the texture light source 41 sequentially turns on illumination light of each color of R (red), G (green), and B (blue) in order to obtain a color texture image from the captured image. Since the image sensor 252 is a monochrome image sensor, color information cannot be acquired when acquiring texture information using a white light source as the texture light source 41. For this reason, the texture light source 41 switches illumination between RGB.

なお、モノクロのテクスチャ画像で十分な場合は、テクスチャ光源41に白色光源、例えば、白色LEDを用い、或いは、RGBの単色光を同時に照射する光源を用いても良い。また、測定精度の低下をある程度許容する場合には、撮像素子252にカラーイメージセンサを用いても良い。照明光は、ライトガイド3を介して測定部2のテクスチャ照明出射部26に伝送される。制御基板42及び電源43は、測定部2の制御基板27に接続されている。   If a monochrome texture image is sufficient, a white light source such as a white LED may be used as the texture light source 41, or a light source that simultaneously emits RGB monochromatic light may be used. In addition, a color image sensor may be used for the image sensor 252 when a reduction in measurement accuracy is allowed to some extent. The illumination light is transmitted to the texture illumination emission unit 26 of the measurement unit 2 via the light guide 3. The control board 42 and the power source 43 are connected to the control board 27 of the measurement unit 2.

<情報処理端末5>
情報処理端末5は、測定部2を制御し、撮影画像の画面表示、寸法測定のための設定情報の登録、三次元形状データの生成、測定対象物Wの寸法算出等を行う端末装置であり、表示部51、キーボード52及びマウス53が接続されている。表示部51は、撮影画像や設定情報を画面に表示するモニタ装置である。キーボード52及びマウス53は、ユーザが操作入力を行う入力装置である。この情報処理端末は、例えば、パーソナルコンピュータであり、測定部2の制御基板27に接続されている。
<Information processing terminal 5>
The information processing terminal 5 is a terminal device that controls the measurement unit 2 and performs screen display of a captured image, registration of setting information for dimension measurement, generation of three-dimensional shape data, dimension calculation of the measurement target W, and the like. A display unit 51, a keyboard 52, and a mouse 53 are connected. The display unit 51 is a monitor device that displays captured images and setting information on a screen. The keyboard 52 and the mouse 53 are input devices on which a user performs operation input. This information processing terminal is a personal computer, for example, and is connected to the control board 27 of the measurement unit 2.

図2は、図1の測定部2の一構成例を模式的に示した説明図である。この測定部2は、撮影倍率が互いに異なる2つの撮像部25a及び25bを備えるヘッド部20と、上下方向の回転軸J4を中心としてステージ21を回転可能に保持するステージ保持部22と、ヘッド部20及びステージ保持部22を連結する連結部28とにより構成される。   FIG. 2 is an explanatory diagram schematically showing a configuration example of the measurement unit 2 of FIG. The measuring unit 2 includes a head unit 20 including two imaging units 25a and 25b having different shooting magnifications, a stage holding unit 22 that rotatably holds the stage 21 about a vertical rotation axis J4, and a head unit. 20 and a connecting portion 28 that connects the stage holding portion 22.

連結部28は、投光部24の投光軸J2及びJ3と、撮像部25a及び25bの受光軸J11及びJ12とが回転軸J4に対して傾斜する状態で、ヘッド部20とステージ保持部22とを固定的に連結する。このため、ステージ21と撮像部25a及び25bとの相対的な位置関係が一定であり、ステージ21の回転角が互いに異なる複数の撮像アングルについて、点群データの連結合成が容易である。   The connecting unit 28 is configured such that the light projecting axes J2 and J3 of the light projecting unit 24 and the light receiving axes J11 and J12 of the image capturing units 25a and 25b are inclined with respect to the rotation axis J4. And are fixedly connected. For this reason, the relative positional relationship between the stage 21 and the imaging units 25a and 25b is constant, and it is easy to connect and synthesize point group data for a plurality of imaging angles with different rotation angles of the stage 21.

撮像部25aは、低倍率の受光部25である。撮像部25bは、撮像部25aよりも高倍率の受光部25である。撮像部25a及び25bは、測定対象物全体の三次元形状データが得られるようにするために、いずれもステージ21の回転軸J4に対して受光軸J11及びJ12が傾斜するように配置されている。   The imaging unit 25a is a low-magnification light receiving unit 25. The imaging unit 25b is a light receiving unit 25 with a higher magnification than the imaging unit 25a. The imaging units 25a and 25b are arranged so that the light receiving axes J11 and J12 are inclined with respect to the rotation axis J4 of the stage 21 so that the three-dimensional shape data of the entire measurement object can be obtained. .

例えば、回転軸J4に対する受光軸J11及びJ12の傾斜角は、45°程度である。また、撮像部25bは、焦点位置FPがステージ21の回転軸J4上において撮像部25aの焦点位置FPよりも下側となるように、撮像部25aの下方に配置され、受光軸J12は、受光軸J11と略平行である。   For example, the inclination angle of the light receiving axes J11 and J12 with respect to the rotation axis J4 is about 45 °. Further, the imaging unit 25b is disposed below the imaging unit 25a so that the focal position FP is below the focal position FP of the imaging unit 25a on the rotation axis J4 of the stage 21, and the light receiving axis J12 receives light. It is substantially parallel to the axis J11.

この様な構成を採用することにより、撮像部25aの測定可能領域R1と撮像部25bの測定可能領域R2とをステージ21上に適切に形成することができる。測定可能領域R1及びR2は、いずれもステージ21の回転軸J4を中心とする円柱状の領域であり、測定可能領域R2は、測定可能領域R1内に形成される。   By adopting such a configuration, the measurable area R1 of the imaging unit 25a and the measurable area R2 of the imaging unit 25b can be appropriately formed on the stage 21. The measurable areas R1 and R2 are both cylindrical areas centering on the rotation axis J4 of the stage 21, and the measurable area R2 is formed in the measurable area R1.

図3のステップS101〜S113は、三次元測定装置1における寸法測定時の動作の一例を示したフローチャートである。まず、三次元測定装置1は、ステージ21上に載置された測定対象物Wを受光部25により撮影して撮影画像を表示部51に表示し、投光照明の明るさ調整を行う(ステップS101)。この明るさ調整は、投光部24から均一な測定光を照射し、或いは、パターン光からなる測定光を照射して行われる。   Steps S <b> 101 to S <b> 113 in FIG. 3 are flowcharts illustrating an example of an operation at the time of dimension measurement in the three-dimensional measurement apparatus 1. First, the three-dimensional measuring apparatus 1 photographs the measurement object W placed on the stage 21 by the light receiving unit 25 and displays the photographed image on the display unit 51 to adjust the brightness of the floodlight (step). S101). This brightness adjustment is performed by irradiating uniform measurement light from the light projecting unit 24 or irradiating measurement light composed of pattern light.

次に、三次元測定装置1は、テクスチャ照明に切り替えて撮影画像を取得し、表示部51に表示してテクスチャ照明の明るさ調整を行う(ステップS102)。この明るさ調整は、テクスチャ照明出射部26からR(赤)、G(緑)、B(青)の各色の照明光を順次に照射し、或いは、同時に照射して行われる。ステップS101とステップS102とは、順序を入れ替えても良い。   Next, the three-dimensional measurement apparatus 1 switches to texture illumination, acquires a captured image, displays the captured image, and adjusts the brightness of the texture illumination by displaying on the display unit 51 (step S102). This brightness adjustment is performed by sequentially irradiating illumination light of each color of R (red), G (green), and B (blue) from the texture illumination emitting unit 26 or simultaneously. Step S101 and step S102 may be switched in order.

三次元測定装置1は、照明条件が確定されるまで、ステップS101及びS102の処理手順を繰り返し、照明条件の確定後、ユーザにより測定開始が指示されれば(ステップS103)、投光部24からパターン光を投影し(ステップS104)、パターン画像を取得する(ステップS105)。このパターン画像は、ステージ21上の測定対象物Wが撮影された撮影画像である。パターン光の投影及び撮影画像の取得は、パターン生成ユニット243と受光部25とを同期させて行われる。   The three-dimensional measuring apparatus 1 repeats the processing procedures of steps S101 and S102 until the illumination condition is determined. After the illumination condition is determined, if the user instructs the start of measurement (step S103), the light projecting unit 24 Pattern light is projected (step S104), and a pattern image is acquired (step S105). This pattern image is a captured image in which the measurement object W on the stage 21 is captured. Pattern light projection and captured image acquisition are performed by synchronizing the pattern generation unit 243 and the light receiving unit 25.

次に、三次元測定装置1は、テクスチャ照明に切り替えてテクスチャ画像を取得する(ステップS106,S107)。このテクスチャ画像は、R(赤)、G(緑)、B(青)の各色の照明光を順次に照射させて取得された複数の撮影画像を合成することによって得られる。連結測定時には、ステージ21を予め指定された複数の撮像アングルに順次に切り替えながら、ステップS104からステップS107までの処理手順が繰り返される(ステップS108)。   Next, the three-dimensional measurement apparatus 1 switches to texture illumination and acquires a texture image (steps S106 and S107). This texture image is obtained by synthesizing a plurality of captured images obtained by sequentially irradiating illumination light of each color of R (red), G (green), and B (blue). At the time of connection measurement, the processing procedure from step S104 to step S107 is repeated while sequentially switching the stage 21 to a plurality of imaging angles designated in advance (step S108).

次に、三次元測定装置1は、ステップS105において取得されたパターン画像を所定の計測アルゴリズムにより解析し、三次元形状データを生成する(ステップS109)。この三次元形状データの生成ステップでは、撮像アングルが異なる複数の撮影画像から求めた三次元形状データが必要に応じて合成される。そして、三次元測定装置1は、生成された三次元形状データにテクスチャ画像をマッピングし(ステップS110)、測定対象物Wの立体形状として表示部51に表示する(ステップS111)。   Next, the three-dimensional measuring apparatus 1 analyzes the pattern image acquired in step S105 with a predetermined measurement algorithm, and generates three-dimensional shape data (step S109). In the three-dimensional shape data generation step, three-dimensional shape data obtained from a plurality of captured images with different imaging angles is synthesized as necessary. Then, the three-dimensional measuring apparatus 1 maps the texture image to the generated three-dimensional shape data (Step S110), and displays it on the display unit 51 as the three-dimensional shape of the measurement object W (Step S111).

三次元測定装置1は、所望の測定箇所について、三次元形状データが得られるまで、撮像アングルや撮影条件等を変更しながらステップS101からステップS111までの処理手順を繰り返し(ステップS112)、所望のデータが得られ、ユーザによりデータ解析が指示されれば、寸法測定用のアプリケーションプログラムにより、三次元形状データのデータ解析を行い、測定対象物Wの寸法を算出する(ステップS113)。   The three-dimensional measuring apparatus 1 repeats the processing procedure from step S101 to step S111 while changing the imaging angle, the imaging conditions, etc. until the three-dimensional shape data is obtained for the desired measurement location (step S112). When data is obtained and data analysis is instructed by the user, the data analysis of the three-dimensional shape data is performed by the application program for dimension measurement, and the dimension of the measuring object W is calculated (step S113).

図4のステップS201〜S211は、図3のステップS101(投光照明の明るさ調整)について、詳細動作の一例を示したフローチャートであり、三次元測定装置1の動作が示されている。まず、三次元測定装置1は、左側の投光部24を点灯し(ステップS201)、ユーザによる明るさの調整を受け付ける(ステップS202)。   Steps S201 to S211 in FIG. 4 are flowcharts showing an example of detailed operations for step S101 (brightness adjustment of floodlight) in FIG. 3, and the operations of the three-dimensional measuring apparatus 1 are shown. First, the three-dimensional measuring apparatus 1 turns on the left light projecting unit 24 (step S201) and accepts brightness adjustment by the user (step S202).

次に、三次元測定装置1は、ユーザによる撮影倍率の選択を受け付け、撮影倍率が変更されれば、対応する撮像部25a又は25bに切り替える(ステップS203)。このとき、三次元測定装置1は、所望の測定箇所に照明が当たっていなければ、ユーザ操作に基づいてステージ21を回転させることにより、測定対象物Wの位置及び姿勢の調整を行う(ステップS204,S205)。位置及び姿勢の調整は、左右の投光部24を同時に点灯させて行っても良い。   Next, the three-dimensional measuring apparatus 1 accepts the selection of the photographing magnification by the user, and switches to the corresponding imaging unit 25a or 25b when the photographing magnification is changed (step S203). At this time, if the desired measurement location is not illuminated, the coordinate measuring apparatus 1 adjusts the position and orientation of the measurement target W by rotating the stage 21 based on the user operation (step S204). , S205). The position and orientation may be adjusted by turning on the left and right light projecting units 24 simultaneously.

そして、三次元測定装置1は、測定箇所の明るさが適切でなければ、ユーザによる明るさの調整を再度受け付ける(ステップS206,S207)。三次元測定装置1は、ユーザにより設定終了が指示されるまで、ステップS203からステップS207までの処理手順を繰り返す(ステップS208)。   And if the brightness of a measurement location is not appropriate, the three-dimensional measuring apparatus 1 accepts the brightness adjustment by the user again (steps S206 and S207). The three-dimensional measuring apparatus 1 repeats the processing procedure from step S203 to step S207 until the end of setting is instructed by the user (step S208).

次に、三次元測定装置1は、ユーザにより設定終了が指示されれば、ユーザにより指定された照明条件を設定情報として登録し、右側の投光部24に切り替えて(ステップS209)、ユーザによる明るさの調整を受け付ける(ステップS210)。三次元測定装置1は、ユーザにより設定終了が指示されるまで、ステップS210の処理手順を繰り返し、ユーザにより設定終了が指示されれば、ユーザにより指定された照明条件を設定情報として登録し、この処理を終了する(ステップS211)。   Next, when the user instructs the end of the setting, the three-dimensional measuring apparatus 1 registers the illumination condition specified by the user as setting information, switches to the right light projecting unit 24 (step S209), and is set by the user. Brightness adjustment is accepted (step S210). The three-dimensional measuring apparatus 1 repeats the processing procedure of step S210 until the end of setting is instructed by the user. If the end of setting is instructed by the user, the lighting condition specified by the user is registered as setting information. The process ends (step S211).

図5のステップS301〜S313は、図3のステップS102(テクスチャ照明の明るさ調整)について、詳細動作の一例を示したフローチャートであり、三次元測定装置1の動作が示されている。まず、三次元測定装置1は、テクスチャ照明を点灯し(ステップS301)、ユーザによる明るさの調整を受け付ける(ステップS302)。三次元測定装置1は、測定箇所の明るさが適切でなければ(ステップS303)、ステップS302の処理手順を繰り返し、ユーザによる明るさの調整を再度受け付ける。   Steps S301 to S313 in FIG. 5 are flowcharts showing an example of detailed operations in step S102 (brightness adjustment of texture illumination) in FIG. 3, and the operations of the three-dimensional measuring apparatus 1 are shown. First, the three-dimensional measuring apparatus 1 turns on texture illumination (step S301), and accepts brightness adjustment by the user (step S302). If the brightness of the measurement location is not appropriate (step S303), the three-dimensional measuring apparatus 1 repeats the processing procedure of step S302 and accepts the brightness adjustment by the user again.

次に、三次元測定装置1は、ユーザによるテクスチャ画像の画質の選択を受け付け(ステップS304)、通常画質が選択されれば、通常画質を指定し、ユーザにより指定された照明条件及び撮影条件を設定情報として登録し、この処理を終了する(ステップS313)。   Next, the three-dimensional measuring apparatus 1 accepts the selection of the image quality of the texture image by the user (step S304). If the normal image quality is selected, the normal image quality is specified, and the illumination condition and the shooting condition specified by the user are specified. This is registered as setting information, and the process is terminated (step S313).

一方、三次元測定装置1は、ユーザによりフルフォーカス画質が選択されれば、フルフォーカス画質を指定する(ステップS305,S306)。フルフォーカス画質は、深度合成処理により得られる画質であり、焦点位置を異ならせながら取得された複数の撮影画像を合成することにより、画像全体においてピントの合った画像が得られる。   On the other hand, if the full-focus image quality is selected by the user, the three-dimensional measuring apparatus 1 specifies the full-focus image quality (steps S305 and S306). The full focus image quality is an image quality obtained by the depth synthesis process, and by combining a plurality of captured images obtained while changing the focal position, an image in focus can be obtained in the entire image.

そして、三次元測定装置1は、ユーザによりHDR(ハイダイナミックレンジ)画質が選択されれば、HDR画質を指定する(ステップS307,S308)。HDR画質は、露光時間を異ならせながら取得された複数の撮影画像を合成することにより、ダイナミックレンジの広い画像が得られる。   Then, when the HDR (high dynamic range) image quality is selected by the user, the three-dimensional measuring apparatus 1 designates the HDR image quality (steps S307 and S308). As for HDR image quality, an image having a wide dynamic range can be obtained by synthesizing a plurality of photographed images acquired with different exposure times.

次に、三次元測定装置1は、ユーザによりテクスチャ画像の確認が指示されれば(ステップS309)、ユーザにより指定された照明条件及び撮影条件に基づいて、撮影画像を取得し(ステップS310)、テクスチャ画像を作成して表示部51に表示する(ステップS311)。   Next, if the confirmation of the texture image is instructed by the user (step S309), the three-dimensional measuring apparatus 1 acquires a captured image based on the illumination condition and the imaging condition specified by the user (step S310), A texture image is created and displayed on the display unit 51 (step S311).

三次元測定装置1は、ユーザにより設定終了が指示されるまで、ステップS305からステップS311までの処理手順を繰り返し、ユーザにより設定終了が指示されれば、ユーザにより指定された照明条件及び撮影条件を設定情報として登録し、この処理を終了する(ステップS312)。   The three-dimensional measuring apparatus 1 repeats the processing procedure from step S305 to step S311 until the setting end is instructed by the user, and if the setting end is instructed by the user, the illumination condition and the imaging condition specified by the user are set. This is registered as setting information, and this process ends (step S312).

図6のステップS401〜S413は、図3のステップS113(データ解析)について、詳細動作の一例を示したフローチャートであり、三次元測定装置1の動作が示されている。まず、三次元測定装置1は、ユーザ操作に基づいて、三次元形状データを所定のデータ形式で読み込み、測定対象物Wの立体形状を表示部51に表示する(ステップS401,S402)。   Steps S401 to S413 in FIG. 6 are flowcharts showing an example of detailed operations for step S113 (data analysis) in FIG. 3, and the operations of the three-dimensional measuring apparatus 1 are shown. First, the three-dimensional measuring apparatus 1 reads three-dimensional shape data in a predetermined data format based on a user operation, and displays the three-dimensional shape of the measurement object W on the display unit 51 (steps S401 and S402).

次に、三次元測定装置1は、ノイズの除去、穴埋め、不要データの削除等の前処理を行い(ステップS403)、ユーザによる表示倍率及び姿勢の調整を受け付ける(ステップS404)。   Next, the three-dimensional measurement apparatus 1 performs preprocessing such as noise removal, hole filling, and unnecessary data deletion (step S403), and accepts display magnification and orientation adjustments by the user (step S404).

次に、三次元測定装置1は、表示中の立体形状上において、測定箇所の幾何要素を抽出するための点群の指定を受け付ける(ステップS405)。そして、三次元測定装置1は、幾何要素について、形状種別の指定を受け付ける(ステップS406)。形状種別には、点、線、円、面、球、円筒、円錐等がある。ステップS405とステップS406とは、順序を入れ替えても良い。   Next, the three-dimensional measuring apparatus 1 accepts designation of a point group for extracting a geometric element at a measurement location on the three-dimensional shape being displayed (step S405). Then, the three-dimensional measurement apparatus 1 accepts designation of the shape type for the geometric element (step S406). Shape types include points, lines, circles, surfaces, spheres, cylinders, cones, and the like. Step S405 and step S406 may be switched in order.

三次元測定装置1は、全ての幾何要素について、点群及び形状種別の指定が完了するまで、ステップS405及びS406の処理手順を繰り返し(ステップS407)、点群及び形状種別の指定が完了すれば、ユーザによる幾何要素の選択を受け付ける(ステップS408)。そして、三次元測定装置1は、選択された幾何要素について、寸法種別の選択を受け付ける(ステップS409)。寸法種別には、距離、角度、幾何公差、直径等がある。ステップS408とステップS409とは、順序を入れ替えても良い。   The three-dimensional measuring apparatus 1 repeats the processing procedure of steps S405 and S406 until the specification of the point group and the shape type is completed for all geometric elements (step S407), and if the specification of the point group and the shape type is completed. The selection of the geometric element by the user is accepted (step S408). Then, the three-dimensional measuring apparatus 1 accepts the selection of the dimension type for the selected geometric element (step S409). Dimension types include distance, angle, geometric tolerance, diameter, and the like. Step S408 and step S409 may be switched in order.

次に、三次元測定装置1は、選択された幾何要素について、点群に基本形状をフィッティングさせることによって幾何要素を特定し、幾何要素間の寸法値を算出する(ステップS410)。次に、三次元測定装置1は、寸法値を測定対象物Wの立体形状上の測定箇所に対応づけて表示する(ステップS411)。三次元測定装置1は、所望の測定箇所が他にもあれば、ステップS408からステップS411までの処理手順を繰り返し(ステップS412)、所望の測定箇所が他になければ、測定結果を出力してこの処理を終了する(ステップS413)。   Next, the three-dimensional measuring apparatus 1 specifies a geometric element by fitting a basic shape to a point group for the selected geometric element, and calculates a dimension value between the geometric elements (step S410). Next, the three-dimensional measuring apparatus 1 displays the dimension value in association with the measurement location on the three-dimensional shape of the measurement object W (step S411). The three-dimensional measuring apparatus 1 repeats the processing procedure from step S408 to step S411 if there are other desired measurement points (step S412), and outputs the measurement result if there are no other desired measurement points. This process ends (step S413).

次に、本発明の実施の形態1による三次元測定装置1のさらに詳細な構成について、図7〜図16を用いて以下に説明する。   Next, a more detailed configuration of the three-dimensional measuring apparatus 1 according to the first embodiment of the present invention will be described below with reference to FIGS.

<情報処理端末5>
図7は、図1の情報処理端末5内の機能構成の一例を示したブロック図である。この情報処理端末5は、測定制御部10、形状データ生成部11、形状データ記憶部12、表示制御部13、基準平面抽出部14、姿勢変更部15、切断線指定部16、断面プロファイル取得部17、断面計測部18、幾何要素抽出部19a及びエッジ抽出部19bにより構成される。
<Information processing terminal 5>
FIG. 7 is a block diagram showing an example of a functional configuration in the information processing terminal 5 of FIG. The information processing terminal 5 includes a measurement control unit 10, a shape data generation unit 11, a shape data storage unit 12, a display control unit 13, a reference plane extraction unit 14, a posture change unit 15, a cutting line designation unit 16, and a cross-sectional profile acquisition unit. 17, a cross-section measuring unit 18, a geometric element extracting unit 19 a and an edge extracting unit 19 b.

測定制御部10は、キーボード52又はマウス53によるユーザ操作に基づいて、回転駆動部23を制御して撮像アングルを調整し、投光部24による測定光の照射を制御する。   The measurement control unit 10 controls the rotation driving unit 23 based on a user operation with the keyboard 52 or the mouse 53 to adjust the imaging angle, and controls the irradiation of the measurement light by the light projecting unit 24.

形状データ生成部11は、受光部25からの受光信号に基づいて、測定対象物Wの立体形状を表す立体形状データを生成し、形状データ記憶部12内に格納する。立体形状データは、三次元空間における複数の測定点の位置情報からなり、測定対象物Wに測定光として投影される縞パターンを移動させるごとに取得した複数のパターン画像から作成される。形状データ記憶部12には、過去に測定された立体形状データが保持される。   The shape data generation unit 11 generates solid shape data representing the three-dimensional shape of the measurement object W based on the light reception signal from the light receiving unit 25 and stores the solid shape data in the shape data storage unit 12. The three-dimensional shape data includes position information of a plurality of measurement points in a three-dimensional space, and is created from a plurality of pattern images acquired each time a fringe pattern projected as measurement light on the measurement object W is moved. The shape data storage unit 12 holds solid shape data measured in the past.

表示制御部13は、形状データ記憶部12内の立体形状データに基づいて、表示部51を制御し、測定対象物Wの立体形状を計測画面に表示する。例えば、多数の測定点が三次元的に配置されたオブジェクト体を所定の視点から眺めるように、立体形状が計測画面に表示される。計測画面内における立体形状(オブジェクト体)の位置、視点及び表示倍率は、任意に指定することができる。   The display control unit 13 controls the display unit 51 based on the solid shape data in the shape data storage unit 12 and displays the solid shape of the measurement target W on the measurement screen. For example, the three-dimensional shape is displayed on the measurement screen so that an object body in which a large number of measurement points are arranged three-dimensionally is viewed from a predetermined viewpoint. The position, viewpoint, and display magnification of the three-dimensional shape (object body) in the measurement screen can be arbitrarily specified.

基準平面抽出部14は、表示中の立体形状に対する位置の指定に基づいて、立体形状を切断する際の基準とする平面を特定し、基準平面とする。位置の指定は、キーボード52又はマウス53によるユーザ操作に基づいて行われ、幾何要素としての平面を抽出するための点群が選択される。点群は、2以上の測定点からなり、マウス操作などにより、計測画面上で所望の点群を取り囲む図形、例えば、多角形を指定することにより、当該点群が選択される。また、マウス操作などにより、計測画面上で立体形状上の1つの位置を指定することにより、当該位置を含み、かつ、平面にフィットする点群が選択される。そして、選択された点群にフィッティングさせた基本形状として、基準平面が特定される。   The reference plane extraction unit 14 specifies a reference plane for cutting the three-dimensional shape based on designation of the position with respect to the three-dimensional shape being displayed, and sets it as the reference plane. The designation of the position is performed based on a user operation with the keyboard 52 or the mouse 53, and a point group for extracting a plane as a geometric element is selected. The point group is composed of two or more measurement points, and the point group is selected by designating a figure surrounding the desired point group on the measurement screen, for example, a polygon, by a mouse operation or the like. In addition, by designating one position on the three-dimensional shape on the measurement screen by a mouse operation or the like, a point group that includes the position and fits on a plane is selected. Then, the reference plane is specified as the basic shape fitted to the selected point group.

基本形状を点群にフィッティングさせる方法には、従来から知られている統計的手法を利用することができる。例えば、点群を構成する測定点と基本形状との距離に基づく最小二乗法により、幾何要素の三次元位置、姿勢及びサイズが特定される。基準平面の位置情報は、形状データ記憶部12内に格納される。   Conventionally known statistical methods can be used for fitting the basic shape to the point cloud. For example, the three-dimensional position, posture, and size of the geometric element are specified by the least square method based on the distance between the measurement points constituting the point group and the basic shape. The position information of the reference plane is stored in the shape data storage unit 12.

また、基準平面抽出部14は、基準平面の形状に基づいて、当該基準平面内に基準軸及び回転中心を定める。抽出される基準平面は、点群が有限であることから有限の端を持つ平面形状である。例えば、基準平面が略長方形状である場合に、長辺に平行な直線が基準軸に指定され、対角線の交点が回転中心に指定される。また、基準平面抽出部14は、立体形状に対して予め指定された座標平面を基準平面とする。同様に、例えば、抽出された基準平面が長方形状以外であっても、基準平面の法線、基準軸として抽出された基準平面の慣性主軸、回転中心として基準平面形状の重心が指定された座標平面を基準平面とする。   Further, the reference plane extraction unit 14 determines a reference axis and a rotation center in the reference plane based on the shape of the reference plane. The extracted reference plane is a plane shape having a finite end because the point group is finite. For example, when the reference plane is substantially rectangular, a straight line parallel to the long side is designated as the reference axis, and the intersection of diagonal lines is designated as the rotation center. In addition, the reference plane extraction unit 14 sets a coordinate plane designated in advance for the three-dimensional shape as the reference plane. Similarly, for example, even if the extracted reference plane is not rectangular, the normal of the reference plane, the inertia principal axis of the reference plane extracted as the reference axis, and the coordinates where the center of gravity of the reference plane shape is specified as the rotation center The plane is the reference plane.

姿勢変更部15は、基準平面を正対させるために、基準平面の法線が計測画面と直交するように、立体形状を回転させる。また、姿勢変更部15は、基準平面を縦方向又は横方向に向けるために、基準平面の法線が計測画面の縦方向又は横方向と平行になるように、立体形状を回転させる。   The posture changing unit 15 rotates the three-dimensional shape so that the normal of the reference plane is orthogonal to the measurement screen in order to face the reference plane. In addition, the posture changing unit 15 rotates the three-dimensional shape so that the normal line of the reference plane is parallel to the vertical direction or the horizontal direction of the measurement screen in order to direct the reference plane in the vertical direction or the horizontal direction.

この姿勢変更部15は、基準平面内に定められた基準軸が計測画面の縦方向又は横方向と一致するように、立体形状を回転させる。また、姿勢変更部15は、基準平面を正対させている場合に、キーボード52又はマウス53によるユーザ操作に基づいて、基準平面内に定められた回転中心を通って計測画面に垂直な直線を中心として立体形状を回転させる。また、姿勢変更部15は、基準平面を縦方向又は横方向に向けている場合に、基準平面内に定められた回転中心を通って計測画面に垂直な直線を中心として立体形状を回転させる。   The posture changing unit 15 rotates the three-dimensional shape so that the reference axis defined in the reference plane matches the vertical direction or the horizontal direction of the measurement screen. Further, when the reference plane is facing the reference plane, the posture changing unit 15 forms a straight line perpendicular to the measurement screen through the center of rotation defined in the reference plane based on a user operation with the keyboard 52 or the mouse 53. The solid shape is rotated as the center. In addition, when the reference plane is oriented in the vertical direction or the horizontal direction, the posture changing unit 15 rotates the three-dimensional shape around a straight line that passes through the rotation center defined in the reference plane and is perpendicular to the measurement screen.

切断線指定部16は、計測画面内における切断線の指定を受け付ける。切断線の位置情報は、形状データ記憶部12内に格納される。切断線指定部16は、例えば、計測画面上での線分の指定に基づいて、切断線を決定する。線分の指定は、キーボード52又はマウス53によるユーザ操作に基づいて行われ、例えば、ユーザが画面上で指定した2つの位置を直線で結ぶ線分が切断線として指定される。   The cutting line designation unit 16 receives the designation of the cutting line in the measurement screen. The position information of the cutting line is stored in the shape data storage unit 12. The cutting line designating unit 16 determines a cutting line based on, for example, designation of a line segment on the measurement screen. The line segment is specified based on a user operation using the keyboard 52 or the mouse 53. For example, a line segment connecting two positions specified by the user on the screen with a straight line is specified as a cutting line.

断面プロファイル取得部17は、形状データ記憶部12内の立体形状データから断面プロファイルを取得し、形状データ記憶部12内に格納する。断面プロファイルは、回転させることによって姿勢が変更された後の立体形状を切断線により切断した場合の切断面の形状を表す形状データからなる。切断面は、計測画面に垂直な平面又は曲面からなる。   The cross-sectional profile acquisition unit 17 acquires a cross-sectional profile from the solid shape data in the shape data storage unit 12 and stores it in the shape data storage unit 12. The cross-sectional profile consists of shape data representing the shape of the cut surface when the three-dimensional shape after the posture is changed by being rotated is cut by a cutting line. The cut surface is a plane or curved surface perpendicular to the measurement screen.

断面計測部18は、断面プロファイル取得部17により取得された断面プロファイルに基づいて、寸法測定を行う。この寸法測定は、例えば、計測画面に表示された断面プロファイルに対し、測定箇所、測定要素の形状及び寸法種別を指定することによって行われる。寸法値の計測結果は、計測画面に表示中の断面プロファイル上に重畳させて表示される。   The cross-section measuring unit 18 performs dimension measurement based on the cross-sectional profile acquired by the cross-sectional profile acquiring unit 17. This dimension measurement is performed, for example, by designating the measurement location, the shape of the measurement element, and the dimension type for the cross-sectional profile displayed on the measurement screen. The measurement result of the dimension value is displayed superimposed on the cross-sectional profile being displayed on the measurement screen.

幾何要素抽出部19aは、表示中の立体形状に対する位置の指定に基づいて、幾何要素を特定する。位置の指定は、キーボード52又はマウス53によるユーザ操作に基づいて行われる。幾何要素は、位置の指定によって点群を選択し、選択された点群に予め指定された基本形状をフィッティングさせることによって特定される。   The geometric element extraction unit 19a identifies a geometric element based on designation of a position with respect to the three-dimensional shape being displayed. The designation of the position is performed based on a user operation using the keyboard 52 or the mouse 53. The geometric element is specified by selecting a point group by designating a position and fitting a predetermined basic shape to the selected point group.

切断線指定部16は、幾何要素抽出部19aにより抽出された幾何要素を計測画面に投影した投影位置に基づいて、切断線を決定する。具体的には、幾何要素が平面であれば、この平面と計測画面との交線が切断線として指定される。また、幾何要素が円筒であれば、円筒の中心軸を計測画面に投影した投影図形、すなわち、直線が切断線として指定される。また、円筒の中心軸と基準平面(計測画面)との交点を点として再利用し、さらに別の1点を指定することで作成した直線を切断線として利用することもできる。   The cutting line designation unit 16 determines a cutting line based on the projection position obtained by projecting the geometric element extracted by the geometric element extraction unit 19a onto the measurement screen. Specifically, if the geometric element is a plane, an intersection line between the plane and the measurement screen is designated as a cutting line. If the geometric element is a cylinder, a projected figure obtained by projecting the central axis of the cylinder onto the measurement screen, that is, a straight line is designated as a cutting line. In addition, a straight line created by reusing the intersection of the central axis of the cylinder and the reference plane (measurement screen) as a point and designating another point can be used as a cutting line.

エッジ抽出部19bは、計測画面上での位置の指定に基づいて、立体形状を計測画面に投影した投影画像からエッジを抽出する。エッジは、輝度に基づいて抽出される。ここで、投影画像は、投影方向に沿って最表面に相当する立体形状データの投影方向に沿った位置、つまり、計測画面に垂直な方向の距離を輝度情報に置き換えた距離画像であってもよく、投影方向に沿って最表面に相当する立体形状データのテクスチャ情報に対応したテクスチャ画像であってもよい。切断線指定部16は、エッジ抽出部19bにより抽出されたエッジに基づいて、切断線を決定する。例えば、複数のエッジ点にフィッティングさせた直線に対し、垂直な直線又は所定の距離だけ離間した平行な直線が切断線に指定される。また、複数のエッジ点にフィッティングさせた円に対し、所定の距離だけ離間した同心円が切断線に指定される。   The edge extraction unit 19b extracts an edge from a projection image obtained by projecting a three-dimensional shape onto the measurement screen based on the designation of the position on the measurement screen. Edges are extracted based on luminance. Here, the projected image may be a distance image obtained by replacing the position along the projection direction of the three-dimensional shape data corresponding to the outermost surface along the projection direction, that is, the distance in the direction perpendicular to the measurement screen with luminance information. The texture image corresponding to the texture information of the three-dimensional shape data corresponding to the outermost surface along the projection direction may be used. The cutting line specifying unit 16 determines a cutting line based on the edge extracted by the edge extracting unit 19b. For example, a vertical straight line or a parallel straight line separated by a predetermined distance is designated as a cutting line with respect to a straight line fitted to a plurality of edge points. Further, concentric circles separated by a predetermined distance from the circle fitted to a plurality of edge points are designated as the cutting line.

<計測画面6>
図8は、図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、表示部51に表示される計測画面6が示されている。計測画面6は、立体形状を切断した切断面について寸法測定を行うための操作画面であり、基準平面の設定時に表示部51に表示される。
<Measurement screen 6>
FIG. 8 is a diagram showing an example of the operation when setting the reference plane in the information processing terminal 5 of FIG. 7, and shows the measurement screen 6 displayed on the display unit 51. The measurement screen 6 is an operation screen for performing dimension measurement on a cut surface obtained by cutting a three-dimensional shape, and is displayed on the display unit 51 when a reference plane is set.

この計測画面6には、測定対象物Wの立体形状を表示するための立体形状表示欄60と、基準平面を指定するための操作欄61とが設けられている。操作欄61は、立体形状表示欄60よりも右側に配置されている。操作欄61には、プルダウンメニュー62、作成ボタン63及び詳細設定ボタン64が配置されている。   The measurement screen 6 is provided with a three-dimensional shape display field 60 for displaying the three-dimensional shape of the measurement object W and an operation field 61 for designating a reference plane. The operation column 61 is arranged on the right side of the three-dimensional shape display column 60. In the operation column 61, a pull-down menu 62, a creation button 63, and a detailed setting button 64 are arranged.

プルダウンメニュー62は、過去に抽出された幾何要素を利用して基準平面を指定するための操作オブジェクトである。このプルダウンメニュー62を操作することにより、表示中の立体形状からこれまでに抽出された幾何要素が一覧表示される。プルダウンメニュー62から選択した幾何要素を基準平面に指定することができる。   The pull-down menu 62 is an operation object for designating a reference plane using geometric elements extracted in the past. By operating this pull-down menu 62, the geometric elements extracted so far from the three-dimensional shape being displayed are displayed in a list. The geometric element selected from the pull-down menu 62 can be designated as the reference plane.

作成ボタン63は、基準平面を新たに作成するための操作アイコンである。マウスポインタ7を作成ボタン63上に移動させた状態でクリック操作を行えば、作成ボタン63を操作することができる。詳細設定ボタン64は、基準平面が計測画面6に対して特定の姿勢になるように立体形状を回転させ、或いは、立体形状に対して予め指定された座標平面を基準平面に指定するための操作アイコンである。   The creation button 63 is an operation icon for newly creating a reference plane. If the click operation is performed with the mouse pointer 7 moved onto the creation button 63, the creation button 63 can be operated. The detail setting button 64 is an operation for rotating the solid shape so that the reference plane has a specific posture with respect to the measurement screen 6, or for designating a coordinate plane designated in advance for the solid shape as the reference plane. Icon.

図9は、図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、表示中の立体形状から基準平面8を抽出した後の計測画面6が示されている。この計測画面6は、作成ボタン63を操作した場合に表示される基準平面の作成画面であり、操作欄61には、要素名の入力欄、表示設定ボタン、指定方法の入力欄65、OKボタン66及びキャンセルボタンが配置されている。   FIG. 9 is a diagram showing an example of the operation when the reference plane is set in the information processing terminal 5 of FIG. 7, and shows the measurement screen 6 after extracting the reference plane 8 from the three-dimensional shape being displayed. . The measurement screen 6 is a reference plane creation screen displayed when the creation button 63 is operated. The operation field 61 includes an element name input field, a display setting button, a designation method input field 65, and an OK button. 66 and a cancel button are arranged.

新たに作成された基準平面8には、要素名が自動的に割り当てられる。また、表示設定ボタンを操作すれば、基準平面8の表示形態、例えば、表示色を変更することができる。入力欄65は、基準平面を抽出させる領域の指定方法を選択するための操作オブジェクトであり、選択可能な指定方法がプルダウンメニューとして一覧表示される。   An element name is automatically assigned to the newly created reference plane 8. Further, if the display setting button is operated, the display form of the reference plane 8, for example, the display color can be changed. The input field 65 is an operation object for selecting a method for specifying an area for extracting a reference plane, and a list of selectable specification methods is displayed as a pull-down menu.

領域の指定方法には、クリック操作で指定する方法、キー操作とクリック操作との組み合わせで指定する方法、複数の点で指定する方法、ドラッグ操作で指定する方法等がある。クリック操作で指定する方法では、立体形状上の位置をマウスポインタ7で指定した状態でクリック操作を行うことにより、当該位置の平面が基準平面8として自動的に抽出される。   The area designation method includes a designation method by a click operation, a designation method by a combination of a key operation and a click operation, a designation method by a plurality of points, a designation method by a drag operation, and the like. In the method of specifying by the click operation, the plane at the position is automatically extracted as the reference plane 8 by performing the click operation with the position on the three-dimensional shape specified by the mouse pointer 7.

立体形状から抽出された基準平面8は、抽出元の立体形状とは識別可能に表示される。例えば、基準平面8は、赤色に色付けされ、立体形状上に重畳させて表示される。また、基準平面8は、矩形領域からなる。OKボタン66を操作すれば、立体形状から抽出された基準平面8が確定され、基準平面8が計測画面6に対して特定の姿勢になるように立体形状を回転させる姿勢変更処理が行われる。   The reference plane 8 extracted from the three-dimensional shape is displayed so as to be distinguishable from the extraction-source three-dimensional shape. For example, the reference plane 8 is colored in red and displayed superimposed on a three-dimensional shape. The reference plane 8 is a rectangular area. When the OK button 66 is operated, the reference plane 8 extracted from the three-dimensional shape is determined, and posture changing processing is performed to rotate the three-dimensional shape so that the reference plane 8 is in a specific posture with respect to the measurement screen 6.

図10は、図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、基準平面8を正対させた後の計測画面6が示されている。この計測画面6は、基準平面8を指定した場合に表示される基準平面の設定画面であり、立体形状表示欄60には、基準平面8が計測画面6に正対するように回転させた後の立体形状が表示されている。基準平面8の計測画面6に対する正対とは、基準平面8の法線が計測画面6と直交することである。   FIG. 10 is a diagram showing an example of the operation at the time of setting the reference plane in the information processing terminal 5 of FIG. 7, and shows the measurement screen 6 after the reference plane 8 is directly opposed. This measurement screen 6 is a reference plane setting screen that is displayed when the reference plane 8 is designated. In the three-dimensional shape display field 60, the reference plane 8 is rotated so that the reference plane 8 faces the measurement screen 6. A three-dimensional shape is displayed. Directly facing the measurement screen 6 of the reference plane 8 means that the normal line of the reference plane 8 is orthogonal to the measurement screen 6.

この基準平面8は、長辺8a及び短辺8bを有する長方形状であり、長辺8aが基準軸に指定され、対角線の交点8cが回転中心に指定される。立体形状表示欄60の立体形状は、基準平面8が計測画面6に正対し、かつ、基準平面8の基準軸が計測画面6の横方向と一致するように、配置される。また、立体形状は、基準平面8の回転中心が立体形状表示欄60の概ね中央に位置するように、配置される。この様な構成を採用することにより、基準平面8が計測画面6に対して特定の姿勢になるように立体形状を回転させた際の見栄えを良くすることができる。   The reference plane 8 has a rectangular shape having a long side 8a and a short side 8b, the long side 8a is designated as the reference axis, and the diagonal intersection 8c is designated as the rotation center. The three-dimensional shape in the three-dimensional shape display field 60 is arranged so that the reference plane 8 faces the measurement screen 6 and the reference axis of the reference plane 8 matches the horizontal direction of the measurement screen 6. Further, the three-dimensional shape is arranged so that the center of rotation of the reference plane 8 is positioned approximately at the center of the three-dimensional shape display column 60. By adopting such a configuration, it is possible to improve the appearance when the three-dimensional shape is rotated so that the reference plane 8 is in a specific posture with respect to the measurement screen 6.

操作欄61には、指定面の入力欄67と、反転ボックス、回転角度の入力欄、座標平面の指定欄が設けられている。入力欄67は、基準平面8の姿勢を指定するための操作オブジェクトであり、プルダウンメニューからxy平面、yz平面又はzx平面のいずれかを選択することができる。   The operation field 61 includes an input field 67 for a designated surface, an inversion box, an input field for a rotation angle, and a coordinate plane designation field. The input column 67 is an operation object for designating the orientation of the reference plane 8, and one of the xy plane, the yz plane, and the zz plane can be selected from a pull-down menu.

ここでは、計測画面6がxy平面に指定されており、横方向がx軸、縦方向がy軸である。yz平面を指定面に指定すれば、基準平面8がyz平面と平行になるように立体形状が回転する。また、zx平面を指定面に指定すれば、基準平面8がzx平面と平行になるように立体形状が回転する。   Here, the measurement screen 6 is designated on the xy plane, the horizontal direction is the x axis, and the vertical direction is the y axis. If the yz plane is designated as the designated plane, the solid shape is rotated so that the reference plane 8 is parallel to the yz plane. If the zx plane is designated as the designated plane, the three-dimensional shape is rotated so that the reference plane 8 is parallel to the zx plane.

反転ボックスは、基準平面8を反転させるための入力欄であり、チェックマークを入力することにより、基準平面8の表裏が反転するように立体形状を回転させることができる。回転角度の入力欄は、計測画面6に垂直な直線を中心として立体形状を回転させるための入力欄であり、数値をインクリメント又はデクリメントし、或いは、スライダーを移動させることによって回転角度を指定する。   The inversion box is an input field for inverting the reference plane 8, and by inputting a check mark, the three-dimensional shape can be rotated so that the front and back of the reference plane 8 are inverted. The rotation angle input field is an input field for rotating the three-dimensional shape around a straight line perpendicular to the measurement screen 6. The rotation angle is designated by incrementing or decrementing a numerical value or moving a slider.

xy平面を指定面に指定した場合、基準平面8の回転中心を通って計測画面6に垂直な直線を中心として立体形状を回転させることができる。この様な構成を採用することにより、基準平面8が計測画面6に対して特定の姿勢になるように立体形状を回転させた際の見栄えを良くすることができる。   When the xy plane is designated as the designated plane, the three-dimensional shape can be rotated around a straight line that passes through the rotation center of the reference plane 8 and is perpendicular to the measurement screen 6. By adopting such a configuration, it is possible to improve the appearance when the three-dimensional shape is rotated so that the reference plane 8 is in a specific posture with respect to the measurement screen 6.

図11は、図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、基準平面8を横方向に向けた場合の計測画面6が示されている。この計測画面6は、yz平面を指定面に指定した場合の設定画面であり、立体形状表示欄60には、基準平面8の法線が計測画面6の横方向と平行になるように回転させた後の立体形状が表示されている。   FIG. 11 is a diagram showing an example of the operation when the reference plane is set in the information processing terminal 5 of FIG. 7, and shows the measurement screen 6 when the reference plane 8 is oriented in the horizontal direction. This measurement screen 6 is a setting screen when the yz plane is designated as the designated surface. In the three-dimensional shape display column 60, the normal of the reference plane 8 is rotated so that it is parallel to the horizontal direction of the measurement screen 6. The three-dimensional shape after being displayed is displayed.

この場合、基準平面8の長辺8aが基準軸に指定される。立体形状表示欄60の立体形状は、基準平面8の法線が計測画面6の横方向と平行になり、かつ、基準平面8の基準軸が計測画面6の縦方向と一致するように、配置される。また、立体形状は、基準平面8の交点8cが立体形状表示欄60の概ね中央に位置するように、配置される。回転角度を指定すれば、交点8cを通って計測画面6に垂直な直線を中心として立体形状を回転させることができる。   In this case, the long side 8a of the reference plane 8 is designated as the reference axis. The three-dimensional shape in the three-dimensional shape display column 60 is arranged so that the normal line of the reference plane 8 is parallel to the horizontal direction of the measurement screen 6 and the reference axis of the reference plane 8 is coincident with the vertical direction of the measurement screen 6. Is done. Further, the three-dimensional shape is arranged so that the intersection point 8 c of the reference plane 8 is located at the approximate center of the three-dimensional shape display field 60. If the rotation angle is designated, the three-dimensional shape can be rotated around a straight line that passes through the intersection 8c and is perpendicular to the measurement screen 6.

図12は、図7の情報処理端末5における基準平面の設定時の動作の一例を示した図であり、基準平面8を縦方向に向けた場合の計測画面6が示されている。この計測画面6は、zx平面を指定面に指定した場合の設定画面であり、立体形状表示欄60には、基準平面8の法線が計測画面6の縦方向と平行になるように回転させた後の立体形状が表示されている。   FIG. 12 is a diagram showing an example of the operation when the reference plane is set in the information processing terminal 5 of FIG. 7, and shows the measurement screen 6 when the reference plane 8 is oriented in the vertical direction. This measurement screen 6 is a setting screen when the zx plane is designated as the designated surface, and the three-dimensional shape display column 60 is rotated so that the normal line of the reference plane 8 is parallel to the vertical direction of the measurement screen 6. The three-dimensional shape after being displayed is displayed.

この場合にも、基準平面8の長辺8aが基準軸に指定される。立体形状表示欄60の立体形状は、基準平面8の法線が計測画面6の縦方向と平行になり、かつ、基準平面8の基準軸が計測画面6の横方向と一致するように、配置される。また、立体形状は、基準平面8の交点8cが立体形状表示欄60の概ね中央に位置するように、配置される。回転角度を指定すれば、交点8cを通って計測画面6に垂直な直線を中心として立体形状を回転させることができる。   Also in this case, the long side 8a of the reference plane 8 is designated as the reference axis. The three-dimensional shape of the three-dimensional shape display field 60 is arranged so that the normal line of the reference plane 8 is parallel to the vertical direction of the measurement screen 6 and the reference axis of the reference plane 8 matches the horizontal direction of the measurement screen 6. Is done. Further, the three-dimensional shape is arranged so that the intersection point 8 c of the reference plane 8 is located at the approximate center of the three-dimensional shape display field 60. If the rotation angle is designated, the three-dimensional shape can be rotated around a straight line that passes through the intersection 8c and is perpendicular to the measurement screen 6.

図13は、図7の情報処理端末5における断面計測時の動作の一例を示した図であり、表示部51に表示される計測画面9が示されている。計測画面9は、立体形状を切断した切断面について寸法測定を行うための操作画面であり、断面計測時に表示部51に表示される。   FIG. 13 is a diagram showing an example of an operation at the time of cross-section measurement in the information processing terminal 5 of FIG. 7, and shows a measurement screen 9 displayed on the display unit 51. The measurement screen 9 is an operation screen for performing dimension measurement on a cut surface obtained by cutting a three-dimensional shape, and is displayed on the display unit 51 during cross-section measurement.

この計測画面9には、立体形状の表示欄91と、投影画像の表示欄92と、断面プロファイルの表示欄95と、操作欄96及び97とが設けられている。表示欄91,92及び操作欄96は、計測画面9の上段に配置され、表示欄95及び操作欄97は、下段に配置されている。表示欄91は、表示欄92よりも左側に配置され、操作欄96は、表示欄92よりも右側に配置されている。操作欄97は、表示欄95よりも右側に配置されている。   The measurement screen 9 includes a three-dimensional display column 91, a projection image display column 92, a cross-sectional profile display column 95, and operation columns 96 and 97. The display fields 91 and 92 and the operation field 96 are arranged in the upper part of the measurement screen 9, and the display field 95 and the operation field 97 are arranged in the lower part. The display column 91 is arranged on the left side of the display column 92, and the operation column 96 is arranged on the right side of the display column 92. The operation column 97 is arranged on the right side of the display column 95.

表示欄91には、測定対象物Wの立体形状が表示される。例えば、基準平面8を抽出した後の立体形状が表示される。表示欄92は、立体形状を計測画面9に投影した投影画像を表示するための表示欄であり、投影画像は、基準平面8が計測画面9に対して特定の姿勢になるように回転させた後の立体形状から作成される。例えば、基準平面8の法線が計測画面6の縦方向と平行になるように回転させた後の立体形状に対応する投影画像が表示される。   In the display column 91, the three-dimensional shape of the measuring object W is displayed. For example, the three-dimensional shape after extracting the reference plane 8 is displayed. The display field 92 is a display field for displaying a projection image obtained by projecting a three-dimensional shape onto the measurement screen 9, and the projection image is rotated so that the reference plane 8 is in a specific posture with respect to the measurement screen 9. Created from a later three-dimensional shape. For example, a projection image corresponding to the three-dimensional shape after being rotated so that the normal line of the reference plane 8 is parallel to the vertical direction of the measurement screen 6 is displayed.

操作欄96には、切断線93を指定するためのツールボタンと、切断線93を削除するための削除ボタンとが配置されている。ツールボタンを操作することにより、表示欄92に表示中の投影画像に対し、断面プロファイルを取得するための切断線93を指定することができる。切断線93は、計測画面9内における一次元の幾何学図形である。   In the operation column 96, a tool button for designating the cutting line 93 and a deletion button for deleting the cutting line 93 are arranged. By operating the tool button, it is possible to designate a cutting line 93 for acquiring a cross-sectional profile for the projection image being displayed in the display field 92. The cutting line 93 is a one-dimensional geometric figure in the measurement screen 9.

ツールボタンによって選択可能な指定方法には、線分、垂直線、水平線、直線、垂線、平行線、円、同心円、角、円弧及び折れ線がある。例えば、線分による指定方法では、投影画像上で2つの点を指定することにより、これらの2点を直線で結ぶ線分が切断線93に指定される。垂直線による指定方法では、投影画像上で1つの点を指定することにより、この点を通る縦方向(y方向)の直線が切断線93に指定される。   The designation method selectable by the tool button includes a line segment, a vertical line, a horizontal line, a straight line, a perpendicular line, a parallel line, a circle, a concentric circle, a corner, an arc, and a broken line. For example, in the designation method using line segments, a line segment connecting these two points with a straight line is designated as the cutting line 93 by designating two points on the projection image. In the designation method using the vertical line, by specifying one point on the projection image, a vertical line (y direction) passing through this point is designated as the cutting line 93.

表示欄91の立体形状には、立体形状を切断線93により切断した場合の切断面の位置を示す形状線94が表示されている。表示欄95は、立体形状を切断線93により切断した場合の切断面の形状を表す断面プロファイルを表示するための表示欄である。表示欄95の縦方向は、切断線93に沿う方向に対応しており、表示欄95の横方向は、計測画面9に垂直な方向に対応している。切断線93として線分が指定されると、指定された線分を含み計測画面9に垂直な方向に広がる平面が切断面となる。また、切断線93として円が指定されると、指定された円を含み計測画面9に垂直な方向に広がる円筒面が切断面となる。この場合、表示欄95の縦方向は、切断線93に沿う方向、つまり、指定された円の円周方向に対応する。切断線93として折れ線が指定されると、表示欄95の縦方向は、切断線93に沿う方向、つまり、指定された折れ線に沿う方向に対応する。ここで、表示欄95の縦方向が切断線93に沿う方向に対応し、表示欄95の横方向が計測画面9に垂直な方向に対応する例を説明したが、縦方向と横方向の対応関係が入れ替わっていてもよいし、切断線93に沿う方向と計測画面9に垂直な方向とが表示欄95内の任意の方向に対応させてもよい。   In the three-dimensional shape of the display column 91, a shape line 94 indicating the position of the cut surface when the three-dimensional shape is cut by the cutting line 93 is displayed. The display column 95 is a display column for displaying a cross-sectional profile representing the shape of the cut surface when the three-dimensional shape is cut by the cutting line 93. The vertical direction of the display column 95 corresponds to the direction along the cutting line 93, and the horizontal direction of the display column 95 corresponds to the direction perpendicular to the measurement screen 9. When a line segment is designated as the cutting line 93, a plane that includes the designated line segment and extends in a direction perpendicular to the measurement screen 9 becomes the cut surface. Further, when a circle is designated as the cutting line 93, a cylindrical surface that includes the designated circle and extends in a direction perpendicular to the measurement screen 9 becomes the cut surface. In this case, the vertical direction of the display column 95 corresponds to the direction along the cutting line 93, that is, the circumferential direction of the designated circle. When a broken line is designated as the cutting line 93, the vertical direction of the display column 95 corresponds to the direction along the cutting line 93, that is, the direction along the designated broken line. Here, an example in which the vertical direction of the display column 95 corresponds to the direction along the cutting line 93 and the horizontal direction of the display column 95 corresponds to the direction perpendicular to the measurement screen 9 has been described. The relationship may be switched, and the direction along the cutting line 93 and the direction perpendicular to the measurement screen 9 may correspond to an arbitrary direction in the display field 95.

基準平面8を計測画面9に正対させた場合の投影画像に対して切断線93を指定することにより、基準平面8に垂直な平面及び/又は曲面で立体形状を切断することになる。一方、基準平面8を計測画面9の縦方向又は横方向に向けた場合の投影画像に対して切断線93を指定することにより、基準平面8に平行な平面で立体形状を切断することができる。   By specifying the cutting line 93 for the projection image when the reference plane 8 is directly opposed to the measurement screen 9, the solid shape is cut by a plane and / or curved surface perpendicular to the reference plane 8. On the other hand, the solid shape can be cut along a plane parallel to the reference plane 8 by designating the cutting line 93 with respect to the projected image when the reference plane 8 is oriented in the vertical or horizontal direction of the measurement screen 9. .

操作欄97には、寸法種別を指定するためのツールボタンと、寸法値や寸法線を削除するための削除ボタンとが配置されている。ツールボタンを操作することにより、寸法種別を指定することができ、表示欄95に表示中の断面プロファイルに対し、寸法測定を行うことができる。   In the operation column 97, a tool button for designating a dimension type and a delete button for deleting a dimension value or a dimension line are arranged. By operating the tool button, the dimension type can be specified, and the dimension measurement can be performed on the cross-sectional profile displayed in the display field 95.

ツールボタンによって選択可能な寸法種別には、線−線、線−点、点−点、高さ、円−円、円−線、円−点、円弧、角度、曲率、面積、長さ及び円がある。例えば、線−線では、2つの線分を測定要素に指定することにより、これらの線分間の距離が寸法値として求められる。角度では、2つの線分を測定要素に指定することにより、これらの線分がなす角度が寸法値として求められる。   The dimension types that can be selected with the tool button include line-line, line-point, point-point, height, circle-circle, circle-line, circle-point, arc, angle, curvature, area, length, and circle. There is. For example, in the case of a line-line, by specifying two line segments as measurement elements, the distance between these line segments is obtained as a dimension value. With respect to the angle, by designating two line segments as measurement elements, the angle formed by these line segments is obtained as a dimension value.

断面プロファイルについて寸法測定を行うことによって得られた計測値は、測定箇所に対応づけて表示される。この例では、3つの測定箇所について寸法測定が行われ、計測値がそれぞれ表示されている。   The measurement value obtained by performing dimension measurement on the cross-sectional profile is displayed in association with the measurement location. In this example, dimension measurement is performed for three measurement locations, and the measurement values are displayed.

図14は、図7の情報処理端末5における断面計測時の動作の一例を示した図であり、立体形状から抽出した幾何要素を利用して切断線93を指定する場合が示されている。この計測画面9の操作欄96には、幾何要素リスト98が表示されている。この幾何要素リスト98は、立体形状から抽出された1又は2以上の幾何要素からなり、幾何要素を利用して切断線93を指定することができる。切断線93は、幾何要素を計測画面9に投影した投影図形に基づいて、決定される。   FIG. 14 is a diagram illustrating an example of an operation at the time of cross-section measurement in the information processing terminal 5 in FIG. 7, in which a cutting line 93 is designated using a geometric element extracted from a three-dimensional shape. A geometric element list 98 is displayed in the operation field 96 of the measurement screen 9. The geometric element list 98 includes one or more geometric elements extracted from the three-dimensional shape, and the cutting line 93 can be designated using the geometric elements. The cutting line 93 is determined based on the projected figure obtained by projecting the geometric element onto the measurement screen 9.

例えば、円錐面と円筒面とが幾何要素として抽出されていれば、円錐面の中心軸が計測画面9に交差する点と、円筒面の中心軸が計測画面9に交差する点とを結ぶ直線が切断線93に指定される。表示欄95には、立体形状を切断線93により切断した場合の切断面の形状が断面プロファイルとして表示されている。立体形状から抽出された幾何要素を利用して切断線93を指定すれば、投影画像では見えない面やエッジ抽出が困難な部位を利用した立体形状の切断が可能になる。   For example, if the conical surface and the cylindrical surface are extracted as geometric elements, a straight line connecting a point where the central axis of the conical surface intersects the measurement screen 9 and a point where the central axis of the cylindrical surface intersects the measurement screen 9 Is designated as the cutting line 93. In the display column 95, the shape of the cut surface when the three-dimensional shape is cut by the cutting line 93 is displayed as a cross-sectional profile. If the cutting line 93 is specified using the geometric element extracted from the three-dimensional shape, it is possible to cut the three-dimensional shape using a surface that is not visible in the projection image or a portion where it is difficult to extract the edge.

図15は、図7の情報処理端末5におけるレポートファイル出力時の動作の一例を示した図であり、表示部に表示されるレポート画面100が示されている。レポート画面100は、断面計測の結果をレポートファイルとして記録し、或いは、印刷するための編集画面であり、3D画像の表示欄、2D画像の表示欄、断面プロファイルの表示欄及び計測結果の表示欄が設けられている。   FIG. 15 is a diagram showing an example of the operation when the report file is output in the information processing terminal 5 of FIG. 7, and shows a report screen 100 displayed on the display unit. The report screen 100 is an editing screen for recording or printing the result of the cross-sectional measurement as a report file, and is a 3D image display field, a 2D image display field, a cross-sectional profile display field, and a measurement result display field. Is provided.

3D画像の表示欄には、測定対象物Wの立体形状が表示され、2D画像の表示欄には、立体形状を計測画面9に投影した投影画像が表示される。断面プロファイルの表示欄には、立体形状を切断線93により切断した場合の切断面の形状が断面プロファイルとして表示される。計測結果の表示欄には、断面プロファイルに対する寸法測定の結果が一覧表示される。   The three-dimensional shape of the measurement object W is displayed in the 3D image display field, and the projection image obtained by projecting the three-dimensional shape onto the measurement screen 9 is displayed in the 2D image display field. In the display section of the cross-sectional profile, the shape of the cut surface when the three-dimensional shape is cut by the cutting line 93 is displayed as a cross-sectional profile. In the measurement result display column, a list of dimensional measurement results for the cross-sectional profile is displayed.

図16のステップS501〜S512は、図7の情報処理端末5における断面計測時の動作の一例を示したフローチャートである。まず、情報処理端末5は、計測画面9に3D画像として表示中の立体形状に対し、基準平面8を指定し(ステップS501)、この基準平面8が計測画面9に対して特定の姿勢になるように、立体形状を回転させる(ステップS502)。   Steps S501 to S512 in FIG. 16 are flowcharts illustrating an example of an operation during cross-sectional measurement in the information processing terminal 5 in FIG. First, the information processing terminal 5 designates the reference plane 8 for the three-dimensional shape displayed as a 3D image on the measurement screen 9 (step S501), and the reference plane 8 takes a specific posture with respect to the measurement screen 9. Thus, the three-dimensional shape is rotated (step S502).

次に、情報処理端末5は、回転後の立体形状を計測画面9に投影して投影画像を取得し、計測画面9に2D画像として表示する(ステップS503)。情報処理端末5は、指定面を変更するユーザ操作が行われれば、ステップS502及びS503の処理手順を繰り返す(ステップS504)。指定面を変更するユーザ操作が行われた場合、当該ユーザ操作に基づいて、基準平面8の姿勢が変更される。一方、指定面を変更するユーザ操作が行われなかった場合は、xy平面が指定面に自動的に指定され、基準平面8が計測画面9に正対するように、立体形状が回転される。   Next, the information processing terminal 5 projects the rotated three-dimensional shape on the measurement screen 9 to obtain a projection image, and displays it as a 2D image on the measurement screen 9 (step S503). If the user operation for changing the designated surface is performed, the information processing terminal 5 repeats the processing procedure of steps S502 and S503 (step S504). When a user operation for changing the designated surface is performed, the orientation of the reference plane 8 is changed based on the user operation. On the other hand, when the user operation for changing the designated surface is not performed, the three-dimensional shape is rotated so that the xy plane is automatically designated as the designated surface and the reference plane 8 faces the measurement screen 9.

次に、情報処理端末5は、回転角度を変更するユーザ操作が行われれば(ステップS505)、当該ユーザ操作に基づいて、投影画像をz軸周りに、つまり、計測画面9に垂直な軸周りに回転させることにより、角度調整を行う(ステップS506)。   Next, when a user operation for changing the rotation angle is performed (Step S505), the information processing terminal 5 displays the projection image around the z axis, that is, around the axis perpendicular to the measurement screen 9, based on the user operation. To adjust the angle (step S506).

次に、情報処理端末5は、計測画面9上で切断線93が指定されれば(ステップS507)、切断線93により立体形状を切断した場合の切断面の形状を表す断面プロファイルを取得し(ステップS508)、平面に展開して計測画面9に表示する(ステップS509)。情報処理端末5は、断面プロファイルに対して寸法測定を行い(ステップS510)、計測結果を断面プロファイル上に重畳させて表示する(ステップS511)。情報処理端末5は、他に測定箇所が指定されていれば、ステップS510及びS511の処理手順を繰り返し、全ての測定箇所について寸法測定が完了すれば、この処理を終了する(ステップS512)。   Next, when the cutting line 93 is designated on the measurement screen 9 (step S507), the information processing terminal 5 acquires a cross-sectional profile representing the shape of the cut surface when the solid shape is cut by the cutting line 93 ( In step S508, the image is developed on a plane and displayed on the measurement screen 9 (step S509). The information processing terminal 5 performs dimension measurement on the cross-sectional profile (step S510), and displays the measurement result superimposed on the cross-sectional profile (step S511). The information processing terminal 5 repeats the processing procedure of steps S510 and S511 if other measurement locations are specified, and ends the processing when the dimension measurement is completed for all measurement locations (step S512).

本実施の形態によれば、基準平面8が計測画面9に対して特定の姿勢になるため、立体形状を切断線93により切断した場合の切断面として所望の切断面を得るには、どの様な切断線でどこを切断すればよいのかを直感的に理解することができる。また、切断線93は、計測画面9内における一次元の幾何学図形であり、切断面が計測画面9に垂直になることから、三次元空間内で二次元の切断面を直接に指定する場合に比べ、切断面の指定を容易化することができる。さらに、所望の切断面による断面プロファイルに基づいて寸法測定を行うため、測定箇所、測定要素の形状及び寸法種別の指定を直感的に行うことができる。また、設計図面に記載された箇所の寸法測定を容易に行うことができる。   According to the present embodiment, since the reference plane 8 has a specific posture with respect to the measurement screen 9, how to obtain a desired cut surface as a cut surface when the three-dimensional shape is cut by the cutting line 93 is It is possible to intuitively understand where to cut with a simple cutting line. In addition, the cutting line 93 is a one-dimensional geometric figure in the measurement screen 9, and the cutting plane is perpendicular to the measurement screen 9. Therefore, when the two-dimensional cutting plane is directly specified in the three-dimensional space. Compared to the above, the designation of the cut surface can be facilitated. Furthermore, since dimension measurement is performed based on a cross-sectional profile by a desired cut surface, it is possible to intuitively specify a measurement location, a shape of a measurement element, and a dimension type. Moreover, the dimension measurement of the location described in the design drawing can be easily performed.

実施の形態2.
実施の形態1では、情報処理端末5が立体形状データから断面プロファイルを取得して寸法測定を行うという断面計測の機能を有する場合の例について説明した。本実施の形態では、情報処理端末が断面比較機能を有する場合について説明する。
Embodiment 2. FIG.
In the first embodiment, an example in which the information processing terminal 5 has a cross-sectional measurement function of acquiring a cross-sectional profile from solid shape data and performing dimension measurement has been described. In this embodiment, a case where the information processing terminal has a cross-sectional comparison function will be described.

図17は、本発明の実施の形態2による三次元測定装置1の一構成例を示したブロック図であり、断面比較機能を有する情報処理端末500が示されている。断面比較機能は、2つの断面プロファイルを比較し、ずれの程度や位置を求めて計測画面に表示する機能である。   FIG. 17 is a block diagram showing a configuration example of the three-dimensional measuring apparatus 1 according to the second embodiment of the present invention, and shows an information processing terminal 500 having a cross-sectional comparison function. The cross-sectional comparison function is a function that compares two cross-sectional profiles, obtains the degree and position of deviation, and displays them on the measurement screen.

この情報処理端末500は、形状データ生成部501、形状データ記憶部502、立体形状表示部503、幾何要素抽出部504、相対位置変更部505、プロファイル取得部506、プロファイル記憶部507、プロファイル表示部508、プロファイル比較部509、注目領域指定部510、基準平面指定部511、姿勢変更部512、切断線指定部513及び断面計測部514により構成される。   The information processing terminal 500 includes a shape data generation unit 501, a shape data storage unit 502, a three-dimensional shape display unit 503, a geometric element extraction unit 504, a relative position change unit 505, a profile acquisition unit 506, a profile storage unit 507, and a profile display unit. 508, a profile comparison unit 509, a region of interest designation unit 510, a reference plane designation unit 511, a posture change unit 512, a cutting line designation unit 513, and a cross-section measurement unit 514.

形状データ生成部501は、測定対象物Wの立体形状を測定して測定立体形状データを生成し、形状データ記憶部502内に格納する。形状データ記憶部502には、形状を比較する際の基準とする基準立体形状データが保持されている。基準立体形状データには、例えば、CADを用いて作成されたCADデータが用いることができる。なお、基準立体形状データには、マスターピースを測定して取得された立体形状データ、或いは、過去に測定された立体形状データを用いてもよい。   The shape data generation unit 501 measures the three-dimensional shape of the measurement object W, generates measurement three-dimensional shape data, and stores it in the shape data storage unit 502. The shape data storage unit 502 stores reference solid shape data that serves as a reference when comparing shapes. For the reference three-dimensional shape data, for example, CAD data created using CAD can be used. In addition, you may use the solid shape data acquired by measuring a master piece, or the solid shape data measured in the past as reference | standard solid shape data.

立体形状表示部503は、形状データ記憶部502から測定立体形状データ及び基準立体形状データを読み出して表示部51を制御し、測定立体形状を表す測定立体形状画像と、基準立体形状を表す基準立体形状画像とを計測画面に表示する。測定立体形状画像は、測定立体形状データに基づいて作成される。一方、基準立体形状画像は、基準立体形状データに基づいて作成される。   The three-dimensional shape display unit 503 reads the measurement three-dimensional shape data and the reference three-dimensional shape data from the shape data storage unit 502 and controls the display unit 51 to measure the three-dimensional shape image representing the measured three-dimensional shape and the reference three-dimensional shape representing the reference three-dimensional shape. The shape image is displayed on the measurement screen. The measurement stereoscopic shape image is created based on the measurement stereoscopic shape data. On the other hand, the reference stereoscopic shape image is created based on the reference stereoscopic shape data.

幾何要素抽出部504は、位置合わせに用いるための第1幾何要素及び第2幾何要素を測定立体形状及び基準立体形状からそれぞれ抽出する。第1幾何要素は、表示中の測定立体形状画像に対する位置の指定に基づいて、特定される。一方、第2幾何要素は、表示中の基準立体形状画像に対する位置の指定に基づいて、特定される。位置の指定は、キーボード52又はマウス53によるユーザ操作に基づいて行われる。   The geometric element extraction unit 504 extracts the first geometric element and the second geometric element to be used for alignment from the measurement solid shape and the reference solid shape, respectively. The first geometric element is specified based on the designation of the position with respect to the measurement stereoscopic shape image being displayed. On the other hand, the second geometric element is specified based on the designation of the position with respect to the reference three-dimensional shape image being displayed. The designation of the position is performed based on a user operation using the keyboard 52 or the mouse 53.

相対位置変更部505は、第1幾何要素と第2幾何要素とが一致するように、測定立体形状データ及び基準立体形状データの相対位置を変更する。すなわち、測定立体形状上の第1幾何要素と基準立体形状上の第2幾何要素とが、空間内において重なり、位置及び姿勢が一致するように、位置情報が変換される。例えば、形状データ記憶部502内の測定立体形状データ又は基準立体形状データのいずれかについて、座標変換が行われる。なお、測定立体形状データ及び基準立体形状データの双方について座標変換を行ってもよい。   The relative position changing unit 505 changes the relative positions of the measurement solid shape data and the reference solid shape data so that the first geometric element and the second geometric element coincide with each other. That is, the position information is converted so that the first geometric element on the measurement solid shape and the second geometric element on the reference solid shape overlap in the space and the position and orientation match. For example, coordinate conversion is performed on either the measured three-dimensional shape data or the reference three-dimensional shape data in the shape data storage unit 502. In addition, you may perform coordinate conversion about both measurement solid shape data and reference | standard solid shape data.

相対位置変更部505は、順次に特定された第1幾何要素及び第2幾何要素を位置合わせ用の幾何要素として対応づけ、これらの幾何要素が一致するように相対位置の変更を行う。そして、相対位置変更部505は、相対位置の変更後に再度、第1幾何要素及び第2幾何要素が順次に特定されれば、これらの幾何要素も一致するように相対位置の変更を行う。   The relative position changing unit 505 associates the first geometric element and the second geometric element that are sequentially specified as a geometric element for alignment, and changes the relative position so that these geometric elements coincide with each other. Then, if the first geometric element and the second geometric element are sequentially identified again after the relative position is changed, the relative position changing unit 505 changes the relative position so that these geometric elements also coincide.

プロファイル取得部506は、相対位置の変更後の測定立体形状データ及び基準立体形状データに基づいて、測定立体形状を切断面により切断した場合の断面形状を表す測定断面プロファイルと、基準立体形状を切断面により切断した場合の断面形状を表す基準断面プロファイルとを取得する。測定断面プロファイル及び基準断面プロファイルは、プロファイル記憶部507内に格納される。   The profile acquisition unit 506 cuts the reference cross-sectional shape and the measurement cross-sectional profile representing the cross-sectional shape when the measurement solid shape is cut by the cut surface based on the measurement solid shape data and the reference solid shape data after the change of the relative position. A reference cross-sectional profile representing a cross-sectional shape when cut by a plane is acquired. The measured cross-sectional profile and the reference cross-sectional profile are stored in the profile storage unit 507.

プロファイル表示部508は、プロファイル記憶部507からプロファイルデータを読み出して表示部51を制御し、測定断面プロファイル及び基準断面プロファイルを重ねて計測画面に表示する。   The profile display unit 508 reads profile data from the profile storage unit 507, controls the display unit 51, and displays the measurement cross-sectional profile and the reference cross-sectional profile on the measurement screen.

プロファイル比較部509は、プロファイル記憶部507から測定断面プロファイル及び基準断面プロファイルを読み出して比較し、測定断面プロファイルと基準断面プロファイルとの間の差分値を算出する。差分値は、測定断面プロファイル及び基準断面プロファイル間のずれを表し、例えば、基準断面プロファイルの法線方向に基準断面プロファイルから測定断面プロファイルまでの距離として求められる。   The profile comparison unit 509 reads and compares the measured cross-sectional profile and the reference cross-sectional profile from the profile storage unit 507, and calculates a difference value between the measured cross-sectional profile and the reference cross-sectional profile. The difference value represents a deviation between the measured cross-sectional profile and the reference cross-sectional profile, and is obtained, for example, as a distance from the reference cross-sectional profile to the measured cross-sectional profile in the normal direction of the reference cross-sectional profile.

注目領域指定部510は、表示中の測定断面プロファイル及び基準断面プロファイルに対し、差分値を表示し、或いは、ずれを強調させるための注目領域を指定する。注目領域は、測定断面プロファイル及び基準断面プロファイル上の位置をマウス操作などによって指定することにより、指定することができる。   The attention area designation unit 510 displays a difference value or designates an attention area for emphasizing a shift with respect to the measured cross-sectional profile and the reference cross-sectional profile being displayed. The region of interest can be specified by specifying the position on the measurement cross-sectional profile and the reference cross-sectional profile by a mouse operation or the like.

差分値は、注目領域内の測定断面プロファイル及び基準断面プロファイルについて算出される。例えば、最大差分値又は平均差分値が算出される。最大差分値は、注目領域内における差分値の最大値である。平均差分値は、注目領域内における差分値の平均値である。   The difference value is calculated for the measured cross-sectional profile and the reference cross-sectional profile in the region of interest. For example, the maximum difference value or the average difference value is calculated. The maximum difference value is the maximum difference value in the attention area. The average difference value is an average value of the difference values in the attention area.

プロファイル表示部508は、測定断面プロファイル又は基準断面プロファイルに対応づけて差分値を表示する。また、プロファイル表示部508は、差分値の極性に応じて、測定断面プロファイル及び基準断面プロファイル間の領域を色付けする。例えば、差分値が正極性である領域と負極性である領域とで領域の表示色を異ならせる。差分値の表示や断面プロファイル間の色付けは、注目領域内の測定断面プロファイル及び基準断面プロファイルについて行われる。また、プロファイル表示部508は、差分値に応じて変化するグラフを注目領域内の測定断面プロファイル又は基準断面プロファイルに重畳させて表示する。   The profile display unit 508 displays the difference value in association with the measured cross-sectional profile or the reference cross-sectional profile. Further, the profile display unit 508 colors the region between the measurement cross-sectional profile and the reference cross-sectional profile according to the polarity of the difference value. For example, the display color of the area is different between the area where the difference value is positive and the area where the difference value is negative. The display of the difference value and the coloring between the cross-sectional profiles are performed for the measurement cross-sectional profile and the reference cross-sectional profile in the region of interest. Also, the profile display unit 508 displays a graph that changes according to the difference value by superimposing the graph on the measurement cross-sectional profile or the reference cross-sectional profile in the region of interest.

基準平面指定部511は、相対位置の変更後の測定立体形状又は基準立体形状に対し、立体形状を切断する際の基準とする平面を基準平面として指定する。基準平面には、例えば、測定立体形状から第1幾何要素として抽出された平面、又は、基準立体形状から第2幾何要素として抽出された平面が指定される。なお、基準平面には、測定立体形状又は基準立体形状から平面を新たに抽出して指定してもよい。   The reference plane designating unit 511 designates, as the reference plane, a reference plane for cutting the three-dimensional shape with respect to the measured three-dimensional shape or the reference three-dimensional shape after the relative position is changed. For the reference plane, for example, a plane extracted as the first geometric element from the measurement solid shape or a plane extracted as the second geometric element from the reference solid shape is designated. The reference plane may be designated by newly extracting a plane from the measurement solid shape or the reference solid shape.

姿勢変更部512は、基準平面を正対させるために、基準平面の法線が計測画面と直交するように、測定立体形状及び基準立体形状の姿勢を変更する。また、姿勢変更部512は、基準平面を縦方向又は横方向に向けるために、基準平面の法線が計測画面の縦方向又は横方向と平行になるように、測定立体形状及び基準立体形状の姿勢を変更する。切断線指定部513は、計測画面内における切断線の指定を受け付ける。   The posture changing unit 512 changes the posture of the measurement solid shape and the reference solid shape so that the normal line of the reference plane is orthogonal to the measurement screen in order to face the reference plane. In addition, in order to direct the reference plane in the vertical direction or the horizontal direction, the posture changing unit 512 adjusts the measurement solid shape and the reference solid shape so that the normal line of the reference plane is parallel to the vertical direction or the horizontal direction of the measurement screen. Change posture. The cutting line designation unit 513 receives designation of the cutting line in the measurement screen.

プロファイル取得部506は、切断線を含んで計測画面に垂直な面を切断面とし、姿勢変更後の測定立体形状及び基準立体形状を当該切断面により切断して測定断面プロファイル及び基準断面プロファイルを取得する。   The profile acquisition unit 506 acquires a measurement cross-section profile and a reference cross-section profile by cutting the measurement solid shape and the reference solid shape after the posture change with the cut surface, using a plane that includes the cutting line and perpendicular to the measurement screen as a cut surface. To do.

断面計測部514は、表示中の測定断面プロファイルに対する位置の指定に基づいて、寸法測定を行う。位置の指定は、キーボード52又はマウス53によるユーザ操作に基づいて行われる。プロファイル表示部508は、寸法測定の結果を測定断面プロファイルに対応づけて表示する。   The cross-section measuring unit 514 performs dimension measurement based on designation of a position with respect to the measurement cross-sectional profile being displayed. The designation of the position is performed based on a user operation using the keyboard 52 or the mouse 53. The profile display unit 508 displays the result of dimension measurement in association with the measurement cross-sectional profile.

<位置合わせ画面300>
図18〜図21は、図17の情報処理端末500における位置合わせ時の動作の一例を示した図である。図18には、表示部51に表示される位置合わせ画面300が示されている。位置合わせ画面300は、2つの形状データ間で位置合わせを行うための操作画面である。
<Alignment screen 300>
18 to 21 are diagrams illustrating an example of an operation at the time of alignment in the information processing terminal 500 of FIG. FIG. 18 shows an alignment screen 300 displayed on the display unit 51. The alignment screen 300 is an operation screen for performing alignment between two shape data.

この位置合わせ画面300には、測定データを表示するための表示欄301と、基準データを表示するための表示欄302と、測定データ及び基準データを共通の座標系で表示するためのプレビュー欄303と、幾何要素を指定するための操作欄304とが設けられている。表示欄301及び302は、プレビュー欄303よりも左側に配置され、操作欄304は、プレビュー欄303よりも右側に配置されている。   The alignment screen 300 includes a display field 301 for displaying measurement data, a display field 302 for displaying reference data, and a preview field 303 for displaying measurement data and reference data in a common coordinate system. And an operation column 304 for designating a geometric element. The display columns 301 and 302 are arranged on the left side of the preview column 303, and the operation column 304 is arranged on the right side of the preview column 303.

表示欄301には、測定立体形状が表示され、表示欄302には、基準立体形状が表示されている。立体形状は、三次元的に表示され、マウス操作などにより、表示位置、視点の位置、姿勢等を調整することができる。   The display column 301 displays the measurement solid shape, and the display column 302 displays the reference solid shape. The three-dimensional shape is displayed three-dimensionally, and the display position, viewpoint position, posture, and the like can be adjusted by operating the mouse.

操作欄304には、位置合わせに用いる幾何要素の形状を指定するための形状ボタン305と、幾何要素の向きを逆向きにするための逆向きボックス306と、位置合わせ要素リスト307とが配置されている。形状ボタン305は、平面、円筒及び点の3つの形状種別ごとに設けられている。   In the operation column 304, a shape button 305 for designating the shape of the geometric element used for alignment, a reverse box 306 for reversing the direction of the geometric element, and an alignment element list 307 are arranged. ing. The shape button 305 is provided for each of the three shape types: plane, cylinder, and point.

例えば、「平面」の形状ボタン305上にマウスポインタ7を移動させ、クリック操作によって当該形状ボタン305を操作すれば、測定立体形状や基準立体形状から平面を抽出して位置合わせ用の幾何要素に指定することができる。   For example, when the mouse pointer 7 is moved onto the “plane” shape button 305 and the shape button 305 is operated by a click operation, the plane is extracted from the measurement solid shape or the reference solid shape, and is used as a geometric element for alignment. Can be specified.

図19には、測定データから第1幾何要素310を抽出した後の状態が示されている。第1幾何要素310は、表示欄301内の測定立体形状について、所望の幾何要素上にマウスポインタ7を移動させた状態で、クリック操作を行うことにより、測定立体形状から抽出される。この第1幾何要素310は、平面形状であり、色付けして表示されている。   FIG. 19 shows a state after the first geometric element 310 is extracted from the measurement data. The first geometric element 310 is extracted from the measurement solid shape by performing a click operation on the measurement solid shape in the display field 301 in a state where the mouse pointer 7 is moved on the desired geometric element. The first geometric element 310 has a planar shape and is displayed with coloring.

図20には、基準データから第2幾何要素311を抽出した後の状態が示されている。第2幾何要素311は、表示欄302内の基準立体形状について、第1幾何要素310に対応する幾何要素上にマウスポインタ7を移動させた状態で、クリック操作を行うことにより、基準立体形状から抽出される。この第2幾何要素311は、平面形状であり、色付けして表示されている。   FIG. 20 shows a state after the second geometric element 311 is extracted from the reference data. The second geometric element 311 performs a click operation on the reference three-dimensional shape in the display field 302 while moving the mouse pointer 7 on the geometric element corresponding to the first geometric element 310, thereby removing the reference three-dimensional shape from the reference three-dimensional shape. Extracted. The second geometric element 311 has a planar shape and is displayed with coloring.

図21には、1組目の幾何要素310及び311による位置合わせ完了後の状態が示されている。第1幾何要素310及び第2幾何要素311を測定立体形状及び基準立体形状から順次に抽出し、OKボタン308を操作することにより、これらの幾何要素が1組目の幾何要素として対応づけられ、位置合わせが行われる。プレビュー欄303には、位置合わせ後の測定立体形状と基準立体形状とが重ねた状態で表示される。   FIG. 21 shows a state after the alignment by the first set of geometric elements 310 and 311 is completed. By sequentially extracting the first geometric element 310 and the second geometric element 311 from the measurement solid shape and the reference solid shape, and operating the OK button 308, these geometric elements are associated as a first set of geometric elements, Alignment is performed. In the preview column 303, the measured three-dimensional shape after alignment and the reference three-dimensional shape are displayed in an overlapped state.

平面同士の位置合わせでは、平面に平行な方向の移動と、平面に垂直な軸を中心とする回転との自由度が残る。そこで、2組目の幾何要素、さらに、3組目の幾何要素を指定して位置合わせを繰り返すことにより、位置合わせの精度を向上させることができる。   In the alignment between the planes, there remains a degree of freedom of movement in a direction parallel to the planes and rotation around an axis perpendicular to the planes. Therefore, by specifying the second set of geometric elements and then the third set of geometric elements and repeating the positioning, the positioning accuracy can be improved.

1組目の幾何要素が平面形状である場合、2組目の幾何要素による位置合わせは、1組目の平面に平行な方向の移動と、当該平面に垂直な軸を中心とする回転との2自由度に制限される。つまり、2組目の幾何要素による位置合わせは、1組目の幾何要素による位置合わせの制限のもとに行われる。具体的には、2組目の幾何要素による位置合わせは、1組目の平面同士の法線を一致させるという制限のもとに行われる。2組目の幾何要素も平面形状である場合、同様に、3組目の幾何要素による位置合わせは、1組目の幾何要素と2組目の幾何要素とによる位置合わせの制限のもとに行われる。具体的には、3組目の幾何要素による位置合わせは、1組目の平面同士の法線を一致させ、かつ、2組目の平面同士の法線を一致させるという制限のもとに行われる。   When the first set of geometric elements has a planar shape, the alignment by the second set of geometric elements includes a movement in a direction parallel to the plane of the first set and a rotation about an axis perpendicular to the plane. Limited to 2 degrees of freedom. That is, the alignment by the second set of geometric elements is performed under the restriction of the alignment by the first set of geometric elements. Specifically, the alignment by the second set of geometric elements is performed under the restriction that the normals of the planes of the first set are matched. Similarly, when the second set of geometric elements is also a planar shape, the alignment by the third set of geometric elements is subject to the limitation of the alignment by the first set of geometric elements and the second set of geometric elements. Done. Specifically, the alignment by the third set of geometric elements is performed under the restriction that the normals of the first set of planes are matched and the normals of the second set of planes are matched. Is called.

なお、1組目の幾何要素による位置合わせで十分な精度が得られれば、2組目や3組目の幾何要素を指定する必要はない。1組目の幾何要素が平面形状である場合、幾何的特徴として平面の法線を利用したが、抽出される幾何要素は有限の端を持つ平面形状であるため、平面の法線に加え端の位置や形状を利用して位置合わせを行うことで、1組目の幾何要素の複数の幾何的特徴による位置合わせで十分な精度が得られる場合がある。1組目の幾何要素の複数の幾何的特徴による位置合わせで十分な精度が得られない場合は、2組目の幾何要素による位置合わせを実施することができ、この場合、1組目の平面の法線は2組目の幾何要素による位置合わせを制限する幾何的特徴となるが、1組目の平面の法線以外の特徴は2組目の幾何要素による位置合わせでは利用されない、または、制限の重み付けの低い幾何的特徴となる。また、4組目の幾何要素を指定すれば、ベストフィット位置合わせを行うことができる。ベストフィット位置合わせは、幾何要素同士の幾何的特徴を利用して直接位置合わせするのではなく、指定された幾何要素に対応する立体形状データ同士の偏差を利用して、立体形状を微小量だけずらして最適解を求める処理である。ベストフィット位置合わせには、1組目の幾何要素を指定することができる。なお、幾何要素が円筒や円錐である場合は、幾何的特徴として中心軸を用いてもよい。   Note that it is not necessary to specify the second or third set of geometric elements if sufficient accuracy can be obtained by the alignment using the first set of geometric elements. When the first set of geometric elements has a planar shape, a plane normal is used as a geometric feature. However, since the extracted geometric element has a finite end, it has an edge in addition to the plane normal. In some cases, sufficient accuracy may be obtained by performing alignment by using a plurality of geometric features of the first set of geometric elements. If sufficient accuracy cannot be obtained by aligning the first set of geometric elements with a plurality of geometric features, alignment by the second set of geometric elements can be performed. The normal of is a geometric feature that limits alignment by the second set of geometric elements, but features other than the normal of the first set of planes are not used in the alignment by the second set of geometric elements, or Geometric features with low limit weighting. If the fourth set of geometric elements is designated, the best fit position alignment can be performed. Best-fit alignment does not directly align using geometric features between geometric elements, but uses a deviation between the three-dimensional shape data corresponding to the specified geometric elements, so that only a small amount of the three-dimensional shape can be obtained. This is a process for obtaining an optimal solution by shifting. A first set of geometric elements can be specified for best fit alignment. If the geometric element is a cylinder or a cone, the central axis may be used as a geometric feature.

また、平面同士の位置合わせの場合、幾何要素が180°逆向きに位置決めされることがある。この様な場合には、逆向きボックス306にチェックマークを入力することにより、幾何要素の向きを逆向きにし、或いは、反転させることができる。   Further, in the case of alignment between planes, the geometric element may be positioned in the opposite direction by 180 °. In such a case, by inputting a check mark in the reverse direction box 306, the direction of the geometric element can be reversed or reversed.

<計測画面320>
図22〜図26は、図17の情報処理端末500における断面比較時の動作の一例を示した図である。図22には、表示部51に表示される計測画面320が示されている。この計測画面320は、2つの断面プロファイルを比較するための操作画面であり、測定立体形状と基準立体形状との位置合わせが完了した後に表示部51に表示される。
<Measurement screen 320>
22 to 26 are diagrams showing an example of an operation at the time of cross-sectional comparison in the information processing terminal 500 of FIG. FIG. 22 shows a measurement screen 320 displayed on the display unit 51. The measurement screen 320 is an operation screen for comparing two cross-sectional profiles, and is displayed on the display unit 51 after the alignment of the measurement solid shape and the reference solid shape is completed.

この計測画面320には、立体形状の表示欄321と、投影画像の表示欄322と、断面プロファイルの表示欄323と、操作欄324及び325とが設けられている。表示欄321には、位置合わせ後の測定立体形状及び基準立体形状が重ねて表示されている。表示欄322は、測定立体形状及び基準立体形状を計測画面320に投影した投影画像が表示されている。   The measurement screen 320 includes a three-dimensional shape display field 321, a projection image display field 322, a cross-sectional profile display field 323, and operation fields 324 and 325. In the display column 321, the measured three-dimensional shape and the reference three-dimensional shape after alignment are displayed in an overlapping manner. The display field 322 displays a projection image obtained by projecting the measurement solid shape and the reference solid shape onto the measurement screen 320.

表示欄322内の投影画像は、基準平面が計測画面320に対して特定の姿勢になるように回転させた後の測定立体形状及び基準立体形状から作成される。例えば、位置合わせの1組目の幾何要素が基準平面に指定され、この基準平面の法線が計測画面320の縦方向と平行になるように回転させた後の測定立体形状及び基準立体形状に対応する投影画像が表示される。   The projected image in the display field 322 is created from the measured solid shape and the reference solid shape after being rotated so that the reference plane is in a specific posture with respect to the measurement screen 320. For example, the first set of geometric elements for alignment is designated as the reference plane, and the measurement solid shape and the reference solid shape after the normal line of the reference plane is rotated in parallel with the vertical direction of the measurement screen 320 are displayed. A corresponding projection image is displayed.

操作欄324には、切断線93を指定するための各種のツールボタンと、切断線93を削除するための削除ボタンとが配置されている。表示欄323には、測定立体形状及び基準立体形状を切断線93により切断した場合の切断面の形状を表す測定断面プロファイル及び基準断面プロファイルが重ねて表示されている。操作欄325には、寸法種別を指定するための各種のツールボタンと、寸法値や寸法線を削除するための削除ボタンと、各種の差分ボタン326と、差分強調欄327とが配置されている。   In the operation column 324, various tool buttons for designating the cutting line 93 and a deletion button for deleting the cutting line 93 are arranged. In the display column 323, a measurement cross-sectional profile and a reference cross-sectional profile representing the shape of the cut surface when the measurement solid shape and the reference solid shape are cut by the cutting line 93 are displayed in an overlapping manner. In the operation column 325, various tool buttons for specifying a dimension type, a delete button for deleting a dimension value or a dimension line, various difference buttons 326, and a difference emphasis column 327 are arranged. .

ツールボタンによって選択可能な寸法種別には、線−線、線−点、点−点及び角度がある。また、差分ボタン326には、最大差分、平均差分及び差分面積がある。差分面積の差分ボタン326は、測定断面プロファイルと基準断面プロファイルとの間の領域の面積を求めるための操作アイコンである。   Dimension types that can be selected by the tool button include line-line, line-point, point-point, and angle. The difference button 326 includes a maximum difference, an average difference, and a difference area. The difference area difference button 326 is an operation icon for obtaining the area of the region between the measured cross-sectional profile and the reference cross-sectional profile.

差分強調欄327は、差分値に応じて変化するグラフを断面プロファイルに重畳させて表示するための入力欄である。チェックボックスにチェックマークを入力すれば、注目領域内の測定断面プロファイル及び基準断面プロファイルに対応づけてグラフが表示され、ずれ具合を強調することができる。また、スライダーを移動させることにより、差分値の拡大倍率を調整することができる。   The difference emphasis column 327 is an input column for displaying a graph that changes according to the difference value by superimposing it on the cross-sectional profile. If a check mark is entered in the check box, a graph is displayed in association with the measured cross-sectional profile and the reference cross-sectional profile in the region of interest, and the degree of deviation can be emphasized. Further, the magnification of the difference value can be adjusted by moving the slider.

図23には、計測画面320上に表示されたプロファイル選択画面328が示されている。断面プロファイル312に対し、矩形領域313を指定して直線を抽出する場合、抽出元の断面プロファイル312は、測定データ(測定立体形状データ)から取得された断面プロファイルであるのか、或いは、基準データ(基準立体形状データ)から取得された基準断面プロファイルであるのかを選択する必要がある。この様な場合にプロファイル選択画面328が表示され、測定断面プロファイル又は基準断面プロファイルのいずれかを選択することができる。   FIG. 23 shows a profile selection screen 328 displayed on the measurement screen 320. When a straight line is extracted by specifying the rectangular region 313 with respect to the cross-sectional profile 312, the extraction source cross-sectional profile 312 is a cross-sectional profile acquired from measurement data (measurement solid shape data), or reference data ( It is necessary to select whether it is a reference cross-sectional profile acquired from (reference solid shape data). In such a case, a profile selection screen 328 is displayed, and either the measurement cross-sectional profile or the reference cross-sectional profile can be selected.

測定断面プロファイル又は基準断面プロファイルから直線を抽出することにより、2直線間の距離、点と直線との距離、2直線のなす角度等を測定することができる。また、測定断面プロファイル又は基準断面プロファイル上の点を指定すれば、2点間の距離等を測定することができる。   By extracting a straight line from the measured cross-sectional profile or the reference cross-sectional profile, the distance between two straight lines, the distance between a point and a straight line, the angle formed by the two straight lines, and the like can be measured. Further, if a point on the measurement cross-sectional profile or the reference cross-sectional profile is designated, the distance between the two points can be measured.

図24には、断面プロファイル312に対して注目領域314を指定した場合が示されている。断面プロファイル312に対して注目領域314を指定することにより、注目領域314内の測定断面プロファイル及び基準断面プロファイルについて、最大差分値、平均差分値又は差分面積を求め、計測結果として重畳させて表示することができる。   FIG. 24 shows a case where a region of interest 314 is designated for the cross-sectional profile 312. By specifying the region of interest 314 for the cross-sectional profile 312, the maximum difference value, the average difference value, or the difference area is obtained for the measurement cross-sectional profile and the reference cross-sectional profile in the region of interest 314, and the measurement results are superimposed and displayed. be able to.

例えば、最大差分値「−0.198mm」が測定箇所に対応づけて表示される。この様な構成を採用することにより、立体形状間に生じているずれの程度、位置及びずれの極性をより客観的に理解することができる。   For example, the maximum difference value “−0.198 mm” is displayed in association with the measurement location. By adopting such a configuration, it is possible to more objectively understand the degree of displacement, the position, and the polarity of the displacement occurring between the three-dimensional shapes.

図25には、断面プロファイル312の表示倍率を増大させた場合が示されている。表示欄323に表示される測定断面プロファイル312a及び基準断面プロファイル312bの表示倍率は、マウス操作等によって適宜変更することができる。   FIG. 25 shows a case where the display magnification of the cross-sectional profile 312 is increased. The display magnification of the measurement cross-sectional profile 312a and the reference cross-sectional profile 312b displayed in the display field 323 can be changed as appropriate by operating the mouse.

測定断面プロファイル312a及び基準断面プロファイル312b間の領域は、差分値の極性に応じて色付けされる。例えば、基準断面プロファイル312bの法線方向に関し、測定断面プロファイル312aが基準断面プロファイル312bよりも高い領域は、赤色で表示され、測定断面プロファイル312aが基準断面プロファイル312bよりも低い領域は、青色で表示される。この様な構成を採用することにより、立体形状間に生じているずれの極性に対する視認性を向上させることができる。   The region between the measured cross-sectional profile 312a and the reference cross-sectional profile 312b is colored according to the polarity of the difference value. For example, with respect to the normal direction of the reference cross-sectional profile 312b, a region where the measured cross-sectional profile 312a is higher than the reference cross-sectional profile 312b is displayed in red, and a region where the measured cross-sectional profile 312a is lower than the reference cross-sectional profile 312b is displayed in blue. Is done. By adopting such a configuration, it is possible to improve the visibility with respect to the polarity of the deviation occurring between the three-dimensional shapes.

図26には、差分値に応じて変化するグラフを表示させた場合が示されている。注目領域314内の断面プロファイル312に対し、差分値に応じて変化するグラフを表示することにより、ずれ具合を容易に識別することができる。グラフは、例えば、基準断面プロファイルの法線方向にずれを増大させることによって作成される。この様な構成を採用することにより、グラフにより注目領域314内のずれが強調されるため、断面プロファイル312の表示倍率によってずれの程度が判別できなくなるのを防止することができる。   FIG. 26 shows a case where a graph that changes according to the difference value is displayed. By displaying a graph that changes in accordance with the difference value with respect to the cross-sectional profile 312 in the attention area 314, the degree of deviation can be easily identified. The graph is created, for example, by increasing the deviation in the normal direction of the reference cross-sectional profile. By adopting such a configuration, since the shift in the attention area 314 is emphasized by the graph, it is possible to prevent the degree of shift from being determined by the display magnification of the cross-sectional profile 312.

<レポート画面330>
図27は、図17の情報処理端末500におけるレポートファイル出力時の動作の一例を示した図であり、表示部51に表示されるレポート画面330が示されている。このレポート画面330は、断面比較の結果をレポートファイルとして記録し、或いは、印刷するための編集画面であり、3D画像の表示欄、2D画像(基準データ)の表示欄、2D画像(測定データ)の表示欄、断面プロファイルの表示欄及び計測結果の表示欄が設けられている。
<Report screen 330>
FIG. 27 is a diagram showing an example of the operation at the time of outputting a report file in the information processing terminal 500 of FIG. 17, and shows a report screen 330 displayed on the display unit 51. This report screen 330 is an editing screen for recording or printing the result of the cross-sectional comparison as a report file, and is a display field for 3D images, a display field for 2D images (reference data), and a 2D image (measurement data). Display column, cross-sectional profile display column, and measurement result display column.

3D画像の表示欄には、測定立体形状及び基準立体形状が重ねて表示される。2D画像(基準データ)の表示欄には、基準立体形状を計測画面320に投影した投影画像が表示され、2D画像(測定データ)の表示欄には、測定立体形状を計測画面320に投影した投影画像が表示される。断面プロファイルの表示欄には、測定立体形状及び基準立体形状を切断線93により切断した場合の切断面の形状が断面プロファイルとして表示される。計測結果の表示欄には、断面プロファイルに対する寸法測定の結果が一覧表示される。   In the display column of the 3D image, the measurement stereoscopic shape and the reference stereoscopic shape are displayed in an overlapping manner. A projected image obtained by projecting the reference solid shape onto the measurement screen 320 is displayed in the display field of the 2D image (reference data), and the measured solid shape is projected onto the measurement screen 320 in the display field of the 2D image (measurement data). A projected image is displayed. In the display section of the cross-sectional profile, the shape of the cut surface when the measurement solid shape and the reference solid shape are cut by the cutting line 93 is displayed as a cross-sectional profile. In the measurement result display column, a list of dimensional measurement results for the cross-sectional profile is displayed.

図28及び図29のステップS601〜S614は、図17の情報処理端末500における断面比較時の動作の一例を示したフローチャートである。まず、情報処理端末5は、形状を比較する際の基準とする基準立体形状データを指定し(ステップS601)、測定データ(測定立体形状データ)とともに位置合わせ画面300に表示する(ステップS602)。   Steps S601 to S614 in FIG. 28 and FIG. 29 are flowcharts showing an example of the operation at the time of cross-sectional comparison in the information processing terminal 500 in FIG. First, the information processing terminal 5 designates reference three-dimensional shape data as a reference for comparing shapes (step S601), and displays them on the alignment screen 300 together with measurement data (measurement three-dimensional shape data) (step S602).

次に、情報処理端末5は、表示中の測定立体形状画像に対し、位置が指定されれば(ステップS603)、第1幾何要素を特定する(ステップS604)。次に、情報処理端末5は、表示中の基準立体形状画像に対し、位置が指定されれば(ステップS605)、第2幾何要素を特定する(ステップS606)。   Next, the information processing terminal 5 specifies the first geometric element (step S604) when the position is designated for the measurement solid shape image being displayed (step S603). Next, if a position is designated for the reference three-dimensional shape image being displayed (step S605), the information processing terminal 5 specifies the second geometric element (step S606).

情報処理端末5は、特定した第1幾何要素及び第2幾何要素を位置合わせ用の幾何要素として対応づけ、これらの幾何要素が一致するように、測定立体形状データ及び基準立体形状データの相対位置を変更する(ステップS607)。他の幾何要素も指定して位置合わせを繰り返す場合は、ステップS603からステップS607までの処理手順が繰り返される(ステップS608)。   The information processing terminal 5 associates the identified first geometric element and the second geometric element as alignment geometric elements, and the relative positions of the measurement solid shape data and the reference solid shape data so that these geometric elements coincide with each other. Is changed (step S607). When the positioning is repeated by designating other geometric elements, the processing procedure from step S603 to step S607 is repeated (step S608).

次に、情報処理端末5は、切断面を指定する処理を行う(ステップS609)。この処理は、図16のステップS501からステップS507までの処理手順と同様に行われ、切断線93を含んで計測画面320に垂直な面が切断面に指定される。   Next, the information processing terminal 5 performs a process of designating a cut surface (step S609). This processing is performed in the same manner as the processing procedure from step S501 to step S507 in FIG. 16, and a plane that includes the cutting line 93 and is perpendicular to the measurement screen 320 is designated as the cutting plane.

次に、情報処理端末5は、測定立体形状及び基準立体形状を切断面により切断して測定断面プロファイル及び基準断面プロファイルを取得し(ステップS610)、平面に展開して計測画面320に表示する(ステップS611)。   Next, the information processing terminal 5 cuts the measurement three-dimensional shape and the reference three-dimensional shape with the cut surface to acquire the measurement cross-sectional profile and the reference cross-sectional profile (step S610), develops them on a plane, and displays them on the measurement screen 320 ( Step S611).

情報処理端末5は、注目領域の指定があれば(ステップS612)、注目領域内の測定断面プロファイル及び基準断面プロファイルについて、差分値を算出し(ステップS613)、グラフを重畳させて表示する(ステップS614)。   If the attention area is designated (step S612), the information processing terminal 5 calculates a difference value for the measured cross-sectional profile and the reference cross-sectional profile in the attention area (step S613), and displays the superimposed graph (step S613). S614).

本実施の形態によれば、表示中の測定立体形状画像及び基準立体形状画像に対して位置を指定することにより、第1幾何要素及び第2幾何要素をそれぞれ特定して相対位置の変更が行われるため、測定立体形状及び基準立体形状の位置及び姿勢を一致させることができる。このため、表示直後に位置や姿勢が異なる立体形状であっても、同じように切断して断面形状を取得することができる。また、測定立体形状及び基準立体形状がそれぞれ測定断面プロファイル及び基準断面プロファイルとして二次元の幾何学図形により表されるため、立体形状間に生じているずれの程度や位置を客観的に理解することができる。   According to the present embodiment, the relative position is changed by specifying the first geometric element and the second geometric element by designating the position with respect to the measured stereoscopic shape image and the reference stereoscopic shape image being displayed. Therefore, the positions and postures of the measurement solid shape and the reference solid shape can be matched. For this reason, even if it is a three-dimensional shape from which a position and a posture differ immediately after display, it can cut similarly and can acquire a section shape. In addition, since the measurement solid shape and the reference solid shape are represented by two-dimensional geometric figures as the measurement cross-sectional profile and the reference cross-sectional profile, respectively, it is necessary to objectively understand the degree and position of the deviation between the three-dimensional shapes. Can do.

なお、本実施の形態では、ヘッド部20が1つの受光部25と2つの投光部24とを備える場合の例について説明したが、本発明は、ヘッド部20の構成をこれに限定するものではない。例えば、ヘッド部が1つの受光部25と1つの投光部24とを備え、或いは、ヘッド部が2つの受光部25と1つの投光部24とを備える場合にも本発明は適用可能である。   In the present embodiment, an example in which the head unit 20 includes one light receiving unit 25 and two light projecting units 24 has been described. However, the present invention limits the configuration of the head unit 20 to this. is not. For example, the present invention can be applied to a case where the head unit includes one light receiving unit 25 and one light projecting unit 24, or when the head unit includes two light receiving units 25 and one light projecting unit 24. is there.

また、本実施の形態では、ヘッド部20とステージ保持部22とが固定的に連結される場合の例について説明したが、ヘッド部20とステージ保持部22とが分離可能であってもよい。   In the present embodiment, an example in which the head unit 20 and the stage holding unit 22 are fixedly connected has been described. However, the head unit 20 and the stage holding unit 22 may be separable.

1 三次元測定装置
2 測定部
20 ヘッド部
21 ステージ
211 ステージプレート
212 ステージベース
22 ステージ保持部
23 回転駆動部
24 投光部
25 受光部
25a,25b 撮像部
26 テクスチャ照明出射部
27 制御基板
28 連結部
3 ライトガイド
4 コントローラ
41 テクスチャ光源
42 制御基板
43 電源
5 情報処理端末
51 表示部
52 キーボード
53 マウス
6,9 計測画面
7 マウスポインタ
8 基準平面
10 測定制御部
11 形状データ生成部
12 形状データ記憶部
13 表示制御部
14 基準平面抽出部
15 姿勢変更部
16 切断線指定部
17 断面プロファイル取得部
18 断面計測部
19a 幾何要素抽出部
19b エッジ抽出部
500 情報処理端末
501 形状データ生成部
502 形状データ記憶部
503 立体形状表示部
504 幾何要素抽出部
505 相対位置変更部
506 プロファイル取得部
507 プロファイル記憶部
508 プロファイル表示部
509 プロファイル比較部
510 注目領域指定部
511 基準平面指定部
512 姿勢変更部
513 切断線指定部
514 断面計測部
J1,J11,J12 受光軸
J2,J3 投光軸
J4 回転軸
W 測定対象物
DESCRIPTION OF SYMBOLS 1 3D measuring apparatus 2 Measurement part 20 Head part 21 Stage 211 Stage plate 212 Stage base 22 Stage holding part 23 Rotation drive part 24 Light projection part 25 Light-receiving part 25a, 25b Imaging part 26 Texture illumination emission part 27 Control board 28 Connection part 3 Light Guide 4 Controller 41 Texture Light Source 42 Control Board 43 Power Supply 5 Information Processing Terminal 51 Display Unit 52 Keyboard 53 Mouse 6, 9 Measurement Screen 7 Mouse Pointer 8 Reference Plane 10 Measurement Control Unit 11 Shape Data Generation Unit 12 Shape Data Storage Unit 13 Display control unit 14 Reference plane extraction unit 15 Attitude change unit 16 Cutting line designation unit 17 Section profile acquisition unit 18 Section measurement unit 19a Geometric element extraction unit 19b Edge extraction unit 500 Information processing terminal 501 Shape data generation unit 502 Shape data storage unit 503 3D shape display 04 Geometric element extraction unit 505 Relative position change unit 506 Profile acquisition unit 507 Profile storage unit 508 Profile display unit 509 Profile comparison unit 510 Attention area designation unit 511 Reference plane designation unit 512 Attitude change unit 513 Cutting line designation unit 514 Cross section measurement unit J1 , J11, J12 Receiving axis J2, J3 Emitting axis J4 Rotating axis W Measurement object

Claims (8)

三次元空間における複数の測定点の位置情報を測定し、測定対象物の立体形状を表す測定立体形状データを生成する形状データ生成手段と、
形状を比較する際の基準とする基準立体形状データを保持する形状データ記憶手段と、
上記測定立体形状データに対応する測定立体形状画像、及び、上記基準立体形状データに対応する基準立体形状画像を計測画面に表示する立体形状表示手段と、
表示中の上記測定立体形状画像に対する位置の指定に基づいて第1幾何要素を特定し、表示中の上記基準立体形状画像に対する位置の指定に基づいて第2幾何要素を特定する幾何要素抽出手段と、
上記第1幾何要素及び上記第2幾何要素が一致するように、上記測定立体形状データ及び上記基準立体形状データの相対位置を変更する相対位置変更手段と、
相対位置の変更後の上記測定立体形状データ及び上記基準立体形状データに基づいて、測定立体形状を切断面により切断した場合の断面形状を表す測定断面プロファイルを取得するとともに、基準立体形状を上記切断面により切断した場合の断面形状を表す基準断面プロファイルを取得するプロファイル取得手段と、
上記測定断面プロファイル及び上記基準断面プロファイルを重ねて上記計測画面に表示するプロファイル表示手段とを備えることを特徴とする三次元測定装置。
Shape data generation means for measuring position information of a plurality of measurement points in a three-dimensional space and generating measurement solid shape data representing the three-dimensional shape of the measurement object;
Shape data storage means for holding reference solid shape data as a reference when comparing shapes;
3D shape display means for displaying a measurement 3D shape image corresponding to the measurement 3D shape data and a reference 3D shape image corresponding to the reference 3D shape data on a measurement screen;
A geometric element extracting means for specifying a first geometric element based on designation of a position with respect to the measured three-dimensional shape image being displayed and identifying a second geometric element based on designation of a position with respect to the reference three-dimensional shape image being displayed; ,
Relative position changing means for changing the relative positions of the measurement solid shape data and the reference solid shape data so that the first geometric element and the second geometric element coincide with each other;
Based on the measurement solid shape data and the reference solid shape data after the change of the relative position, a measurement cross-sectional profile representing a cross-sectional shape when the measurement solid shape is cut by a cut surface is acquired, and the reference solid shape is cut. Profile acquisition means for acquiring a reference cross-sectional profile representing a cross-sectional shape when cut by a surface;
A three-dimensional measurement apparatus comprising: profile display means for displaying the measurement cross-sectional profile and the reference cross-sectional profile on the measurement screen in a superimposed manner.
上記測定断面プロファイル及び上記基準断面プロファイル間の差分値を算出するプロファイル比較手段を更に備え、
上記プロファイル表示手段は、上記測定断面プロファイル又は上記基準断面プロファイルに対応づけて上記差分値を表示することを特徴とする請求項1に記載の三次元測定装置。
Profile comparison means for calculating a difference value between the measured cross-sectional profile and the reference cross-sectional profile;
The three-dimensional measuring apparatus according to claim 1, wherein the profile display means displays the difference value in association with the measurement cross-sectional profile or the reference cross-sectional profile.
上記プロファイル表示手段は、上記差分値の極性に応じて、上記測定断面プロファイル及び上記基準断面プロファイル間の領域を色付けすることを特徴とする請求項2に記載の三次元測定装置。   3. The three-dimensional measuring apparatus according to claim 2, wherein the profile display means colors a region between the measurement cross-sectional profile and the reference cross-sectional profile according to the polarity of the difference value. 表示中の上記測定断面プロファイル及び上記基準断面プロファイルに対し、注目領域を指定する注目領域指定手段を更に備え、
上記プロファイル表示手段は、上記差分値に応じて変化するグラフを上記注目領域内の上記測定断面プロファイル又は上記基準断面プロファイルに重畳させて表示することを特徴とする請求項2又は3に記載の三次元測定装置。
A region of interest designation means for designating a region of interest for the measured cross-sectional profile and the reference cross-sectional profile being displayed is further provided.
The tertiary according to claim 2 or 3, wherein the profile display means displays a graph that changes in accordance with the difference value so as to be superimposed on the measurement cross-sectional profile or the reference cross-sectional profile in the region of interest. Former measuring device.
上記相対位置変更手段は、順次に特定された上記第1幾何要素及び上記第2幾何要素を位置合わせ用の幾何要素として対応づけ、これらの幾何要素が一致するように相対位置の変更を行い、相対位置の変更後に再度、上記第1幾何要素及び上記第2幾何要素が順次に特定されれば、これらの幾何要素も一致するように相対位置の変更を行うことを特徴とする請求項1〜4のいずれかに記載の三次元測定装置。   The relative position changing means associates the first geometric element and the second geometric element identified sequentially as a geometric element for alignment, and changes the relative position so that these geometric elements match. 2. If the first geometric element and the second geometric element are sequentially identified again after the relative position is changed, the relative position is changed so that these geometric elements also coincide. The three-dimensional measuring apparatus according to any one of 4. 相対位置の変更後の上記測定立体形状又は上記基準立体形状に対し、基準平面を指定する基準平面指定手段と、
上記基準平面の法線が上記計測画面と直交し、或いは、上記計測画面の縦方向又は横方向と平行になるように、上記測定立体形状及び上記基準立体形状の姿勢を変更する姿勢変更手段と、
上記計測画面内における切断線の指定を受け付ける切断線指定手段とを更に備え、
上記プロファイル取得手段は、上記切断線を含んで上記計測画面に垂直な面を上記切断面とし、姿勢変更後の上記測定立体形状及び上記基準立体形状を当該切断面により切断して上記測定断面プロファイル及び上記基準断面プロファイルを取得することを特徴とする請求項1〜5のいずれかに記載の三次元測定装置。
Reference plane designating means for designating a reference plane with respect to the measurement solid shape or the reference solid shape after changing the relative position;
Posture changing means for changing the posture of the measurement solid shape and the reference solid shape so that the normal of the reference plane is orthogonal to the measurement screen or parallel to the vertical or horizontal direction of the measurement screen; ,
Cutting line designation means for accepting designation of the cutting line in the measurement screen,
The profile acquisition means uses the surface perpendicular to the measurement screen including the cutting line as the cutting surface, cuts the measurement solid shape and the reference three-dimensional shape after the posture change by the cutting surface, and the measurement cross-sectional profile. The three-dimensional measuring apparatus according to claim 1, wherein the reference cross-sectional profile is acquired.
上記基準平面指定手段は、上記測定立体形状から上記第1幾何要素として抽出された平面又は上記基準立体形状から上記第2幾何要素として抽出された平面を上記基準平面に指定することを特徴とする請求項6に記載の三次元測定装置。   The reference plane designating unit designates a plane extracted as the first geometric element from the measurement solid shape or a plane extracted as the second geometric element from the reference solid shape as the reference plane. The three-dimensional measuring apparatus according to claim 6. 表示中の上記測定断面プロファイルに対する位置の指定に基づいて、寸法測定を行う断面計測手段を更に備え、
上記プロファイル表示手段は、上記寸法測定の結果を上記測定断面プロファイルに対応づけて表示することを特徴とする請求項1〜7のいずれかに記載の三次元測定装置。
Based on the designation of the position relative to the measurement cross-sectional profile being displayed, further comprising a cross-section measurement means for measuring dimensions,
The three-dimensional measuring apparatus according to any one of claims 1 to 7, wherein the profile display means displays the result of the dimension measurement in association with the measurement cross-sectional profile.
JP2016166266A 2016-08-26 2016-08-26 Three-dimensional measuring device Active JP6799893B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016166266A JP6799893B2 (en) 2016-08-26 2016-08-26 Three-dimensional measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016166266A JP6799893B2 (en) 2016-08-26 2016-08-26 Three-dimensional measuring device

Publications (2)

Publication Number Publication Date
JP2018031746A true JP2018031746A (en) 2018-03-01
JP6799893B2 JP6799893B2 (en) 2020-12-16

Family

ID=61303232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016166266A Active JP6799893B2 (en) 2016-08-26 2016-08-26 Three-dimensional measuring device

Country Status (1)

Country Link
JP (1) JP6799893B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019168286A (en) * 2018-03-22 2019-10-03 株式会社キーエンス Image processing device
JP2020046394A (en) * 2018-09-21 2020-03-26 株式会社キーエンス Three-dimensional shape measuring device and three-dimensional shape measuring program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172393A (en) * 2005-12-22 2007-07-05 Keyence Corp Three-dimensional image display device, operation method of three-dimensional image display device, three-dimensional image display program, computer readable recording medium and storage device
US20080221829A1 (en) * 2007-03-06 2008-09-11 Kenneth Wargon Apparatus and method for determining and numerically displaying a volume dependent characteristic of any unseparated part of an item
JP2014109491A (en) * 2012-11-30 2014-06-12 Keyence Corp Measurement microscope device, measurement method employing the same, operation program and computer readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172393A (en) * 2005-12-22 2007-07-05 Keyence Corp Three-dimensional image display device, operation method of three-dimensional image display device, three-dimensional image display program, computer readable recording medium and storage device
US20080221829A1 (en) * 2007-03-06 2008-09-11 Kenneth Wargon Apparatus and method for determining and numerically displaying a volume dependent characteristic of any unseparated part of an item
JP2014109491A (en) * 2012-11-30 2014-06-12 Keyence Corp Measurement microscope device, measurement method employing the same, operation program and computer readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019168286A (en) * 2018-03-22 2019-10-03 株式会社キーエンス Image processing device
JP7090447B2 (en) 2018-03-22 2022-06-24 株式会社キーエンス Image processing equipment
JP2020046394A (en) * 2018-09-21 2020-03-26 株式会社キーエンス Three-dimensional shape measuring device and three-dimensional shape measuring program
JP7154084B2 (en) 2018-09-21 2022-10-17 株式会社キーエンス Three-dimensional shape measuring device and three-dimensional shape measuring program

Also Published As

Publication number Publication date
JP6799893B2 (en) 2020-12-16

Similar Documents

Publication Publication Date Title
JP6736423B2 (en) Three-dimensional measuring device
JP6774793B2 (en) Three-dimensional measuring device
JP5547105B2 (en) Dimension measuring apparatus, dimension measuring method and program for dimension measuring apparatus
JP6029394B2 (en) Shape measuring device
US7697126B2 (en) Three dimensional spatial imaging system and method
JP6460938B2 (en) Measurement object measurement program, measurement object measurement method, and magnification observation apparatus
JP2007147422A (en) Measurement system, image processor, and method
JP2018004277A (en) Measurement apparatus
JP2018004278A (en) Measurement apparatus
JP2019100995A (en) Measurement image display control unit, measurement image display control method, and program for measurement image display control
JP6736424B2 (en) Three-dimensional measuring device
JP6799893B2 (en) Three-dimensional measuring device
JP2014106094A (en) Shape measurement device
JP6552074B2 (en) Image measuring instrument
JP6722522B2 (en) Three-dimensional measuring device and control method thereof
JP7154084B2 (en) Three-dimensional shape measuring device and three-dimensional shape measuring program
JP2017227612A (en) Three-dimensional measurement device
JP2017227610A (en) Three-dimensional measurement device
JP6748520B2 (en) Calibration tool manufacturing method and three-dimensional measuring apparatus
US12013230B2 (en) Three-dimensional shape measuring apparatus
US20220316867A1 (en) Three-dimensional shape measuring apparatus
JP6695747B2 (en) measuring device
JP2005091115A (en) Depth measuring instrument
US11580656B1 (en) Systems and methods for detecting and correcting data density during point cloud generation
US20240112321A1 (en) Three-dimensional shape data generation apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190314

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200303

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200819

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201009

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201121

R150 Certificate of patent or registration of utility model

Ref document number: 6799893

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250