JP4715903B2 - 3D shape model creation device for objects - Google Patents

3D shape model creation device for objects Download PDF

Info

Publication number
JP4715903B2
JP4715903B2 JP2008277736A JP2008277736A JP4715903B2 JP 4715903 B2 JP4715903 B2 JP 4715903B2 JP 2008277736 A JP2008277736 A JP 2008277736A JP 2008277736 A JP2008277736 A JP 2008277736A JP 4715903 B2 JP4715903 B2 JP 4715903B2
Authority
JP
Japan
Prior art keywords
model
point
interpolation
points
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008277736A
Other languages
Japanese (ja)
Other versions
JP2009058521A (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.)
Meidensha Corp
Original Assignee
Meidensha 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 Meidensha Corp filed Critical Meidensha Corp
Priority to JP2008277736A priority Critical patent/JP4715903B2/en
Publication of JP2009058521A publication Critical patent/JP2009058521A/en
Application granted granted Critical
Publication of JP4715903B2 publication Critical patent/JP4715903B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)

Description

本発明は、カメラによって得られた画像データを使用して、カメラで撮影可能な範囲に存在する工業部品等の対象物体の三次元形状データを生成し、それにより物体認識処理等に用いる物体の三次元形状モデルを作製する装置に関するものである。   The present invention uses image data obtained by a camera to generate three-dimensional shape data of a target object such as an industrial part that exists in a range that can be photographed by the camera, and thereby the object used for object recognition processing or the like. The present invention relates to an apparatus for producing a three-dimensional shape model.

我々は、既に三次元形状モデルを作製する方法として幾つかの提案を行っている。その中で、特願平11−323864号及び特願平11−323865号では、画面上で設定した長方形範囲内(これを”モデル計測範囲”と呼ぶ)に格子状に設定した点(これを”モデル計測点”と呼ぶ)についてステレオ計剛により三次元位置データを計測し、三次元位置データを持つ点データ(これを”モデル構成点”と呼ぶ)の集合(これを”三次元形状データ”と呼ぶ)として物体の三次元形状モデルを構成した。これらを”先件提案”と呼ぶ。   We have already made several proposals as a method for creating a three-dimensional shape model. Among them, in Japanese Patent Application No. 11-323864 and Japanese Patent Application No. 11-323865, a point (this is referred to as a grid measurement) within a rectangular range set on the screen (referred to as “model measurement range”). Measure the 3D position data with a stereometer for "model measurement points", and collect a set of point data (called "model constituent points") with 3D position data (this is called "3D shape data") A three-dimensional shape model of the object was constructed. These are called “advance proposals”.

先件提案では、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。また、データの入力手段としてカメラによる入力画像を用いているため、対象物体がどのような大きさのものであっても、カメラで撮影可能な範囲内に存在する物体であれば、例えば、建造物、もしくは山肌、崖というた自然の地形のような工業部品以外の対象であっても、物体の三次元形状モデルを作製することができる。   In the previous proposal, the 3D shape model of the object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron but also composed of a smooth curved surface such as a cylinder or a sphere. However, the three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created. In addition, since the input image from the camera is used as the data input means, any object that is within the range that can be photographed by the camera can be used. Even for objects other than industrial parts, such as objects, mountains, cliffs, or natural terrain, a three-dimensional shape model of an object can be created.

しかしながら、ステレオ計測による三次元位置データによりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があったり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合がある。このような場合は、ステレオ計測による三次元位置計測が困難なためモデル構成点を設定できず三次元形状データ上でデータの欠落した部分(これを”データ欠落部”と呼ぶ)となる。データ欠落部が1,2点程度の小さなものであれば平滑化フィルタ等で補間できるが、穴の様に大きくデータの抜けたデータ欠落部ではその部分を何らかの方法により補間する必要がある。   However, when setting the model composing point based on the three-dimensional position data by stereo measurement, it is visible on the reference screen for setting the model measuring point, but on the reference screen for searching for the corresponding point, the projection on the target object due to the parallax. There is a case where there is a portion that cannot be seen due to a slope, or there is a case where a corresponding point cannot be found because it is a smooth portion that is visible on both the reference screen and the reference screen but has no features. In such a case, since it is difficult to measure the three-dimensional position by stereo measurement, the model composing point cannot be set, and the data is lost on the three-dimensional shape data (this is referred to as “data missing part”). If the data missing part is as small as about 1 or 2 points, it can be interpolated by a smoothing filter or the like. However, in a data missing part where data is largely missing like a hole, it is necessary to interpolate that part by some method.

上記課題を解決する本発明の請求項1に係る物体の三次元形状モデル作製装置は、入力画像において画面上で対象物体を囲むモデル計測範囲に予め格子状に設定されたモデル計測点の三次元位置データをステレオ計測によって計測することで物体上のモデル構成点を生成するモデル構成点生成器と、前記モデル構成点の集合として三次元形状データを生成するモデル構成点三次元形状データ生成部と、前記モデル計測範囲中で前記モデル構成点が得られなかった点であるデータ欠落点について、前記データ欠落点の左右方向にモデル構成点があるかどうかの検査に加えて、前記データ欠落点の上下方向にもモデル構成点があるかどうかを検査し、上下左右方向にモデル構成点が予め設定しておいた数以上検出された場合は、前記データ欠落点を前記補間対象点とする十字方向検査補間対象点検出部と、上記検査により上下もしくは左右のモデル構成点の組が見つかった方についてモデル構成点の組を通る直線を計算し、該直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間モデル構成点設定部とからなり、データ欠落部のない三次元形状データを生成し、三次元形状モデルを構成することを特徴とする。   An apparatus for creating a three-dimensional shape model of an object according to claim 1 of the present invention that solves the above-described problem is a three-dimensional model measurement point that is set in advance in a lattice shape in a model measurement range that surrounds the target object on the screen in the input image. A model composing point generator that generates model composing points on an object by measuring position data by stereo measurement; a model composing point three-dimensional shape data generating unit that generates three-dimensional shape data as a set of the model composing points; In addition to checking whether there is a model constituent point in the left-right direction of the data missing point, the data missing point is a point where the model constituent point is not obtained in the model measurement range. Inspect whether there is a model constituent point in the vertical direction, and if more than a preset number of model constituent points are detected in the vertical direction, the data missing point A cross direction inspection interpolation target point detection unit as the interpolation target point, and a straight line passing through the set of model constituent points for the one where a set of upper and lower or left and right model constituent points is found by the inspection, and the straight line and the interpolation It consists of a linear interpolation model component point setting unit that sets the model component point by calculating the three-dimensional position of the intersection of the model measurement point of the target point and the straight line passing through the lens focal point as the position data of the interpolation target point. It is characterized in that three-dimensional shape data having no missing part is generated and a three-dimensional shape model is constructed.

上記課題を解決する本発明の請求項2に係る物体の三次元形状モデル作製装置は、請求項1記載の前記直線補間モデル構成点設定部に代えて、上記検査により上下及び左右両方についてモデル構成点の組が見つかった場合は、予め優先度を設定しておいた方の組について直線を計算し、該直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間モデル構成点設定部を用いることを特徴とする。   The object three-dimensional shape model creation apparatus according to claim 2 of the present invention that solves the above-described problem is replaced with the linear interpolation model composing point setting unit according to claim 1, and the model structure for both the upper and lower sides and the left and right by the inspection. When a set of points is found, a straight line is calculated for the set for which priority has been set in advance, and the three-dimensional intersection of the straight line, the model measurement point of the interpolation target point, and the straight line passing through the lens focus A linear interpolation model constituent point setting unit that sets a model constituent point by calculating a position as position data of the interpolation target point is used.

上記課題を解決する本発明の請求項3に係る物体の三次元形状モデル作製装置は、請求項1記載の前記直線補間モデル構成点設定部に代えて、上記検査により上下及び左右両方についてモデル構成点の組が見つかった場合は、全ての組について直線を計算し、全ての組について計算された各直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置の平均を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間モデル構成点設定部を用いることを特徴とする。   An apparatus for producing a three-dimensional shape model of an object according to a third aspect of the present invention that solves the above-described problem is a model configuration for both the upper and lower sides and the left and right sides by the above inspection instead of the linear interpolation model constituent point setting unit according to the first aspect. When a set of points is found, straight lines are calculated for all sets, and the three-dimensional position of the intersection of each straight line calculated for all sets, the model measurement point of the interpolation target point, and the straight line passing through the lens focus is calculated. A linear interpolation model constituent point setting unit that sets a model constituent point by calculating an average as the position data of the interpolation target point is used.

上記課題を解決する本発明の請求項4に係る物体の三次元形状モデル作製装置は、請求項1記載の前記十字方向検査補間対象点検出部に代えて、前記モデル計測範囲中で前記モデル構成点が得られなかった点であるデータ欠落点について、前記データ欠落点の左右方向にモデル構成点があるかどうかの検査に加えて、前記データ欠落点の上下方向及び斜め方向にもモデル構成点があるかどうかを検査し、上下左右斜めの8方向にモデル構成点が予め設定しておいた数以上検出された場合は、前記データ欠落点を前記補間対象点とする8方向検査補間対象点検出部を用い、また、請求項1記載の前記直線補間モデル構成点設定部に代えて、上記検査により前記補間対象点の対角のモデル構成点の組が1つ見つかった場合は、見つかった1つのモデル構成点の組を通る直線を計算し、該直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間構成点設定部を用いることを特徴とする。   An apparatus for producing a three-dimensional shape model of an object according to a fourth aspect of the present invention that solves the above-described problem is the model configuration in the model measurement range, instead of the cross direction inspection interpolation target point detecting unit according to the first aspect. In addition to checking whether there is a model constituent point in the left-right direction of the data missing point for the data missing point that is a point where the point was not obtained, the model constituent point is also in the vertical direction and the diagonal direction of the data missing point If there are more than the preset number of model constituent points in the eight directions that are diagonally up, down, left, and right, the eight-way inspection and the interpolation target inspection are performed using the data missing point as the interpolation target point. In addition, in place of the linear interpolation model component point setting unit according to claim 1, when one set of diagonal model component points of the interpolation target point is found by the inspection, the output unit is found. One model Model by calculating a three-dimensional position of the intersection of the straight line, the model measurement point of the interpolation target point, and the straight line passing through the lens focus as position data of the interpolation target point. A linear interpolation constituent point setting unit for setting the constituent points is used.

上記課題を解決する本発明の請求項5に係る物体の三次元形状モデル作製装置は、請求項4記載の前記直線補間モデル構成点設定部に代えて、上記検査により前記補間対象点の対角のモデル構成点の組が複数見つかった場合は、予め優先度を設定しておいた方の組について直線を計算し、該直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間構成点設定部を用いることを特徴とする。   The object three-dimensional shape model manufacturing apparatus according to claim 5 of the present invention that solves the above-described problem is a diagonal of the interpolation target point by the inspection instead of the linear interpolation model component point setting unit according to claim 4. When a plurality of pairs of model constituent points are found, a straight line is calculated for the pair whose priority is set in advance, and the straight line, the model measurement point of the interpolation target point, and the straight line passing through the lens focal point are calculated. A linear interpolation composing point setting unit that sets a model composing point by calculating a three-dimensional position of the intersection as position data of the interpolation target point is used.

上記課題を解決する本発明の請求項6に係る物体の三次元形状モデル作製装置は、請求項4記載の前記直線補間モデル構成点設定部に代えて、上記検査により前記補間対象点の対角のモデル構成点の組が複数見つかった場合は、全ての組について直線を計算し、全ての組について計算された各直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置の平均を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間構成点設定部を用いることを特徴とする。   An apparatus for producing a three-dimensional shape model of an object according to a sixth aspect of the present invention that solves the above-described problem replaces the linear interpolation model constituent point setting unit according to the fourth aspect with a diagonal of the interpolation target point by the inspection. When a plurality of pairs of model constituent points are found, straight lines are calculated for all the pairs, and the intersection of each straight line calculated for all the pairs, the model measurement point of the interpolation target point, and the straight line passing through the lens focus is calculated. A linear interpolation composing point setting unit that sets a model composing point by calculating an average of three-dimensional positions as position data of the interpolation target point is used.

本発明は物体の三次元形状モデルを作製する処理に関するものである。
(1)データの入力手段としてカメラによる入力画像を用いているため、対象物体がどのような大きさのものであっても、カメラで撮影可能な範囲内に存在する物体であれば、例えば、建造物、もしくは山肌、崖といった自然の地形のような工業部品以外の対象であっても、物体の三次元形状モデルを作製することができる。
(2)データの入力手段としてカメラによる入力画像を用いているため、対象物に触ることなく非接触で物体の三次元形状モデルを作製することができる。
(3)三次元形状データを構成するデータとして、三次元位置データを持つモデル構成点の集合を用いるため、円柱や球面のような滑らかな曲面を持つ物体に対しても三次元形状モデルを作製することができる。
(4)対象物体上に関してモデル構成点を格子状にまんべんなく設定するため、対象物上に異物が存在する場合は、それを容易に検知できる。
(5)ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面により見えない部分が存在するために、対象物体上の三次元形状データに大きなデータ欠落部が出来た場合でも、データ欠落部のモデル構成点を補間により設定することで、データ欠落部の無い三次元形状データを生成することができる。
(6)ステレオ計測によりモデル構成点を設定する際、基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられないことにより、対象物体上の三次元形状データに大きなデータ欠落部が出来た場合でも、データ欠落部のモデル構成点を補間により設定することで、データ欠落部の無い三次元形状データを生成することができる。
(7)データ欠落部の無い三次元形状データを生成することができるため、カメラから見えている対象物体上の全ての点の三次元位置データを持つ三次元形状モデルを得ることができる。
The present invention relates to processing for creating a three-dimensional shape model of an object.
(1) Since an input image from a camera is used as a data input means, any object that is within a range that can be photographed by the camera can be used regardless of the size of the target object. A three-dimensional shape model of an object can be created even for objects other than industrial parts such as buildings or natural terrain such as mountains and cliffs.
(2) Since a camera input image is used as data input means, a three-dimensional shape model of an object can be produced without touching the object.
(3) Since a set of model constituent points with 3D position data is used as data constituting 3D shape data, a 3D shape model is created even for objects with smooth curved surfaces such as cylinders and spheres. can do.
(4) Since the model composing points are uniformly set on the target object in a grid pattern, if there is a foreign object on the target object, it can be easily detected.
(5) When setting a model constituent point by stereo measurement, it is visible on the reference screen for setting the model measurement point, but on the reference screen for searching for the corresponding point, it is visible by a protrusion or a slope on the target object due to the parallax. Even if there is a large data missing part in the 3D shape data on the target object because there is no part, 3D shape without data missing part is set by interpolation by setting the model constituent point of the data missing part Data can be generated.
(6) When setting the model constituent points by stereo measurement, the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen but has no features. Even when a large data missing portion is created in the data, three-dimensional shape data without the data missing portion can be generated by setting the model composing point of the data missing portion by interpolation.
(7) Since 3D shape data without a data missing part can be generated, it is possible to obtain a 3D shape model having 3D position data of all points on the target object visible from the camera.

本発明を実施するための最良の形態は、以下に実施例として説明する通りである。   The best mode for carrying out the present invention is as described in the following examples.

(1)基本的な考え方
本発明の目的は、カメラで撮影可能な範囲に存在する対象物の三次元形状データを生成し、それにより物体の三次元形状モデルを作製することである。
先件提案では、図2に示すように、画像入力するためのカメラ1と、入力画像において対象物体を囲むモデル計測範囲に格子状に設定されたモデル計測点の三次元位置データをステレオ計測によって計測するモデル構成点生成器2と、モデル構成点の集合として三次元形状データを生成するモデル構成点三次元形状データ生成部3と、その三次元形状データを記憶するモデルメモリ4とを備える三次元形状モデル作製装置を提案した。
そのため、基準画面上で設定したモデル計測範囲に格子状に設定したモデル計測点についてステレオ計測により三次元位置データを計測し、三次元位置データを持つモデル構成点の集合である三次元形状データを生成し、物体の三次元形状モデルを構成することができた。
(1) Basic concept An object of the present invention is to generate three-dimensional shape data of an object existing in a range that can be photographed by a camera, and thereby to create a three-dimensional shape model of the object.
In the prior proposal, as shown in FIG. 2, the three-dimensional position data of the camera 1 for inputting an image and the model measurement points set in a lattice shape in the model measurement range surrounding the target object in the input image are obtained by stereo measurement. A tertiary comprising a model component point generator 2 to be measured, a model component point three-dimensional shape data generation unit 3 that generates three-dimensional shape data as a set of model component points, and a model memory 4 that stores the three-dimensional shape data An original shape model production device was proposed.
Therefore, 3D position data is measured by stereo measurement for model measurement points set in a grid pattern in the model measurement range set on the reference screen, and 3D shape data, which is a set of model constituent points with 3D position data, is obtained. It was able to generate and construct a 3D shape model of the object.

なお、モデル計測範囲は対象物体の映った画面を見ながら作業者が対象物体のモデルとして必要な部分が入るように設定し、また、モデル計測点の設定に必要なモデル計測点の間隔は予めパラメータとして設定しておくこととする。
更に、本発明では、図2に示すように、横方向検査補間対象点検出部5及び平均補間モデル構成点設定部6とを追加したものである。
横方向検査補間対象点検出部5は、図1に示すように、モデル計測範囲中でモデル構成点が得られなかった点(これを、データ欠落点”と呼ぶ)について、その左右方向にモデル構成点があるかどうかを検査し、左右方向の両方にモデル構成点が存在する場合は、このデータ欠落点をデータ欠落部10内にある補間の必要な点(これを”補間対象点”と呼ぶ)20とするものである。
平均補間モデル構成点設定部6は、補間対象点20の高さデータを先に検出した左右のモデル構成点の高さデータの平均により求め、その高さデータとモデル計測点の位置から補間対象点20の三次元位置を計算してモデル構成点を設定する。
The model measurement range is set so that the operator can enter the necessary part as the model of the target object while viewing the screen on which the target object is reflected, and the interval between the model measurement points required for setting the model measurement point is set in advance. Set as a parameter.
Furthermore, in this invention, as shown in FIG. 2, the horizontal direction inspection interpolation target point detection part 5 and the average interpolation model component point setting part 6 are added.
As shown in FIG. 1, the horizontal inspection interpolation target point detection unit 5 performs a model in the left-right direction for a point where a model constituent point is not obtained in the model measurement range (referred to as “data missing point”). If there is a model composing point in both the left and right directions, the data missing point is identified as a point that needs to be interpolated in the data missing unit 10 (this is referred to as “interpolation target point”). 20).
The average interpolation model composing point setting unit 6 obtains the height data of the interpolation target point 20 by averaging the height data of the left and right model composing points previously detected, and interpolates from the height data and the position of the model measurement point. The model constituent point is set by calculating the three-dimensional position of the point 20.

従って、本発明では、図1に示すように、モデル構成点生成器2により三次元形状モデルを構成する物体の三次元形状データを生成した後、横方向検査補間対象点検出部5により、モデル計測範囲中でモデル構成点が得られなかったデータ欠落点について、その左右方向にモデル構成点があるかどうかを検査し、左右方向の両方にモデル構成点が存在する場合は、このデータ欠落点をデータ欠落部10内にある補間の必要な補間対象点20とし、平均補間モデル構成点設定部6により、補間対象点20の高さデータを先に検出した左右のモデル構成点の高さデータの平均により求め、その高さデータとモデル計測点の位置から補間対象点20の三次元位置を計算してモデル構成点を設定することで、データ欠落部10のない三次元形状データをモデル構成点三次元形状データ生成部3により生成し、三次元形状モデルを構成する。この装置は、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。   Therefore, in the present invention, as shown in FIG. 1, the model constituent point generator 2 generates the three-dimensional shape data of the objects constituting the three-dimensional shape model, and then the horizontal inspection interpolation target point detection unit 5 Check whether there is a model constituent point in the left-right direction for the data missing point for which no model constituent point was obtained in the measurement range, and if there is a model constituent point in both the left-right direction, this data missing point Is the interpolation target point 20 that needs to be interpolated in the data missing part 10, and the height data of the left and right model constituent points that the height data of the interpolation target point 20 was previously detected by the average interpolation model constituent point setting part 6. The three-dimensional shape data without the data missing portion 10 is obtained by calculating the three-dimensional position of the interpolation target point 20 from the height data and the position of the model measurement point and setting the model constituent point. Generated by the model configuration point three-dimensional shape data generating unit 3, constituting the three-dimensional shape model. In this device, a 3D shape model of an object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron, but also composed of smooth curved surfaces such as cylinders and spheres. The three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created.

また、ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があったり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合でも、データ欠落部10を補間するためデータ抜けのない対象物体の三次元形状データを生成できる。更に、横方向検査補間対象点検出部5はデータ欠落点の検査方法として左右方向のモデル構成点の有無を調べる簡単な方法を用いており、また、平均補間モデル構成点設定部6はモデル構成点の位置データ計算に左右に見つかったモデル構成点の位置データの単純平均を基にする方法を用いるため、データ処理が簡単で高速な処理を実現できる。   In addition, when setting model constituent points by stereo measurement, it is visible on the reference screen for setting model measurement points, but on the reference screen for searching for the corresponding points, due to projections and slopes on the target object due to parallax There is a case where there is an invisible part, or even if the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen, but the data missing part 10 is interpolated. It is possible to generate three-dimensional shape data of the target object without missing. Further, the horizontal direction inspection interpolation target point detection unit 5 uses a simple method for checking the presence / absence of model constituent points in the left / right direction as a data missing point inspection method, and the average interpolation model constituent point setting unit 6 uses a model configuration. Since the method based on the simple average of the position data of the model constituent points found on the left and right is used for the calculation of the position data of the points, data processing is simple and high-speed processing can be realized.

(2)その他の実施例
(2.1)横方向検査直線補間処理を加えた三次元形状モデル作製装置
この装置は、基本的な考え方で述べた装置の処理のうち、補間対象点20の位置データを先に検出した左右のモデル構成点の高さデータの平均を基に求める平均補間モデル構成点設定部6に代えて、図3に示すように、左右のモデル構成点を通る直線を計算し、その直線と補間対象点20のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を補間対象点20の位置データとして計算する直線補間モデル構成点設定部16を使用することでモデル構成点を設定し、データ欠落部10のない三次元形状データを生成し、三次元形状モデルを構成する。
この装置は、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。
(2) Other Embodiments (2.1) Three-dimensional shape model creation device with lateral inspection linear interpolation processing This device is the position of the interpolation target point 20 in the processing of the device described in the basic concept. As shown in FIG. 3, a straight line passing through the left and right model constituent points is calculated in place of the average interpolation model constituent point setting unit 6 that is obtained based on the average of the height data of the left and right model constituent points that have been detected first. By using the linear interpolation model component point setting unit 16 that calculates the three-dimensional position of the intersection of the straight line, the model measurement point of the interpolation target point 20 and the straight line passing through the lens focal point as the position data of the interpolation target point 20. A model composing point is set, three-dimensional shape data without the data missing part 10 is generated, and a three-dimensional shape model is constructed.
In this device, a 3D shape model of an object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron, but also composed of smooth curved surfaces such as cylinders and spheres. The three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created.

また、ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があったり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合でも、データ欠落部10を補間するためデータ抜けのない対象物体の三次元形状データを生成できる。
更に、補間対象点20の検査方法として左右方向のモデル構成点の有無を調べる簡単な方法を用いているため検査処理の構成が簡単で、直線補間モデル構成点設定部16はデータ欠落部10の補間に直線補間を用いるため補間した部分と元々モデル構成点が存在した部分との境目にギャップを生じない。
In addition, when setting model constituent points by stereo measurement, it is visible on the reference screen for setting model measurement points, but on the reference screen for searching for the corresponding points, due to projections and slopes on the target object due to parallax There is a case where there is an invisible part, or even if the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen, but the data missing part 10 is interpolated. It is possible to generate three-dimensional shape data of the target object without missing.
Furthermore, since a simple method for checking the presence / absence of model constituent points in the left / right direction is used as the inspection method for the interpolation target point 20, the configuration of the inspection process is simple, and the linear interpolation model constituent point setting unit 16 Since linear interpolation is used for interpolation, no gap is generated at the boundary between the interpolated portion and the portion where the model constituent point originally exists.

(2.2)十字方向検査平均補間処理を加えた三次元形状モデル作製装置
この装置は、基本的な考え方で述べた装置の処理のうち、データ欠落点が補間対象点20であるかどうかを左右方向に検査する横方向検査補間対象点検出部5に代えて、図4に示すように、その左右方向にモデル構成点があるかどうかの検査に加えて、その上下方向にもモデル構成点があるかどうかを検査し、上下左右方向にモデル構成点が予め設定しておいた数以上存在する場合は、このデータ欠落点を補間対象点20とする十字方向検査補間対象点検出部15を図5に示すように用いる。また、補間対象点20の位置データを計算する平均補間モデル構成点設定部6に代えて、上下左右方向の検査により検出されたモデル構成点の高さデータの平均値とモデル計測点の位置から補間対象点20の位置データを求めてモデル構成点を設定する平均補間モデル構成点設定部26を図5に示すように使用する。この装置は、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。
(2.2) Three-dimensional shape model creation device with cross direction inspection average interpolation processing This device determines whether or not the data missing point is the interpolation target point 20 in the processing of the device described in the basic concept. As shown in FIG. 4, in addition to checking whether there is a model constituent point in the left-right direction, as shown in FIG. If there are more than a predetermined number of model constituent points in the vertical and horizontal directions, the cross direction inspection interpolation target point detection unit 15 using the data missing point as the interpolation target point 20 is provided. Used as shown in FIG. Further, instead of the average interpolation model component point setting unit 6 for calculating the position data of the interpolation target point 20, the average value of the model component point height data detected by the vertical and horizontal inspections and the position of the model measurement point are used. As shown in FIG. 5, an average interpolation model constituent point setting unit 26 that obtains position data of the interpolation target point 20 and sets model constituent points is used. In this device, a 3D shape model of an object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron, but also composed of smooth curved surfaces such as cylinders and spheres. The three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created.

また、ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があったり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合でも、データ欠落部10を補間するためデータ抜けのない対象物体の三次元形状データを生成できる。更に、十字方向検査補間対象点検出部15は、補間対象点20の検査方法として上下左右方向のモデル梼成点の有無を調べる方法を用いており、左右方向にモデル構成点の存在する穴形状や縦方向切欠き形状のデータ欠落部10だけでなく横方向切欠き形状のデータ欠落部10にも対応できる。また、平均補間モデル構成点設定部26は、モデル構成点の位置データ計算に検出したモデル構成点の位置データの単純平均を基にする方法を用いるため、データ処理が簡単で高速な処理を実現できる。   In addition, when setting model constituent points by stereo measurement, it is visible on the reference screen for setting model measurement points, but on the reference screen for searching for the corresponding points, due to projections and slopes on the target object due to parallax There is a case where there is an invisible part, or even if the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen, but the data missing part 10 is interpolated. It is possible to generate three-dimensional shape data of the target object without missing. Further, the cross direction inspection interpolation target point detection unit 15 uses a method of checking the existence of model formation points in the vertical and horizontal directions as an inspection method of the interpolation target point 20, and the hole shape in which the model constituent points exist in the horizontal direction. In addition, it is possible to deal with not only the data missing portion 10 with the vertical cutout shape but also the data missing portion 10 with the horizontal cutout shape. Further, since the average interpolation model component point setting unit 26 uses a method based on a simple average of the detected position data of the model component points for calculating the position data of the model component points, the data processing is simple and high-speed processing is realized. it can.

(2.3)十字方向検査直線補間処理を加えた三次元形状モデル作製装置
この装置は、(2.2)で述べた装置の処理のうち、補間対象点20の位置データを先に検出されたモデル構成点の高さデータの平均を基に求める平均補間モデル構成点設定部26に代えて、図6に示すように、上下もしくは左右のモデル構成点の組が見つかった方についてモデル構成点の組を通る直線を計算し(上下及び左右両方についてモデル構成点の組が見つかった場合は予め優先度を設定しておいた方の組について直線を計算し、もしくは、全ての親について直線を計算し)、その直線と補間対象点20のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を補間対象点20の位置データとして計算する(全ての組について直線を計算した場合は各直線から計算される交点の三次元位置の平均を補間対象点20の位置データとして計算する)直線補間モデル構成点設定部36を使用することでモデル構成点を設定し、データ欠落部10のない三次元形状データを生成し、三次元形状モデルを構成する。
この装置は、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。
(2.3) Three-dimensional shape model creation device to which cross direction inspection linear interpolation processing has been added. This device has previously detected the position data of the interpolation target point 20 in the processing of the device described in (2.2). In place of the average interpolated model constituent point setting unit 26 obtained based on the average of the height data of the model constituent points, as shown in FIG. (If a set of model constituent points is found for both the top, bottom, left, and right, calculate a straight line for the pair that has been set in advance, or straight lines for all parents. And the three-dimensional position of the intersection of the straight line, the model measurement point of the interpolation target point 20 and the straight line passing through the lens focus is calculated as the position data of the interpolation target point 20 (when straight lines are calculated for all sets) Straight The average of the three-dimensional position of the intersection calculated from the line is calculated as the position data of the interpolation target point 20). By using the linear interpolation model component point setting unit 36, the model component point is set and the data missing unit 10 is not present. 3D shape data is generated and a 3D shape model is constructed.
In this device, a 3D shape model of an object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron, but also composed of smooth curved surfaces such as cylinders and spheres. The three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created.

また、ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があったり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合でも、データ欠落部10を補間するためデータ抜けのない対象物体の三次元形状データを生成できる。更に、十字方向検査補間対象点検出部15は、補間対象点20の検査方法として上下左右方向のモデル構成点の有無を調べる方法を用いており、左右方向にモデル構成点の存在する穴形状や縦方向切欠き形状のデータ欠落部10だけでなく横方向切欠き形状のデータ欠落部10にも対応できる。また、直線補間モデル構成点設定部36は、データ欠落部10の補間に直線補間を用いるため補間した部分と元々モデル構成点が存在した部分との境目にギャップを生じない。   In addition, when setting model constituent points by stereo measurement, it is visible on the reference screen for setting model measurement points, but on the reference screen for searching for the corresponding points, due to projections and slopes on the target object due to parallax There is a case where there is an invisible part, or even if the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen, but the data missing part 10 is interpolated. It is possible to generate three-dimensional shape data of the target object without missing. Further, the cross direction inspection interpolation target point detection unit 15 uses a method for checking the existence of model constituent points in the vertical and horizontal directions as an inspection method of the interpolation target point 20. Not only the data missing portion 10 with the vertical cutout shape but also the data missing portion 10 with the horizontal cutout shape can be handled. In addition, since the linear interpolation model component point setting unit 36 uses linear interpolation for interpolation of the data missing unit 10, no gap is generated at the boundary between the interpolated portion and the portion where the model component point originally exists.

(2.4)十字方向検査距離重み付き平均補間処理を加えた三次元形状モデル作製装置
この装置は、(2.2)で述べた装置の処理のうち、補間対象点20の位置データを先に検出されたモデル構成点の高さデータの平均を基に求める平均補間モデル構成点設定部26に代えて、図7に示すように、画面上における補間対象点20の位置から検出したモデル構成点までの距離(これを”補間点距離”と呼ぶ)を計算し、その補間点距離を補間点距離の総計で割った値を重みとし、検出されたモデル構成点の高さデータについて先に計算した重みを付けて平均値を求め、その重み付き平均高さデータとモデル計測点の位置から補間対象点20の位置データを求めてモデル構成点を設定する重み付き平均補間モデル構成点設定部46を使用し、データ欠落部10のない三次元形状データを生成し、三次元形状モデルを構成する。この装置は、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。
(2.4) Cross-direction inspection distance three-dimensional shape model creation device to which weighted average interpolation processing has been added This device uses the position data of the interpolation target point 20 in the processing of the device described in (2.2). The model configuration detected from the position of the interpolation target point 20 on the screen, as shown in FIG. 7, instead of the average interpolation model configuration point setting unit 26 obtained based on the average of the height data of the model configuration points detected in FIG. Calculate the distance to the point (referred to as the "interpolation point distance"), and use the value obtained by dividing the interpolation point distance by the total interpolation point distance as the weight. A weighted average interpolation model constituent point setting unit that obtains an average value by assigning the calculated weight, obtains position data of the interpolation target point 20 from the weighted average height data and the position of the model measurement point, and sets a model constituent point 46, Three-dimensional shape data without the data missing portion 10 is generated, and a three-dimensional shape model is constructed. In this device, a 3D shape model of an object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron, but also composed of smooth curved surfaces such as cylinders and spheres. The three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created.

また、ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があったり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合でも、データ欠落部10を補間するためデータ抜けのない対象物体の三次元形状データを生成できる。更に、十字方向検査補間対象点検出部15は、補間対象点20の検査方法として上下左右方向のモデル構成点の有無を調べる方法を用いており、左右方向にモデル構成点の存在する穴形状や縦方向切欠き形状のデータ欠落部10だけでなく横方向切欠き形状のデータ欠落部10にも対応できる。また、重み付き平均補間モデル構成点設定部46は、データ欠落部10の補間に距離重み付き平均補間を用いるため補間対象点20により近い位置のモデル構成点の位置データが補間したモデル構成点の位置データに大きく影響し、結果的にデータ欠落部10全体を元々の、モデル形状データと滑らかに接続することができる。   In addition, when setting model constituent points by stereo measurement, it is visible on the reference screen for setting model measurement points, but on the reference screen for searching for the corresponding points, due to projections and slopes on the target object due to parallax There is a case where there is an invisible part, or even if the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen, but the data missing part 10 is interpolated. It is possible to generate three-dimensional shape data of the target object without missing. Further, the cross direction inspection interpolation target point detection unit 15 uses a method for checking the existence of model constituent points in the vertical and horizontal directions as an inspection method of the interpolation target point 20. Not only the data missing portion 10 with the vertical cutout shape but also the data missing portion 10 with the horizontal cutout shape can be handled. Further, the weighted average interpolation model composing point setting unit 46 uses the distance weighted average interpolation for the interpolation of the data missing unit 10, so that the model composing point interpolated by the position data of the model composing point closer to the interpolation target point 20 is used. This greatly affects the position data, and as a result, the entire data missing part 10 can be smoothly connected to the original model shape data.

(2.5)8方向検査平均補間処理を加えた三次元形状モデル作製装置
この装置は、基本的な考え方で述べた装置の処理のうち、データ欠落点が補間対象点20であるかどうかを左右方向に検査する横方向検査補間対象点検出部5に代えて、その左右方向にモデル構成点があるかどうかの検査に加えて、図8に示すように、その上下方向及び斜め方向にもモデル構成点があるかどうかを検査し、上下左右斜めの8方向に、モデル構成点が予め設定しておいた数以上存在する場合は、このデータ欠落点を補間対象点20とする8方向検査補間対象点検出部25を図9に示すように用いる。また、補間対象点20の位置データの計算においては、8方向の検査により検出されたモデル構成点の高さデータの平均値とモデル計測点の位置から補間対象点20の位置データを求めてモデル構成点を設定する平均補間モデル構成点設定部57を図9に示すように使用する。この装置は、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。
(2.5) Three-dimensional shape model production apparatus to which 8-direction inspection average interpolation processing is added This apparatus determines whether or not the data missing point is the interpolation target point 20 among the processes of the apparatus described in the basic concept. In place of the inspection of the interpolation target point detection unit 5 for inspecting in the left-right direction, whether or not there is a model constituent point in the left-right direction, as shown in FIG. Check whether there is a model composing point, and if there are more than the preset number of model composing points in eight directions, up, down, left, and right, 8-direction inspection with this data missing point as the interpolation target point 20 The interpolation target point detector 25 is used as shown in FIG. In the calculation of the position data of the interpolation target point 20, the position data of the interpolation target point 20 is obtained from the average value of the height data of the model constituent points detected by the eight-direction inspection and the position of the model measurement point. An average interpolation model constituent point setting unit 57 for setting constituent points is used as shown in FIG. In this device, a 3D shape model of an object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron, but also composed of smooth curved surfaces such as cylinders and spheres. The three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created.

また、ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があったり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合でも、データ欠落部10を補間するためデータ抜けのない対象物体の三次元形状データを生成できる。更に、補間対象点20の検査方法として上下左右斜めの8方向のモデル構成点の有無を調べる方法を用いており、左右方向にモデル構成点の存在する穴形状や縦方向欠き形状のデータ欠落部10だけでなく横方向切欠き形状のデータ欠落部10にも劫応でき、切欠き欠落部の開口部が斜めになっていても開口部出口付近までを補間対象点20とすることができる。また、8方向検査補間対象点検出部25は、補間対象点20を検査するための8方向のモデル構成点の存在数を調整することによって、8方向全てにモデル構成点が存在するような穴形状のデータ欠落点のみを補間対象としたり、8方向のうち3方向程度にモデル構成点が見つかれば良いといった浅い切欠き形状のデータ欠落点をも対象とするといった、補間対象とするデータ欠落部10の度合いを設定することができる。また、平均補間モデル構成点設定部57は、モデル構成点の位置データ計算に検出したモデル構成点の位置データの単純平均を基にする方法を用いるため、データ処理が簡単で高速な処理を実現できる。   In addition, when setting model constituent points by stereo measurement, it is visible on the reference screen for setting model measurement points, but on the reference screen for searching for the corresponding points, due to projections and slopes on the target object due to parallax There is a case where there is an invisible part, or even if the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen, but the data missing part 10 is interpolated. It is possible to generate three-dimensional shape data of the target object without missing. Further, as a method of inspecting the interpolation target point 20, a method of checking the presence / absence of model constituent points in eight directions in the up / down / left / right directions is used. It is possible to accommodate not only 10 but also the data notch portion 10 having a notch in the horizontal direction, and even if the opening of the notch notch portion is slanted, the vicinity of the opening exit can be set as the interpolation target point 20. In addition, the 8-direction inspection interpolation target point detection unit 25 adjusts the number of model constituent points in the eight directions for inspecting the interpolation target point 20 so that the model constituent points exist in all eight directions. Data missing part to be interpolated such that only data missing points in the shape are to be interpolated, or data missing points in shallow notch shapes that only need to find model constituent points in about 3 out of 8 directions A degree of 10 can be set. The average interpolation model component point setting unit 57 uses a method based on a simple average of the detected position data of the model component points for calculation of the position data of the model component points, so that data processing is simple and high-speed processing is realized. it can.

(2.6)8方向検査直線補間処理を加えた三次元形状モデル作製装置
この装置は、(2.5)で述べた装置の処理のうち、補間対象点20の位置データを先に検出されたモデル構成点の高さデータの平均を基に求める平均補間モデル構成点設定部57に代えて、補間対象点20の対角のモデル構成点の組が見つかったモデル構成点の組を通る直線を計算し(複数のモデル構成点の組が見つかった場合は予め優先度を設定しておいた方の組について直線を計算し、もしくは、全ての組について直線を計算し)、その直線と補間対象点20のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を補間対象点20の位置データとして計算する(全ての組について直線を計算した場合は各直線から計算される交点の三次元位置の平均を補間対象点20の位置データとして計算する)ことでモデル構成点を設定する直線補間構成点設定部67を使用し、データ欠落部10のない三次元形状データを生成し、三次元形状モデルを構成する。
この装置は、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。
(2.6) Three-dimensional shape model creation device to which 8-direction inspection linear interpolation processing is added This device detects the position data of the interpolation target point 20 in the processing of the device described in (2.5) first. Instead of the average interpolated model composing point setting unit 57 obtained based on the average of the height data of the model composing points, a straight line passing through the pair of model composing points where the pair of diagonal model composing points of the interpolation target point 20 is found. (If a set of multiple model component points is found, calculate a straight line for the pair that has been set in advance, or calculate a straight line for all sets) The three-dimensional position of the intersection of the model measurement point of the target point 20 and the straight line passing through the lens focus is calculated as position data of the interpolation target point 20 (if straight lines are calculated for all pairs, the intersection points calculated from each straight line are calculated. Interpolate the average of 3D positions The linear interpolation composing point setting unit 67 that sets the model composing point by calculating the position data of the target point 20) is used to generate 3D shape data without the data missing part 10 and configure the 3D shape model. .
In this device, a 3D shape model of an object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron, but also composed of smooth curved surfaces such as cylinders and spheres. The three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created.

また、ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があったり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合でも、データ欠落部10を補間するためデータ抜けのない対象物体の三次元形状データを生成である。
更に、補間対象点20の検査方法として上下左右斜めの8方向のモデル構成点の有無を調べる方法を用いており、左右方向にモデル構成点の存在する穴形状や撮方向切欠き形状のデータ欠落部10だけでなく横方向切欠き形状のデータ欠落部10にも対応でき、切欠き欠落部の開口部が斜めになっていても開口部出口付近までを補間対象点20とすることができる。
また、8方向検査補間対象点検出部25は、補間対象点20を検査するための8方向のモデル構成点の存在数を調整することによって、8方向全てにモデル構成点が存存するような穴形状のデータ欠落点のみを補間対象としたり、8方向のうち3方向程度にモデル構成点が見つかれば良いといった浅い切欠き形状のデータ欠落点おも対象とするといった、補間対象となるデータ欠落部10の度合いを設定することができる。
また、直線補間構成点設定部67は、データ欠落部10の補間に直線補間を用いるため補間した部分と元々モデル構成点が存在した部分との境目にギャップを生じない。
In addition, when setting model constituent points by stereo measurement, it is visible on the reference screen for setting model measurement points, but on the reference screen for searching for the corresponding points, due to projections and slopes on the target object due to parallax There is a case where there is an invisible part, or even if the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen, but the data missing part 10 is interpolated. The three-dimensional shape data of the target object without missing is generated.
Further, as a method of inspecting the interpolation target point 20, a method of checking the presence / absence of model constituent points in eight directions that are diagonally up / down / left / right is used. It is possible to deal with not only the portion 10 but also the data notch portion 10 having a notch in the horizontal direction, and even if the opening of the notch notch portion is slanted, the vicinity of the opening exit can be set as the interpolation target point 20.
In addition, the 8-direction inspection interpolation target point detection unit 25 adjusts the number of model constituent points in the eight directions for inspecting the interpolation target point 20 so that the model constituent points exist in all eight directions. Data missing part to be interpolated such that only data missing point of shape is to be interpolated, or data missing point of shallow notch shape that only needs to find model constituent points in about 3 out of 8 directions A degree of 10 can be set.
Further, since the linear interpolation composing point setting unit 67 uses linear interpolation for the interpolation of the data missing unit 10, no gap is generated at the boundary between the interpolated portion and the portion where the model composing point originally exists.

(2.7)8方向検査重み付き平均補間処理を加えた三次元形状モデル作製装置
この装置は、(2.5)で述べた装置の処理のうち、補間対象点20の位置データを先に検出されたモデル構成点の高さデータの平均を基に求める平均補間モデル構成点設定部57に代えて、図11に示すように、補間対象点20と検出したモデル構成点から補間点距離を計算し、その補間点距離を補間点距離の総計で割った値を重みとし、検出されたモデル構成点の高さデータについて先に計算した重みを付けて平均値を求め、その重み付き平均高さデータとモデル計測点の位置から補間対象点20の位置データを求めてモデル構成点を設定する重み付き平均補間モデル構成点設定部77を使用し、データ欠落部10のない三次元形状データを生成し、三次元形状モデルを構成する。この装置は、物体の三次元形状モデルをモデル構成点の集合で構成するため、対象物体が多面体のように角張っている場合はもちろん、円柱や球面のような滑らかな曲面から構成される場合でも、対象物の三次元形状データを生成でき、これにより三次元形状モデルを作製することができる。
(2.7) Three-dimensional shape model creation device to which 8-direction inspection weighted average interpolation processing is added. This device is the first to process the position data of the interpolation target point 20 in the processing of the device described in (2.5). In place of the average interpolation model component point setting unit 57 obtained based on the average height data of the detected model component points, as shown in FIG. 11, the interpolation point distance is calculated from the interpolation target point 20 and the detected model component point. The weight is calculated by dividing the interpolated point distance by the total interpolated point distance, and the average value is obtained by adding the previously calculated weight to the height data of the detected model constituent points. The weighted average interpolation model constituent point setting unit 77 for obtaining the position data of the interpolation target point 20 from the position data and the position of the model measurement point and setting the model constituent point is used to obtain the three-dimensional shape data without the data missing part 10. Generate and three-dimensional Construct a shape model. In this device, a 3D shape model of an object is composed of a set of model constituent points, so the target object is not only squared like a polyhedron, but also composed of smooth curved surfaces such as cylinders and spheres. The three-dimensional shape data of the object can be generated, and thereby a three-dimensional shape model can be created.

また、ステレオ計測によりモデル構成点を設定する際、モデル計測点を設定する基準画面では見えているが、その対応点を探索する参照画面では視差の関係で対象物体上の突起や斜面のために見えない部分が存在する場合があつたり、また基準画面と参照画面両方で見えているが特徴のない滑らかな部分であるため対応点を見つけられない場合でも、データ欠落部10を補間するためデータ抜けのない対象物体の三次元形状データを生成できる。更に、補間対象点20の検査方法として上下左右斜めの8方向のモデル構成点の有無を調べる方法を用いており、左右方向にモデル構成点の存在する穴形状や縦方向切欠き形状のデータ欠落部10だけでなく横方両切欠き形状のデータ欠落部10にも対応でき、切欠き欠落部の開口部が斜めになっていても開口部出口付近までを補間対象点20とすることができる。   In addition, when setting model constituent points by stereo measurement, it is visible on the reference screen for setting model measurement points, but on the reference screen for searching for the corresponding points, due to projections and slopes on the target object due to parallax Even if there is a part that cannot be seen, or even if the corresponding point cannot be found because it is a smooth part that is visible on both the reference screen and the reference screen but has no features, It is possible to generate three-dimensional shape data of the target object without missing. Further, as a method for inspecting the interpolation target point 20, a method for checking the existence of model constituent points in eight directions in the up / down / left / right directions is used. It is possible to deal with not only the portion 10 but also the data missing portion 10 having both lateral cutout shapes, and even if the opening of the notched missing portion is slanted, the vicinity of the opening exit can be set as the interpolation target point 20. .

また、補間対象点20を検査するための8方向のモデル構成点の存在数を調整することによって、8方向全てにモデル構成点が存在するような穴形状のデータ欠落点のみを補間対象としたり、8方向のうち3方向程度にモデル構成点が見つかれば良いといった浅い切欠き形状のデータ欠落点をも対象とするといった、補間対象となるデータ欠落部10の度合いを設定することができる。また、8方向検査補間対象点検出部25は、重み付き平均補間モデル構成点設定部77は、データ欠落部10の補間に距離重み付き平均補間を用いるため補間対象点20により近い位置のモデル構成点の位置データが補間したモデル構成点の位置データに大きく影響し、結果的にデータ欠落部10全体を元々のモデル形状データと滑らかに接続することができる。   In addition, by adjusting the number of model constituent points in eight directions for inspecting the interpolation target point 20, only the hole-shaped data missing points in which the model constituent points exist in all eight directions are targeted for interpolation. The degree of the data missing part 10 to be interpolated can be set such that the data missing point with a shallow notch shape that only needs to find the model composing point in about three of the eight directions is also targeted. In addition, the 8-direction inspection interpolation target point detection unit 25 uses the weighted average interpolation model constituent point setting unit 77 and uses the distance weighted average interpolation for the interpolation of the data missing unit 10, so that the model configuration at a position closer to the interpolation target point 20 is used. The position data of the point greatly affects the position data of the interpolated model constituent point, and as a result, the entire data missing part 10 can be smoothly connected to the original model shape data.

本発明は、カメラによって得られた画像データを使用して、カメラで撮影可能な範囲に存在する工業部品等の対象物体の三次元形状データを生成し、それにより物体認識処理等に用いる物体の三次元形状モデルを作製する装置として産業上広く利用可能なものである。
The present invention uses image data obtained by a camera to generate three-dimensional shape data of a target object such as an industrial part that exists in a range that can be photographed by the camera, and thereby the object used for object recognition processing or the like. It can be widely used industrially as an apparatus for producing a three-dimensional shape model.

横方向検査による補間対象点の検出の例を示す説明図である。It is explanatory drawing which shows the example of the detection of the interpolation object point by a horizontal direction test | inspection. 本発明による三次元形状モデル作製装置の例を示す説明図である。It is explanatory drawing which shows the example of the three-dimensional shape model production apparatus by this invention. 本発明による横方向検査直線補間処理を加えた三次元形状モデル作製装置の例を示す説明図である。It is explanatory drawing which shows the example of the three-dimensional shape model production apparatus which added the horizontal direction test | inspection linear interpolation process by this invention. 十字方向検査による補間対象点の検出の例を示す説明図である。It is explanatory drawing which shows the example of the detection of the interpolation target point by a cross direction test | inspection. 本発明による十字方向検査平均補間処理を加えた三次元形状モデル作製装置の例を示す説明図である。It is explanatory drawing which shows the example of the three-dimensional shape model production apparatus which added the cross direction test | inspection average interpolation process by this invention. 本発明による十字方向検査直線補間処理を加えた三次元形状モデル作製装置の例を示す説明図である。It is explanatory drawing which shows the example of the three-dimensional shape model production apparatus which added the cross direction test | inspection linear interpolation process by this invention. 本発明による十字方向検査重み付き平均補間処理を加えた三次元形状モデル作製装置の例を示す説明図である。It is explanatory drawing which shows the example of the three-dimensional shape model production apparatus which added the average interpolation process with the cross direction test | inspection weight by this invention. 8方向検査による補間対象点の検出の例を示す説明図である。It is explanatory drawing which shows the example of the detection of the interpolation target point by 8 direction test | inspection. 本発明による8方向検査平均補間処理を加えた三次元形状モデル作製装置の例を示す説明図である。It is explanatory drawing which shows the example of the three-dimensional shape model production apparatus which added the 8-way test | inspection average interpolation process by this invention. 本発明による8方向検査直線補間処理を加えた三次元形状モデル作製装置の例を示す説明図である。It is explanatory drawing which shows the example of the three-dimensional shape model production apparatus which added the 8-direction test | inspection linear interpolation process by this invention. 本発明による8方向検査重み付き平均補間処理を加えた三次元形状モデル作製装置の例を示す説明図である。It is explanatory drawing which shows the example of the three-dimensional shape model production apparatus which added the 8-way test | inspection weighted average interpolation process by this invention.

符号の説明Explanation of symbols

1 カメラ
2 モデル構成点生成器
3 モデル構成点三次元形状データ生成部
4 モデルメモリ
5 横方向検査補間対象点検出部
25 十字方向検査補間対象点検出部
35 8方向検査補間対象点検出部
6,26,56 平均補間モデル構成点設定部
16,36,66 直線補間モデル構成点設定部
46,76 重み付き平均補間モデル構成点設定部
10 データ欠落点
20 補間対象点
DESCRIPTION OF SYMBOLS 1 Camera 2 Model constituent point generator 3 Model constituent point three-dimensional shape data generation part 4 Model memory 5 Lateral direction inspection interpolation target point detection part 25 Cross direction inspection interpolation target point detection part 35 8 direction inspection interpolation target point detection part 6, 26, 56 Average interpolation model composing point setting unit 16, 36, 66 Linear interpolation model composing point setting unit 46, 76 Weighted average interpolation model composing point setting unit 10 Data missing point 20 Interpolation target point

Claims (6)

入力画像において画面上で対象物体を囲むモデル計測範囲に予め格子状に設定されたモデル計測点の三次元位置データをステレオ計測によって計測することで物体上のモデル構成点を生成するモデル構成点生成器と、
前記モデル構成点の集合として三次元形状データを生成するモデル構成点三次元形状データ生成部と、
前記モデル計測範囲中で前記モデル構成点が得られなかった点であるデータ欠落点について、前記データ欠落点の左右方向にモデル構成点があるかどうかの検査に加えて、前記データ欠落点の上下方向にもモデル構成点があるかどうかを検査し、上下左右方向にモデル構成点が予め設定しておいた数以上検出された場合は、前記データ欠落点を前記補間対象点とする十字方向検査補間対象点検出部と、
上記検査により上下もしくは左右のモデル構成点の組が見つかった方についてモデル構成点の組を通る直線を計算し、該直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間モデル構成点設定部とからなり、
データ欠落部のない三次元形状データを生成し、三次元形状モデルを構成することを特徴とする物体の三次元形状モデル作製装置。
Model component point generation that generates model component points on an object by measuring three-dimensional position data of the model measurement points that are set in a grid pattern in advance in the model measurement range that surrounds the target object on the screen in the input image And
A model constituent point three-dimensional shape data generation unit for generating three-dimensional shape data as a set of model constituent points;
In addition to checking whether there is a model constituent point in the left-right direction of the data missing point, a data missing point that is a point where the model constituent point is not obtained in the model measurement range, Inspects whether there is a model constituent point in the direction, and if more than a preset number of model constituent points are detected in the up, down, left, and right directions, cross direction inspection with the data missing point as the interpolation target point An interpolation target point detector,
A straight line passing through the set of model constituent points is calculated for the one where a set of top and bottom or left and right model constituent points is found by the above inspection, and the intersection of the straight line and the model measurement point of the interpolation target point and the straight line passing through the lens focus Comprising a linear interpolation model constituent point setting unit that sets a model constituent point by calculating a three-dimensional position as position data of the interpolation target point,
An apparatus for producing a three-dimensional shape model of an object, which generates three-dimensional shape data having no data missing portion and constitutes a three-dimensional shape model.
請求項1記載の前記直線補間モデル構成点設定部に代えて、
上記検査により上下及び左右両方についてモデル構成点の組が見つかった場合は、予め優先度を設定しておいた方の組について直線を計算し、該直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間モデル構成点設定部を用いることを特徴とする物体の三次元形状モデル作製装置。
In place of the linear interpolation model component point setting unit according to claim 1,
If a set of model constituent points is found for both the top and bottom and left and right by the above inspection, a straight line is calculated for the pair whose priority is set in advance, and the model measurement point and lens of the straight line and the interpolation target point are calculated. A three-dimensional shape model of an object using a linear interpolation model constituent point setting unit that sets a model constituent point by calculating a three-dimensional position of an intersection with a straight line passing through a focal point as position data of the interpolation target point Production device.
請求項1記載の前記直線補間モデル構成点設定部に代えて、
上記検査により上下及び左右両方についてモデル構成点の組が見つかった場合は、全ての組について直線を計算し、全ての組について計算された各直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置の平均を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間モデル構成点設定部を用いることを特徴とする物体の三次元形状モデル作製装置。
In place of the linear interpolation model component point setting unit according to claim 1,
When a set of model constituent points is found for both the top and bottom and the left and right by the above inspection, straight lines are calculated for all sets, and the straight line calculated for all sets, the model measurement point of the interpolation target point, and the lens focus are calculated. A three-dimensional shape model of an object using a linear interpolation model constituent point setting unit that sets a model constituent point by calculating an average of three-dimensional positions of intersections with a passing straight line as position data of the interpolation target point Production device.
請求項1記載の前記十字方向検査補間対象点検出部に代えて、
前記モデル計測範囲中で前記モデル構成点が得られなかった点であるデータ欠落点について、前記データ欠落点の左右方向にモデル構成点があるかどうかの検査に加えて、前記データ欠落点の上下方向及び斜め方向にもモデル構成点があるかどうかを検査し、上下左右斜めの8方向にモデル構成点が予め設定しておいた数以上検出された場合は、前記データ欠落点を前記補間対象点とする8方向検査補間対象点検出部を用い、
また、請求項1記載の前記直線補間モデル構成点設定部に代えて、
上記検査により前記補間対象点の対角のモデル構成点の組が1つ見つかった場合は、見つかった1つのモデル構成点の組を通る直線を計算し、該直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間構成点設定部を用いることを特徴とする物体の三次元形状モデル作製装置。
In place of the cross direction inspection interpolation target point detection unit according to claim 1,
In addition to checking whether there is a model constituent point in the left-right direction of the data missing point, a data missing point that is a point where the model constituent point is not obtained in the model measurement range, Whether or not there are model composing points in the direction and the diagonal direction is checked, and if the number of model composing points is detected in a predetermined number of eight directions up, down, left and right, the data missing point is interpolated. Using an 8-direction inspection interpolation target point detection unit as a point,
Further, instead of the linear interpolation model component point setting unit according to claim 1,
When one set of diagonal model constituent points of the interpolation target point is found by the above inspection, a straight line passing through the one set of model constituent points found is calculated, and model measurement of the straight line and the interpolation target point is performed. 3D of an object characterized by using a linear interpolation constituent point setting unit that sets a model constituent point by calculating a three-dimensional position of an intersection of a point and a straight line passing through a lens focus as position data of the interpolation target point Shape model production device.
請求項4記載の前記直線補間モデル構成点設定部に代えて、
上記検査により前記補間対象点の対角のモデル構成点の組が複数見つかった場合は、予め優先度を設定しておいた方の組について直線を計算し、該直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間構成点設定部を用いることを特徴とする物体の三次元形状モデル作製装置。
Instead of the linear interpolation model component point setting unit according to claim 4,
When a plurality of pairs of diagonal model constituent points of the interpolation target point are found by the above inspection, a straight line is calculated for the pair whose priority is set in advance, and the model of the straight line and the interpolation target point is calculated. An object tertiary using a linear interpolation composing point setting unit for setting a model composing point by calculating a three-dimensional position of an intersection of a measurement point and a straight line passing through a lens focus as position data of the interpolation target point Original shape model production device.
請求項4記載の前記直線補間モデル構成点設定部に代えて、
上記検査により前記補間対象点の対角のモデル構成点の組が複数見つかった場合は、全ての組について直線を計算し、全ての組について計算された各直線と前記補間対象点のモデル計測点とレンズ焦点を通る直線との交点の三次元位置の平均を前記補間対象点の位置データとして計算することでモデル構成点を設定する直線補間構成点設定部を用いることを特徴とする物体の三次元形状モデル作製装置。
Instead of the linear interpolation model component point setting unit according to claim 4,
When a plurality of pairs of diagonal model constituent points of the interpolation target point are found by the above inspection, straight lines are calculated for all sets, and each straight line calculated for all sets and the model measurement points of the interpolation target points are calculated. And a linear interpolation composing point setting unit that sets a model composing point by calculating an average of three-dimensional positions of intersections of the straight line passing through the lens focal point as position data of the interpolation target point. Original shape model production device.
JP2008277736A 2008-10-29 2008-10-29 3D shape model creation device for objects Expired - Fee Related JP4715903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008277736A JP4715903B2 (en) 2008-10-29 2008-10-29 3D shape model creation device for objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008277736A JP4715903B2 (en) 2008-10-29 2008-10-29 3D shape model creation device for objects

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000040858A Division JP4253985B2 (en) 2000-02-18 2000-02-18 3D shape model creation device for objects

Publications (2)

Publication Number Publication Date
JP2009058521A JP2009058521A (en) 2009-03-19
JP4715903B2 true JP4715903B2 (en) 2011-07-06

Family

ID=40554358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008277736A Expired - Fee Related JP4715903B2 (en) 2008-10-29 2008-10-29 3D shape model creation device for objects

Country Status (1)

Country Link
JP (1) JP4715903B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10176589B2 (en) * 2017-01-31 2019-01-08 Mitsubishi Electric Research Labroatories, Inc. Method and system for completing point clouds using planar segments

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04242106A (en) * 1991-01-16 1992-08-28 Nippondenso Co Ltd Face recognizing apparatus
JPH0837601A (en) * 1994-07-25 1996-02-06 Kokusai Electric Co Ltd Interpolation method for image data
JPH1019562A (en) * 1996-06-28 1998-01-23 Taisei Corp Surveying equipment and surveying method
JPH10268201A (en) * 1997-03-24 1998-10-09 Olympus Optical Co Ltd Scanning laser microscope
JPH11161821A (en) * 1997-11-28 1999-06-18 Minolta Co Ltd Three-dimensional form data processor and modeling system
JPH11312228A (en) * 1998-04-28 1999-11-09 Minolta Co Ltd Three-dimensional shape data processor
JPH11325853A (en) * 1998-05-19 1999-11-26 Minolta Co Ltd Three-dimensional shape input device
JP2001143081A (en) * 1999-11-15 2001-05-25 Meidensha Corp Device for generating three-dimensional shape model of object

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04242106A (en) * 1991-01-16 1992-08-28 Nippondenso Co Ltd Face recognizing apparatus
JPH0837601A (en) * 1994-07-25 1996-02-06 Kokusai Electric Co Ltd Interpolation method for image data
JPH1019562A (en) * 1996-06-28 1998-01-23 Taisei Corp Surveying equipment and surveying method
JPH10268201A (en) * 1997-03-24 1998-10-09 Olympus Optical Co Ltd Scanning laser microscope
JPH11161821A (en) * 1997-11-28 1999-06-18 Minolta Co Ltd Three-dimensional form data processor and modeling system
JPH11312228A (en) * 1998-04-28 1999-11-09 Minolta Co Ltd Three-dimensional shape data processor
JPH11325853A (en) * 1998-05-19 1999-11-26 Minolta Co Ltd Three-dimensional shape input device
JP2001143081A (en) * 1999-11-15 2001-05-25 Meidensha Corp Device for generating three-dimensional shape model of object

Also Published As

Publication number Publication date
JP2009058521A (en) 2009-03-19

Similar Documents

Publication Publication Date Title
JP6109357B2 (en) Information processing apparatus, information processing method, and program
US9418291B2 (en) Information processing apparatus, information processing method, and computer-readable storage medium
US9984177B2 (en) Modeling device, three-dimensional model generation device, modeling method, program and layout simulator
JP5217221B2 (en) Method for detecting surface defect shape of welded portion and computer program
JP6506731B2 (en) System and method for scoring clutter used for 3D point cloud matching in vision system
KR101155816B1 (en) Image processing device and image processing method for performing three dimensional measurements
KR101604037B1 (en) method of making three dimension model and defect analysis using camera and laser scanning
RU2762619C2 (en) Graphic overlay for measuring the size of elements using a video monitoring apparatus
JP6238183B2 (en) Modeling device, three-dimensional model generation device, modeling method, program
US20150134303A1 (en) Three-dimensional scanning system and method with hole-filling function for point cloud using contact probe
JP7294778B2 (en) Live measurement of objects during manufacturing or other operations
CN110268221B (en) Cord measuring device and cord measuring method
CN110940312A (en) Monocular camera ranging method and system combined with laser equipment
US9217636B2 (en) Information processing apparatus, information processing method, and a computer-readable storage medium
JP6035031B2 (en) Three-dimensional shape measuring device using multiple grids
JP2012141758A (en) Three-dimensional data processing device, method and program
TWI571099B (en) Device and method for depth estimation
JP4715903B2 (en) 3D shape model creation device for objects
KR101538014B1 (en) Converting method photographic images to 3d images through 3d modeling
JP6720358B2 (en) 3D scanning system
JP4253985B2 (en) 3D shape model creation device for objects
JP5358137B2 (en) Image generating apparatus, method and program
CN103033135A (en) Method and device for production and detection of collimator
KR101424118B1 (en) Method and Apparatus for 3D Scanning
JP2008257333A (en) Three-dimensional imaging method and tomograph

Legal Events

Date Code Title Description
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: 20110301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110314

R150 Certificate of patent or registration of utility model

Ref document number: 4715903

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140408

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees