JP3340198B2 - Shape restoration device - Google Patents
Shape restoration deviceInfo
- Publication number
- JP3340198B2 JP3340198B2 JP20056693A JP20056693A JP3340198B2 JP 3340198 B2 JP3340198 B2 JP 3340198B2 JP 20056693 A JP20056693 A JP 20056693A JP 20056693 A JP20056693 A JP 20056693A JP 3340198 B2 JP3340198 B2 JP 3340198B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- patch
- voxel data
- voxel
- triangular
- 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
Links
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
- Image Generation (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、被測定物体を観測して
得られた表面3次元座標値から表面形状を復元するため
の形状データを得る形状復元装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shape restoring apparatus for obtaining shape data for restoring a surface shape from three-dimensional surface coordinate values obtained by observing an object to be measured.
【0002】[0002]
【従来の技術】近年、工業部品などの設計を支援するた
めの3次元CADや、コンピュータグラフィックスを用
いた映像作成のニーズが急速に高まっている。これらの
技術においては、設計、または、コンピュータグラフィ
ックス表示を行なう対象の幾何形状、表面属性、及び動
きのデータを計算機に入力することが必要である。(こ
の過程をモデリングと呼び、計算機内部に表現された数
値データをモデルと呼ぶ。)この部分は、現在人間が多
くの労力を費やして行なっており、自動化が強く望まれ
ている。2. Description of the Related Art In recent years, the need for three-dimensional CAD for supporting the design of industrial parts and the like, and the need for creating images using computer graphics have been rapidly increasing. In these techniques, it is necessary to input a geometrical shape, a surface attribute, and motion data of an object to be designed or displayed in computer graphics to a computer. (This process is called modeling, and the numerical data expressed inside the computer is called a model.) This part is currently performed by humans with much effort, and automation is strongly desired.
【0003】最近、3次元CADへの適用のために、レ
ンジファインダと呼ばれる距離画像装置を用いて、呈示
した対象の形状の自動入力を行なうシステムが提案され
ている。レンジファインダは、対象物体の離散的な表面
3次元座標値だけしか測定することができないので、形
状の復元を行なうには表面3次元座標値間に幾何的位相
情報を加えて面を発生させなければならない。このよう
に作成された数値データを形状モデルと呼ぶ。現在提案
されている手法は、測定順序を基にして表面3次元座標
値間に幾何的な順序づけを行い、幾何的位相関係を得て
いる。図22はレンジファインダを用いた従来手法の概
略を示すものである。被測定物体50は回転台52上に
置かれており、レンジファインダ49に対する向きを回
転台52を回転することにより任意に変えることができ
る。レンジファインダ49は、回転台52の回転軸方向
に向いており、設定位置を固定してある。レンジファイ
ンダ49による測定は、被測定物体50のある向きに対
して投影像51のように縦方向に対して1走査のみ行な
われる。この測定を、回転台52をΔθずつ回転させて
360°/Δθ回行なう。この様にして測定される表面
3次元座標値間には、縦方向とθ方向の2次元空間にお
いて幾何的位相情報が付加されることになり、この情報
を基にして被測定物体50の形状復元は容易になる。し
かし、レンジファインダ49は常に回転台52の回転軸
方向を向いており、被測定物体50自身が影になってレ
ンジファインダ49から測定できないオクルージョン領
域が発生してしまう。例えば被測定物体が人形である場
合、その腕によって隠れた領域がオクルージョン領域と
なる。このとき、人形を回転台上で回転させることによ
り腕の表面の3次元座標値(非オクルージョン領域)と
腕の下のオクルージョン領域を測定することは可能であ
るが、これらをどの様に関係付けて形状復元データとす
るかが非常に難しいという欠点が有った。よって、この
手法で測定できる物体は、被測定物体50自身によりオ
クルージョン領域が発生しないような単純な形状に限定
される。また、横方向からの測定だけでは十分にデータ
が得られない被測定物体50の上方向、下方向の測定
を、被測定物体50を置き換えることにより行なうと、
横方向、上方向、下方向の各方向に対するデータ間の幾
何的位相関係を求めるのは非常に難しい問題である。Recently, a system for automatically inputting a presented object shape using a range image device called a range finder has been proposed for application to three-dimensional CAD. Since the range finder can measure only the discrete surface three-dimensional coordinate values of the target object, to restore the shape, a surface must be generated by adding geometric phase information between the surface three-dimensional coordinate values. Must. The numerical data created in this way is called a shape model. Currently proposed methods perform geometrical ordering between surface three-dimensional coordinate values based on a measurement order to obtain a geometrical topological relationship. FIG. 22 schematically shows a conventional method using a range finder. The object to be measured 50 is placed on a turntable 52, and the orientation of the object 50 with respect to the range finder 49 can be arbitrarily changed by rotating the turntable 52. The range finder 49 is oriented in the direction of the rotation axis of the turntable 52, and has a fixed position. The measurement by the range finder 49 is performed only one scan in the vertical direction like the projected image 51 in a certain direction of the measured object 50. This measurement is performed 360 ° / Δθ times by rotating the turntable 52 by Δθ. The geometric phase information is added between the three-dimensional coordinate values of the surface measured in this way in the two-dimensional space in the vertical direction and the θ direction. Based on this information, the shape of the measured object 50 is determined. Restoration is easy. However, the range finder 49 is always oriented in the direction of the rotation axis of the turntable 52, and an object to be measured 50 itself becomes a shadow, and an occlusion region that cannot be measured from the range finder 49 occurs. For example, when the object to be measured is a doll, an area hidden by the arm is an occlusion area. At this time, it is possible to measure the three-dimensional coordinate value (non-occlusion area) of the surface of the arm and the occlusion area under the arm by rotating the doll on the turntable. However, there is a drawback that it is very difficult to use the data as shape restoration data. Therefore, the object that can be measured by this method is limited to a simple shape such that no occlusion region is generated by the measured object 50 itself. In addition, when the measurement in the upward and downward directions of the measured object 50 for which sufficient data cannot be obtained only by measuring from the lateral direction is performed by replacing the measured object 50,
It is a very difficult problem to determine the geometrical topological relationship between data in the horizontal, upward, and downward directions.
【0004】更に、サイエンティフィック・ビジュアラ
イゼーションの分野において、計測データや計算結果デ
ータなどのボリュームデータを可視化するマーチングキ
ューブ法(以下、MC法と呼ぶ。)が知られている。M
C法は、ボリュームデータから等値面を抽出し、等値面
を三角パッチ群で近似構成する手法である。例えば医用
画像分野において人体の断層像を所定間隔で複数枚撮像
した場合、隣接する画像間で画素値に従って等値面を抽
出するものである。ここで、レンジファインダにより得
られた対象物体上の表面3次元座標値に対してこの手法
を用いると、データ間に幾何的位相関係が未知であって
も表示可能な形状データを得ることができる。しかし、
等値面を三角パッチ群で近似構成する際に三角パッチの
各頂点の位置を補間により決定しているため、必ずし
も、測定した表面3次元座標値を通る三角パッチが生成
されるとは限らない。よって、レンジファインダから得
られた高精度の表面3次元座標値が、復元された形状デ
ータに忠実に反映されない。この事は、精度が重要なC
AD分野にとっては深刻な問題である。また、コンピュ
ータグラフィックス分野においても、対象物体の形状が
できるだけ忠実に復元されることが望ましい。Further, in the field of scientific visualization, a marching cube method (hereinafter, referred to as an MC method) for visualizing volume data such as measurement data and calculation result data is known. M
The C method is a method of extracting an isosurface from volume data and approximating the isosurface with a group of triangular patches. For example, when a plurality of tomographic images of a human body are captured at predetermined intervals in the medical image field, isosurfaces are extracted according to pixel values between adjacent images. Here, if this method is used for the surface three-dimensional coordinate values on the target object obtained by the range finder, it is possible to obtain shape data that can be displayed even if the geometric phase relationship between the data is unknown. . But,
Since the positions of the vertices of the triangular patch are determined by interpolation when the isosurface is approximated by the triangular patch group, a triangular patch passing through the measured surface three-dimensional coordinate values is not always generated. . Therefore, the highly accurate surface three-dimensional coordinate values obtained from the range finder are not faithfully reflected in the restored shape data. This is because C is important for accuracy.
This is a serious problem for the AD field. Also in the computer graphics field, it is desirable that the shape of the target object be restored as faithfully as possible.
【0005】上記の理由により、従来提案されている手
法は、3次元CADやコンピュータグラフィックスのた
めの形状モデルを自動作成する目的には未だ不十分だと
考えられる。For the above reasons, it is considered that the conventionally proposed method is still insufficient for the purpose of automatically creating a shape model for three-dimensional CAD and computer graphics.
【0006】[0006]
【発明が解決しようとする課題】以上述べた様に従来の
形状復元装置において、レンジファインダを用いた場合
は被測定物体が単純な形状のものに限定されてしまい、
MC法を用いた場合は高精度の表面形状データが得られ
ないため、各れにしても3次元CAD等のための形状モ
デルを自動作成するには不十分であった。As described above, when a range finder is used in a conventional shape restoration device, the object to be measured is limited to a simple shape.
When the MC method is used, high-precision surface shape data cannot be obtained, so that it is not enough to automatically create a shape model for a three-dimensional CAD or the like even if each method is used.
【0007】本発明の目的は、3次元CADやコンピュ
ータグラフィックスにおいて、複雑な形状の被測定物体
に対しても表面形状データを高精度に復元できると共に
表面3次元座標値の測定方法に制限の無い形状復元装置
を提供することになる。An object of the present invention is to limit the method of measuring surface three-dimensional coordinate values in a three-dimensional CAD or computer graphics, in which surface shape data can be restored with high accuracy even for a measured object having a complicated shape. It is possible to provide a shape recovery device without any.
【0008】[0008]
【課題を解決するための手段】本発明は、被測定物体の
表面形状の3次元座標値を入力するためのデータ入力部
と、このデータ入力部より入力された全ての3次元座標
値を完全に覆う空間を格子状に分割したボクセルデータ
を作成するセル発生部と、このセル発生部により作成さ
れた各ボクセルデータに対し該当する前記3次元座標値
を用いて夫々1個のレンジデータを求めるデータ蓄積部
と、3次元的に隣接した所定数のボクセルデータ毎に夫
々のレンジデータに従って位相幾何学的関係を求めるセ
ルパターン認識部と、このセルパターン認識部により求
められた位相幾何学的関係に従って前記所定数のボクセ
ルデータ毎に三角パッチを作成しこの三角パッチ群に対
して前記所定数のボクセルデータ同士の隣接面上に位置
する不要な三角パッチを除去して形状データとするパッ
チ発生部とを具備したことを特徴とするものである。According to the present invention, a data input section for inputting three-dimensional coordinate values of the surface shape of an object to be measured, and all three-dimensional coordinate values input from the data input section are completely converted. Cell generation unit for generating voxel data obtained by dividing the space covered by the cell into a grid, and one range data for each voxel data generated by the cell generation unit using the corresponding three-dimensional coordinate value. A data storage unit, a cell pattern recognition unit for obtaining a topological relationship in accordance with each range data for a predetermined number of three-dimensionally adjacent voxel data, and a topological relationship obtained by the cell pattern recognition unit A triangular patch is created for each of the predetermined number of voxel data according to It is characterized in that it has and a patch generator for the switch was removed shape data.
【0009】[0009]
【作用】本発明においては、被測定物体を観測して得ら
れた表面3次元座標値から表面形状を復元するものであ
って、表面3次元座標値を格子状に空間を分割して得ら
れた各ボクセルデータに対して対応付けを行ない。各ボ
クセルデータに対応付けした表面3次元座標値が1つの
レンジデータを求め、空間的に隣接する所定数のボクセ
ルデータ間の位相幾何学的関係を夫々のレンジデータか
ら求める事により三角パッチとしての形状データを決定
する。つまり本発明では、表面3次元座標値を入力する
ときの測定方法の順序付けが必要無いと共に、表面3次
元座標値間に幾何的位相関係が未知であっても、幾何的
位相関係が既知であるボクセルデータに対して表面3次
元座標値を対応づけることにより、形状の復元が容易に
できる。さらに、ボクセルデータの大きさを変えること
によって、測定結果の表面3次元座標値を忠実に反映し
た高解像度形状データからデータ量が少ない低解像度形
状データまで、所望の形状データを作成できる。In the present invention, the surface shape is reconstructed from the surface three-dimensional coordinate values obtained by observing the object to be measured, and the surface shape is obtained by dividing the surface three-dimensional coordinate values into a grid-like space. The respective voxel data are associated with each other. The surface three-dimensional coordinate value associated with each voxel data obtains one range data, and the topological relationship between a predetermined number of spatially adjacent voxel data is obtained from each range data, thereby forming a triangular patch. Determine the shape data. That is, in the present invention, the order of the measurement method when inputting the surface three-dimensional coordinate values is not necessary, and the geometric phase relationship is known even if the geometric phase relationship between the surface three-dimensional coordinate values is unknown. The shape can be easily restored by associating the surface three-dimensional coordinate values with the voxel data. Furthermore, by changing the size of the voxel data, desired shape data can be created from high-resolution shape data that faithfully reflects the surface three-dimensional coordinate values of the measurement result to low-resolution shape data with a small amount of data.
【0010】[0010]
【実施例】以下、本発明の実施例を図面を用いて説明す
る。図1は本発明の実施例装置の概略構成を示す図、図
2は本発明の実施例の処理内容を説明する図、図3はは
本発明の実施例の処理フローチャートである。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a schematic configuration of an apparatus according to an embodiment of the present invention, FIG. 2 is a diagram for explaining processing contents of an embodiment of the present invention, and FIG. 3 is a processing flowchart of the embodiment of the present invention.
【0011】図1及び図3において、データ入力部1は
被測定物体を観測することにより得られたレンジデータ
を入力する(ステップ101)。セル発生部2はデータ
入力部1で入力されたレンジデータを完全に覆うような
空間をボクセル分割法で等分割して得られたボクセルデ
ータを作成する(ステップ102)。データ蓄積部3は
データ入力部1で入力されたレンジデータとセル発生部
2で作成されたボクセルデータ間の対応づけを行ない、
ボクセルデータに対応づけされた複数個のレンジデータ
の座標値の平均を求め、その値を持つレンジデータを新
たにボクセルデータに対応する1個のレンジデータとす
る(ステップ103,104)。セルパターン認識部4
は各ボクセルデータがレンジデータと対応づけがなされ
ているか否かにより判定される関係を8個の隣接するボ
クセルデータ間について求める(ステップ105)。パ
ッチ発生部5はセルパターン認識部4で求められた8個
の隣接ボクセルデータ間の位相幾何学関係に基づき三角
パッチを発生する(ステップ106)。形状データ6は
すべてのボクセルデータについてパッチ発生部5の処理
を行なった結果として三角パッチ群である(ステップ1
07)。In FIG. 1 and FIG. 3, a data input section 1 inputs range data obtained by observing an object to be measured (step 101). The cell generation unit 2 creates voxel data obtained by equally dividing a space that completely covers the range data input by the data input unit 1 by the voxel division method (step 102). The data storage unit 3 associates the range data input by the data input unit 1 with the voxel data generated by the cell generation unit 2,
The average of the coordinate values of a plurality of range data associated with the voxel data is obtained, and the range data having that value is newly set as one range data corresponding to the voxel data (steps 103 and 104). Cell pattern recognition unit 4
Finds a relationship determined by whether or not each voxel data is associated with range data for eight adjacent voxel data (step 105). The patch generator 5 generates a triangular patch based on the topological relationship between the eight adjacent voxel data obtained by the cell pattern recognizer 4 (step 106). The shape data 6 is a triangular patch group as a result of performing the processing of the patch generation unit 5 on all voxel data (step 1).
07).
【0012】図2において、7は測定物体を観測して得
られた観測レンジデータ、8は観測レンジデータ7を完
全に覆うような空間をボクセル分割法で等分割すること
により得られたボクセルデータ、9は処理結果として得
られる三角パッチデータである。観測レンジデータ7か
らボクセルデータ8を作成することにより、観測レンジ
データ7に幾何的な位相関係を持たすことができ、単純
な処理によりCG表示可能な三角パッチデータ9を作成
できるようになっている。In FIG. 2, reference numeral 7 denotes observation range data obtained by observing a measurement object, and 8 denotes voxel data obtained by equally dividing a space which completely covers the observation range data 7 by a voxel division method. , 9 are triangular patch data obtained as a processing result. By creating the voxel data 8 from the observation range data 7, the observation range data 7 can have a geometric phase relationship, and the triangular patch data 9 that can be displayed by CG can be created by simple processing. .
【0013】以下、図19各構成部について詳細に説明
する。データ入力部1は、図4に示すように被測定物体
13の表面上において未観測部分が無いように、レンジ
ファインダ10、11、12で複数方向から観測されて
得られた観測レンジデータ14が入力される。Hereinafter, each component of FIG. 19 will be described in detail. The data input unit 1 converts observation range data 14 obtained by observing from a plurality of directions with the range finder 10, 11, 12 so that there is no unobserved part on the surface of the measured object 13 as shown in FIG. Is entered.
【0014】図5は、セル発生部2で行なわれる処理の
概略を示すものである。セル発生部2では、データ入力
部1で入力された観測レンジデータ15の全ての座標値
を参照してx軸方向、y軸方向、z軸方向それぞれにつ
いて最小値(x min, y min,z min )、最大値(x max,
y max, z max )を求める。そして、 P0 (x min, y min, z min) , P1 (x min, y min, z ma
x) P2 (x min, y max, z min) , P3 (x min, y max, z ma
x) P4 (x max, y min, z min) , P5 (x max, y min, z ma
x) P6 (x max, y max, z min) , P7 (x max, y max, z ma
x) の8点を頂点とする空間に対してボクセル分割法を適用
する。x軸方向、y軸方向、z軸方向それぞれについて
分割数をl、m、n個とユーザーが指定を行なうと、V
(0、0、0)、v(0、0、1)、...、V(l−
1、m−1、n−1)のl×m×n個のボクセルデータ
を生成する。FIG. 5 schematically shows the processing performed in the cell generator 2. The cell generation unit 2 refers to all the coordinate values of the observation range data 15 input by the data input unit 1, and determines the minimum value (x min, y min, z) in each of the x-axis direction, the y-axis direction, and the z-axis direction. min), maximum value (x max,
y max, z max). Then, P0 (x min, y min, z min), P1 (x min, y min, z ma
x) P2 (x min, y max, z min), P3 (x min, y max, z ma
x) P4 (x max, y min, z min), P5 (x max, y min, z ma
x) P6 (x max, y max, z min), P7 (x max, y max, z ma
The voxel division method is applied to the space with the eight points of x) as vertices. When the user designates the number of divisions as l, m, and n in the x-axis direction, the y-axis direction, and the z-axis direction, V
(0,0,0), v (0,0,1),. . . , V (l−
1, m−1, n−1) of 1 × m × n voxel data are generated.
【0015】図6はデータ蓄積部3で行なわれる処理を
簡単に示したものである。セル発生部2で生成されたボ
クセルデータのうちx軸方向、y軸方向、z軸方向それ
ぞれについてi番目、j番目、k番目のボクセルデータ
V(i、j、k)について行なわれる処理について以下
説明する(ただし、0≦i≦l−1、0≦j≦m−1、
0≦k≦n−1)。図6(a)はボクセルデータV
(i、j、k)とボクセルデータV(i、j、k)の内
部及び周辺に存在するデータ入力部1において入力され
た観測レンジデータ20を示している。データ蓄積部3
は図6(a)に示すようにボクセルデータV(i、j、
k)の内部に観測レンジデータ20が存在する場合、図
6(b)に示すようにその内部レンジデータ21をボク
セルデータV(i、j、k)に対応づける。もし、ボク
セルデータV(i、j、k)の内部に存在する内部レン
ジデータ21が1個も存在しない場合は、ボクセルデー
タV(i、j、k)には内部レンジデータ21の対応づ
けは行なわれない。図6(b)に示すようにボクセルデ
ータV(i、j、k)に複数個の内部レンジデータ21
が対応づけられた場合、その複数個の内部レンジデータ
21間で座標値の平均を求め、その求めた平均座標値を
持つ1個の平均レンジデータ22を図6(c)に示すよ
うにボクセルデータV(i、j、k)に対応づける。図
6に示すような処理をボクセルデータV(0、0、
0)、V(0、0、1)、...、V(l−1、m−
1、n−1)について同様に行なう。ここで、ボクセル
データに平均レンジデータ22が対応づけられている場
合にはそのボクセルデータの属性値を1に、対応づけさ
れていない場合にはそのボクセルデータの属性値を0と
する。FIG. 6 schematically shows the processing performed in the data storage unit 3. The processing performed on the i-th, j-th, and k-th voxel data V (i, j, k) in the x-axis direction, the y-axis direction, and the z-axis direction of the voxel data generated by the cell generator 2 will be described below. (Where 0 ≦ i ≦ l−1, 0 ≦ j ≦ m−1,
0 ≦ k ≦ n−1). FIG. 6A shows the voxel data V
(I, j, k) and the observation range data 20 input at the data input unit 1 existing inside and around the voxel data V (i, j, k). Data storage unit 3
Is the voxel data V (i, j,
When the observation range data 20 exists inside k), the internal range data 21 is associated with the voxel data V (i, j, k) as shown in FIG. 6B. If no internal range data 21 exists inside the voxel data V (i, j, k), the correspondence of the internal range data 21 to the voxel data V (i, j, k) is as follows. Not done. As shown in FIG. 6B, a plurality of internal range data 21 is added to the voxel data V (i, j, k).
Are associated with each other, an average of coordinate values is obtained between the plurality of internal range data 21, and one average range data 22 having the obtained average coordinate values is converted into a voxel as shown in FIG. It is associated with the data V (i, j, k). The processing shown in FIG. 6 is performed by the voxel data V (0, 0,
0), V (0, 0, 1),. . . , V (l-1, m-
1, n-1). Here, if the average range data 22 is associated with the voxel data, the attribute value of the voxel data is set to 1, and if not, the attribute value of the voxel data is set to 0.
【0016】次に、セルパターン認識部4で行なう処理
について説明する。図7は、ボクセルデータ間の関係が
求められる8個の隣接するボクセルデータを論理的に示
したものである。図7に示したボクセルデータV
0、...、V7は、 V0(p、q、r) = V(p 、q 、r ) V1(p、q、r) = V(p 、q 、r+1) V2(p、q、r) = V(p 、q+1、r ) V3(p、q、r) = V(p 、q+1、r+1) V4(p、q、r) = V(p+1、q 、r ) V5(p、q、r) = V(p+1、q 、r+1) V6(p、q、r) = V(p+1、q+1、r ) V7(p、q、r) = V(p+1、q+1、r+1) を示す(ただし、0≦p≦l−2、0≦q≦m−2、0
≦r≦n−2)。また、ボクセルデータV0、...、
V7をボクセルデータ群VG(p、q、r)で表すこと
にする。ボクセルデータ群VG(p、q、r)における
各ボクセルデータは、データ蓄積部3における処理が既
になされている。ボクセルデータ群VG(p、q、r)
における各ボクセルデータの属性値により発生しうるパ
ターンは図9に示すように(a)〜(w)の23パター
ンである。ただし、8個の隣接ボクセルデータの属性値
をx、y、zそれぞれの軸回りに90度の整数倍だけ回
転させた時に一致するパターン群は同一に扱うものとし
て1パターンにまとめている。ボクセルデータ群VG
(p、q、r)のパターンを求めるために図9に示した
23通りのパターンと照合を行なう。照合を行なう際に
ボクセルデータ群VG(p、q、r)の各ボクセルデー
タの属性値に回転処理を施してから後に処理を行なう。
照合が取れた図9のパターンをボクセルデータ群VG
(p、q、r)の照合パターンとする。このような処理
をp、q、rそれぞれについて0...l−2、
0...m−2、0...n−2としたボクセルデータ
群VG(p、q、r)に対して行なう。その後ボクセル
データ群VG間において以下のような処理を行なう。こ
こで、ボクセルデータ群VG(p、q、r)に対して次
のようなデータを定義する。Next, the processing performed by the cell pattern recognition section 4 will be described. FIG. 7 logically shows eight adjacent voxel data for which a relationship between voxel data is determined. Voxel data V shown in FIG.
0,. . . , V7, V0 (p, q, r) = V (p, q, r) V1 (p, q, r) = V (p, q, r + 1) V2 (p, q, r) = V (p , Q + 1, r) V3 (p, q, r) = V (p, q + 1, r + 1) V4 (p, q, r) = V (p + 1, q, r) V5 (p, q, r) = V ( p + 1, q, r + 1) V6 (p, q, r) = V (p + 1, q + 1, r) V7 (p, q, r) = V (p + 1, q + 1, r + 1) (where 0 ≦ p ≦ l) -2, 0 ≦ q ≦ m−2, 0
≤r≤n-2). The voxel data V0,. . . ,
V7 is represented by a voxel data group VG (p, q, r). Each voxel data in the voxel data group VG (p, q, r) has already been processed in the data storage unit 3. Voxel data group VG (p, q, r)
In FIG. 9, there are 23 patterns (a) to (w) that can be generated depending on the attribute value of each voxel data. However, patterns that match when the attribute values of eight adjacent voxel data are rotated around the x, y, and z axes by an integral multiple of 90 degrees are grouped into one pattern as being treated as the same. Voxel data group VG
In order to obtain the (p, q, r) pattern, the pattern is collated with the 23 patterns shown in FIG. When performing the collation, the rotation processing is performed on the attribute value of each voxel data of the voxel data group VG (p, q, r), and then the processing is performed later.
The collated pattern in FIG. 9 is converted to a voxel data group VG.
The matching pattern is (p, q, r). Such processing is performed for each of p, q, and r. . . 1-2,
0. . . m-2, 0. . . This is performed for the voxel data group VG (p, q, r) with n-2. Thereafter, the following processing is performed between the voxel data groups VG. Here, the following data is defined for the voxel data group VG (p, q, r).
【0017】VSa = (V0、V1、V2、V3) VSb = (V4、V5、V6、V7) VSc = (V0、V1、V4、V5) VSd = (V2、V3、V6、V7) VSe = (V0、V2、V4、V6) VSf = (V1、V3、V5、V7) これは図7に示した論理的六面体26の各面をボクセル
データ群VSa、...、VSfで定義したものであ
る。ボクセルデータ群VSにおける各ボクセルデータの
属性値により発生しうるパターンは、図8に示すように
(a)〜(f)の6パターンである。ボクセルデータ群
VSa、...、VSfに対して図8の6パターンと照
合を行ない、照合が取れたパターンをボクセルデータ群
VSa、...、VSfの照合パターンとする。このよ
うな処理をすべてのボクセルデータ群VG(p、q、
r)に対して行なう。よって、セルパターン認識部4の
処理によりボクセルデータ群VGとそれに付随するボク
セルデータ群VSが生成され、それぞれは照合パターン
データを保持する。VSa = (V0, V1, V2, V3) VSb = (V4, V5, V6, V7) VSc = (V0, V1, V4, V5) VSd = (V2, V3, V6, V7) VSe = ( V0, V2, V4, V6) VSf = (V1, V3, V5, V7) This means that each face of the logical hexahedron 26 shown in FIG. . . , VSf. As shown in FIG. 8, there are six patterns (a) to (f) that can be generated by the attribute value of each voxel data in the voxel data group VS. The voxel data group VSa,. . . , VSf are compared with the six patterns in FIG. 8, and the matched patterns are extracted as voxel data groups VSa,. . . , VSf. Such processing is performed for all voxel data groups VG (p, q,
r). Therefore, the voxel data group VG and the associated voxel data group VS are generated by the processing of the cell pattern recognizing unit 4, and each holds the collation pattern data.
【0018】次にパッチ発生部5で行なう処理について
説明する。図10は、図9に示した各パターンに対応し
て生成する三角パッチ37を模式的に示したものであ
る。図10(a)に示すように図10(a)〜(w)の
論理的六面体36の各頂点をVP0、...、VP7で
表す。以下に、生成する三角パッチTを各パターンに対
して示す。Next, the processing performed by the patch generator 5 will be described. FIG. 10 schematically shows a triangular patch 37 generated corresponding to each pattern shown in FIG. As shown in FIG. 10A, the vertices of the logical hexahedron 36 in FIGS. . . , VP7. Below, the generated triangular patches T are shown for each pattern.
【0019】(a)…生成しない。 (b)…生成しない。 (c)…生成しない。(A)... Not generated. (B) ... not generated. (C) ... not generated.
【0020】(d)…生成しない。 (e)…生成しない。 (f)…T(VP1、VP4、VP5)、T(VP1、
VP5、VP4) (g)…T(VP0、VP4、VP7)、T(VP0、
VP7、VP4) (h)…T(VP2、VP4、VP7)、T(VP2、
VP7、VP4) (i)…T(VP0、VP1、VP5)、T(VP0、
VP5、VP1)、T(VP0、VP4、VP5)、T
(VP0、VP5、VP4) (j)…T(VP0、VP3、VP1)、T(VP0、
VP1、VP5)、T(VP0、VP5、VP3)、T
(VP1、VP3、VP5) (k)…T(VP0、VP2、VP5)、T(VP0、
VP5、VP2)、T(VP2、VP5、VP7)、T
(VP2、VP7、VP5) (l)…T(VP0、VP7、VP1)、T(VP0、
VP1、VP5)、T(VP0、VP5、VP7)、T
(VP1、VP7、VP5) (m)…T(VP1、VP5、VP4)、T(VP1、
VP2、VP5)、T(VP1、VP4、VP2)、T
(VP2、VP4、VP5) (n)…T(VP0、VP3、VP5)、T(VP0、
VP6、VP3)、T(VP0、VP5、VP6)、T
(VP3、VP6、VP5) (o)…T(VP1、VP4、VP3)、T(VP1、
VP3、VP5)、T(VP1、VP5、VP4)、T
(VP3、VP4、VP5) (p)…T(VP0、VP3、VP1)、T(VP0、
VP1、VP5)、T(VP0、VP5、VP4)、T
(VP0、VP4、VP3)、T(VP1、VP3、V
P5)、T(VP3、VP4、VP5) (q)…T(VP0、VP3、VP1)、T(VP0、
VP1、VP5)、T(VP0、VP6、VP3)、T
(VP0、VP5、VP6)、T(VP1、VP3、V
P5)、T(VP3、VP6、VP5) (r)…T(VP1、VP2、VP3)、T(VP1、
VP5、VP2)、T(VP1、VP3、VP5)、T
(VP2、VP5、VP6)、T(VP2、VP6、V
P3)、T(VP3、VP6、VP5) (s)…T(VP0、VP3、VP1)、T(VP0、
VP1、VP5)、T(VP0、VP7、VP3)、T
(VP0、VP5、VP4)、T(VP0、VP4、V
P7)、T(VP1、VP3、VP5)、T(VP3、
VP7、VP5)、T(VP4、VP5、VP7) (t)…T(VP0、VP3、VP1)、T(VP0、
VP1、VP5)、T(VP0、VP6、VP3)、T
(VP0、VP5、VP6)、T(VP1、VP3、V
P5)、T(VP3、VP7、VP5)、T(VP3、
VP6、VP7)、T(VP5、VP7、VP6) (u)…T(VP0、VP3、VP1)、T(VP0、
VP1、VP4)、T(VP0、VP6、VP3)、T
(VP0、VP4、VP6)、T(VP1、VP3、V
P7)、T(VP1、VP7、VP4)、T(VP3、
VP6、VP7)、T(VP4、VP7、VP6) (v)…T(VP0、VP3、VP1)、T(VP0、
VP1、VP5)、T(VP0、VP2、VP3)、T
(VP0、VP4、VP2)、T(VP0、VP5、V
P4)、T(VP1、VP3、VP5)、T(VP2、
VP7、VP3)、T(VP2、VP4、VP7)、T
(VP3、VP7、VP5)、T(VP4、VP5、V
P7) (w)…T(VP0、VP3、VP1)、T(VP0、
VP1、VP5)、T(VP0、VP2、VP3)、T
(VP0、VP4、VP2)、T(VP0、VP5、V
P4)、T(VP1、VP3、VP5)、T(VP2、
VP7、VP3)、T(VP2、VP6、VP7)、T
(VP2、VP4、VP6)、T(VP3、VP7、V
P5)、T(VP4、VP5、VP7)、T(VP4、
VP7、VP6) 例えば、三角パッチ(VP0、VP1、VP2)は、V
P0、VP1、VP2を頂点とする三角パッチを表して
いる。また、VP0、VP1、VP2の順番は、その三
角パッチの向きを表している。(D) No generation. (E) ... not generated. (F)... T (VP1, VP4, VP5), T (VP1,
VP5, VP4) (g)... T (VP0, VP4, VP7), T (VP0,
VP7, VP4) (h)... T (VP2, VP4, VP7), T (VP2,
(VP7, VP4) (i)... T (VP0, VP1, VP5), T (VP0,
VP5, VP1), T (VP0, VP4, VP5), T
(VP0, VP5, VP4) (j)... T (VP0, VP3, VP1), T (VP0,
VP1, VP5), T (VP0, VP5, VP3), T
(VP1, VP3, VP5) (k)... T (VP0, VP2, VP5), T (VP0,
VP5, VP2), T (VP2, VP5, VP7), T
(VP2, VP7, VP5) (1)... T (VP0, VP7, VP1), T (VP0,
VP1, VP5), T (VP0, VP5, VP7), T
(VP1, VP7, VP5) (m)... T (VP1, VP5, VP4), T (VP1,
VP2, VP5), T (VP1, VP4, VP2), T
(VP2, VP4, VP5) (n)... T (VP0, VP3, VP5), T (VP0,
VP6, VP3), T (VP0, VP5, VP6), T
(VP3, VP6, VP5) (o) ... T (VP1, VP4, VP3), T (VP1,
VP3, VP5), T (VP1, VP5, VP4), T
(VP3, VP4, VP5) (p) ... T (VP0, VP3, VP1), T (VP0,
VP1, VP5), T (VP0, VP5, VP4), T
(VP0, VP4, VP3), T (VP1, VP3, V
P (5), T (VP3, VP4, VP5) (q)... T (VP0, VP3, VP1), T (VP0,
VP1, VP5), T (VP0, VP6, VP3), T
(VP0, VP5, VP6), T (VP1, VP3, V
P5), T (VP3, VP6, VP5) (r)... T (VP1, VP2, VP3), T (VP1,
VP5, VP2), T (VP1, VP3, VP5), T
(VP2, VP5, VP6), T (VP2, VP6, V
P (3), T (VP3, VP6, VP5) (s) ... T (VP0, VP3, VP1), T (VP0,
VP1, VP5), T (VP0, VP7, VP3), T
(VP0, VP5, VP4), T (VP0, VP4, V
P7), T (VP1, VP3, VP5), T (VP3,
VP7, VP5), T (VP4, VP5, VP7) (t)... T (VP0, VP3, VP1), T (VP0,
VP1, VP5), T (VP0, VP6, VP3), T
(VP0, VP5, VP6), T (VP1, VP3, V
P5), T (VP3, VP7, VP5), T (VP3,
VP6, VP7), T (VP5, VP7, VP6) (u)... T (VP0, VP3, VP1), T (VP0,
VP1, VP4), T (VP0, VP6, VP3), T
(VP0, VP4, VP6), T (VP1, VP3, V
P7), T (VP1, VP7, VP4), T (VP3,
VP6, VP7), T (VP4, VP7, VP6) (v) ... T (VP0, VP3, VP1), T (VP0,
VP1, VP5), T (VP0, VP2, VP3), T
(VP0, VP4, VP2), T (VP0, VP5, V
P4), T (VP1, VP3, VP5), T (VP2,
VP7, VP3), T (VP2, VP4, VP7), T
(VP3, VP7, VP5), T (VP4, VP5, V
P7) (w)... T (VP0, VP3, VP1), T (VP0,
VP1, VP5), T (VP0, VP2, VP3), T
(VP0, VP4, VP2), T (VP0, VP5, V
P4), T (VP1, VP3, VP5), T (VP2,
VP7, VP3), T (VP2, VP6, VP7), T
(VP2, VP4, VP6), T (VP3, VP7, V
P5), T (VP4, VP5, VP7), T (VP4,
VP7, VP6) For example, the triangular patches (VP0, VP1, VP2)
This represents a triangular patch having vertices P0, VP1, and VP2. The order of VP0, VP1, and VP2 indicates the direction of the triangular patch.
【0021】上記のように論理的六面体36において属
性値が1のボクセルデータ35の数が3個以上の場合に
のみ三角パッチ37を生成するようにする。三角パッチ
37の発生のさせ方は論理的六面体36内においてでき
るだけ属性値が1のボクセルデータ35間で閉じた多面
体を構成するように三角パッチ37を生成する。生成さ
れる三角パッチ37の各頂点は、セルパターン認識部4
において対応づけられたボクセルデータ群VGの各ボク
セルデータが持つ平均レンジデータが用いられる。この
ようにセルパターン認識部4で生成されたボクセルデー
タ群VGの照合パターンに従って三角パッチ37が生成
される。しかし、生成された閉じた多面体同士が酸化k
パッチを境界にして隣接する場合、境界の三角パッチは
他の三角パッチにより隠れてしまう。図11はそのよう
な状態になる場合の例を示している。図11では隣接す
る2個のボクセルデータ群VGのパターンが(j)と
(l)の場合であり、隠蔽三角パッチ43により境界を
なしている。以下、そのような三角パッチを削除する処
理について説明する。上記に述べた隠れる三角パッチが
発生するのは、互いに隣接しているボクセルデータ群V
Gのパターンがそれぞれ、 (j), (l), (m), (o), (p), (q), (r), (s), (t), (u),
(v), (w) の内のいずれかの場合のみである。互いに隣接している
ボクセルデータ群VGのそれぞれのパターンがいずれも
上記の12パターンの内であり、かつ、互いに隣接して
いるボクセルデータ群VGの隣接面に存在するボクセル
データ群VSのパターンが図8の(e)または(f)の
場合においては、そのボクセルデータ群VS内のみで生
成される三角パッチを削除する。ボクセルデータ群VG
に付随するボクセルデータ群VSのパターンは、既にセ
ルパターン認識部4により認識処理が行なわれ照合パタ
ーンデータが図8のパターン(e)または(f)である
かを判定することは容易である。上記のような処理を行
なうことにより、すべてのボクセルデータ群VGから生
成した三角パッチから他の複数の三角パッチにより完全
に隠れてしまう三角パッチを取り除く。また、図12に
示すように互いに隣接するボクセルデータ群VGのそれ
ぞれのパターンが(f)と(f)のような場合、それぞ
れのボクセルデータ群VGにより重複三角パッチ48を
2個生成してしまうので、余分なデータが増えてしま
う。このような状況は、隣接するボクセルデータ群VG
のそれぞれのパターンが(i)と(i)の場合にも発生
する。このように余分な三角パッチを発生させる場合、
一方のボクセルデータ群により発生させられた三角パッ
チを削除するような処理を行なう。以上のように、パッ
チ生成部5ではセルパターン認識部4で認識されたボク
セルデータ群VG、VSのパターンに基づき、被測定物
体の表面形状を復元する三角パッチを生成する。As described above, the triangular patch 37 is generated only when the number of the voxel data 35 having the attribute value 1 in the logical hexahedron 36 is three or more. The triangular patch 37 is generated such that a triangular patch 37 is formed in the logical hexahedron 36 so as to form a closed polyhedron between voxel data 35 having attribute values of 1 as much as possible. Each vertex of the generated triangular patch 37 is stored in the cell pattern recognition unit 4.
Is used, the average range data of each voxel data of the voxel data group VG associated with. Thus, the triangular patch 37 is generated according to the collation pattern of the voxel data group VG generated by the cell pattern recognition unit 4. However, the generated closed polyhedra are oxidized k
When the patches are adjacent with the boundary as a boundary, the triangular patch at the boundary is hidden by other triangular patches. FIG. 11 shows an example of such a state. FIG. 11 shows a case where the patterns of two adjacent voxel data groups VG are (j) and (l), which are bordered by the concealed triangular patch 43. Hereinafter, a process of deleting such a triangular patch will be described. The hidden triangular patches described above occur because of the voxel data group V adjacent to each other.
G patterns are (j), (l), (m), (o), (p), (q), (r), (s), (t), (u),
Only in any of (v) and (w). Each of the patterns of the voxel data group VG adjacent to each other is within the above 12 patterns, and the pattern of the voxel data group VS existing on the adjacent surface of the voxel data group VG adjacent to each other is shown in FIG. In the case of (e) or (f) of FIG. 8, the triangular patch generated only in the voxel data group VS is deleted. Voxel data group VG
The pattern of the voxel data group VS attached to is already recognized by the cell pattern recognizing unit 4 and it is easy to determine whether the collation pattern data is the pattern (e) or (f) in FIG. By performing the processing as described above, the triangular patches completely hidden by the other triangular patches are removed from the triangular patches generated from all the voxel data groups VG. Further, as shown in FIG. 12, when the respective patterns of the voxel data groups VG adjacent to each other are as shown in (f) and (f), two overlapping triangular patches 48 are generated by each voxel data group VG. Therefore, extra data increases. Such a situation occurs when the adjacent voxel data group VG
Also occurs when the respective patterns are (i) and (i). To generate extra triangular patches like this,
A process is performed to delete a triangular patch generated by one voxel data group. As described above, the patch generation unit 5 generates a triangular patch for restoring the surface shape of the measured object based on the patterns of the voxel data groups VG and VS recognized by the cell pattern recognition unit 4.
【0022】形状データ6は、パッチ発生部5の処理に
より生成された被測定物体の表面形状を復元する三角パ
ッチデータである。ここで三角パッチ発生部5の、不要
な三角パッチの削除処理の他の例を説明する。The shape data 6 is triangular patch data for restoring the surface shape of the measured object generated by the processing of the patch generator 5. Here, another example of the unnecessary triangular patch deletion processing of the triangular patch generation unit 5 will be described.
【0023】論理的六面体において閉じた多面体を生成
する本発明の性質上、パッチ発生部5が図13のよう
に、ある三角パッチの辺70に隣接して複数の三角パッ
チ71〜74を生成させるなど被測定物体上の表面にお
いて厚みのある面(図14の被測定物体53上の表面を
反映する表面54と冗長な内面である非表面55)を生
成してしまう。そこで、冗長な三角パッチを削除する処
理をパッチ発生部5に加える。隣接するパッチ間の向き
が同調するようにパッチ間を連結し、不適当なパッチは
削除するものである。ここで、図15を用いて間の向き
が同調している意味を説明する。三角パッチtr[p], tr
[q]は、vrtx[a] とvrtx[c] から成るline[s] を共有す
る。このときtr[p], tr[q]は、隣接するという。また、
tr[[p], ts[q] はそれぞれ向き(vrtx[a] →vrtx[b] →
vrtx[c] ),(vrtx[a] →vrtx[c] →vrtx[d] )を持
つ。パッチ間の向きが同調しているということは、隣接
するパッチの向きが共有する辺において互いに逆を向い
ていることを意味する。図15の場合には、共有する辺
line[s] においてtr[p], ts[q]の向きはそれぞれ(vrtx
[c] →vrtx[a] ),(vrtx[a] →vrtx[c] )となり互い
に逆方向を向いているので、tr[p], tr[q]は向きが同調
している。パッチの向きはパッチを構成する頂点の順番
で表され、すなわちこれはパッチの法線ベクトルの向き
を決定するので、パッチ間の法線ベクトルの向きを揃え
ることになる。また、1個のパッチに複数のパッチが隣
接する場合がある。再構成される形状は各三角パッチの
各辺に対して最大1個の三角パッチが連結されるべきな
ので、複数個隣接する場合は適切なパッチを1個連結、
又は適切なパッチが存在しないときは連結しないように
する。図16(a)は、tr[p] にtr[q], tr[r]の2個の
パッチが隣接する場合を示したもので、tr[q], tr[r]
は、tr[p] に対して向きが同調している。そこで、tr
[q],tr[r]のうちのいずれか1個のパッチをtr[p] に連
結させる。図16(b)は、図16(a)を1次元的に
示したものである。tr[p] とtr[q], tr[r]がなす角度を
それぞれθq,θrとすると、θq>θrのときtr[r]
をtr[p] に連結する。Due to the nature of the present invention for generating a closed polyhedron in a logical hexahedron, the patch generator 5 generates a plurality of triangular patches 71 to 74 adjacent to a side 70 of a triangular patch as shown in FIG. For example, a thick surface (a surface 54 that reflects the surface on the measured object 53 and a non-surface 55 that is a redundant inner surface) is generated on the surface of the measured object. Therefore, a process of deleting a redundant triangular patch is added to the patch generator 5. Patches are connected so that the directions between adjacent patches are synchronized, and inappropriate patches are deleted. Here, the meaning of the synchronization between the directions will be described with reference to FIG. Triangular patch tr [p], tr
[q] shares a line [s] consisting of vrtx [a] and vrtx [c]. At this time, tr [p] and tr [q] are said to be adjacent. Also,
tr [[p] and ts [q] are oriented (vrtx [a] → vrtx [b] →
vrtx [c]) and (vrtx [a] → vrtx [c] → vrtx [d]). The fact that the directions between the patches are synchronized means that the directions of the adjacent patches are opposite to each other on the shared side. In the case of FIG. 15, the side to be shared
In line [s], the directions of tr [p] and ts [q] are (vrtx
[c] → vrtx [a]) and (vrtx [a] → vrtx [c]), which are opposite to each other, so that the directions of tr [p] and tr [q] are synchronized. The direction of the patch is represented by the order of the vertices constituting the patch, that is, since it determines the direction of the normal vector of the patch, the direction of the normal vector between the patches is aligned. Further, a plurality of patches may be adjacent to one patch. In the reconstructed shape, at most one triangular patch should be connected to each side of each triangular patch, so if two or more are adjacent, one appropriate patch is connected,
Or, if there is no appropriate patch, do not connect. FIG. 16A shows a case where two patches tr [q] and tr [r] are adjacent to tr [p], and tr [q] and tr [r].
Is aligned with tr [p]. So, tr
One of the patches [q] and tr [r] is connected to tr [p]. FIG. 16B is a one-dimensional view of FIG. 16A. If the angles formed by tr [p] and tr [q], tr [r] are θq and θr, respectively, then tr [r] when θq> θr
Is concatenated with tr [p].
【0024】図17は、最終データアを生成する処理の
フローチャートを示している。処理の手順はまず、正し
いと思われる初期パッチを1個決め連結元パッチとする
(ステップ201)。初期パッチは、次の関数fを最大
にするような三角パッチtr[p] とする。ただし、tr[p]
の3頂点をv0 ,v1 ,v2 とする。FIG. 17 shows a flowchart of a process for generating the final data. In the processing procedure, first, one initial patch that is considered to be correct is determined as a connection source patch (step 201). The initial patch is a triangular patch tr [p] that maximizes the following function f. Where tr [p]
Are defined as v 0 , v 1 , and v 2 .
【0025】[0025]
【数1】 関数fは、3頂点の座標値がx、y軸方向の座標値がで
きるだけ0に近く、z軸方向の座標値ができるだけ大き
くなるような三角パッチに対して大きな値をとる。これ
は、レンジファインダからできるだけ近くまたxy平面
上の原点すなわち被測定物体の重心付近の領域にあるパ
ッチは観測時におけるオクルージョンの影響を受けづら
く、形状を再構成するにおいて信頼できるパッチである
という考えに基づいている(ただし、統合座標系を上記
の考えに当てはまる様に設定する)。関数fを用いて求
めた連結元パッチに隣接するパッチのうち連結元パッチ
と向きが同調するものが存在するとき上記で述べたよう
に適切なパッチを連結元パッチに連結する(ステップ2
02〜205)。同調するパッチが存在しないときは、
パッチは連結されない。この連結処理を連結元パッチの
3辺すべてに対して行なう(ステップ206)。連結元
パッチの3辺に対して以上の処理が終ると、連結されて
いて連結処理が行なわれていない辺があるパッチを連結
元パッチとする(ステップ207)。そして、この連結
元パッチの連結されていない辺に対して連結処理を行な
う。このような処理を連結されていて連結処理が行なわ
れていない辺を持つパッチが無くなるまで再帰的に繰り
返す。よって、最終的にどのパッチにも連結されなかっ
たパッチは不適切なものとして削除される。(Equation 1) The function f takes a large value for a triangular patch in which the coordinate values of the three vertices are as close to 0 as possible in the x and y axis directions and as large as possible in the z axis direction. This is because patches located as close as possible to the rangefinder and at the origin on the xy plane, that is, in the area near the center of gravity of the measured object are less likely to be affected by occlusion during observation, and are reliable patches in reconstructing the shape. (However, the integrated coordinate system is set so as to apply to the above idea). When there is a patch adjacent to the source patch obtained by using the function f and having the same direction as the source patch, an appropriate patch is connected to the source patch as described above (step 2).
02-205). If there is no synchronizing patch,
Patches are not linked. This connection process is performed on all three sides of the connection source patch (step 206). When the above processing is completed for the three sides of the connection source patch, a patch that is connected and has a side that has not been subjected to the connection processing is set as a connection source patch (step 207). Then, a connection process is performed on the unconnected side of the connection source patch. Such processing is recursively repeated until there is no patch having a side that is connected and has not been connected. Therefore, a patch that is not finally linked to any patch is deleted as inappropriate.
【0026】得られたレンジデータが被測定物体の表面
全体をカバーしていれば、上記の処理を行なうことによ
り、表面形状を再構成する閉じた三角パッチ群を生成で
きる。しかし、観測が不十分のために得られたレンジデ
ータが表面全体をカバーしきってない場合には、正しい
三角パッチ群を得ることができない。図18は、一連の
処理の様子を2次元で表したものである。図18(a)
は、被測定物体の表面56を線分で示したものである。
図18(a)の被測定物体を複数方向から観測し、パッ
チを生成したのが図18(b),(c)である。実線は
表面パッチ57を、破線は非表面パッチ58を示してい
る。未観測領域が生じないように観測が行なわれたと
き、ボクセルデータVGの照合パターンにより生成され
る三角パッチ群は図18(b)のようになる。表面パッ
チ57と非表面パッチ58が分離しているので上記で述
べたパッチの連結処理により図18(d)のように物体
の形状を再構成できる。図18(c)は、被測定物体の
上部において未観測領域が生じた場合にボクセルデータ
VGの照合パターンにより生成される三角パッチ群を示
している。このとき表面パッチ57と非表面パッチ58
は隣接しているので、パッチの連結処理を行なっても非
表面パッチを削除できず、最終的に生成される最終三角
パッチ59は図18(e)のように物体表面以外のパッ
チ群も含んだものとなる。If the obtained range data covers the entire surface of the object to be measured, a closed triangular patch group for reconstructing the surface shape can be generated by performing the above processing. However, if the range data obtained does not cover the entire surface due to insufficient observation, a correct group of triangular patches cannot be obtained. FIG. 18 shows a state of a series of processing in two dimensions. FIG. 18 (a)
Shows the surface 56 of the measured object by a line segment.
FIGS. 18 (b) and 18 (c) show the measured object shown in FIG. 18 (a) from a plurality of directions and generate patches. The solid line indicates the surface patch 57, and the dashed line indicates the non-surface patch 58. When observation is performed so that an unobserved area does not occur, a triangular patch group generated by the matching pattern of the voxel data VG is as shown in FIG. Since the surface patch 57 and the non-surface patch 58 are separated, the shape of the object can be reconstructed as shown in FIG. FIG. 18C shows a group of triangular patches generated based on the collation pattern of the voxel data VG when an unobserved region occurs above the measured object. At this time, the surface patch 57 and the non-surface patch 58
Are adjacent to each other, the non-surface patch cannot be deleted even if the patch connection processing is performed, and the finally generated final triangular patch 59 includes a patch group other than the object surface as shown in FIG. It will be.
【0027】そこで、物体表面以外のパッチ群の連結を
避けるために隣接する表面パッチと非表面パッチ間の稜
線を表面パッチ境界線とすることにより、連結が非表面
パッチに及ばないようにする。表面パッチ境界線の指定
はボクセルデータVGの照合パターンにより生成される
三角パッチ群を表示し、オペレータが表面パッチ境界線
と思われる三角パッチの辺を表示画面上で指定すること
で達成される。表面パッチ境界線は未観測領域と観測領
域との間の境界を示すものなので、必ず閉じた線分とし
なければならない。もし、指定が不十分で開いた線分だ
と表面パッチ境界線が指定されていない隣接する表面パ
ッチと非表面パッチが生じ、表面パッチと非表面パッチ
が連結されてしまう。したがって、表面パッチ境界線が
閉じた図形となっているかを指定された境界線を追跡し
て判別し、作業が完了したか否かをオペレータに表示、
または音声などで知らせる。このように指定された表面
パッチ境界線は、最終データの生成処理における隣接パ
ッチとの同調性チェックの際に連結元パッチのある辺が
表面パッチ境界線であるとき、その辺に対しては同調す
るパッチは無いものとしてパッチの連結は行なわない。
図19は、立方体を観測した際に未観測領域60が発生
した場合を示している。立方体を観測したとき未観測領
域60が図19(a)のように上部の面に生じた場合、
図19(b)の太線で示した表面パッチ境界線61を表
面パッチ62と非表面パッチ群63の境界として指定す
る。このように指定を行なった三角パッチ群に対して上
記述べた連結処理を施すと図19(c)に示すように表
面パッチのみで構成される三角パッチ群が生成される。
以上、未観測領域が生じたときでも被測定物体の形状を
復元できる。Therefore, in order to avoid the connection of a group of patches other than the object surface, the ridgeline between the adjacent surface patch and the non-surface patch is set as the surface patch boundary line, so that the connection does not extend to the non-surface patch. The designation of the surface patch boundary is achieved by displaying a group of triangular patches generated by the collation pattern of the voxel data VG, and specifying the sides of the triangle patch considered to be the surface patch boundary on the display screen. Since the surface patch boundary indicates the boundary between the unobserved area and the observed area, it must be a closed line segment. If an open segment is insufficiently specified, an adjacent surface patch and a non-surface patch for which a surface patch boundary is not specified are generated, and the surface patch and the non-surface patch are connected. Therefore, it is determined whether the surface patch boundary line is a closed figure by tracing the specified boundary line, and displaying to the operator whether the work is completed,
Or notify by voice. The surface patch boundary line specified in this way is tuned to the side where the connected source patch is located at the surface patch boundary line during the synchronism check with the adjacent patch in the final data generation process. No patch connection is performed assuming that there is no patch to be performed.
FIG. 19 shows a case where an unobserved region 60 occurs when a cube is observed. When an unobserved area 60 is formed on the upper surface as shown in FIG. 19A when the cube is observed,
A surface patch boundary 61 indicated by a bold line in FIG. 19B is designated as a boundary between the surface patch 62 and the non-surface patch group 63. When the above-described connection processing is performed on the triangular patch group specified in this way, a triangular patch group consisting only of surface patches is generated as shown in FIG.
As described above, even when an unobserved region occurs, the shape of the measured object can be restored.
【0028】なお、本発明は、以上説明した実施例に限
定されるものではない。例えば、データ蓄積部3の処理
に関して、上述においてはボクセルデータV(i、j、
k)に対応づけられた複数の内部レンジデータの座標値
間を単に平均して求められた座標値を平均レンジデータ
としてボクセルデータV(i、j、k)に対応づけだ
が、座標値間の重み付け平均値を平均レンジデータとし
てボクセルデータV(i、j、k)に対応づけることも
可能である。以下、その方法を説明する。データ入力部
1に入力される観測レンジデータをr0、r1、...
とすると各観測レンジデータが観測された際のレンジフ
ァインダの観測位置とレンジデータとの距離をそれぞれ
観測距離d0、d1、...とする。このような観測距
離を保持する観測レンジデータをデータ入力部1に入力
する。この時、データ蓄積部3においてボクセルデータ
V(i、j、k)に内部レンジデータra、rb、rc
が対応づけられたとする。また、内部レンジデータr
a、rb、rcの3次元座標値をそれぞれpa、pb、
pcとし、観測距離はそれぞれda、db、dcであ
る。各内部レンジデータの重みづけ値をそれぞれwt
(a)、wt(b)、wt(c)とし、それぞれを次の
ように定義する。The present invention is not limited to the embodiment described above. For example, regarding the processing of the data storage unit 3, in the above description, the voxel data V (i, j,
The coordinate values obtained by simply averaging the coordinate values of the plurality of internal range data associated with k) are associated with the voxel data V (i, j, k) as the average range data. The weighted average value can be associated with the voxel data V (i, j, k) as average range data. Hereinafter, the method will be described. The observation range data input to the data input unit 1 is represented by r0, r1,. . .
Then, the distance between the observation position of the range finder and the range data when each observation range data is observed is defined as the observation distances d0, d1,. . . And The observation range data holding such an observation distance is input to the data input unit 1. At this time, the voxel data V (i, j, k) is stored in the data storage unit 3 as the internal range data ra, rb, rc.
Is assumed to be correlated. Also, the internal range data r
The three-dimensional coordinate values of a, rb, and rc are respectively pa, pb,
pc, and the observation distances are da, db, and dc, respectively. Weight value of each internal range data is wt
(A), wt (b), and wt (c), which are defined as follows.
【0029】[0029]
【数2】 ただし、da>db>dcとする。よって、観測距離が
小さい値であるほど観測レンジデータの信頼性が高いも
のとして、観測距離が小さい値であると内部レンジデー
タほど大きな重み付けを行なう。平均レンジデータの3
次元座標値peは、(Equation 2) However, da>db> dc. Therefore, the smaller the observation distance is, the higher the reliability of the observation range data is. The smaller the observation distance is, the larger the weight is assigned to the internal range data. Average range data 3
The dimensional coordinate value pe is
【0030】[0030]
【数3】 で与えられる。したがって、データ処理部3において、
平均レンジデータの3次元座標値を各観測レンジデータ
に重み付けを行なうことにより求める方法も本発明に含
まれる。(Equation 3) Given by Therefore, in the data processing unit 3,
A method of obtaining the three-dimensional coordinate value of the average range data by weighting each observation range data is also included in the present invention.
【0031】また、上記で述べた実施例では、ボクセル
データへの対応づけを単に観測されたレンジデータがボ
クセルデータV(i、j、k)の内部に存在するか否か
により行なったが、この方法に限定されるものでは無
い。別の方法を以下に説明する。ある方向からのレンジ
データを、その点列間の幾何的位相関係が既知になるよ
うに観測されたものとする。例えば、図20のように横
方向にi=0、1、2…縦方向にj=0、1、2、…と
幾何的に被測定物体上の隣接点を観測するようにする。
このときある観測方向θのレンジデータにおいて各点列
間の幾何的位相関係は既知となり、図21のように三角
パッチを発生することができる。すなわち、(i、j)
番目、(i+1、j)番目、(i+1、j+1)番目、
(i、j+1)番目に観測された隣接する4個の点列か
ら三角パッチを発生させる。このように各方向について
観測されたレンジデータから三角パッチを発生させたデ
ータをデータ入力部1に入力する。以上のように入力さ
れたデータによるデータ蓄積部3における処理は、次の
ようにする。ボクセルデータへの対応づけは上記で発生
させた三角パッチとボクセルデータの空間的交差を調
べ、ある三角パッチがボクセルデータV(i、j、k)
と交差していると判断されるとボクセルデータV(i、
j、k)にその三角パッチを対応付ける。対応づけが行
なわれたボクセルデータV(i、j、k)は、平均レン
ジデータとしてボクセルデータV(i、j、k)の六面
体の8頂点の重心点が対応づけられる。このようにボク
セルデータへの対応づけを三角パッチで行なうことによ
りレンジデータがボクセルの解像度より低い場合でも穴
の生じない形状データを生成することができ、その利便
性が一層向上する。Further, in the above-described embodiment, the correspondence to the voxel data is performed simply based on whether or not the observed range data exists inside the voxel data V (i, j, k). It is not limited to this method. Another method is described below. It is assumed that range data from a certain direction is observed so that the geometric phase relationship between the point sequences becomes known. For example, as shown in FIG. 20, adjacent points on the measured object are geometrically observed such that i = 0, 1, 2,..., J = 0, 1, 2,.
At this time, the geometric phase relationship between the point sequences in the range data in a certain observation direction θ is known, and a triangular patch can be generated as shown in FIG. That is, (i, j)
Th, (i + 1, j) th, (i + 1, j + 1) th,
A triangular patch is generated from the (i, j + 1) -th observed four adjacent point sequences. Data in which a triangular patch is generated from the range data observed in each direction as described above is input to the data input unit 1. The processing in the data storage unit 3 based on the data input as described above is as follows. The correspondence to the voxel data is determined by examining the spatial intersection between the triangular patch generated above and the voxel data, and a certain triangular patch is converted to the voxel data V (i, j, k).
And voxel data V (i,
j, k) is associated with the triangular patch. The associated voxel data V (i, j, k) is associated with the center of gravity of the eight vertices of the hexahedron of the voxel data V (i, j, k) as average range data. By associating the voxel data with the triangular patches in this manner, even when the range data is lower than the resolution of the voxel, shape data without holes can be generated, and the convenience is further improved.
【0032】[0032]
【発明の効果】本発明によれば、被測定物体を観測して
得られた3次元座標値を、幾何的位相関係が既知である
各ボクセルデータに対応付けることにより、被測定物体
の表面の形状データを作成できる。従って従来では必要
とされていた3次元座標値の測定順序の制約を取り除く
ことができると共に、複雑な形状の物体に対しても高精
度に表面の形状データを得ることができる。更にボクセ
ルデータの大きさを任意に変えることにより、観測した
3次元座標値を忠実に反映した高解像度形状データから
データ量の少ない低解像度形状データまで所望の精度の
形状データを作成できる。According to the present invention, the three-dimensional coordinate value obtained by observing the object to be measured is associated with each voxel data whose geometrical phase relationship is known, whereby the shape of the surface of the object to be measured is obtained. Can create data. Therefore, it is possible to remove the restriction on the measurement order of the three-dimensional coordinate values, which is conventionally required, and to obtain surface shape data with high accuracy even for an object having a complicated shape. Furthermore, by arbitrarily changing the size of the voxel data, it is possible to create shape data with desired accuracy from high-resolution shape data that faithfully reflects the observed three-dimensional coordinate values to low-resolution shape data with a small amount of data.
【図1】 本発明の実施例の概略構成図。FIG. 1 is a schematic configuration diagram of an embodiment of the present invention.
【図2】 本発明の実施例の処理内容を説明した図。FIG. 2 is a view for explaining processing contents of an embodiment of the present invention.
【図3】 本発明の実施例の処理フローチャート。FIG. 3 is a processing flowchart according to the embodiment of the present invention.
【図4】 本発明の実施例によるデータ入力部の処理内
容を説明した図。FIG. 4 is a view for explaining processing contents of a data input unit according to the embodiment of the present invention.
【図5】 本発明の実施例によるセル発生部の処理内容
を説明した図。FIG. 5 is a view for explaining processing contents of a cell generation unit according to the embodiment of the present invention.
【図6】 本発明の実施例によるデータ蓄積部の処理内
容を説明した図。FIG. 6 is a view for explaining processing contents of a data storage unit according to the embodiment of the present invention.
【図7】 8隣接ボクセルデータを説明した図。FIG. 7 is a view for explaining eight adjacent voxel data.
【図8】 隣接ボクセルデータ群VSの各ボクセルデー
タの属性値によるパターンを示す図。FIG. 8 is a diagram showing a pattern based on attribute values of each voxel data of an adjacent voxel data group VS.
【図9】 隣接ボクセルデータ群VGの各ボクセルデー
タの属性値によるパターンを示す図。FIG. 9 is a view showing a pattern based on attribute values of each voxel data of an adjacent voxel data group VG.
【図10】 図9の各パターンに対応して発生させる三
角パッチを示す図。FIG. 10 is a view showing triangular patches generated corresponding to each pattern of FIG. 9;
【図11】 他の三角パッチにより隠れる三角パッチが
発生する状態を示す図。FIG. 11 is a diagram illustrating a state in which a triangular patch hidden by another triangular patch occurs.
【図12】 重複三角パッチが発生する状態を示す図。FIG. 12 is a diagram illustrating a state in which an overlapping triangular patch occurs.
【図13】 複数の三角パッチが隣接する状況を示す
図。FIG. 13 is a diagram showing a situation where a plurality of triangular patches are adjacent to each other.
【図14】 厚みのある面の生成例を示す図。FIG. 14 is a diagram showing a generation example of a thick surface.
【図15】 三角パッチ間の向きに関する同調性を示す
図。FIG. 15 is a diagram showing tunability with respect to the orientation between triangular patches.
【図16】 三角パッチ間の連結処理を説明した図。FIG. 16 is a view for explaining a connection process between triangular patches.
【図17】 三角パッチに対する連結処理のフローチャ
ート。FIG. 17 is a flowchart of a connection process for a triangular patch.
【図18】 未観測領域が生じたときのパッチ発生を説
明した図。FIG. 18 is a diagram illustrating patch generation when an unobserved region occurs.
【図19】 未観測領域が生じた場合に連結処理を行な
ったときのパッチ発生例を示す図。FIG. 19 is a diagram showing an example of patch generation when a connection process is performed when an unobserved region occurs.
【図20】 幾何的に測定された3次元座標値を示す
図。FIG. 20 is a diagram showing three-dimensional coordinate values measured geometrically.
【図21】 図20の3次元座標値から三角パッチを発
生した状態を示す図。FIG. 21 is a diagram illustrating a state where a triangular patch is generated from the three-dimensional coordinate values of FIG. 20;
【図22】 従来の形状復元方法を示す図。FIG. 22 is a diagram showing a conventional shape restoration method.
1…データ入力部 2…セル発生部 3…データ蓄積部 4…セルパターン認識部 5…パッチ発生部 6…形状データ 7,14,15,20…観測レンジデータ 8,18,19,23,24,25…ボクセルデータ 9…三角パッチデータ 10,11,12,49…レンジファインダ 13,50,53…被測定物体 16…観測レジデータ包含空間 17…観測レンジデータ包含空間頂点 21…内部レンジデータ 22…平均レンジデータ 26,33,36,40,41,46,47…論理的六
面体 28,31,34,38,44…属性値0のボクセルデ
ータ 29,32,35,39,45…属性値1のボクセルデ
ータ 30…論理的四角形 37,42…三角パッチ 43…隠蔽三角パッチ 48…重複三角パッチDESCRIPTION OF SYMBOLS 1 ... Data input part 2 ... Cell generation part 3 ... Data storage part 4 ... Cell pattern recognition part 5 ... Patch generation part 6 ... Shape data 7, 14, 15, 20 ... Observation range data 8, 18, 19, 23, 24 , 25 ... Voxel data 9 ... Triangle patch data 10, 11, 12, 49 ... Range finder 13, 50, 53 ... Object to be measured 16 ... Observation register data inclusion space 17 ... Observation range data inclusion space Vertex 21 ... Internal range data 22 ... average range data 26, 33, 36, 40, 41, 46, 47 ... logical hexahedron 28, 31, 34, 38, 44 ... voxel data with attribute value 0 29, 32, 35, 39, 45 ... attribute value 1 Voxel data 30 ... logical square 37, 42 ... triangle patch 43 ... concealed triangle patch 48 ... overlapping triangle patch
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 中嶋正之,ボリュームレンダリングに ついて,電子情報通信学会技術研究報 告,日本,社団法人電子情報通信学会, 1991年12月20日,Vol.91,No. 400,p.1〜8 (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 315 G06T 15/00 200 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References Masayuki Nakajima, Volume Rendering, IEICE Technical Report, Japan, The Institute of Electronics, Information and Communication Engineers, December 20, 1991, Vol. 91, No. 400, p. 1-8 (58) Field surveyed (Int. Cl. 7 , DB name) G06T 1/00 315 G06T 15/00 200
Claims (8)
入力するためのデータ入力部と、このデータ入力部より
入力された全ての3次元座標値を完全に覆う空間を格子
状に分割したボクセルデータを作成するセル発生部と、
このセル発生部により作成された各ボクセルデータに対
し該当する前記3次元座標値を用いて夫々1個のレンジ
データを求めるデータ蓄積部と、3次元的に隣接した所
定数のボクセルデータ毎に夫々のレンジデータに従って
位相幾何学的関係を求めるセルパターン認識部と、この
セルパターン認識部により求められた位相幾何学的関係
に従って前記所定数のボクセルデータ毎に三角パッチを
作成し、この三角パッチ群に対して前記所定数のボクセ
ルデータ同士の隣接面上に位置する不要な三角パッチを
除去して形状データとするパッチ発生部とを具備したこ
とを特徴とする形状復元装置。1. A data input unit for inputting three-dimensional coordinate values of a surface shape of an object to be measured, and a space that completely covers all three-dimensional coordinate values input from the data input unit is divided into a grid. A cell generator for creating the created voxel data,
For each voxel data created by the cell generator, a data storage unit for obtaining one range data using the corresponding three-dimensional coordinate value, and for each of a predetermined number of three-dimensionally adjacent voxel data, respectively. A triangular patch for each of the predetermined number of voxel data in accordance with the topological relationship obtained by the cell pattern recognition unit; And a patch generation unit for removing unnecessary triangular patches located on adjacent surfaces of the predetermined number of voxel data and using the patch data as shape data.
からX軸方向,Y軸方向,Z軸方向夫々について最大値
及び最小値を求め、これら8点を頂点とする空間に対し
X軸方向,Y軸方向,Z軸方向夫々について所定数で分
割することによりボクセルデータを作成するものである
請求項1記載の形状復元装置。2. A cell generation unit calculates a maximum value and a minimum value in each of an X-axis direction, a Y-axis direction, and a Z-axis direction from an input three-dimensional coordinate value. 2. The shape restoring device according to claim 1, wherein the voxel data is created by dividing a predetermined number in each of the axial direction, the Y-axis direction, and the Z-axis direction.
元座標値が1個含まれる場合はこれを対応するレンジデ
ータとし、ボクセルデータに3次元座標値が複数個含ま
れる場合はこの平均座標値を対応するレンジデータと
し、ボクセルデータに3次元座標値が含まれない場合は
対応するレンジデータが無いものとする請求項1記載の
形状復元装置。3. The data accumulating section, when one voxel data includes one three-dimensional coordinate value, sets the voxel data as corresponding range data. When the voxel data includes a plurality of three-dimensional coordinate values, the average coordinate value is used. 2. The shape restoration apparatus according to claim 1, wherein when the voxel data does not include three-dimensional coordinate values, there is no corresponding range data.
ジデータが対応付けられている場合は当該ボクセルデー
タの属性値を1とし、ボクセルデータにレンジデータが
対応付けられていない場合は当該ボクセルデータの属性
値を0とするものである請求項3記載の形状復元装置。4. The data storage unit sets the attribute value of the voxel data to 1 when the range data is associated with the voxel data, and sets the attribute value of the voxel data when the range data is not associated with the voxel data. 4. The shape restoration device according to claim 3, wherein the attribute value is set to 0.
ボクセルデータから成る論理的六面体毎に各ボクセルデ
ータの属性値の組合せに従ってパターン照合するもので
ある請求項4記載の形状復元装置。5. The shape reconstructing apparatus according to claim 4, wherein the cell pattern recognition unit performs pattern matching for each logical hexahedron composed of eight adjacent voxel data in accordance with a combination of attribute values of the respective voxel data.
いて属性値が1のボクセルデータの数が3以上の場合
に、属性値が1の各ボクセルデータ間で閉じた多面体を
構成するように当該ボクセルデータのレンジデータを頂
点とした三角パッチを生成するものである請求項5記載
の形状復元装置。6. The patch generation unit according to claim 1, wherein, when the number of voxel data having the attribute value of 1 is 3 or more in the logical hexahedron, the patch generation unit forms a polyhedron closed between the voxel data having the attribute value of 1. 6. The shape restoring apparatus according to claim 5, wherein a triangular patch having a vertex of the range data of the voxel data is generated.
で三角パッチを境界として且つ当該三角パッチが前記論
理的六面体内の他の三角パッチにより隠れる場合に当該
三角パッチを削除し、或いは前記論理的六面体同士で夫
々の三角パッチが重複した境界として隣接する場合に一
方の三角パッチを削除するものである請求項6記載の形
状復元装置。7. A patch generation unit that deletes the triangular patch if the triangular patch is bounded by another triangular patch between the logical hexahedrons and the triangular patch is hidden by another triangular patch in the logical hexahedron, or 7. The shape restoration device according to claim 6, wherein one of the triangular patches is deleted when each triangular patch is adjacent to each other as an overlapping boundary between the target hexahedrons.
入力するためのデータ入力部と、このデータ入力部より
入力された全ての3次元座標値を完全に覆う空間を格子
状に分割したボクセルデータを作成するセル発生部と、
このセル発生部により作成された各ボクセルデータに対
し該当する前記3次元座標値を用いて夫々1個のレンジ
データを求めるデータ蓄積部と、3次元的に隣接した所
定数のボクセルデータ毎に夫々のレンジデータに従って
位相幾何学的関係を求めるセルパターン認識部と、この
セルパターン認識部により求められた位相幾何学的関係
に従って前記所定数のボクセルデータ毎に三角パッチを
作成し、全ての三角パッチ群において所定の三角パッチ
の各辺に対して1辺を共有すると共に向きが同調した三
角パッチを1個ずつ連結し、連結先の三角パッチの未連
結の辺に対して同様の連結処理を繰り返すことにより、
各辺が未連結の三角パッチを除去するパッチ発生部とを
具備したことを特徴とする形状復元装置。8. A data input unit for inputting three-dimensional coordinate values of the surface shape of the object to be measured, and a space that completely covers all three-dimensional coordinate values input from the data input unit is divided into a grid. A cell generator for creating the created voxel data,
For each voxel data created by the cell generator, a data storage unit for obtaining one range data using the corresponding three-dimensional coordinate value, and for each of a predetermined number of three-dimensionally adjacent voxel data, respectively. A cell pattern recognizing unit for obtaining a topological relationship according to the range data, and forming a triangular patch for each of the predetermined number of voxel data according to the topological relationship obtained by the cell pattern recognizing unit; One side is shared with each side of a predetermined triangular patch in the group, and the triangular patches whose directions are synchronized are connected one by one, and the same connecting process is repeated for the unconnected side of the connected triangular patch. By doing
A patch generation unit for removing a triangular patch whose edges are not connected to each other.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20056693A JP3340198B2 (en) | 1993-08-12 | 1993-08-12 | Shape restoration device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20056693A JP3340198B2 (en) | 1993-08-12 | 1993-08-12 | Shape restoration device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0757089A JPH0757089A (en) | 1995-03-03 |
| JP3340198B2 true JP3340198B2 (en) | 2002-11-05 |
Family
ID=16426458
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20056693A Expired - Fee Related JP3340198B2 (en) | 1993-08-12 | 1993-08-12 | Shape restoration device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3340198B2 (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6545676B1 (en) * | 1999-05-24 | 2003-04-08 | Parametric Technology Corporation | Method and system for creating a tessellated approximation of an outer envelope of a complex model |
| WO2003016031A1 (en) | 2001-08-16 | 2003-02-27 | Riken | Rapid prototyping method and device using v-cad data |
| WO2003048980A1 (en) | 2001-12-04 | 2003-06-12 | Riken | Method for converting 3-dimensional shape data into cell inner data and conversion program |
| JP4320425B2 (en) | 2002-02-28 | 2009-08-26 | 独立行政法人理化学研究所 | Method and program for converting boundary data into in-cell shape |
| JP3967626B2 (en) * | 2002-04-30 | 2007-08-29 | 独立行政法人科学技術振興機構 | Image data compression processing method and image processing apparatus |
| JP4381743B2 (en) | 2003-07-16 | 2009-12-09 | 独立行政法人理化学研究所 | Method and program for generating volume data from boundary representation data |
| JP4783100B2 (en) | 2005-09-12 | 2011-09-28 | 独立行政法人理化学研究所 | Method of converting boundary data into in-cell shape data and its conversion program |
| JP6069923B2 (en) * | 2012-07-20 | 2017-02-01 | セイコーエプソン株式会社 | Robot system, robot, robot controller |
| CN119203287A (en) * | 2024-11-26 | 2024-12-27 | 北京通用人工智能研究院 | Occupancy grid data processing method, device, equipment, medium and program product |
-
1993
- 1993-08-12 JP JP20056693A patent/JP3340198B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
| Title |
|---|
| 中嶋正之,ボリュームレンダリングについて,電子情報通信学会技術研究報告,日本,社団法人電子情報通信学会,1991年12月20日,Vol.91,No.400,p.1〜8 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0757089A (en) | 1995-03-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5175806A (en) | Method and apparatus for fast surface detail application to an image | |
| CN101320473B (en) | Free multi-vision angle, real-time three-dimensional reconstruction system and method | |
| US7257249B2 (en) | Discrete linear space sampling method and apparatus for generating digital 3D models | |
| US6400362B1 (en) | Image processing method and apparatus | |
| US6954212B2 (en) | Three-dimensional computer modelling | |
| CN111932673A (en) | Object space data augmentation method and system based on three-dimensional reconstruction | |
| CN106875462B (en) | A real-time digital organ cutting method based on metasphere model and hybrid drive method | |
| WO2000004506A1 (en) | Method and system for generating fully-textured 3-d models | |
| WO2010004466A1 (en) | Three dimensional mesh modeling | |
| Verbeek et al. | Design and implementation of a database and program for 3D reconstruction from serial sections: A data‐driven approach | |
| US6462740B1 (en) | System for in-scene cloth modification | |
| JP3340198B2 (en) | Shape restoration device | |
| JP2003061936A (en) | Moving three-dimensional model formation apparatus and method | |
| JP3514822B2 (en) | Image processing device | |
| JP2010211732A (en) | Object recognition device and method | |
| Fan et al. | Convex hull aided registration method (CHARM) | |
| Kobbelt et al. | An interactive approach to point cloud triangulation | |
| Hassouna et al. | Virtual fly-over: A new visualization technique for virtual colonoscopy | |
| Kozhekin et al. | An approach to surface retouching and mesh smoothing | |
| JP3013593B2 (en) | Image display method | |
| Stewart et al. | Rebuilding the visible man | |
| JPH05266214A (en) | Picture display method | |
| Bhanu et al. | 3-D model building using CAGD techniques | |
| JPH0935082A (en) | Image processing method and image processing apparatus | |
| Zhang et al. | Repair methods of complex holes in a three-dimensional model based on variation level set |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070816 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080816 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |