JP6282157B2 - Shape recognition device - Google Patents

Shape recognition device Download PDF

Info

Publication number
JP6282157B2
JP6282157B2 JP2014073507A JP2014073507A JP6282157B2 JP 6282157 B2 JP6282157 B2 JP 6282157B2 JP 2014073507 A JP2014073507 A JP 2014073507A JP 2014073507 A JP2014073507 A JP 2014073507A JP 6282157 B2 JP6282157 B2 JP 6282157B2
Authority
JP
Japan
Prior art keywords
shape data
curvature
data
shape
design
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014073507A
Other languages
Japanese (ja)
Other versions
JP2015197297A (en
Inventor
和崇 飯田
和崇 飯田
悟 川船
悟 川船
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co Ltd
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 Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP2014073507A priority Critical patent/JP6282157B2/en
Publication of JP2015197297A publication Critical patent/JP2015197297A/en
Application granted granted Critical
Publication of JP6282157B2 publication Critical patent/JP6282157B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Description

本発明は、物体の表面の形状の評価に用いられる形状認識装置に関する。   The present invention relates to a shape recognition device used for evaluating the shape of the surface of an object.

車両のドアパネルなどの表面には、歪み(面歪)が発生することがある。その発生した歪みを定量的に評価するために用いられる装置として、本願出願人は、特許文献1において、その評価の対象となる物体(評価対象物)の表面の形状を認識する形状認識装置を提案している。   Distortion (surface distortion) may occur on the surface of a vehicle door panel or the like. As an apparatus used for quantitatively evaluating the generated distortion, the applicant of the present application disclosed in Patent Document 1 a shape recognition apparatus that recognizes the shape of the surface of an object (evaluation object) to be evaluated. is suggesting.

この形状認識装置では、評価対象物の表面を表す3次元形状データが取得され、3次元形状データから、評価対象物の表面の形状を粗く反映した曲率群からなるベース形状データと、当該表面の形状を詳細に反映した曲率群からなる詳細形状データとが生成される。そして、ベース形状データを基準として、同一の領域におけるベース形状データと詳細形状データとのずれ量が歪値として生成される。この歪値に基づいて、評価対象物の表面の歪みを定量的に評価することができる。   In this shape recognition device, three-dimensional shape data representing the surface of the evaluation object is acquired, base shape data consisting of a curvature group that roughly reflects the shape of the surface of the evaluation object from the three-dimensional shape data, and the surface of the surface Detailed shape data including a group of curvatures reflecting the shape in detail is generated. Then, with reference to the base shape data, a deviation amount between the base shape data and the detailed shape data in the same region is generated as a distortion value. Based on this strain value, the surface strain of the evaluation object can be quantitatively evaluated.

特開2010−210576号公報JP 2010-210576 A

しかしながら、評価対象物の表面に広範囲に及ぶ大きな歪みが生じていると、ベース形状データがその大きな歪みを含むデータとなり、ベース形状データと詳細形状データとから生成される歪値に基づく評価において、評価対象物の表面の歪みを認識することができない場合がある。   However, when a large distortion over a wide range occurs on the surface of the evaluation object, the base shape data becomes data including the large distortion, and in the evaluation based on the distortion value generated from the base shape data and the detailed shape data, In some cases, the surface distortion of the evaluation object cannot be recognized.

本発明の目的は、物体の表面の歪みをより精度よく認識することが可能な歪値を生成することができる、形状認識装置を提供することである。   An object of the present invention is to provide a shape recognition device that can generate a distortion value that can more accurately recognize a distortion of the surface of an object.

前記の目的を達成するため、本発明に係る形状認識装置は、物体の表面の形状を表す3次元形状データから、当該形状を相対的に粗く反映した曲率群からなるベース形状データを生成するベース形状データ生成手段と、その3次元形状データから、物体の表面の形状を相対的に詳細に反映した曲率群からなる詳細形状データを生成する詳細形状データ生成手段と、物体の表面の設計上の曲率群からなる設計形状データを取得する設計形状データ取得手段と、物体の表面の所定領域に関し、ベース形状データから取得される曲率を基準とする所定幅の許容範囲に設計形状データから取得される曲率が含まれる場合、ベース形状データから取得される曲率と詳細形状データから取得される曲率との差を歪値として生成し、当該許容範囲に設計形状データから取得される曲率が含まれない場合、設計形状データから取得される曲率と詳細形状データから取得される曲率との差を歪値として生成する歪値生成手段とを含む。   In order to achieve the above object, a shape recognition apparatus according to the present invention generates a base shape data composed of a group of curvatures reflecting a relatively rough shape from three-dimensional shape data representing the shape of the surface of an object. On the design of the shape data generation means, the detailed shape data generation means for generating detailed shape data consisting of a curvature group reflecting the shape of the surface of the object relatively in detail from the three-dimensional shape data, Design shape data acquisition means for acquiring design shape data comprising a group of curvatures, and a predetermined region on the surface of the object, acquired from the design shape data within an allowable range of a predetermined width based on the curvature acquired from the base shape data. When curvature is included, the difference between the curvature obtained from the base shape data and the curvature obtained from the detailed shape data is generated as a distortion value, and the design shape is within the allowable range. Not contain a curvature that is obtained from the chromatography data, and a strain value generating means for generating a difference between the curvature obtained from the curvature and detailed shape data obtained from the design shape data as distortion values.

この構成によれば、物体の表面の形状を表す3次元形状データから、当該形状を相対的に粗く反映した曲率群からなるベース形状データと、当該形状を相対的に詳細に反映した曲率群からなる詳細形状データとが生成される。一方、物体の表面の設計上の曲率群からなる設計形状データが取得される。そして、物体の表面の所定領域を対象として、ベース形状データと設計形状データとが比較されて、設計形状データから取得される曲率がベース形状データから取得される曲率を基準とする所定幅の許容範囲に含まれるか否かが判定される。   According to this configuration, from the three-dimensional shape data representing the shape of the surface of the object, from the base shape data composed of a curvature group reflecting the shape relatively coarsely, and the curvature group reflecting the shape relatively in detail The detailed shape data is generated. On the other hand, design shape data including a design curvature group on the surface of the object is acquired. Then, the base shape data is compared with the design shape data for a predetermined region on the surface of the object, and the curvature obtained from the design shape data is allowed to have a predetermined width based on the curvature obtained from the base shape data. It is determined whether it falls within the range.

設計形状データから取得される曲率がその許容範囲に含まれる場合には、ベース形状データから取得される曲率と詳細形状データから取得される曲率との差が歪値として生成される。これにより、従来の形状認識装置と同様、その生成された歪値に基づいて、物体の表面の歪みを定量的に評価することができる。   When the curvature acquired from the design shape data is included in the allowable range, a difference between the curvature acquired from the base shape data and the curvature acquired from the detailed shape data is generated as a distortion value. Thereby, similarly to the conventional shape recognition apparatus, the distortion of the surface of the object can be quantitatively evaluated based on the generated distortion value.

一方、物体の表面に広範囲に及ぶ大きな歪みが生じている場合、ベース形状データにその大きな歪みが含まれ、ベース形状データが設計形状データから大きくずれてしまう。この場合、ベース形状データから取得される曲率と詳細形状データから取得される曲率との差が歪値として生成されると、歪値には、物体の表面に生じている大きな歪みが反映されない。そのため、その歪値に基づいては、物体の表面の歪みを定量的に評価することができない。   On the other hand, when a large distortion over a wide range occurs on the surface of the object, the large distortion is included in the base shape data, and the base shape data greatly deviates from the design shape data. In this case, when the difference between the curvature acquired from the base shape data and the curvature acquired from the detailed shape data is generated as the distortion value, the distortion value does not reflect a large distortion generated on the surface of the object. Therefore, based on the strain value, the surface distortion of the object cannot be quantitatively evaluated.

そこで、設計形状データから取得される曲率がベース形状データから取得される曲率を基準とする所定幅の許容範囲に含まれない場合には、設計形状データから取得される曲率と詳細形状データから取得される曲率との差が歪値として生成される。これにより、物体の表面の広範囲に及ぶ歪みが歪値に反映されるので、その歪値に基づいて、物体の表面の歪みをより精度よく定量的に評価することができる。   Therefore, when the curvature acquired from the design shape data is not included in the allowable range of the predetermined width based on the curvature acquired from the base shape data, the curvature acquired from the design shape data and the detailed shape data are acquired. The difference from the calculated curvature is generated as the distortion value. Thereby, since the distortion over a wide range of the surface of the object is reflected in the distortion value, the distortion of the surface of the object can be more accurately and quantitatively evaluated based on the distortion value.

本発明によれば、物体の表面の歪みをより精度よく認識することが可能な歪値を生成することができる。   ADVANTAGE OF THE INVENTION According to this invention, the distortion value which can recognize the distortion of the surface of an object more accurately can be produced | generated.

本発明の一実施形態に係る形状認識装置が組み込まれた形状評価システムの外観構成を示す図である。It is a figure which shows the external appearance structure of the shape evaluation system with which the shape recognition apparatus which concerns on one Embodiment of this invention was integrated. 形状評価システムの電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of a shape evaluation system. 評価対象面を有する物体の一例を示す斜視図であり、3次元直交座標系のX軸、Y軸およびZ軸を併せて示す。It is a perspective view which shows an example of the object which has an evaluation object surface, and shows X-axis, Y-axis, and Z-axis of a three-dimensional orthogonal coordinate system collectively. 図3に示される物体をX軸方向から見た図である。It is the figure which looked at the object shown by FIG. 3 from the X-axis direction. ベース形状データ生成部による3次元データの切り出しについて説明するための図である。It is a figure for demonstrating extraction of the three-dimensional data by a base shape data generation part. 評価対象面が湾曲している場合に、3次元データにおけるY座標の各値に対応するZ座標の値が互いに異なる値となることを概念的に示す図である。It is a figure which shows notionally that the value of Z coordinate corresponding to each value of Y coordinate in three-dimensional data becomes a mutually different value when the evaluation object surface is curved. 曲率生成部による曲率の生成手法を説明するための図である。It is a figure for demonstrating the curvature production | generation method by a curvature production | generation part. 歪値生成部が実行する歪値生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the distortion value production | generation process which a distortion value production | generation part performs. ベース形状データ、詳細形状データおよび設計形状データが表す曲線の一例を示す図である。It is a figure which shows an example of the curve which base shape data, detailed shape data, and design shape data represent. ベース形状データ、詳細形状データおよび設計形状データが表す曲線の他の例を示す図である。It is a figure which shows the other example of the curve which base shape data, detailed shape data, and design shape data represent.

以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の一実施形態に係る形状認識装置が組み込まれた形状評価システム1の外観構成を示す図である。   FIG. 1 is a diagram showing an external configuration of a shape evaluation system 1 in which a shape recognition device according to an embodiment of the present invention is incorporated.

形状評価システム1は、物体の表面(以下、「評価対象面」という。)Aの形状(歪み)を評価するためのシステムである。形状評価システム1は、評価対象面Aを撮影して、当該表面の画像データを生成するカメラ2と、カメラ2を保持するロボット3と、カメラ2およびロボット3の動作を制御する撮影制御装置4と、カメラ2により生成される画像データから評価対象面Aの3次元画像データを生成する画像データ処理装置5と、画像データ処理装置5により生成される3次元画像データに基づいて、評価対象面Aの形状に応じた評価画像をディスプレイDに出力する形状認識装置6とを含む。   The shape evaluation system 1 is a system for evaluating the shape (distortion) of the surface (hereinafter referred to as “evaluation target surface”) A of an object. The shape evaluation system 1 shoots an evaluation target surface A and generates a camera 2 that generates image data of the surface, a robot 3 that holds the camera 2, and a shooting control device 4 that controls the operations of the camera 2 and the robot 3. And an image data processing device 5 that generates 3D image data of the evaluation target surface A from the image data generated by the camera 2, and the evaluation target surface based on the 3D image data generated by the image data processing device 5. And a shape recognition device 6 that outputs an evaluation image corresponding to the shape of A to the display D.

カメラ2は、CMOSイメージセンサなどの固体撮像素子を備えるカメラからなる。   The camera 2 is composed of a camera including a solid-state image sensor such as a CMOS image sensor.

ロボット3は、多関節アーム7を備えており、その多関節アーム7の先端部に、カメラ2が保持されている。   The robot 3 includes an articulated arm 7, and the camera 2 is held at the tip of the articulated arm 7.

図2は、形状評価システム1の電気的構成を示すブロック図である。   FIG. 2 is a block diagram showing an electrical configuration of the shape evaluation system 1.

撮影制御装置4、画像データ処理装置5および形状認識装置6はいずれも、マイクロコンピュータを含む構成であり、プログラム処理によってソフトウエア的に実現される複数の機能処理部を実質的に備えている。なお、機能処理部の一部の機能は、論理回路などのハードウェアにより実現されてもよい。   The photographing control device 4, the image data processing device 5, and the shape recognition device 6 are all configured to include a microcomputer, and substantially include a plurality of function processing units that are realized by software by program processing. Note that some functions of the function processing unit may be realized by hardware such as a logic circuit.

撮影制御装置4は、機能処理部として、カメラ2を制御するカメラ制御部11と、ロボット3を制御するロボット制御部12とを備えている。カメラ2およびロボット3が制御されて、カメラ2により、評価対象面Aの全体が撮影され、その評価対象面Aの全体の画像データが生成される。   The imaging control device 4 includes a camera control unit 11 that controls the camera 2 and a robot control unit 12 that controls the robot 3 as function processing units. The camera 2 and the robot 3 are controlled so that the entire evaluation target surface A is photographed by the camera 2 and image data of the entire evaluation target surface A is generated.

画像データ処理装置5は、機能処理部として、カメラ2から画像データを取得する画像データ取得部21と、画像データ取得部21により取得された画像データに基づいて、評価対象面Aの形状を表す3次元形状データを生成する3次元形状データ生成部22とを備えている。3次元形状データ生成部22による処理については、公知(たとえば、特開2002−257528号公報、特開2004−317495号公報参照)であるから、その説明を省略する。   The image data processing device 5 represents the shape of the evaluation target surface A based on the image data acquisition unit 21 that acquires image data from the camera 2 and the image data acquired by the image data acquisition unit 21 as a function processing unit. And a three-dimensional shape data generation unit 22 that generates three-dimensional shape data. Since the processing by the three-dimensional shape data generation unit 22 is publicly known (see, for example, Japanese Patent Application Laid-Open Nos. 2002-257528 and 2004-317495), the description thereof is omitted.

形状認識装置6は、機能処理部として、データ取得部31、データ変換部32、ノイズ除去部33、除外領域設定部34、ベース形状データ生成部35、詳細形状データ生成部36、曲率生成部37、設計形状データ取得部38、歪値生成部39、測定対象形状生成部40および評価画像生成部41を備えている。   The shape recognition device 6 includes, as function processing units, a data acquisition unit 31, a data conversion unit 32, a noise removal unit 33, an excluded area setting unit 34, a base shape data generation unit 35, a detailed shape data generation unit 36, and a curvature generation unit 37. A design shape data acquisition unit 38, a distortion value generation unit 39, a measurement target shape generation unit 40, and an evaluation image generation unit 41.

図3は、評価対象面Aを有する物体の一例を示す斜視図であり、3次元直交座標系のX軸、Y軸およびZ軸を併せて示す。図4は、図3に示される物体をX軸方向から見た図である。   FIG. 3 is a perspective view illustrating an example of an object having the evaluation target surface A, and illustrates the X axis, the Y axis, and the Z axis of the three-dimensional orthogonal coordinate system. FIG. 4 is a view of the object shown in FIG. 3 as viewed from the X-axis direction.

なお、以下では、図3および図4に示されるように、評価対象面Aを有する物体がドアパネルDPである場合を例にとる。ドアパネルDPには、ドアハンドル(図示せず)が装着される座面DH1および開口DH2が形成されている。座面DH1は、その周囲から略四角形状に凹み、座面DH1の周縁部は、比較的狭い領域において大きい曲率で形状が変化している。開口DH2は、座面DH1に形成されている。   In the following, as shown in FIG. 3 and FIG. 4, an example in which the object having the evaluation target surface A is a door panel DP is taken as an example. The door panel DP is formed with a seating surface DH1 and an opening DH2 on which a door handle (not shown) is mounted. The seating surface DH1 is recessed in a substantially square shape from the periphery thereof, and the peripheral edge of the seating surface DH1 changes in shape with a large curvature in a relatively narrow region. The opening DH2 is formed in the seating surface DH1.

データ取得部31は、画像データ処理装置5(3次元形状データ生成部22)により生成された3次元形状データを取得する。   The data acquisition unit 31 acquires the three-dimensional shape data generated by the image data processing device 5 (three-dimensional shape data generation unit 22).

データ変換部32は、データ取得部31により取得された3次元形状データを、所定の3次元直交座標系におけるデータであって、評価対象面A上に数mm未満のピッチで格子状に設定された各仮想点における高さを表すデータ(以下、このデータを「3次元データ」という。)に変換する。所定の3次元直交座標系は、ドアパネルDPが車両に取り付けられた状態におけるドアパネルDPの前後方向、上下方向および車幅方向をそれぞれX軸方向、Y軸方向およびZ軸方向に設定した座標系である。図3に示されるX軸、Y軸およびZ軸は、その所定の3次元直交座標系における座標軸である。   The data conversion unit 32 sets the three-dimensional shape data acquired by the data acquisition unit 31 in a predetermined three-dimensional orthogonal coordinate system in a grid pattern on the evaluation target surface A with a pitch of less than several millimeters. The data is converted into data representing the height at each virtual point (hereinafter, this data is referred to as “three-dimensional data”). The predetermined three-dimensional orthogonal coordinate system is a coordinate system in which the front-rear direction, the up-down direction, and the vehicle width direction of the door panel DP when the door panel DP is attached to the vehicle are set to the X-axis direction, the Y-axis direction, and the Z-axis direction, respectively. is there. The X axis, Y axis, and Z axis shown in FIG. 3 are coordinate axes in the predetermined three-dimensional orthogonal coordinate system.

画像データ処理装置5により生成される3次元形状データの3次元直交座標系では、X軸方向、Y軸方向およびZ軸方向がそれぞれドアパネルDPの前後方向、上下方向および車幅方向と必ずしも一致するとは限らない。また、画像データ処理装置5により生成される3次元形状データは、評価対象面A上に所定のピッチで格子状に設定された各仮想点における高さを表すデータであるが、その仮想点のピッチは、形状認識装置6で処理するために適正な値であるとは限らない。   In the three-dimensional orthogonal coordinate system of the three-dimensional shape data generated by the image data processing device 5, the X-axis direction, the Y-axis direction, and the Z-axis direction do not necessarily coincide with the front-rear direction, the vertical direction, and the vehicle width direction of the door panel DP, respectively. Is not limited. Further, the three-dimensional shape data generated by the image data processing device 5 is data representing the height at each virtual point set in a grid pattern at a predetermined pitch on the evaluation target surface A. The pitch is not necessarily an appropriate value for processing by the shape recognition device 6.

そのため、データ変換部32は、データ取得部31により取得された3次元形状データを3次元データに変換する。この変換の際、データ変換部32は、必要に応じて、ニアレストネイバー法などによる補間処理を行う。   Therefore, the data conversion unit 32 converts the three-dimensional shape data acquired by the data acquisition unit 31 into three-dimensional data. At the time of this conversion, the data conversion unit 32 performs an interpolation process by a nearest neighbor method or the like as necessary.

ノイズ除去部33は、フィルタ処理により、3次元データに含まれるノイズを除去する。フィルタ処理には、たとえば、ローパスフィルタ、移動平均フィルタ、加重平均フィルタなどの平滑化フィルタが用いられる。   The noise removing unit 33 removes noise included in the three-dimensional data by filtering. For the filter process, for example, a smoothing filter such as a low-pass filter, a moving average filter, or a weighted average filter is used.

除外領域設定部34は、ノイズが除去された3次元データに基づいて、評価対象面Aに比較的狭い領域の中で高さが大きく変化している部位が存在するか否かを調べ、そのような部位が存在する場合、当該部位または当該部位を取り囲む領域を除外領域に設定する。たとえば、ドアパネルDPの座面DH1の周縁部では、比較的狭い領域の中で高さが大きく変化するので、座面DH1の周縁部またはその周縁部を取り囲む領域が除外領域に設定される。   Based on the three-dimensional data from which the noise has been removed, the excluded area setting unit 34 checks whether or not there is a site whose height is greatly changed in a relatively narrow area on the evaluation target surface A. When such a part exists, the part or the area surrounding the part is set as an excluded area. For example, since the height of the peripheral portion of the seat surface DH1 of the door panel DP changes greatly in a relatively narrow region, the peripheral portion of the seat surface DH1 or the region surrounding the peripheral portion is set as the exclusion region.

図5および図6は、ベース形状データ生成部35による処理の内容を説明するための図である。   FIG. 5 and FIG. 6 are diagrams for explaining the contents of processing by the base shape data generation unit 35.

ベース形状データ生成部35は、ノイズが除去された3次元データの全体の中から設定幅の3次元データを切り出し、切り出した3次元データの表面形状が反映される2次元データを生成し、この2次元データから取得した曲率群からなるベース形状データを生成する。   The base shape data generation unit 35 cuts out three-dimensional data having a set width from the entire three-dimensional data from which noise has been removed, and generates two-dimensional data reflecting the surface shape of the cut-out three-dimensional data. Base shape data composed of a curvature group acquired from two-dimensional data is generated.

具体的には、ベース形状データ生成部35では、まず、ノイズが除去された3次元データの全体の中から、Y軸方向に設定幅(図5参照)を有する領域の3次元データが切り出される(抽出される)。   Specifically, the base shape data generation unit 35 first cuts out three-dimensional data of an area having a set width (see FIG. 5) in the Y-axis direction from the entire three-dimensional data from which noise has been removed. (Extracted).

そして、図5に示されるように、X軸方向に第1設定間隔D1(たとえば、30mm程度)の所定範囲が設定されて、当該所定範囲が仮想点群のピッチ(互いに隣り合う仮想点間の間隔)でX軸方向にシフトされながら、所定範囲に含まれる仮想点群の3次元データの抽出および抽出された3次元データのZ座標の値の移動平均の算出が行われる。これにより、X軸方向における仮想点群のピッチと等しいピッチでZ座標の値が生成される。このとき、所定範囲に除外領域内の点(除外点)が存在する場合には、その除外点の3次元データが除外(後述する歪値の生成の対象から除外)される。   Then, as shown in FIG. 5, a predetermined range of a first set interval D1 (for example, about 30 mm) is set in the X-axis direction, and the predetermined range is determined by the pitch of the virtual point group (between adjacent virtual points). The three-dimensional data of the virtual point group included in the predetermined range is extracted and the moving average of the Z coordinate value of the extracted three-dimensional data is calculated while being shifted in the X-axis direction at intervals. Thereby, the value of the Z coordinate is generated at a pitch equal to the pitch of the virtual point group in the X-axis direction. At this time, if a point (exclusion point) in the exclusion region exists within the predetermined range, the three-dimensional data of the exclusion point is excluded (excluded from a distortion value generation target described later).

図3および図4に示されるように、評価対象面Aが湾曲している場合、切り出された3次元データについて、図6に示されるように、Y座標の値Y1,Y2,・・・,Ynにそれぞれ対応するZ座標の値は互いに異なる値となる。そこで、ベース形状データ生成部35では、次に、3次元データに対して、当該3次元データに対応する仮想点をその仮想点における評価対象面Aの法線とZ軸方向とがなす角度θ(図4参照)だけ湾曲中心で回転させる回転処理を行う。これにより、3次元データに対応する仮想点がXZ平面上に位置し、3次元データの2次元データへの変換が達成され、切り出された3次元データの表面形状が反映された2次元データが得られる。   As shown in FIGS. 3 and 4, when the evaluation target surface A is curved, as shown in FIG. 6, the Y coordinate values Y1, Y2,. The values of the Z coordinates corresponding to Yn are different from each other. Therefore, in the base shape data generation unit 35, next, with respect to the three-dimensional data, an angle θ formed by a normal point of the evaluation target surface A at the virtual point and the Z-axis direction corresponding to the three-dimensional data. A rotation process is performed to rotate the curve center (see FIG. 4). Thereby, the virtual point corresponding to the three-dimensional data is located on the XZ plane, the conversion of the three-dimensional data into the two-dimensional data is achieved, and the two-dimensional data reflecting the surface shape of the cut-out three-dimensional data is obtained. can get.

詳細形状データ生成部36は、ノイズが除去された3次元データの全体の中から設定幅の3次元データを切り出し、切り出した3次元データの表面形状が反映される2次元データを生成し、この2次元データから取得した曲率群からなる詳細形状データを生成する。   The detailed shape data generation unit 36 cuts out three-dimensional data having a set width from the entire three-dimensional data from which noise has been removed, and generates two-dimensional data reflecting the surface shape of the cut-out three-dimensional data. Detailed shape data including a group of curvatures acquired from two-dimensional data is generated.

具体的には、詳細形状データ生成部36では、まず、ノイズが除去された3次元データの全体の中から、Y軸方向に設定幅(図5参照)を有する領域の3次元データが切り出される。   Specifically, the detailed shape data generation unit 36 first cuts out three-dimensional data of a region having a set width (see FIG. 5) in the Y-axis direction from the entire three-dimensional data from which noise has been removed. .

そして、図5に示されるように、X軸方向に第2設定間隔D2の所定範囲が設定され、当該所定範囲が仮想点群のピッチ(互いに隣り合う仮想点間の間隔)でX軸方向にシフトされながら、所定範囲に含まれる仮想点群の3次元データの抽出および抽出された3次元データのZ座標の値の移動平均の算出が行われる。これにより、X軸方向における仮想点群のピッチと等しいピッチでZ座標の値が生成される。第2設定間隔D2は、第1設定間隔D1よりも小さく、たとえば、第1設定間隔D1の1/10〜1/2程度である。所定範囲に除外点が存在する場合には、その除外点の3次元データが除外される。   Then, as shown in FIG. 5, a predetermined range of the second set interval D2 is set in the X-axis direction, and the predetermined range is set in the X-axis direction at the pitch of the virtual point group (interval between adjacent virtual points). While shifting, the extraction of the three-dimensional data of the virtual point group included in the predetermined range and the calculation of the moving average of the Z coordinate values of the extracted three-dimensional data are performed. Thereby, the value of the Z coordinate is generated at a pitch equal to the pitch of the virtual point group in the X-axis direction. The second setting interval D2 is smaller than the first setting interval D1, and is, for example, about 1/10 to 1/2 of the first setting interval D1. When an exclusion point exists in the predetermined range, the three-dimensional data of the exclusion point is excluded.

詳細形状データ生成部36では、次に、3次元データの2次元データへの変換が行われる。この変換の手法については、ベース形状データ生成部35で行われる変換の手法と同じであるから、その説明を省略する。   Next, the detailed shape data generation unit 36 converts the three-dimensional data into two-dimensional data. Since this conversion method is the same as the conversion method performed by the base shape data generation unit 35, the description thereof is omitted.

図7は、曲率生成部37による曲率の生成手法を説明するための図である。   FIG. 7 is a diagram for explaining a curvature generation method by the curvature generation unit 37.

曲率生成部37は、ベース形状データ生成部35および詳細形状データ生成部36で生成された2次元データが表す曲線における曲率をそれぞれ生成する。   The curvature generation unit 37 generates curvatures in curves represented by the two-dimensional data generated by the base shape data generation unit 35 and the detailed shape data generation unit 36, respectively.

具体的には、ベース形状データ生成部35および詳細形状データ生成部36で生成される2次元データは、評価対象面A上に設定された仮想点のピッチでX軸方向にずれた複数の各点におけるZ座標の値である。曲率生成部37では、たとえば、X軸方向に隣り合う3点以上の点群を対象とし、その点群の中央付近を頂点として、当該点群付近を通過する2次曲線が近似曲線Fとして設定される。そして、その近似曲線Fの頂点における曲率が求められ、その曲率が点群の頂点付近に位置する点における曲率として生成される。   Specifically, the two-dimensional data generated by the base shape data generation unit 35 and the detailed shape data generation unit 36 includes a plurality of pieces shifted in the X-axis direction at a virtual point pitch set on the evaluation target surface A. The value of the Z coordinate at the point. In the curvature generating unit 37, for example, a point group of three or more points adjacent to each other in the X-axis direction is set, and a quadratic curve passing through the vicinity of the point group is set as an approximate curve F with the vicinity of the center of the point group as a vertex. Is done. Then, a curvature at the vertex of the approximate curve F is obtained, and the curvature is generated as a curvature at a point located near the vertex of the point group.

ベース形状データ生成部35は、2次元データに対して曲率生成部37により曲率が生成されると、その2次元データに含まれる各Z座標の値を対応する曲率に置換する。これにより、X軸方向に所定のピッチで並ぶ複数の点における曲率を含む曲率群からなるベース形状データが生成される。   When the curvature is generated by the curvature generation unit 37 for the two-dimensional data, the base shape data generation unit 35 replaces the value of each Z coordinate included in the two-dimensional data with the corresponding curvature. Thereby, base shape data including a curvature group including curvatures at a plurality of points arranged at a predetermined pitch in the X-axis direction is generated.

詳細形状データ生成部36は、2次元データに対して曲率生成部37により曲率が生成されると、その2次元データに含まれる各Z座標の値を対応する曲率に置換する。これにより、X軸方向に所定のピッチで並ぶ複数の点における曲率を含む曲率群からなる詳細形状データが生成される。   When the curvature is generated by the curvature generation unit 37 for the two-dimensional data, the detailed shape data generation unit 36 replaces the value of each Z coordinate included in the two-dimensional data with the corresponding curvature. Thereby, detailed shape data including a curvature group including curvatures at a plurality of points arranged at a predetermined pitch in the X-axis direction is generated.

設計形状データ取得部38は、たとえば、形状認識装置6のメモリから設計形状データを読み出して取得する。設計形状データは、予め作成されて、形状認識装置6のメモリに記憶されている。設計形状データは、評価対象面Aを有するドアパネルDPの設計データから、評価対象面A上に数mm未満のピッチで格子状に設定した各仮想点における曲率を求め、各仮想点の位置と当該仮想点における曲率とを対応づけることにより作成される。   The design shape data acquisition unit 38 reads and acquires design shape data from the memory of the shape recognition device 6, for example. The design shape data is created in advance and stored in the memory of the shape recognition device 6. The design shape data is obtained from the design data of the door panel DP having the evaluation target surface A, and the curvature at each virtual point set in a lattice shape with a pitch of less than several millimeters on the evaluation target surface A is obtained. It is created by associating curvatures at virtual points.

図8は、歪値生成部39が実行する歪値生成処理の流れを示すフローチャートである。図9は、ベース形状データ、詳細形状データおよび設計形状データが表す曲線の一例を示す図である。図10は、ベース形状データ、詳細形状データおよび設計形状データが表す曲線の他の例を示す図である。   FIG. 8 is a flowchart showing the flow of the distortion value generation process executed by the distortion value generation unit 39. FIG. 9 is a diagram illustrating an example of curves represented by base shape data, detailed shape data, and design shape data. FIG. 10 is a diagram showing another example of curves represented by base shape data, detailed shape data, and design shape data.

歪値生成部39は、ベース形状データに含まれる各曲率(以下、「ベース曲率」という。)を取得し、各ベース曲率に対して一定の許容幅を設定する(ステップS1)。   The distortion value generation unit 39 acquires each curvature (hereinafter referred to as “base curvature”) included in the base shape data, and sets a certain allowable width for each base curvature (step S1).

その後、歪値生成部39は、設計形状データ取得部38により取得された設計形状データから、ベース形状データに対応した領域における設計形状データを抽出する。そして、歪値生成部39は、ベース形状データに含まれる各ベース曲率に対して、設計形状データから当該ベース曲率に対応する点の曲率(以下、「設計曲率」という。)を取得し、各設計曲率が対応するベース曲率に設定された許容幅の範囲(許容範囲)内に含まれるか否かを判断する(ステップS2)。   Thereafter, the distortion value generation unit 39 extracts design shape data in a region corresponding to the base shape data from the design shape data acquired by the design shape data acquisition unit 38. Then, for each base curvature included in the base shape data, the distortion value generation unit 39 acquires the curvature of the point corresponding to the base curvature (hereinafter referred to as “design curvature”) from the design shape data, and each of them. It is determined whether or not the design curvature is included within the allowable range (allowable range) set to the corresponding base curvature (step S2).

設計曲率が許容範囲内に含まれる場合(ステップS2のYES)、歪値生成部39は、詳細形状データからベース曲率に対応する点の曲率(以下、「詳細曲率」という。)を取得し、ベース曲率と詳細曲率との差を演算し、その差を歪値として生成する(ステップS3)。   When the design curvature is included within the allowable range (YES in step S2), the distortion value generation unit 39 acquires the curvature of the point corresponding to the base curvature (hereinafter referred to as “detail curvature”) from the detailed shape data. The difference between the base curvature and the detailed curvature is calculated, and the difference is generated as a distortion value (step S3).

一方、設計曲率が許容範囲内に含まれない場合(ステップS2のNO)、歪値生成部39は、詳細形状データからベース曲率に対応する点の詳細曲率を取得し、詳細曲率と設計曲率との差を演算し、その差を歪値として生成する(ステップS4)。   On the other hand, when the design curvature is not included in the allowable range (NO in step S2), the distortion value generation unit 39 acquires the detailed curvature of the point corresponding to the base curvature from the detailed shape data, and the detailed curvature and the design curvature And the difference is generated as a distortion value (step S4).

設計曲率が許容範囲内に含まれる場合、図9に示されるように、ベース形状データが表す曲線は、設計形状データが表す曲線と近似しているので、ベース曲率と詳細曲率との差を歪値とすることにより、その歪値から評価対象面Aにおける歪みを精度よく定量的に評価することができる。   When the design curvature is within the allowable range, as shown in FIG. 9, the curve represented by the base shape data approximates the curve represented by the design shape data, so that the difference between the base curvature and the detailed curvature is distorted. By setting the value, the distortion in the evaluation target surface A can be accurately and quantitatively evaluated from the distortion value.

これに対し、設計曲率が許容範囲内に含まれない場合、図10に示されるように、ベース形状データが表す曲線は、設計形状データが表す曲線から大きくずれる。たとえば、評価対象面Aに広範囲に及ぶ歪みが生じている場合、ベース形状データが表す曲線は、設計形状データが表す曲線から大きくずれる部分Nを有する。この場合に、当該部分Nにおけるベース曲率と詳細曲率との差を歪値とすると、その歪値は、評価対象面Aにおける歪みを反映しないものとなる。そこで、ベース形状データが表す曲線における設計形状データが表す曲線から大きくずれる部分Nについては、詳細曲率と設計曲率との差が歪値とされる。これにより、評価対象面Aの広範囲に及ぶ歪みが歪値に反映されるので、その歪値に基づいて、評価対象面Aにおける歪みをより精度よく定量的に評価することができる。   On the other hand, when the design curvature is not included in the allowable range, the curve represented by the base shape data greatly deviates from the curve represented by the design shape data, as shown in FIG. For example, when a wide range of distortion has occurred on the evaluation target surface A, the curve represented by the base shape data has a portion N greatly deviated from the curve represented by the design shape data. In this case, if the difference between the base curvature and the detailed curvature in the portion N is a distortion value, the distortion value does not reflect the distortion in the evaluation target surface A. Therefore, for a portion N greatly deviating from the curve represented by the design shape data in the curve represented by the base shape data, the difference between the detailed curvature and the design curvature is taken as the distortion value. Thereby, since the distortion over a wide range of the evaluation target surface A is reflected in the distortion value, the distortion in the evaluation target surface A can be quantitatively evaluated with higher accuracy based on the distortion value.

図2に示される測定対象形状生成部40は、3次元データに基づいて、評価対象面Aの外縁を示すアウトラインを示す形状イメージデータを生成する。   The measurement target shape generation unit 40 illustrated in FIG. 2 generates shape image data indicating an outline indicating the outer edge of the evaluation target surface A based on the three-dimensional data.

評価画像生成部41は、測定対象形状生成部40から形状イメージデータを取得し、この形状イメージデータの内部領域を同じ歪値を含むエリアで区分けし、各エリアに対して歪値に対応した色相および濃度を設定して、形状イメージデータの内部領域をエリアごとに設定した色相および濃度で着色して得られるイメージをディスプレイDに表示させる。   The evaluation image generation unit 41 acquires shape image data from the measurement target shape generation unit 40, divides the internal region of the shape image data into areas including the same distortion value, and the hue corresponding to the distortion value for each area. And the density is set, and the image obtained by coloring the internal region of the shape image data with the hue and density set for each area is displayed on the display D.

このイメージがディスプレイDに表示されることにより、評価作業者は、歪みが存在する領域と歪みの方向と歪みの程度を視覚的に把握することができる。   By displaying this image on the display D, the evaluation operator can visually grasp the region where the distortion exists, the direction of the distortion, and the degree of the distortion.

なお、前述の実施形態では、評価対象面Aを有する物体がドアパネルDPである場合を例にとったが、評価対象面Aを有する物体は、ドアパネルDPに限らないのはもちろんである。   In the above-described embodiment, the case where the object having the evaluation target surface A is the door panel DP is taken as an example. However, the object having the evaluation target surface A is not limited to the door panel DP.

また、本発明は、他の形態で実施することもでき、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。   The present invention can also be implemented in other forms, and various modifications can be made to the above-described configuration within the scope of the matters described in the claims.

6 形状認識装置
35 ベース形状データ生成部(ベース形状データ生成手段)
36 詳細形状データ生成部(詳細形状データ生成手段)
38 設計形状データ取得部(設計形状データ取得手段)
39 歪値生成部(歪値生成手段)
6 Shape Recognition Device 35 Base Shape Data Generation Unit (Base Shape Data Generation Unit)
36 Detailed shape data generation unit (detailed shape data generation means)
38 Design shape data acquisition unit (design shape data acquisition means)
39 Strain value generator (Strain value generator)

Claims (1)

物体の表面の形状を表す3次元形状データから、当該形状を相対的に粗く反映した曲率群からなるベース形状データを生成するベース形状データ生成手段と、
前記3次元形状データから、前記物体の表面の形状を相対的に詳細に反映した曲率群からなる詳細形状データを生成する詳細形状データ生成手段と、
前記物体の表面の設計上の曲率群からなる設計形状データを取得する設計形状データ取得手段と、
前記物体の表面の所定領域に関し、前記ベース形状データから取得される曲率を基準とする所定幅の許容範囲に前記設計形状データから取得される曲率が含まれる場合、前記ベース形状データから取得される曲率と前記詳細形状データから取得される曲率との差を歪値として生成し、前記許容範囲に前記設計形状データから取得される曲率が含まれない場合、前記設計形状データから取得される曲率と前記詳細形状データから取得される曲率との差を歪値として生成する歪値生成手段と
を含む、形状認識装置。
Base shape data generating means for generating base shape data consisting of a group of curvatures reflecting the shape of the object from the three-dimensional shape data representing the shape of the surface of the object;
Detailed shape data generating means for generating detailed shape data consisting of a group of curvatures reflecting the shape of the surface of the object relatively in detail from the three-dimensional shape data;
Design shape data acquisition means for acquiring design shape data consisting of a design curvature group of the surface of the object;
When the curvature acquired from the design shape data is included in an allowable range of a predetermined width with respect to the curvature acquired from the base shape data, with respect to the predetermined region on the surface of the object, the surface is acquired from the base shape data. When the difference between the curvature and the curvature acquired from the detailed shape data is generated as a distortion value, and the curvature acquired from the design shape data is not included in the allowable range, the curvature acquired from the design shape data; A shape recognition device comprising: a distortion value generating means for generating a difference from a curvature acquired from the detailed shape data as a distortion value.
JP2014073507A 2014-03-31 2014-03-31 Shape recognition device Active JP6282157B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014073507A JP6282157B2 (en) 2014-03-31 2014-03-31 Shape recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014073507A JP6282157B2 (en) 2014-03-31 2014-03-31 Shape recognition device

Publications (2)

Publication Number Publication Date
JP2015197297A JP2015197297A (en) 2015-11-09
JP6282157B2 true JP6282157B2 (en) 2018-02-21

Family

ID=54547096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014073507A Active JP6282157B2 (en) 2014-03-31 2014-03-31 Shape recognition device

Country Status (1)

Country Link
JP (1) JP6282157B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6658054B2 (en) * 2016-02-16 2020-03-04 トヨタ車体株式会社 Body part construction site determination system and construction site determination method
JP2018132452A (en) * 2017-02-16 2018-08-23 キヤノン株式会社 Image processor, image processing method, and program
JP7244336B2 (en) * 2019-04-10 2023-03-22 清水建設株式会社 Mountain tunnel concrete thickness measuring method and measuring device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3289869B2 (en) * 1994-12-08 2002-06-10 本田技研工業株式会社 Surface distortion judgment method
JP2002144245A (en) * 2000-11-15 2002-05-21 Canon Inc Tool manufacturing method and optical element processing method
JP5358898B2 (en) * 2007-06-06 2013-12-04 株式会社リコー Optical surface shape measuring method and apparatus, and recording medium
JP5395470B2 (en) * 2009-03-12 2014-01-22 ダイハツ工業株式会社 Shape recognition device

Also Published As

Publication number Publication date
JP2015197297A (en) 2015-11-09

Similar Documents

Publication Publication Date Title
JP4492654B2 (en) 3D measuring method and 3D measuring apparatus
EP3018632B1 (en) Automated texture mapping and animation from images
JP5395470B2 (en) Shape recognition device
JP7002007B2 (en) Camera parameter set calculation device, camera parameter set calculation method and program
WO2007091604A1 (en) Three-dimensional-object detecting device
JP2011185650A (en) Model generation apparatus and model generation program
US20150177062A1 (en) Information processing apparatus, information processing method, and storage medium
JP2017111019A (en) Model generator, position/posture calculator, and handling robot device
JP6836561B2 (en) Image processing device and image processing method
JP2010210458A (en) Display method of recognition result by three-dimensional visual sensor, and the three-dimensional visual sensor
EP2294555A1 (en) Three dimensional mesh modeling
KR20150107063A (en) 3d scanning system using facial plastic surgery simulation
JP2013205175A (en) Device, method and program for recognizing three-dimensional target surface
JP6541920B1 (en) INFORMATION PROCESSING APPARATUS, PROGRAM, AND INFORMATION PROCESSING METHOD
JP6282157B2 (en) Shape recognition device
JP6347610B2 (en) Image processing apparatus and three-dimensional spatial information acquisition method
JP5476943B2 (en) Posture recognition method and three-dimensional visual sensor using this method
JP2017116404A (en) Shape recognition device and shape recognition method
JP2013190249A (en) Three-dimensional measuring system, three-dimensional measuring method and three-dimensional measuring program
JP5018282B2 (en) How to create 3D shape model data for products
JP2013072857A (en) Three-dimensional position/attitude recognition apparatus, method and program
JP2015062017A (en) Model creation device, model creation program, and image recognition system
JP7298687B2 (en) Object recognition device and object recognition method
JP6659641B2 (en) 3D model creation device
JP2017162251A (en) Three-dimensional noncontact input device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170303

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180112

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180123

R150 Certificate of patent or registration of utility model

Ref document number: 6282157

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250