JPH06203109A - Method for restoring polygon from there-sided drawing with slack matching method - Google Patents

Method for restoring polygon from there-sided drawing with slack matching method

Info

Publication number
JPH06203109A
JPH06203109A JP5016969A JP1696993A JPH06203109A JP H06203109 A JPH06203109 A JP H06203109A JP 5016969 A JP5016969 A JP 5016969A JP 1696993 A JP1696993 A JP 1696993A JP H06203109 A JPH06203109 A JP H06203109A
Authority
JP
Japan
Prior art keywords
plane
probability
neighboring
candidate
planes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5016969A
Other languages
Japanese (ja)
Other versions
JPH0766401B2 (en
Inventor
Kazuo Toraichi
和男 寅市
Takahiko Horiuchi
隆彦 堀内
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.)
Toraichi Kazuo
Original Assignee
Toraichi Kazuo
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 Toraichi Kazuo filed Critical Toraichi Kazuo
Priority to JP5016969A priority Critical patent/JPH0766401B2/en
Publication of JPH06203109A publication Critical patent/JPH06203109A/en
Publication of JPH0766401B2 publication Critical patent/JPH0766401B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To restore a polygon from a three-sided drawing containing error with less calculated variable concerning the polygon composed of planes. CONSTITUTION:The respective sides of the three-sided drawing are numbered. The coordinate of an apex on a side (i), first adjacent side not on the same plane as this side (i) and second adjacent side with the possibility of connecting this side are extracted. A wire frame model is calculating by oppositely projecting the three-sided drawing, and a number (k) is given to th side with possibility corresponding to the side (i) as a candidate side. The certainty of correspondence to the plural candidate sides (k) of the side (i) is expressed by a probability variable Pik<t>. The candidate side of a first adjacent side (j) of the side (i) is defined as (l), and a first adaptability coefficient to be enlarged when the (l) is non-parallel to the (k) and is separated is defined as rijkl<1>. The candidate side of a second adjacent side (h) of the side (i) is defined as (m) and a second adaptability-coefficient to be enlarged when the candidate (m) is away from a basic side rather than the side (k) while the (i) is a simple plane or a composite plane or when the candidate side (m) is closer from the basic side rather than the side (k) is defined as rijkl<2>. Then, the probability variable Pik<t> is updated by using these coefficients and after the fixed times of repetition, the (k) to apply the maximum probability Pik<t> is defined as the corresponding side of the (i).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は弛緩整合法による三面図
からの多面体復元方法に関する。特に、頂点の座標に誤
差を含むような三面図から少ない計算時間で多面体を復
元することのできる方法である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for restoring a polyhedron from a trihedral view by a relaxation matching method. In particular, it is a method that can restore a polyhedron from a trihedral drawing in which the coordinates of the vertices include an error in a short calculation time.

【0002】三面図というのは、平面図、右側面図、左
側面図、正面図、背面図、底面図の6面図の内互いに直
交する3つの図面を指す。例えば平面図、正面図、右側
面図の組みが三面図の一つの例である。多面体を平面上
に正確に表現する手段として三面図が古くから用いられ
ている。多面体復元というのは、多面体の特徴点であ
る、各面頂点を三次元座標で表現することである。
The three-sided view refers to three drawings which are orthogonal to each other among the six views of the plan view, the right side view, the left side view, the front view, the rear view and the bottom view. For example, a combination of a plan view, a front view, and a right side view is one example of the three views. The trihedral drawing has been used for a long time as a means for accurately expressing a polyhedron on a plane. The polyhedron restoration is to express each surface vertex, which is a feature point of the polyhedron, in three-dimensional coordinates.

【0003】以後説明のために多面体を斜視図で表現す
るが、斜視図にすることが目的ではなく、頂点や辺など
を三次元座標で表現することが目的である。また初めに
三次元的な多面体があり、これを3面に投影して正面
図、平面図、側面図などを作成している。そこで三次元
的な座標を求めて三次元空間での頂点、辺の位置を明ら
かにすることを復元といっている。
For the purpose of explanation, the polyhedron will be expressed in a perspective view, but the purpose is not to make it a perspective view, but to express the vertices and sides in three-dimensional coordinates. First, there is a three-dimensional polyhedron, which is projected onto three surfaces to create a front view, a plan view, a side view, and the like. Therefore, it is called reconstruction to obtain three-dimensional coordinates and clarify the positions of vertices and edges in three-dimensional space.

【0004】三面図を用いる技術分野は機械設計、製
造、建築など極めて広い。これらの技術分野において本
発明は極めて有効である。近年計算機技術が発達するに
つれて、図面蓄積、図面管理、図面検索、立体図形の入
力などのために、三面図から多面体を自動的に復元する
研究が盛んになってきている。本発明はその流れに沿う
ものである。
The technical field of using the three-view drawing is extremely wide such as mechanical design, manufacturing, and construction. The present invention is extremely effective in these technical fields. With the development of computer technology in recent years, researches for automatically restoring a polyhedron from a trihedral drawing have been popular for accumulating drawings, managing drawings, searching drawings, inputting solid figures, and the like. The present invention follows that flow.

【0005】[0005]

【従来の技術】一般に、三面図から多面体を復元するア
ルゴリズムとして以下の3つの過程が考えられている。 三面図(平面図、正面図、側面図)間の対応により、
候補頂点および候補線分からなるワイヤフレ−ムモデル
を作成する。 そして、線分に囲まれた候補平面からなるサ−フィス
モデルを作成する。 最後に中実の立体と等価な三次元形状を表すソリッド
モデルを構成する。
2. Description of the Related Art Generally, the following three processes are considered as an algorithm for restoring a polyhedron from a trihedral view. Depending on the correspondence between the three views (plan view, front view, side view),
A wire frame model composed of candidate vertices and candidate line segments is created. Then, a surface model composed of candidate planes surrounded by line segments is created. Finally, we construct a solid model that represents a three-dimensional shape equivalent to a solid solid.

【0006】この時、候補平面からなるサ−フィスモデ
ルには虚物体が含まれることが知られている。サ−フィ
スモデルから虚物体をどのようにして排除するのかが現
在の研究の主流となっている。虚物体除去に関し次のよ
うな提案がなされている。
At this time, it is known that the surface model including the candidate planes includes a virtual object. The current mainstream of research is how to eliminate virtual objects from surface models. The following proposals have been made regarding virtual object removal.

【0007】(1)出沢正徳:”三面図から立体形成の
ためのシステム”,機械誌,Vol.38,No.31
0,pp.1267−1276(1972)
(1) Masanori Desawa: "System for three-dimensional formation from three views", Machine Magazine, Vol. 38, No. 31
0, pp. 1267-1276 (1972)

【0008】(2)G.Markowsky and M.A.Wesley:"Fles
hing Out Wire Frames",IBM J.Res.Dev.,Vol.24,No.5,p
p.582-592(1980)
(2) G. Markowsky and MA Wesley: "Fles
hing Out Wire Frames ", IBM J.Res.Dev., Vol.24, No.5, p
p.582-592 (1980)

【0009】(3)佐々木康仁、伊藤潔、鈴木誠道:”
非線形疑似ブ−ル代数解法による三面図からの物体の自
動合成”,情処論、Vol.30,No.6,pp.6
99−708(1989)
(3) Yasuhito Sasaki, Kiyoshi Ito, Seido Suzuki: "
Automatic Synthesis of Objects from Three Views by Nonlinear Pseudo-Bulle Algebraic Solution "," Theory of Information, "Vol. 30, No. 6, pp. 6
99-708 (1989)

【0010】これらの内(1)はワイヤフレ−ムから試
行錯誤的に虚物体を排除するものである。(2)は試行
錯誤的に虚物体を探索するものである。(3)は試行錯
誤ではなく、サ−フィスモデルから虚物体を除去するた
めの定式化を与えている。
Among these, (1) is to eliminate a virtual object by trial and error from the wire frame. (2) is to search for a virtual object by trial and error. (3) gives a formulation for removing virtual objects from the surface model, not trial and error.

【0011】このような方法により三面図から多面体を
復元することが可能となった。しかしながらこれらの方
法には今尚重大な難点がある。これらは三面図の面の頂
点の座標値が厳密正確に与えられるということを前提に
している。単に三面図で表現されているというのではな
く、点の座標が数値としてキ−ボ−ドから入力されると
いうようなことが必要である。
By such a method, it becomes possible to restore a polyhedron from a trihedral view. However, these methods still have serious drawbacks. These assume that the coordinate values of the vertices of the faces of the trihedral are given exactly. It is necessary that the coordinates of points are input as numerical values from the keyboard instead of being expressed simply by three views.

【0012】当然三面図間で同一頂点の各座標成分が食
い違ってはいけない。同一の点であれば各成分座標が共
通であるはずであるからこれを同一点の判断に用いてい
る。すこしでも三面図間の座標に狂いがあれば、これら
の方法を適用することができない。これらの方法は極め
て限定された正確な三面図にしか使えない。単に正確に
書かれているというのではなく、三面図において数値が
正確に与えられていることが必須である。
Naturally, the coordinate components of the same vertex should not differ between the three views. If the points are the same, the component coordinates must be common, and this is used for the determination of the same point. These methods cannot be applied if the coordinates between the three views are incorrect. These methods can only be used for very limited and accurate three-view drawings. It is essential that the numerical values are given accurately in the three-view drawing, rather than simply being written correctly.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、実際の
応用を考えると、三面図のデ−タに相互の誤差があると
いうのは良くあることである。また三面図がたとえ正確
にかかれていても、点の座標値が特別に与えられていな
い場合は、図面上で、ある基準点から距離を読み取るな
どして座標を求めることもある。
However, considering practical applications, it is common for the data of the three views to have a mutual error. In addition, even if the three-view drawing is accurately drawn, if the coordinate value of the point is not specifically given, the coordinate may be obtained by reading the distance from a certain reference point on the drawing.

【0014】この場合は、三面図間で同一点の座標が食
い違うことがありうる。多くの場合は、紙に書かれた三
面図をイメ−ジスキャナで読み取ってこれからワイヤフ
レ−ムモデルを作るが、作図上の誤差の他に読み取り誤
差などが入ってくる。さらに手書きの三面図の場合は、
同一点であっても三面図において食い違うことがある。
前記の方法はいずれもこのような誤差の存在を許さない
厳格な方法である。従ってその実際的な価値は低い。
In this case, the coordinates of the same point may be different between the three views. In many cases, a three-dimensional drawing written on a paper is read by an image scanner to make a wire frame model, but a reading error and the like are introduced in addition to the drawing error. Furthermore, in the case of a hand-drawn three-sided drawing,
Even the same point may differ in the three views.
The above methods are all strict methods that do not allow the existence of such errors. Therefore, its practical value is low.

【0015】三面図間に狂いがある場合に、従来提案さ
れている方法を適用しようとすると、誤差を吸収するた
めの規則の追加が必要となろう。規則を追加しても、誤
差があるので、候補面が多くなり、探索すべき組み合わ
せの数が膨大になる。従来法は、誤差があっても、これ
を誤差の範囲にあるのかどうかを判定せず、全ての値に
対して候補面を想定するから候補面が多くなるのであ
る。すると計算量が指数関数的に増加して計算不可能に
なる。これを爆発といっている。
If there is a discrepancy between the three views, applying the previously proposed method would require the addition of rules to absorb the error. Even if a rule is added, there are errors, so that the number of candidate planes increases and the number of combinations to search becomes enormous. In the conventional method, even if there is an error, it is not judged whether or not it is within the error range, and candidate surfaces are assumed for all values, so that there are many candidate surfaces. Then, the amount of calculation increases exponentially and calculation becomes impossible. This is called an explosion.

【0016】本発明はこれらの難点を克服し、誤差を含
む三面図や手書きの三面図であって、同一点の座標成分
が多少食い違っていても、これらの面を正確に対応付け
ることのできる方法を提供することを目的とする。座標
が異なる全ての点に対して、これを頂点とする候補面を
立てる事なく、計算量の爆発を起こす事なく、短い時間
で三面図から多面体を復元できる方法を与えることが本
発明の第2の目的である。
The present invention overcomes these drawbacks and is a method for accurately associating these planes even if the coordinate components of the same point are slightly different from each other in a three-dimensional view including an error or a hand-drawn three-dimensional view. The purpose is to provide. It is the first aspect of the present invention to provide a method that can restore a polyhedron from a trihedral view in a short time without setting up a candidate surface having a vertex as a vertex for all points having different coordinates and without causing an explosion in calculation amount. It is the purpose of 2.

【0017】[0017]

【課題を解決するための手段】本発明の三面図からの多
面体復元方法は、平面より構成される多面体を直交する
3つの平面に投影してでき外形を示す実線と隠れ線を示
す破線のみからなり誤差を含む三面図から、元の多面体
を復元する方法であって、三面図の平面に番号iを付
け、各面iの頂点座標(xim,yim,zim)と、実線で
のみ囲まれた単純平面(w=0)、実線と破線で囲まれ
た分割平面(w=1)、単純平面と分割平面とを統合し
た複合平面(w=2)の3種類の平面の種類の内何れに
属するかということと、単純平面または複合平面の場合
は実線または破線を介して隣接する面またはこれが含む
分割平面であるとして定義され分割平面の場合はこれを
含む面として定義される第1近傍面{Eij 1 }と、各面
図の面を構成する線分を主軸に投影した時に誤差hの範
囲で1対1に対応する線分を持つ面として定義される第
2近傍面{Eij 2 }とよりなる特徴量リストを各面iに
ついて作成し、三面図を逆投影して三面図の面iの2次
元座標に他の面の線分の座標から決める座標を加えた3
次元座標を有する候補面より構成されるワイヤフレ−ム
モデルを作成し、面iに対応する総ての候補面に番号k
をつけ、面kについて頂点の座標(xkl′,ykl′,z
im′)と、座標系の基本面に投影したときに重なる面ま
たは線分を介して隣接する面あるいはこれに含まれる面
またはこれが含む面として定義される第1近傍面{Ekl
1 ′}と、座標軸に投影した時に誤差hの範囲で線分が
一致する面として定義される第2近傍面{Ekl 2 ′}と
よりなる特徴量リストを作成し、三面図の面iに対して
ワイヤフレ−ムモデルの複数の候補面kを対応させ、面
iと候補面kの対応(i,k)を造り、kのiに対応す
る確からしさを示す確率Pik t を、繰り返し演算によっ
て確からしさの次数tを高めながら求めることとし、初
期確率Pik 0 は、面k自身の性質から決定し、次数tの
確率Pik t からより高次の確率Pik t+1 を求めるとき
は、面iの第1近傍面をj、面jの候補面をlとして、
面kとlとが互いに離隔しており非平行である時に大き
く、平行で近接しているときに小さくなる第1適合係数
ijkl 1 を定義し、面iの第2近傍面をh、面hの候補
面をmとして、iが単純平面または複合平面の場合は、
ワイヤフレ−ムモデルにおいて面kとlとが2頂点を許
容誤差hの範囲で共有し、面kよりも面mの方が、面i
の存する基本面より遠くに伸びる場合に大きくそうでな
い場合には小さくなり、iが分割平面である場合にはワ
イヤフレ−ムモデルにおいて面kとlとが2頂点を許容
誤差hの範囲で共有し、面kよりも面mの方が、面iが
存する基本面の近くへ伸びる場合に大きくそうでない場
合に小さくなる第2適合係数rihkm 2 を定義し、lを変
化させた時の第1適合係数rijkl 1 の最大値とこれを与
えるlのjに対応するt次の確率Pjl t とを掛けたもの
のjに関する和と、mを変化させた時の第2適合係数r
ihkm 2 の最大値とこれを与えるmのhに対応するt次の
確率Phm t とを掛けたもののhに関する和とを加え合わ
せて係数qik t を求め、前回のiとkの対応の確からし
さの確率Pik t に乗じたものを正規化してより高次の確
率Pik t+1 とし、一定回数の計算後に最大確率を与える
kを求めて面iの最適対応面とすることを特徴とする。
A method for restoring a polyhedron from a trihedral view according to the present invention comprises only a solid line showing an outline and a broken line showing a hidden line, which is formed by projecting a polyhedron composed of planes onto three orthogonal planes. A method of restoring an original polyhedron from a trihedral diagram including an error, in which the planes of the trihedral diagram are numbered i and are surrounded only by the vertex coordinates ( xim , yim , zim ) of each face i and a solid line. Of the three types of planes: a simple plane (w = 0), a division plane surrounded by a solid line and a broken line (w = 1), and a composite plane (w = 2) that integrates the simple plane and the division plane. Which one it belongs to, and in the case of a simple plane or a compound plane, it is defined as a surface adjoining via a solid line or a broken line or a division plane included in it. In the case of a division plane, it is defined as a surface including this. and near surface {E ij 1}, constitutes a plane of each surface view More becomes feature list and the second near surface defined as a surface having a segment corresponding to one-to-one margin of error h {E ij 2} when projected minute in the spindle generated for each surface i, Back-projecting the three-view drawing and adding the coordinates determined from the coordinates of the line segment of the other surface to the two-dimensional coordinates of the surface i in the three-view drawing 3
A wire frame model composed of candidate surfaces having dimensional coordinates is created, and the number k is assigned to all candidate surfaces corresponding to the surface i.
, And the coordinates (x kl ′, y kl ′, z) of the vertices for the surface k.
im ′) and the first neighboring surface defined as a surface that is adjacent to or overlaps with a surface or line segment that overlaps when projected onto the basic surface of the coordinate system, or a surface that this surface includes {E kl
1 ′} and a second neighborhood surface {E kl 2 ′} defined as a surface on which the line segments coincide with each other within the error h when projected on the coordinate axis, and a feature amount list is created, and the surface i For a plurality of candidate surfaces k of the wire frame model, a correspondence (i, k) between the surface i and the candidate surface k is created, and the probability P ik t indicating the probability corresponding to i of k is repeatedly calculated. and obtaining while increasing the degree t of certainty by the initial probability P ik 0 determines the nature of the surface k itself, when obtaining more probability P ik t + 1 of higher from the probability P ik t of degree t Is j, the first neighboring surface of the surface i is j, and the candidate surface of the surface j is l,
The first matching coefficient r ijkl 1 is defined as being large when the surfaces k and l are separated from each other and non-parallel, and small when they are parallel and close to each other. If m is a candidate surface of h and i is a simple plane or a compound plane,
In the wire frame model, the surfaces k and l share two vertices within the range of the allowable error h, and the surface m is more stable than the surface k.
When the distance is larger than the existing basic surface, it is large, and when it is not, it becomes small, and when i is a division plane, the surfaces k and l share two vertices in the range of the allowable error h in the wire frame model, The first matching coefficient r ihkm 2 is defined when the surface m is larger than the surface k when the surface i extends near the existing basic surface, and the second matching coefficient r ihkm 2 is smaller when the surface i is not present, and the first matching when l is changed. The sum of j obtained by multiplying the maximum value of the coefficient r ijkl 1 by the t-th probability P jl t corresponding to j of l that gives this, and the second matching coefficient r when m is changed
The coefficient q ik t is calculated by adding the maximum value of ihkm 2 and the t-th probability P hm t corresponding to h of m that gives this, and the coefficient q ik t is obtained. The probability P ik t multiplied by the probability is normalized to obtain a higher-order probability P ik t + 1, and k that gives the maximum probability after a certain number of calculations is determined to be the optimal corresponding surface of the surface i. Characterize.

【0018】[0018]

【作用】本発明で扱う対象物体についての限定をまず明
らかにする。ここで扱われる対象物体は、頂点座標に含
まれている誤差がなければ、三面図から一義的に多面体
に復元可能なものとする。
The limitation of the object to be treated in the present invention will be clarified first. It is assumed that the target object treated here can be uniquely restored to a polyhedron from the trihedral view if there is no error included in the vertex coordinates.

【0019】さらに対象物体は次の3条件を満たす多面
体であるものとする。 (1)対象物体を表現する三面図は、実線、および破線
部からなり、他の補助的な記号を用いない。 (2)対象物体は、直線の稜線と平面によって構成され
ている。 (3)対象物体における任意の稜線に対してその稜線を
共有する平面の個数が2個以上の偶数個である。
Furthermore, it is assumed that the target object is a polyhedron which satisfies the following three conditions. (1) The three-view drawing representing the target object is composed of a solid line and a broken line, and does not use other auxiliary symbols. (2) The target object is composed of a straight ridge and a plane. (3) The number of planes sharing an edge line with respect to an arbitrary edge line of the target object is an even number of two or more.

【0020】条件(1)は本発明で扱う線分が、直線と
破線のみで、中心線、寸法線、ハッチン、引き出し線な
ど補助的な線を含まないということである。
The condition (1) is that the line segment treated in the present invention is only a straight line and a broken line and does not include auxiliary lines such as a center line, a dimension line, a hatching line and a lead line.

【0021】条件(2)は多面体が平面のみからなり、
曲面を含まないということである。
The condition (2) is that the polyhedron is composed only of planes,
This means that it does not include curved surfaces.

【0022】条件(3)は図1で示すような角筒型の多
面体を扱わないということである。図1ではさいころの
ような図形が示されているが、そうでなく、手前が開口
になった4角筒なのである。手前の稜線は一つの平面に
のみ属している。勿論筒型の裏面と表面に2面に属して
いると言うこともできるが、裏面は表面の裏であってこ
れは面に算入しない。だから手前の稜線はひとつの平面
にしか属していないのである。このような厚みのない図
形は扱わない。
The condition (3) is that the rectangular polyhedron as shown in FIG. 1 is not handled. Although a figure like a dice is shown in FIG. 1, it is not so. It is a square tube with an opening in the front. The ridgeline in the foreground belongs to only one plane. Of course, it can be said that the cylindrical back surface and the front surface belong to two surfaces, but the back surface is a back surface and is not included in the surface. So the ridgeline in the foreground belongs to only one plane. A graphic without such a thickness is not treated.

【0023】本発明の目的は、上記の3条件を満たす多
面体を三面図から復元することである。実システムを考
えると、三面図をスキャナで読み取りこれを基にワイヤ
フレ−ムモデルを作るわけであるが、これは対応頂点の
座標間に多くの誤差を含んでいる。デ−タに含まれる多
くの誤差を吸収して適切な対応面を決定することに帰着
される。
An object of the present invention is to restore a polyhedron satisfying the above three conditions from a trihedral view. Considering a real system, a three-dimensional drawing is read by a scanner and a wire frame model is created based on this, which includes many errors between the coordinates of corresponding vertices. It results in absorbing many errors contained in the data and determining the appropriate corresponding surface.

【0024】[1.面ラベル付け]まず三面図に表され
た各平面にラベルをつける。説明を容易にするために、
図2の三面図を例にして本発明の手法を述べる。この三
面図は紙面に描かれたものである。これをイメ−ジスキ
ャナによってコンピュ−タに入力する。
[1. Face Labeling] First, label each plane shown in the three-view drawing. For ease of explanation,
The method of the present invention will be described by taking the three-view drawing of FIG. 2 as an example. This three-sided drawing is drawn on paper. This is input to the computer by an image scanner.

【0025】もちろん初めからマウス、デジタイザなど
によりディスプレイ上で作図したものであったもよい。
入力時に図面は二値化されN×Nメッシュに量子化され
る。三角法でも一角法でも良いのであるが、ここでは三
角法で描かれているものとする。XY面の図形を平面
図、YZ面の図形を右側面図、ZX面の図形を正面図と
いうこともある。
Of course, the image may be drawn on the display from the beginning with a mouse, a digitizer, or the like.
On input, the drawing is binarized and quantized into an NxN mesh. It may be either trigonometric or monogonal, but here it is assumed to be drawn by trigonometry. The figure on the XY plane may be referred to as a plan view, the figure on the YZ plane may be referred to as a right side view, and the figure on the ZX plane may be referred to as a front view.

【0026】普通の作図法では、中心線や引き出し線、
影線、ハッチなどの線が描かれるが、本発明で対象とす
る三面図は外形を表す上で直接に必要でない線は全て省
いてある。本発明の三面図は外形を示す線のみでなって
いる。つまり本発明の三面図は外形線と隠れ線(破線で
表す)のみを含む。隠れ線はこちら側の面によって隠さ
れているが向こう側では形状に対応した線である。外形
を表す線に含まれる。
In the normal construction method, the center line, the lead line,
Although lines such as a shadow line and a hatch are drawn, all the lines which are not directly necessary for representing the outer shape are omitted in the three-view drawing of the present invention. The three-view drawing of the present invention includes only lines showing the outer shape. That is, the three-view drawing of the present invention includes only outlines and hidden lines (represented by broken lines). The hidden line is hidden by the surface on this side, but on the other side it is a line corresponding to the shape. Included in the outline line.

【0027】3つの画像デ−タが得られるが、これが全
てN×Nのデジタルデ−タになる。外形のみを対象にす
るから、白黒の2値デ−タに2値化する。このように入
力されるべき三面図は実線と破線からなる。外形線であ
るからこれらは面の稜線であり、線が途中で切れるとい
うことはない。
Although three image data are obtained, all of them become N × N digital data. Since only the outer shape is targeted, it is binarized into black and white binary data. The three-view drawing to be input in this way consists of a solid line and a broken line. Since these are outlines, these are ridges of the surface, and the lines are not cut in the middle.

【0028】実線で区切られた三面図の平面を単純平面
と呼ぶ。実線と破線で分割された平面を分割平面とい
う。単純平面と分割平面が隣接しておりこれらが合併し
た平面は複合平面という。
The plane of the three views separated by the solid line is called a simple plane. A plane divided by a solid line and a broken line is called a division plane. A plain plane and a division plane are adjacent to each other, and a plane in which these are merged is called a composite plane.

【0029】まず実線のみで区切られた単純平面にラベ
ルを付ける。単純平面が破線によって分割されている時
は分割平面が内部に生ずるのでこれら分割平面にラベル
を追加する。単純平面と分割平面が隣接している場合
は、これらを合併した複合平面にもラベルを追加する。
単純平面、分割平面、複合平面の三種の平面が復元可能
な候補平面である。
First, a label is attached to a simple plane separated only by a solid line. When a simple plane is divided by a broken line, a dividing plane occurs inside, so labels are added to these dividing planes. If the simple plane and the dividing plane are adjacent to each other, a label is added to the compound plane obtained by merging them.
Candidate planes that can be restored are three types of planes: simple planes, division planes, and compound planes.

【0030】図3により面にラベルをつける方法を説明
する。これは単純な例であるが、三面図の内の1面のさ
らに一部分を示す。三角形が2つ前後に重なっているよ
うな形状である。頂点や交点にイ〜ホの記号をつけて説
明する。実線で区切られた面は、三角形ハニロと三角形
イニホである。実線で囲まれているのでこれは単純平面
である。それぞれ面1と面2というようにラベルを付け
る。
A method of labeling a surface will be described with reference to FIG. This is a simple example, but shows a further portion of one of the three views. The shape is such that two triangles overlap each other. Explanations are given by adding symbols I to E at vertices and intersections. The surfaces separated by the solid line are the triangular hanilo and the triangular iniho. This is a simple plane as it is surrounded by a solid line. Label them as face 1 and face 2, respectively.

【0031】単純平面イニホは内部に破線ロホの区切り
を持つので、破線ロホによって分割する。ロホニとロホ
イになるこれは実線と破線で区切られるから分割平面で
ある。ロホニに3、ロホイに4というラベルをつける。
Since the simple plane Inho has a broken line Rojo delimiter inside, it is divided by the broken line Rojo. It becomes Rohoni and Rohoi This is a dividing plane because it is separated by a solid line and a broken line. Label Rohoni as 3 and Rohoy as 4.

【0032】破線はあくまで外形線に対応しており、近
接面によって覆われておりこちらから見えない面を表
す。重要性は実線と同等である。大雑把にいえば破線は
遠い面に実線は近い面に対応するということである。
The broken line corresponds to the outer shape to the last, and represents the surface which is covered with the near surface and cannot be seen from here. The importance is equivalent to the solid line. Roughly speaking, the broken line corresponds to the far surface and the solid line corresponds to the near surface.

【0033】単純平面1と分割平面3は実線ロニを介し
て繋がっているので、これらを統合した面ハニホが複合
平面である。これを面5とする。この例では5つの面に
ラベル付けを行うことになる。複合平面5を定義する
時、単純平面1と分割平面3が線分ハロ、ロホを持ちこ
れらが連続しているのでひとつの複合平面を想定するの
である。実線と破線が連続していれば複合平面が生じ
る。一直線状であることもあり折れ線状であることもあ
る。
Since the simple plane 1 and the division plane 3 are connected via the solid line Roni, the plane Haniho which integrates them is a compound plane. This is designated as surface 5. In this example, five surfaces will be labeled. When defining the composite plane 5, the simple plane 1 and the division plane 3 have line segments halo and rojo and are continuous, so that one composite plane is assumed. If the solid line and the broken line are continuous, a compound plane is created. It may be straight or polygonal.

【0034】図4は図2の三面図に対してラベル付けし
た例を示す。ZX面(正面図)では二つの単純平面しか
ないので、それぞれ1、2とラベル付けする。XY面
(平面図)でも二つの単純平面があるので、3、4とラ
ベルをつける。YZ面(右側面図)は一つの単純平面
と、その内部に破線で区切られる二つの分割平面があ
る。単純平面を5、分割平面を6、7とラベル付けす
る。この例では複合平面は存在しない。
FIG. 4 shows an example of labeling the three views of FIG. Since there are only two simple planes on the ZX plane (front view), they are labeled as 1 and 2 respectively. Since there are two simple planes in the XY plane (plan view), they are labeled as 3 and 4. The YZ plane (right side view) has one simple plane and two division planes separated by a broken line therein. Label the simple planes 5 and the split planes 6, 7. There are no compound planes in this example.

【0035】[2.面特徴量の抽出]次に、ラベル付け
された各平面から、特徴量を抽出し、三面図の各平面の
特徴リストを作成する。面の特徴量というのは、面の頂
点の座標と、平面の種類とを意味する。本発明では曲面
を含む図形を対象にしないから面を境界づける線は全て
線分(直線の一部)である。従って面の外形は頂点の座
標で指定できる。
[2. Extraction of Surface Feature Amount] Next, the feature amount is extracted from each labeled plane, and a feature list of each plane of the three views is created. The feature amount of a surface means the coordinates of the vertices of the surface and the type of the plane. In the present invention, since a figure including a curved surface is not targeted, all lines that bound the surface are line segments (a part of straight lines). Therefore, the outline of the surface can be specified by the coordinates of the vertices.

【0036】頂点座標は3次元座標で表される。頂点を
(X,Y,Z)で表した時、1≦X,Y,Z≦Nであ
る。しかし三面図での面の頂点であるから、その面と直
角な方向の座標値は分からない。例えばXY面の面の場
合頂点のZ座標は分からない。この場合のZ座標を求め
ることが多面体の復元の多面体に必要である。
The vertex coordinates are represented by three-dimensional coordinates. When the vertex is represented by (X, Y, Z), 1 ≦ X, Y, Z ≦ N. However, since it is the vertex of the surface in the trihedral view, the coordinate value in the direction perpendicular to the surface cannot be known. For example, in the case of the XY plane, the Z coordinate of the apex is unknown. It is necessary for the polyhedron to restore the polyhedron to find the Z coordinate in this case.

【0037】次に面の種類というのは、既に述べたよう
に単純平面、分割平面、複合平面の3つの種類である。
Next, the types of surfaces are the three types of simple planes, division planes, and compound planes, as described above.

【0038】特徴量を面毎にリストにした物が特徴リス
トである。表1は、図4の例の特徴リストを示す。左端
には面のラベルが、中間の欄には頂点の座標が、右端に
は面の種類が挙げられている。面の種類はパラメ−タw
で表現する。単純平面はw=0、分割平面はw=1、複
合平面はw=2で表す。もちろんこのパラメ−タの選び
方は任意である。
The feature list is a list of feature quantities for each surface. Table 1 shows a feature list for the example of FIG. The label of the surface is listed at the left end, the coordinates of the vertices are listed in the middle column, and the type of surface is listed at the right end. Type of surface is parameter w
Express with. The simple plane is represented by w = 0, the division plane is represented by w = 1, and the composite plane is represented by w = 2. Of course, the choice of this parameter is arbitrary.

【0039】[0039]

【表1】 [Table 1]

【0040】面1は図4においてXZ面(正面図)のΓ
型の面である。原点に近い頂点から順にト、チ、リ、
ヌ、ル、ヲという記号を仮に付けて説明する。表1は特
徴面リストでありト、チ、…などの記号は本来入らない
のであるが、ここでは説明を分かり易くするためにこれ
らの記号を肩に入れている。頂点トはX=1、Z=1で
ある。XZY座標は分からない。分からないものは仮に
*とする。
Surface 1 is the Γ of the XZ plane (front view) in FIG.
It is the surface of the mold. In order from the vertex closest to the origin, To, Chi, Li,
Explanations will be given with nu, le, and wo symbols. Table 1 is a list of characteristic surfaces, and symbols such as G, J, and so on are not originally included, but these symbols are included here for the sake of clarity. The vertex is X = 1 and Z = 1. I do not know the XZY coordinates. If you don't understand, use *.

【0041】頂点トはそれ故(1,*,1)となる。表
1の面1に関し(x,y,z)欄の初めにあるのは、こ
れである。頂点チはX=1、Z=124で、Yは不明で
ある。これの座標は(1,*,124)と書ける。これ
が表1の面1に関する2番目のものである。頂点リは、
X=128、Z=124でYは不明であるから、(12
8,*,124)と書ける。頂点ヌはX=127、Z=
60で、Yが不明であり、(127,*,60)と書け
る。頂点ルはX=64、Z=64であるので、(64,
*,64)である。頂点ヲは同様に(64,*,1)と
なる。
The vertex G is therefore (1, *, 1). This is the beginning of the (x, y, z) column for surface 1 of Table 1. The apex is X = 1, Z = 124, and Y is unknown. The coordinates of this can be written as (1, *, 124). This is the second one for surface 1 in Table 1. Vertex is
Since X = 128 and Z = 124 and Y is unknown, (12
It can be written as 8, *, 124). The apex is X = 127, Z =
At 60, Y is unknown and can be written as (127, *, 60). Since the vertex Le is X = 64 and Z = 64, (64,
*, 64). Similarly, the vertex is (64, *, 1).

【0042】このような座標の値は、デ−タをイメ−ジ
スキャナで取り込み二値化して頂点を求めた時に頂点の
座標として得られるものである。これを面に関係付けて
特徴量として挙げる。最後に、面1は単純平面であるの
でw=0である。これが右端欄に挙げられる。
Such coordinate values are obtained as the coordinates of the vertices when the data is read by an image scanner and binarized to obtain the vertices. This is mentioned as a feature amount in relation to the surface. Finally, since surface 1 is a simple plane, w = 0. This is listed in the rightmost column.

【0043】面2は4つの頂点を持つが、ヲ、ル、ヌの
3つが面1の頂点と重なっている。独自の頂点はカであ
る。面2の欄においてもヲ、ル、ヌの座標が示される。
原点に近い点から左回りの順番で挙げるので面1と少し
順序が違うが同一点が3つある。頂点カは面2に独自の
点である。これはX=126、Z=1だから、(12
6,*,1)と書く。面2は単純平面であるから、w=
0となる。
Although the surface 2 has four vertices, three of wo, le and n overlap with the vertices of the surface 1. The unique apex is mosquito. Also in the field of surface 2, the coordinates of w, le, and n are shown.
Since the points are listed in counterclockwise order from the point near the origin, the order is slightly different from that of surface 1, but there are three points that are the same. The vertex point is a unique point on the surface 2. Since this is X = 126 and Z = 1, (12
Write 6, *, 1). Since surface 2 is a simple plane, w =
It becomes 0.

【0044】面3はXY面の面である。XY面にあるか
ら、Z座標は決まらない。原点に近いものから左回り
に、ヨ、タ、レ、ソと符号を付ける。頂点ヨはX=6
4、Y=1であるので、(64,1,*)となる。頂点
タは(126,1,*)、頂点レは(126,61,
*)、頂点ソは(64,61,*)である。
The surface 3 is the XY surface. Since it is on the XY plane, the Z coordinate cannot be determined. From the one closest to the origin, counterclockwise is marked with yo, ta, le, and se. X is 6 at the top
Since 4, Y = 1, it becomes (64, 1, *). The vertex is (126,1, *), and the vertex is (126,61,
*) And the vertex S is (64, 61, *).

【0045】以下同様に特徴量の抽出を行う。面5は単
純平面(w=0)である。頂点にウヰノムという符号を
付けている。面6と面7は面5の分割平面であるから、
W=1とする。面6の頂点はウ、エ、コ、フ、面7の頂
点はエ、ヰ、ノ、ム、フ、コである。次にこれら頂点の
座標を一括して挙げる。
The feature quantity is extracted in the same manner as described below. Surface 5 is a simple plane (w = 0). The symbol "Wannom" is attached to the top. Since the surfaces 6 and 7 are the dividing planes of the surface 5,
Let W = 1. The vertices of surface 6 are u, d, ko, fu, and the vertices of surface 7 are d, ヰ, no, mu, fu, ko. Next, the coordinates of these vertices are listed together.

【0046】ウ(*,1,1)エ(*,61,1)ヰ
(*,124,1)ノ(*、128,128)ム(*,
1,128)フ(*,1,65)コ(*,64,65)
このようにして表1が作成される。表1のようなものが
特徴リストである。
C (*, 1,1) d (*, 61,1) (*, 124,1) no (*, 128,128) m (*,
1,128) Hu (*, 1,65) (*, 64, 65)
In this way, Table 1 is created. Table 1 shows a feature list.

【0047】[3.近傍面リストの作成]抽出された平
面に対して、次のような2種類の近傍面リストを作成す
る。近傍面は第1近傍面と第2近傍面がある。
[3. Creation of Near Surface List] The following two kinds of near surface lists are created for the extracted planes. The near surface includes a first near surface and a second near surface.

【0048】〔第1近傍面〕[First Near Surface]

【0049】単純平面w=0と、複合平面w=2の場
合は、各面図において実線を介して隣接している面を第
1近傍面と定義する。
In the case of the simple plane w = 0 and the complex plane w = 2, the surface adjacent to each other through the solid line in each plan view is defined as the first neighboring surface.

【0050】単純平面w=0の場合これが分割平面を
含んでいる場合はこれらの分割平面も第1近傍面であ
る。
When the simple plane w = 0, when the simple plane includes division planes, these division planes are also the first neighboring planes.

【0051】分割平面w=1の場合は、その分割平面
を含んでいる単純平面と、破線を介して隣接している分
割平面を第1近傍面と定義する。
When the division plane w = 1, the simple plane including the division plane and the division plane adjacent to each other via the broken line are defined as the first neighboring surface.

【0052】第1近傍面は互いに平行な面や、互いに斜
めの面である。同一の面図に現れる面であるからであ
る。しかし多面体を復元したとき、第1近傍面はその面
と同一平面上にはない。単純平面や複合平面において同
一平面上にあって隣接すればその間に実線が現れる筈が
ないからである。
The first neighboring surfaces are surfaces parallel to each other or surfaces oblique to each other. This is because the surfaces appear in the same drawing. However, when the polyhedron is restored, the first neighboring surface is not in the same plane as that surface. This is because there is no way that a solid line will appear between the simple and compound planes if they are on the same plane and are adjacent to each other.

【0053】単純平面が複数の分割平面を含むとこれら
の分割平面はその単純平面より投影面から遠い筈であ
る。分割平面においては、これを含む単純平面の方が投
影面に近い面であり同一平面上にはあり得ない。またこ
れに隣接する他の分割平面がもし同一平面上にあればそ
の間に破線が現れる筈がない。だから分割平面において
も第1近傍面はその面と違う面上にあるはずである。
If the simple plane includes a plurality of division planes, these division planes should be farther from the projection plane than the simple plane. In the division plane, the simple plane including this is closer to the projection plane and cannot be on the same plane. If another division plane adjacent to this is on the same plane, a broken line should not appear between them. Therefore, even in the split plane, the first neighboring surface should be on a surface different from that surface.

【0054】〔第2近傍面〕[Second Near Surface]

【0055】各面図の全ての平面(単純平面、分割平
面、複合平面)を構成している線分を各軸に投影し、各
軸上で他の面図から投影された線分と1対1で一致した
場合は、これらの面を第2近傍面と定義する。
Line segments forming all the planes (simple planes, divided planes, compound planes) of each plan are projected on each axis, and line segments projected from other plan on each axis are 1 When they match with each other, these surfaces are defined as the second neighboring surface.

【0056】ある面の第2近傍面は、多面体復元結果に
おいて、その面と隣接する可能性のある面である。互い
に隣接する平面は頂点を共有するから、これらの頂点が
異なる面図に投影された場合、これら頂点を結ぶ線分は
軸に投影された時に合致するはずである。
The second neighboring surface of a certain surface is a surface that may be adjacent to that surface in the polyhedral restoration result. Since adjacent planes share vertices, if these vertices are projected on different views, the line segments connecting these vertices should coincide when projected on the axis.

【0057】しかし本発明では原図が誤差を含んでいて
も良いということにしているから、例え同一の線分を表
す線分であっても各面図において合致するとは限らな
い。そこで線分の両端点の位置ずれを許容する範囲hを
設定する。つまり線分の各軸への投影が合致するといっ
ても正確に一致するのではなくて、線分の端点の差がh
以内であれば1対1に対応しているとするのである。
However, in the present invention, since the original drawing may include an error, even if the line segments represent the same line segment, they do not always match in each of the drawings. Therefore, a range h is set that allows the positional deviation of both end points of the line segment. In other words, even if the projection of the line segment on each axis does not match, it does not exactly match, but the difference between the end points of the line segment is h
If it is within the range, it is assumed that there is a one-to-one correspondence.

【0058】一般にある面Aが第1近傍面Bを持つと
き、面Aは面Bの第1近傍面である。。また面Cが面A
の第2近傍面であれば、面Aが面Cの第2近傍面であ
る。このように第1近傍面、第2近傍面は相反的であ
る。
Generally, when a certain surface A has a first neighboring surface B, the surface A is the first neighboring surface of the surface B. . In addition, surface C is surface A
If it is the second neighboring surface of, the surface A is the second neighboring surface of the surface C. Thus, the first and second neighboring surfaces are reciprocal.

【0059】またある面が他の面に同時に第1近傍面で
あり第2近傍面であることがない。つまり第1近傍面、
第2近傍面は相補性がある。相反性と相補性が第1近傍
面、第2近傍面の共通の特性である。
Further, one surface is not the first near surface and the second near surface at the same time as the other surface. That is, the first neighboring surface,
The second neighboring surface is complementary. Reciprocity and complementarity are common characteristics of the first and second neighboring surfaces.

【0060】そして各面毎に第1近傍面と第2近傍面を
列挙したものが近傍面リストである。表2は図4の場合
の近傍面リストの例を示す。第1欄が三面図における面
i、第2欄が第1近傍面、第3欄が第2近傍面である。
A list of the first and second neighboring surfaces for each surface is the neighboring surface list. Table 2 shows an example of the near surface list in the case of FIG. The first column is the surface i in the three-view drawing, the second column is the first neighboring surface, and the third column is the second neighboring surface.

【0061】[0061]

【表2】 [Table 2]

【0062】面1はXZ面に於いて面2と実線を介して
接している。だから面2は面1の第1近傍面である。面
1の第2近傍面は、面3、4、5、6、7である。面3
の線分タヨ、レソが面1の線分ヌルと投影線において合
致するから面3が面1の第2近傍面である。面1の線分
チリと、面4の線分ネラが投影線において合致するので
面4も面1の第2近傍面である。
The surface 1 is in contact with the surface 2 on the XZ plane via a solid line. Therefore, the surface 2 is the first neighboring surface of the surface 1. The second neighboring surfaces of the surface 1 are the surfaces 3, 4, 5, 6, and 7. Surface 3
Since the line segments Tayo and Reso of No. 2 coincide with the line segment null of the surface 1 in the projection line, the surface 3 is the second neighboring surface of the surface 1. Since the line segment dust of the surface 1 and the line segment Nera of the surface 4 coincide with each other in the projection line, the surface 4 is also the second neighboring surface of the surface 1.

【0063】面1の線分トチが、面5の線分ウム、ヰノ
と投影線において合致するので、面5も面1の第2近傍
面である。面1の線分ヲルが、面6の線分ウフ、エコに
投影線に於いて合致するので、面6は面1の第2近傍面
である。面1の線分トチと面7の線分ヰノが投影線にお
いて合致するので、面7も面1の第2近傍面である。こ
のようにして、面1の第2近傍面が、面3、4、5、
6、7であることが分かる。
Since the line segment tochi of the surface 1 coincides with the line segment um and the square of the surface 5 in the projection line, the surface 5 is also the second neighboring surface of the surface 1. Since the line segment of the surface 1 coincides with the line segment Uhu and Echo of the surface 6 in the projection line, the surface 6 is the second neighboring surface of the surface 1. Since the line segment Tochi of the surface 1 and the line segment Eno of the surface 7 coincide with each other in the projection line, the surface 7 is also the second neighboring surface of the surface 1. In this way, the second neighboring surface of the surface 1 becomes the surfaces 3, 4, 5,
It can be seen that they are 6 and 7.

【0064】面2は面1を第1近傍面とする。実線を介
して隣接しているからである。面3、4、6、7が面2
の第2近傍面である。線分カヲと線分タヨのX軸への投
影線が合致するので、面3は面2の第2近傍面である。
線分ヌルと線分レソのX軸への投影が合致するので面4
が、面2の第2近傍面である。線分エコと線分ルヲのZ
軸への投影が合致するので、面6が面2の第2近傍面で
ある。線分エコと線分ルヲのZ軸への投影が一致するか
ら面7は面2の第2近傍面である。
The surface 2 has the surface 1 as the first neighboring surface. This is because they are adjacent to each other via a solid line. Surfaces 3, 4, 6 and 7 are surface 2
Is the second neighboring surface of. Since the projection lines of the line segment Kao and the line segment Tayo on the X axis match, the surface 3 is the second neighboring surface of the surface 2.
Since the projection of the line segment null and the line segment lithograph on the X-axis matches, surface 4
Is the second neighboring surface of the surface 2. Line segment eco and line segment Rwo
Since the projections on the axes coincide, the surface 6 is the second neighboring surface of the surface 2. Since the projection of the line segment Eco on the Z axis coincides with the projection of the line segment Rwo, the surface 7 is the second neighboring surface of the surface 2.

【0065】面3、4は面1、2と良く似ているので説
明しない。
Surfaces 3 and 4 are very similar to surfaces 1 and 2 and will not be described.

【0066】面5は単純平面(w=0)である。yz面
上で実線を介してこれに接触する面はない。しかし先述
の分割平面の場合の定義から単純平面が分割平面を含む
とき単純平面と分割平面は第1近傍面の関係にある。単
純平面であるが面5は分割平面6と7を含むので、面6
と7が面5の第1近傍面である。
The surface 5 is a simple plane (w = 0). There is no surface on the yz plane that contacts it via the solid line. However, when the simple plane includes the dividing plane from the above definition of the dividing plane, the simple plane and the dividing plane have the relation of the first neighboring surface. Although it is a simple plane, the plane 5 includes the dividing planes 6 and 7, so that the plane 6
And 7 are the first neighboring surfaces of the surface 5.

【0067】面5の第2近傍面は、面1、4である。線
分トチと線分ウムのZ軸投影が等しいから、面1が第2
近傍面である。線分ツラと線分ウヰがY軸投影において
合致するから面4が第2近傍面である。この他に面5は
第2近傍面を持たない。
The second neighboring surfaces of the surface 5 are the surfaces 1 and 4. Since the Z-axis projections of the line segment tochi and the line segment um are the same, surface 1 is the second
It is a near surface. Since the line segment and the line segment coincide with each other in Y-axis projection, the surface 4 is the second neighboring surface. Besides this, the surface 5 has no second neighboring surface.

【0068】面6は分割平面(w=1)である。これを
含む単純平面は面5であるから面5は第1近傍面であ
る。破線を介して接する面7も第1近傍面である。面6
の第2近傍面は、面1、2、3、4である。線分エコと
線分ルヲのZ軸投影が合致するから面1が第2近傍面で
あることが分かる。
The surface 6 is a division plane (w = 1). Since the simple plane including this is the surface 5, the surface 5 is the first neighboring surface. The surface 7 contacting via the broken line is also the first neighboring surface. Face 6
The second neighboring surfaces of are surfaces 1, 2, 3, and 4. Since the Z-axis projections of the line segment eco and the line segment match, it can be seen that the surface 1 is the second neighboring surface.

【0069】同じ理由から面2が面6の第2近傍面であ
ることも分かる。線分ヨソと線分フコがY軸への投影で
合致するので面3が面6の第2近傍面である。同じ理由
で面4が面6の第2近傍面である。このように総ての面
について第1近傍面と第2近傍面を割り当てることがで
きる表2の近傍面リストはこのようにして作成できる。
For the same reason, it can be seen that the surface 2 is the second neighboring surface of the surface 6. The surface 3 is the second neighboring surface of the surface 6 because the line segment width and the line segment width coincide with each other in the projection onto the Y axis. For the same reason, the surface 4 is the second neighboring surface of the surface 6. In this way, the neighbor surface list in Table 2 in which the first neighbor surface and the second neighbor surface can be assigned to all the surfaces can be created in this way.

【0070】一般に面の特徴は、各頂点の座標、面の種
別、第1近傍面、第2近傍面のラベルである。これを次
のように纏めて表現する。三面図の平面に関する情報O
In general, the features of a surface are the coordinates of each vertex, the type of surface, and the labels of the first and second neighboring surfaces. This is summarized and expressed as follows. Information about the plane of the three views O

【0071】 O=[Oii=1 M P =[[xim,yim,zimm=1 MiV,wi ,[Eij 1j=1 Mi1,[Eij 2j=1 Mi 2i=1 M P (1)O = [Oi ]i = 1 M P = [[Xim, Yim, Zim]m = 1 MiV, Wi , [Eij 1]j = 1 Mi1, [Eij 2]j = 1 Mi  2 ]i = 1 M P (1)

【0072】ここでiは各平面に付けた番号で、Oi
各平面に関する情報である。MPと書いてあるのは、平
面の総数であり、M(P)と書くべきであるが、JIS
ではサフィックスに括弧が入らないのでここではやむを
得ずMPと書いている。
Here, i is a number given to each plane, and O i is information about each plane. MP is the total number of planes and should be written as M (P).
Since there are no parentheses in the suffix, it is unavoidably written as MP here.

【0073】以後の式もJISでは正確な表記ができな
いので、図16に式(1)〜(7)を、図17に式
(8)〜(13)を表している。明細書に書いている式
はJISの制限による略式のものである。正確なもので
はない。
Since the following equations cannot be accurately expressed in JIS, equations (1) to (7) are shown in FIG. 16 and equations (8) to (13) are shown in FIG. The formulas written in the specification are abbreviated ones due to JIS restrictions. Not accurate.

【0074】mは面iにおける頂点の番号である。[x
im,yim,zim]はm番目の頂点の座標である。MiV
は面iの頂点の総数である。Vは括弧で囲まれた上付き
のサフィックスであるがJISでは括弧をサフィックス
に上げることができないので括弧を省いている。Mi 1
面iの第1近傍面の数である。これも1を括弧で括って
サフィックスに上げるべきであるが、JISはそのよう
な表記ができないのでこのように書いている。Eij 1
面iの第1近傍面のラベルである。jが第1近傍面の番
号を示す。
M is the number of the vertex on the surface i. [X
im , y im , z im ] are the coordinates of the m-th vertex. MiV
Is the total number of vertices of face i. V is a superscript suffix enclosed in parentheses, but since the parentheses cannot be raised to suffixes in JIS, parentheses are omitted. M i 1 is the number of first neighboring surfaces of the surface i. This too should be enclosed in parentheses and raised to the suffix, but JIS does not allow such notation, so it is written like this. E ij 1 is the label of the first neighboring surface of the surface i. j indicates the number of the first neighboring surface.

【0075】Eij 2 は面iの第2近傍面のラベルであ
る。jが第1近傍面の番号を示す。jは第2近傍面の番
号であり先程のjとは異なり′が付くのであるが、JI
Sでは′付きのサフィックスを書くことができないの
で、このように簡約して表記している。また右肩の2は
2乗ではなく、第2近傍面の2である。括弧が右肩に入
らないのでこのように表記している。混同してはならな
い。
E ij 2 is the label of the second neighboring surface of the surface i. j indicates the number of the first neighboring surface. j is the number of the second neighboring surface, which is different from j in the above, and has a ‘
Since S cannot write a suffix with ', it is written in a simplified manner like this. Further, 2 on the right shoulder is not the square, but 2 on the second neighboring surface. The brackets do not fit on the right shoulder, so it is written like this. Don't be confused.

【0076】[4.ワイヤフレ−ムモデルの作成]三面
図からワイヤフレ−ムモデルを作成する。これは三次元
の立体図であり三面図の面を逆投影して作られる。逆投
影というのは、既知の三面図を三次元座標で表されるよ
うに立て、各線から法線群を立て、法線群の交線で立体
形を作ることである。
[4. Creation of wire frame model] A wire frame model is created from three views. This is a three-dimensional view and is made by backprojecting the faces of the three views. Back-projection means that a known three-view drawing is set up so as to be represented by three-dimensional coordinates, a group of normals is set up from each line, and a solid is created by the intersection of the groups of normals.

【0077】逆投影というのは投影の逆であるが、一義
的ではなく、多義的である。逆投影により法線群の交点
は幾つもできる。したがってワイヤフレ−ムモデルには
多くの面が発生する。その内幾つかの面は、初めの三面
図に表された平面である。実在の面である。
Back projection is the reverse of projection, but it is not unambiguous but ambiguous. Backprojection allows many intersections of normal groups. Therefore, many planes occur in the wire frame model. Some of them are the planes shown in the first three views. This is the real aspect.

【0078】しかし実在の面であっても初めの三面図に
出てこない面もある。それは出発図面が三面図であって
六面図でないからである。六面図をもしも出発図面とし
て利用できれば、総ての実在面には初めから番号が付い
ているはずである。
However, some real faces do not appear in the first three views. This is because the starting drawing is a three-view drawing, not a six-view drawing. If the hexagonal view could be used as a starting drawing, all real planes would have been numbered from the beginning.

【0079】しかしワイヤフレ−ムモデルに於いて特徴
的なことは無論そういうことではなくて、多くの交線群
で面を作るので実在しない虚の面が多く発生するという
ことである。
However, the characteristic feature of the wire frame model is, of course, that it is not the case, that is, many imaginary planes that do not exist are generated because the planes are formed by many intersecting line groups.

【0080】つまり三面図のある面に着眼した時、ワイ
ヤフレ−ムモデルの面を三面図に投影した時にあるひと
つの三面図の面iに投影される面が幾つもあるというこ
とである。ワイヤフレ−ムモデルを三面図に投影した時
に面iに合致する面を候補平面という。
In other words, when one observes the surface of the three-view drawing, when the surface of the wire frame model is projected on the three-view drawing, there are many surfaces projected on the surface i of one certain three-view drawing. A plane that matches the plane i when the wire frame model is projected onto a three-view drawing is called a candidate plane.

【0081】ひとつの面に対して候補平面が幾つもある
ので、これから面iに対応するワイヤフレ−ムモデル中
での面を決定しなければならない。候補平面の内ひとつ
だけが実際の面iに対応する。それ以外の面は虚の面で
あり、ワイヤフレ−ムモデルを作るための逆投影によっ
て発生したものである。
Since there are several candidate planes for one surface, the surface in the wire frame model corresponding to the surface i must be determined. Only one of the candidate planes corresponds to the actual plane i. The other planes are imaginary planes and are generated by backprojection to create a wireframe model.

【0082】図5は、図2や図4で三面図であらわされ
たものを逆投影してワイヤフレ−ムモデルを作ったもの
である。簡単な例であるが、多くの余分な実在しない面
の発生していることがわかる。参考のために三面図にお
ける面i=1〜7の対応する面に面番号を付した。
FIG. 5 shows a wire frame model created by back-projecting the three-view drawing shown in FIGS. Although it is a simple example, it can be seen that many extra non-existing surfaces occur. For reference, surface numbers are given to the surfaces corresponding to the surfaces i = 1 to 7 in the three-view drawing.

【0083】ここで注意すべきことがある。三面図の基
本面(XY面、YZ面、ZX面)に平行な面であれば、
三面図の内二つ以上の基本面に現れるということはな
い。しかし基本面に対して傾いている面はふたつの面に
現れる。これは三面図の段階で二つのラベルが付く。図
6はそのような傾きのある面を示す。これは平面図に
も、右側面図にも現れる。同一面であるが、二つのラベ
ルが付けられる。三方向に傾いている時は正面図にも現
れるので3のラベルが付けられる。
There is a point to note here. If it is a plane parallel to the basic planes (XY plane, YZ plane, ZX plane) of the three views,
It does not appear on more than one of the three basic views. However, the surface that is inclined with respect to the basic surface appears in two surfaces. It has two labels in the three-view drawing. FIG. 6 shows such an inclined surface. This appears in both the plan view and the right side view. On the same side, but with two labels. When it is tilted in three directions, it also appears in the front view and is labeled as 3.

【0084】[5.ワイヤフレ−ムモデルの面にラベル
を付ける事]ワイヤフレ−ムモデルは多くの面を持つ
が、これらの総ての面に番号をつける。面の番号をラベ
ルといい、面に番号を付す事をラベルを付けるという。
このラベルは、最初の三面図のラベル(iで表記)とは
違う。ワイヤフレ−ムモデルにおける面をkで表すこと
にする。
[5. Label the Faces of the Wireframe Model] The wireframe model has many faces, but all of these faces are numbered. The number of the surface is called a label, and the numbering on the surface is called a label.
This label is different from the first three-view drawing label (denoted by i). A surface in the wire frame model is represented by k.

【0085】図7は図5のワイヤフレ−ムモデルの面に
ラベルを付けた例を示す。三面図の面iに対応する可能
性ある面の総てにラベルを付けるが、その順番は任意で
ある。三面図であるから総ての外形面にラベルがついて
いるわけではない。従って、ワイヤフレ−ムモデルにお
いても総ての面にラベルが付けられるのではない。
FIG. 7 shows an example in which the surface of the wire frame model of FIG. 5 is labeled. Label all the faces that may correspond to face i in the three-view drawing, but in any order. Since it is a three-sided view, not all outer surfaces are labeled. Therefore, not all surfaces are labeled even in the wire frame model.

【0086】平面は幾つかの隅を持つ。この隅の何れか
にその面を含む方向に円弧を描き、円弧の傍らにワイヤ
フレ−ムモデルでの番号kを書き入れている。三面図の
場合は破線が使われるていたので、分割平面、複合平面
があったが、ワイヤフレ−ムモデルでは実線だけで面を
作るので単純平面しかない。三面図での面よりも多くの
面が出現し、この例ではk=1〜17まである。
The plane has several corners. A circular arc is drawn in any of the corners in the direction including the surface, and the number k in the wire frame model is written beside the circular arc. In the case of the three-view drawing, the broken line was used, so there were split planes and compound planes, but in the wire frame model, the plane is created only by the solid lines, so there is only a simple plane. More faces appear than in the tri-view, with k = 1 to 17 in this example.

【0087】これらの面は三面図での面を逆投影するこ
とによって得られるのであるが、三面図自体が誤差を含
むので、ワイヤフレ−ムモデルでの各面の頂点が必ずし
も合致せず幾分食い違っている。図7では食い違う頂点
座標も図示している。但し頂点の食い違いの範囲は一定
値h以内であると予め決めている。投影と逆投影によっ
て対応する面iとkの対応をリストにしたものが、平面
対応リストである。表3は、図2の三面図と図7のワイ
ヤフレ−ムモデルの各面の対応を示す平面対応リストで
ある。
These planes are obtained by back-projecting the planes in the trihedral view. However, since the trihedral planes themselves include errors, the vertices of the respective planes in the wire frame model do not always match, and there is some discrepancy. ing. FIG. 7 also shows the coordinates of different vertices. However, the range of the discrepancy between the vertices is predetermined to be within a constant value h. The plane correspondence list is a list of correspondences between the corresponding surfaces i and k by projection and back projection. Table 3 is a plane correspondence list showing the correspondence between the three views of FIG. 2 and the respective surfaces of the wire frame model of FIG. 7.

【0088】[0088]

【表3】 [Table 3]

【0089】[6.ワイヤフレ−ムモデルの面の特徴量
の抽出]三面図の面に付いて特徴量を抽出したのと同様
に、ワイヤフレ−ムモデルにおける各平面についても特
徴量の抽出を行う。特徴量というのは面の頂点の座標
と、その面の種類と近傍面である。しかし、実線のみで
なるワイヤフレ−ムモデルでは分割平面と複合平面は存
在しないから面の種類としては単純平面(w=0)だけ
である。
[6. Extraction of Feature Amount of Surface of Wire Frame Model] Similar to the extraction of the feature amount on the surface of the three-view drawing, the feature amount is also extracted for each plane in the wire frame model. The feature amount is the coordinates of the vertex of the surface, the type of the surface, and the neighboring surface. However, since there are no division planes and compound planes in the wire frame model consisting only of solid lines, the plane types are only simple planes (w = 0).

【0090】ワイヤフレ−ムモデルにおける平面に関す
る情報をTで表す。これは各面における情報Tk (k=
1,2,…,N(T))の集合である。Tk 自体は頂点
の座標、面種類、第1近傍面、第2近傍面よりなる。
Information about a plane in the wire frame model is represented by T. This is information T k (k =
1, 2, ..., N (T)). T k itself is composed of coordinates of vertices, surface type, first neighborhood surface, and second neighborhood surface.

【0091】 T=[Tkk=1 N T= [[x′kn,y′kn,z′knn=1 NkV,wk ,[E′kl 1l=1 Nk1,[E′kl 2l=1 Nk2k=1 N T (2)T = [T k ] k = 1 N T = [[x ′ kn , y ′ kn , z ′ kn ] n = 1 NkV , w k , [E ′ kl 1 ] l = 1 Nk1 , [E ′ Kl 2 ] l = 1 Nk2 ] k = 1 N T (2)

【0092】ここでnは面kの頂点の番号である。
[x′kn,y′kn,z′kn]は、面kの頂点の座標であ
る。′が付いているのはワイヤフレ−ムモデルの面につ
いての座標であることを示す。NkVは実際にはNk
(V)と書き、面kのn番目の頂点の総数である。JI
Sでは括弧をサフィックスにできないから、括弧を省い
ている。
Here, n is the number of the vertex of the surface k.
[X ′ kn , y ′ kn , z ′ kn ] are the coordinates of the vertices of the surface k. The ‘’ indicates coordinates on the plane of the wire frame model. NkV is actually Nk
It is written as (V) and is the total number of n-th vertices of the surface k. JI
Parentheses are omitted in S because parentheses cannot be suffixed.

【0093】wk は面kの種類である。E′kl 1 は面k
の第1近傍面を示す。′が付いているのは、ワイヤフレ
−ムモデルの面についてのものだからである。lは面k
の第1近傍面の番号である。Nklは面kの第1近傍面
の総数である。l=1,2,…,Nklである。1は第
1近傍面であることを示し、kは番目の面である事を表
す。大文字のNは総数であることを表す。
W k is the type of surface k. E ′ kl 1 is face k
Shows a first neighboring surface of the. It is because it is for the plane of the wire frame model. l is the surface k
Is the number of the first neighboring surface of. Nkl is the total number of first neighboring surfaces of the surface k. l = 1, 2, ..., Nkl. 1 indicates the first surface, and k indicates the th surface. The capital letter N represents the total number.

【0094】E′kl 2 は面kの第2近傍面であることを
示す。lは第2近傍面の番号である。実際には′を付し
て、先述の第1近傍面の番号と区別すべきであるが、′
をサフィックスに入れるのはJISでは不可能であるか
ら′を省く。正確な表記は図16を参照すべきである。
E'kl 2 indicates the second neighboring surface of the surface k. l is the number of the second neighboring surface. Actually, it should be attached with ′ to distinguish it from the number of the first neighboring surface described above.
It is not possible to put the suffix in the JIS, so omit '. For exact notation, refer to FIG.

【0095】第1近傍面、第2近傍面の定義は三面図に
おける定義とほぼ同じである。しかしワイヤフレ−ムモ
デルでは単純平面しかない。これは実線によって逆投影
したからであり、中には分割平面、複合平面などである
ものも含まれる筈である。そこで次のように定義する。
The definitions of the first neighborhood surface and the second neighborhood surface are almost the same as the definitions in the three views. However, the wire frame model has only a simple plane. This is because it was back-projected by a solid line, and it should include those that are split planes, compound planes, and the like. Therefore, it is defined as follows.

【0096】[第1近傍面] 立体を三面図に投影した時にその面kに線分を介して
接する面。 立体を三面図に投影した時にその面を含むかその面に
含まれる面。
[First Near Surface] A surface which is in contact with the surface k via a line segment when a solid is projected on a three-dimensional view. A surface that includes or is included in a plane when a solid is projected on a three-dimensional view.

【0097】[第2近傍面] その面を三面図に投影した時に線分を共通にする面。[Second Near Surface] A surface having common line segments when the surface is projected on a trihedral view.

【0098】三面図における面iとjとが第1近傍面の
関係にあれば、ワイヤフレ−ムモデルにおいて面i、j
に対応する面k、lは互いに第1近傍面にある。三面図
における面iとhとが第2近傍面の関係にあれば、ワイ
ヤフレ−ムモデルにおいて面i、hに対応する面k、m
は互いに第2近傍面の関係にある。これを近傍面不変の
原理と呼び、その属性を近傍面の不変性という。
If the surfaces i and j in the three views have the relationship of the first neighboring surface, the surfaces i and j in the wire frame model are obtained.
The surfaces k and l corresponding to are in the first neighboring surface. If the surfaces i and h in the trihedral view have the relationship of the second neighboring surface, the surfaces k and m corresponding to the surfaces i and h in the wire frame model.
Are in the relationship of second neighboring surfaces. This is called the principle of neighborhood surface invariance, and its attribute is called neighborhood surface invariance.

【0099】先に述べたように、ある面が他の面を近傍
面とする時、前者は後者の近傍面となる。これは近傍面
の相反性と呼んだ。またある面に対して第2近傍面であ
るものは同じ面に対して第1近傍面であることができな
い。これは近傍面の相補性と呼んだ。相反性、相補性、
不変性が近傍面の主要な性質である。
As described above, when one surface is the other surface, the former is the latter. This is called reciprocity of the near surface. Also, what is the second neighboring surface with respect to a certain surface cannot be the first neighboring surface with respect to the same surface. This was called the complementarity of the near surface. Reciprocity, complementarity,
Invariance is the main property of the near surface.

【0100】[7.ワイヤフレ−ムモデルにおいて特徴
量リストの作成]ワイヤフレ−ムモデルの面について特
徴量を求めて特徴量リストを作成する。これは頂点の座
標、第1近傍面、第2近傍面のラベルをリストにしたも
のである。表4は図7のワイヤフレ−ムモデルの例につ
いての特徴量リストである。
[7. Creation of Feature Amount List in Wire Frame Model] A feature amount list is created by obtaining feature amounts for the surfaces of the wire frame model. This is a list of the coordinates of the vertices, the labels of the first neighborhood surface, and the labels of the second neighborhood surface. Table 4 is a feature amount list for an example of the wire frame model of FIG.

【0101】第1欄は面番号k、第2欄は面の頂点座
標、第3欄は第1近傍面、第4欄は第2近傍面のラベル
である。頂点は原点に最も近いものから、左回りの順で
番号付けする。面は全部で17面あるので上から下へ1
7面についての特徴量が記載される。図4の三面図での
面はiで、図7のワイヤフレ−ムモデルにおける面はk
で表現する。
The first column is the surface number k, the second column is the vertex coordinates of the surface, the third column is the label of the first neighboring surface, and the fourth column is the label of the second neighboring surface. The vertices are numbered in counterclockwise order starting with the one closest to the origin. There are 17 faces in all, so 1 from top to bottom
The feature amount for seven planes is described. The surface in the trihedral view of FIG. 4 is i, and the surface in the wire frame model of FIG. 7 is k.
Express with.

【0102】[0102]

【表4】 [Table 4]

【0103】面1の頂点は6つある。原点に近い(1,
1,1)から左回りに(1,1,124)、(128,
1,124)、(127,1,60)、(64,1,6
4)、(64,1,1)というふうに座標を決めてゆ
く。三面図において面i=1に対して表1の1行目にx
z座標が挙がっている。
There are six vertices on the surface 1. Close to the origin (1,
Counterclockwise from (1,1) (1,1,124), (128,
1,124), (127,1,60), (64,1,6)
4), determine the coordinates as (64, 1, 1). In the three-view drawing, x is on the first row of Table 1 for the plane i = 1.
The z coordinate is listed.

【0104】(1,*,1)(1,*,124)(12
8,*,124)(127,*,60)(64,*,6
4)(64,*,1)
(1, *, 1) (1, *, 124) (12
8, *, 124) (127, *, 60) (64, *, 6
4) (64, *, 1)

【0105】i=1面はxz面への投影であるからy座
標がなかった。逆投影してワイヤフレ−ムモデルを作っ
た時、面k=1は、面i=1から出て来る。そのy座標
はi=4、i=5の線分のy座標から求められてy=1
となる。そこでi=1の空欄になっていたy座標に1を
代入して面k=1の頂点座標を得る。
Since the i = 1 plane is a projection on the xz plane, there is no y coordinate. When backprojecting to make a wireframe model, the plane k = 1 emerges from the plane i = 1. The y-coordinate is obtained from the y-coordinate of the line segment of i = 4 and i = 5, and y = 1
Becomes Therefore, 1 is assigned to the y coordinate which is blank for i = 1 to obtain the vertex coordinate of the surface k = 1.

【0106】面k=1はxz面に平行な面であるからy
座標として同一の値が入るのは当然のように思われるで
あろう。しかし必ずしもそうではない。
Since the surface k = 1 is a surface parallel to the xz surface, y
It seems natural that the same values are entered as coordinates. But not always.

【0107】面k=2も、三面図i=1からでてくるの
であるが、y座標が違う。単に違うだけではなくて、同
一のy座標にならない。図4でk=2のy座標を与える
ものは、ネ、ラ、ヰ、ノの4点であるが、ネはy=12
8、ラはy=124、ヰはy=124、ノはy=128
である。
The surface k = 2 also comes from the trihedral view i = 1, but the y coordinate is different. Not just different, but not the same y coordinate. In Fig. 4, the points that give the y-coordinate of k = 2 are four points of ne, la, ヰ, and no.
8, La is y = 124, ヰ is y = 124, No is y = 128
Is.

【0108】そこで、k=2の座標は、先述の三面図の
i=1の*の部分を128、126、124のいずれか
で置き換えたものとなり同一にならない。これは誤差の
ためであり、面が傾いている訳ではない。
Therefore, the coordinate of k = 2 is the same as the above-mentioned three-view drawing in which the part of * in i = 1 is replaced by any of 128, 126, and 124, and is not the same. This is due to an error, and the surface is not inclined.

【0109】(1,124,1)(1,128,12
4)(128,128,124)(127,128,6
0)(64,126,64)(64,126,1)
(1,124,1) (1,128,12)
4) (128,128,124) (127,128,6)
0) (64, 126, 64) (64, 126, 1)

【0110】6点の内初めのy座標が124になるの
は、図4のラ点に対応するからである。二番めの点のy
座標が128になるのは図4のネ点からくるからであ
る。3番目の点もネ点からきてy=128である。4番
点は対応点が図4に存在しないがy=128とする。5
番点も対応点が図4にはない。6番点は対応点がないが
ネとラの中間であるからy=126を与える。
The reason that the y coordinate at the beginning of the six points is 124 is because it corresponds to the point la in FIG. Second point y
The coordinates become 128 because they come from the points in FIG. The third point is also y = 128 from the negative point. Although the corresponding point of the 4th point does not exist in FIG. 4, y = 128. 5
There is no corresponding point in FIG. The 6th point has no corresponding point, but is in the middle of the ne and the la, so y = 126 is given.

【0111】面k=3、4、5は、図4の面i=2から
くるから、xz座標は次のように決まっている。
Since the surfaces k = 3, 4, 5 come from the surface i = 2 in FIG. 4, the xz coordinates are determined as follows.

【0112】(64,*,1)(64,*,64)(1
27,*,60)(126,*,1)
(64, *, 1) (64, *, 64) (1
27, *, 60) (126, *, 1)

【0113】y座標が決まらないのでy座標を与える必
要がある。
Since the y coordinate cannot be determined, it is necessary to give the y coordinate.

【0114】k=3は図4のタ、ツ、ウ、ムによりy座
標が決まるが、いずれもy=1であるから、表1のi=
2のy座標に1を代入してk=3の座標を決定できる。
For k = 3, the y coordinate is determined by ta, t, u, and m in FIG. 4, but since y is 1 in all cases, i = in Table 1
By substituting 1 for the y coordinate of 2, the coordinate of k = 3 can be determined.

【0115】k=4は図4のレ、ソ、エ、コからy座標
が決まる。前3者はy座標が61で、最後のコが64で
ある。それでk=4の2、3番点はy=64となる。
1、4番点はy=61となる。
For k = 4, the y-coordinate is determined based on the values shown in FIG. The former three have a y-coordinate of 61 and the last coordinate is 64. Therefore, the 2nd and 3rd points of k = 4 become y = 64.
The 1st and 4th points are y = 61.

【0116】k=5は図4のネ、ラ、ヰ、ノからy座標
が決まる。3、4番点はネに対応するのでy=128で
ある。1、2番点は対応点がない。ネラの中間点である
ので(ネy=128、ラy=124)y=126を与え
る。このy座標は原図の座標としては存在しないもので
あるが、中間値としてこれを採用している。
For k = 5, the y-coordinate is determined from ne, la, square and no in FIG. Since points 3 and 4 correspond to ne, y = 128. Points 1 and 2 have no corresponding points. Since it is the midpoint of Nera (ne = 128, la = 124), y = 126 is given. This y coordinate does not exist as the coordinate of the original drawing, but it is adopted as the intermediate value.

【0117】k=6、7、8面は、三面図のi=3から
生ずる面である。xy面の面であるから次のようにx,
y座標は決まるがz座標が決まらない。
The k = 6, 7, and 8 planes are the planes resulting from i = 3 in the three-view drawing. Since it is the xy plane, x,
The y coordinate is determined, but the z coordinate is not determined.

【0118】(64,1,*)(126、1,*)(1
26,61,*)(64,61,*)
(64,1, *) (126,1, *) (1
26, 61, *) (64, 61, *)

【0119】面k=6は、図4のカ、ヲ、ウなどより来
るが、いずれもz=1であるから、*に1を代入したも
のとしてk=6の頂点座標が決まる。
The surface k = 6 comes from the positions k, w, u, etc. in FIG. 4, but since all z = 1, the vertex coordinates of k = 6 are determined by substituting 1 for *.

【0120】面k=7は、図4のヌ、ル、フ、コより決
まるが、ヌのz座標は60、ルのz座標は64,フのz
座標は65、コのz座標は65である。1番点はルフか
ら、4番点はルコより来るからz座標=64とする。2
番点はヌフから、3番点はヌコよりくるのでここでは平
均値を取ってz座標=63としている。もともとz=6
3という点が原図の図4には存在しなかったがここでは
平均操作によって発生してくる。
The surface k = 7 is determined by nu, le, hu, and ko in FIG. 4, but the z coordinate of nu is 60, the z coordinate of le is 64, and the z coordinate of hu is z.
The coordinates are 65, and the z coordinate of them is 65. Since the first point comes from Ruff and the fourth point comes from Ruko, the z coordinate is 64. Two
Since the number is from Nufu and the third is from Nuco, the average value is taken as z coordinate = 63 here. Originally z = 6
The point 3 did not exist in FIG. 4 of the original drawing, but here it occurs due to the averaging operation.

【0121】面k=8は、図4のリ、チ、ム、ノから決
まる。z座標は、リ=124、チ=124、ム=12
8、ノ=128であるのでこれらが一致しない。1番点
はムのうえにあり、リチの中間にある。そこで中間値1
27を取ることにする。2番点はリムの上にある。そこ
で中間値126とする。3番点はリの上でかつムノの中
間点にあるので128としている。4番点はリチの中間
点でムノの中間点でもある。ここではz座標=127し
ている。
The surface k = 8 is determined from the positions r, j, m, and no in FIG. The z coordinates are Li = 124, Chi = 124, Mu = 12.
Since 8 and No = 128, these do not match. The first point is above Mu and is in the middle of Richi. So the intermediate value 1
I will take 27. The second point is on the rim. Therefore, the intermediate value 126 is set. The third point is 128 because it is on the top of the line and at the midpoint of Muno. The fourth point is the middle point of Richi and also the middle point of Muno. Here, the z coordinate is 127.

【0122】以下同様にワイヤフレ−ムモデルの面の頂
点座標を決定してゆく。何れの場合も元になる面が三面
図の中に存在するので、2成分の座標が分かっている。
もうひとつの成分の座標を決定すれば良いのである。
Similarly, the vertex coordinates of the surface of the wire frame model are determined in the same manner. In any case, the original surface is present in the three-view drawing, so the coordinates of the two components are known.
All you have to do is determine the coordinates of the other component.

【0123】次に第1近傍面を決める。三面図では実線
を介して隣接する面であった。ワイヤフレ−ムモデルは
三面図を逆投影してつくったものであるから、その面を
逆投影して得られる面の総てが第1近傍面であるという
ことになる。
Next, the first neighboring surface is determined. In the three-view drawing, the surfaces are adjacent to each other via solid lines. Since the wire frame model is created by back-projecting a three-view drawing, all of the surfaces obtained by back-projecting that surface are the first neighboring surfaces.

【0124】三面図のひとつの面iから複数の面がワイ
ヤフレ−ムモデルにおいて生成される。これは同一面か
ら逆投影によって発生したものである。これらは第1近
傍面、第2近傍面に関しては全く等価で同一の第1近傍
面、第2近傍面を持つ。従って同一面から発生した面に
ついてはそのひとつだけについて第1近傍面、第2近傍
面を考察すれば良い。また第1近傍面はその面に平行で
ある。第2近傍面はその面に平行でない。
A plurality of planes are generated in the wire frame model from one plane i in the three-view drawing. This is caused by back projection from the same plane. These are completely equivalent and have the same first neighborhood surface and second neighborhood surface with respect to the first neighborhood surface and the second neighborhood surface. Therefore, for the surfaces generated from the same surface, only the first surface and the second surface may be considered. The first neighboring surface is parallel to that surface. The second neighboring surface is not parallel to that surface.

【0125】面k=1の第1近傍面は、k=3、4、5
の3つである。これはxy面への投影によって実線を介
して隣接する可能性があるからである。
The first neighborhood surface of the surface k = 1 is k = 3, 4, 5
There are three. This is because there is a possibility that they are adjacent to each other via the solid line due to the projection on the xy plane.

【0126】面k=2の第1近傍面も、k=3、4、5
の3つである。k=2はk=1と同じく、三面図のi=
1から発生しているのでこれは当然のことである。
The first neighborhood surface of the surface k = 2 is also k = 3, 4, 5
There are three. k = 2 is the same as k = 1, i =
This is natural because it originates from 1.

【0127】面k=3の第1近傍面は、相反性からk=
1、2である。これ以外には第1近傍面がない。面k=
4、5の第1近傍面も、k=1、2である。もともとk
=3、4、5は、同じi=2からできたものであるので
第1近傍面は同一である。
From the reciprocity, the first neighboring surface of the surface k = 3 is k =
1 and 2. Other than this, there is no first neighboring surface. Surface k =
The first neighboring surfaces 4, 5 also have k = 1, 2. Originally k
= 3, 4, and 5 are formed from the same i = 2, and thus the first neighboring surfaces are the same.

【0128】面k=6、7、8の第1近傍面は、面k=
9、10である。k=6、7、8は同じi=3の逆投影
から生じたものであるからこれは当然である。
The first neighboring surface of the surface k = 6, 7, 8 is the surface k =
9 and 10. This is natural since k = 6, 7, 8 results from the same i = 3 backprojection.

【0129】面k=9、10の第1近傍面は相反性か
ら、k=6、7、8である。これ以外に第1近傍面はな
い。
Due to reciprocity, the first neighboring surfaces of the surfaces k = 9 and 10 have k = 6, 7 and 8. Other than this, there is no first neighboring surface.

【0130】面k=11は同一面図に投影され実線を介
して隣接する面がない。三面図において、分割平面を含
む単純平面は相互に第1近傍面であった。k=11はk
=13と16を含むので、これらはk=11に対して第
1近傍面である。k=14、15は投影することにより
k=13と一致するので、k=14と15もk=11に
対して第1近傍面である。またk=17は投影によりk
=16と一致するので、これもk=11の第1近傍面で
ある。
The plane k = 11 is projected on the same plan view and there are no planes adjacent to each other via the solid line. In the three views, the simple planes including the division planes were the first neighboring planes. k = 11 is k
= 13 and 16, they are the first neighborhoods for k = 11. Since k = 14 and 15 match with k = 13 by projecting, k = 14 and 15 are also the first neighboring surfaces with respect to k = 11. Also, k = 17 is k by projection
= 16, which is also the first neighborhood surface of k = 11.

【0131】k=12は、k=11と投影において一致
するので同じ第1近傍面を持つ。従って、k=12の第
1近傍面は、13、14、15、16、17である。k
=13は実線を介してk=16と接している。またk=
17はk=16と同じくi=7から生じている。k=1
1はk=13を含む。このような理由で、k=13の第
1近傍面は、k=11、12、16、17である。
Since k = 12 corresponds to k = 11 in projection, it has the same first neighboring surface. Therefore, the first neighboring surfaces with k = 12 are 13, 14, 15, 16, and 17. k
= 13 is in contact with k = 16 via the solid line. K =
17 results from i = 7 as well as k = 16. k = 1
1 includes k = 13. For this reason, the first neighborhood surface with k = 13 has k = 11, 12, 16, and 17.

【0132】k=14とk=15も、k=13と同じ
く、i=6から発生している。当然第1近傍面は、k=
11、12、16、17である。
Similarly to k = 13, k = 14 and k = 15 also occur from i = 6. Naturally, the first neighborhood surface is k =
11, 12, 16, and 17.

【0133】k=16はこれを含むk=11、これと同
じi=5から生ずるk=12を第1近傍面とする。また
実線を介して隣接するk=13も第1近傍面である。k
=14、15もこれと同じi=6から発生するので、こ
れらも第1近傍面である。結局、k=16の第1近傍面
は、k=11、12、13、14、15である。
K = 16 includes k = 11 including this, and k = 12 generated from i = 5 which is the same as k = 16 is the first neighboring surface. Further, k = 13 adjacent to each other via the solid line is also the first neighboring surface. k
= 14 and 15 also occur from the same i = 6, so these are also the first neighboring surface. After all, the first neighborhood surface of k = 16 has k = 11, 12, 13, 14, and 15.

【0134】k=17は、k=16と同じくi=7から
生ずるものであるから、第1近傍面は、k=11、1
2、13、14、15である。
Since k = 17 arises from i = 7 like k = 16, the first neighborhood surface has k = 11,1.
2, 13, 14, and 15.

【0135】以上で総ての面について第1近傍面を明ら
かにした。ここでワイヤフレ−ムモデルにおける第1近
傍面について注意すべきことがある。第1近傍面の不変
性ということを述べた。これは三面図において第1近傍
面にある面はワイヤフレ−ムモデルにおいても第1近傍
面にあるという性質である。ところがワイヤフレ−ムモ
デルにおいて面の数が多いので、第1近傍面といっても
三面図において定義した意義を失っている。三面図にお
ける第1近傍面は、実線または破線を介して隣接する面
であったから、面が離れているか、線分の両側で折れ曲
がっているかである。同一平面上にあるという可能性は
ない。
As described above, the first neighboring surface has been clarified for all the surfaces. Attention should be paid to the first neighboring surface in the wire frame model. The invariance of the first neighborhood surface is stated. This is the property that the surface in the first vicinity surface in the trihedral view is also in the first vicinity surface in the wire frame model. However, since the wire frame model has a large number of planes, the first neighborhood plane loses the significance defined in the trihedral view. Since the first neighboring surface in the three-sided view is a surface adjacent to each other via a solid line or a broken line, it is determined whether the surfaces are separated or bent on both sides of the line segment. There is no possibility of being on the same plane.

【0136】しかしワイヤフレ−ムモデルにおける第1
近傍面は同一平面上にある(1と3、2と5、16と1
3等)ものも存在する。これは本来禁止されるべきであ
るが、三面図からワイヤフレ−ムモデルの作成の際の多
義性によってこのようなことが現れる。このために同じ
ように第1近傍面といっても本来の定義に従うものとそ
うでない虚のものができるということである。つまり第
1近傍面の間にランクが発生する。そこで最も相応しい
第1近傍面を選ぶことにより面の関係を正しく決めると
いうことが可能になる。
However, the first in the wire frame model
Near surfaces are coplanar (1 and 3, 2 and 5, 16 and 1
3 etc.) exist. This should be prohibited in principle, but this is caused by the ambiguity when creating the wire frame model from the three-view drawing. For this reason, similarly, it can be said that even if it is referred to as the first neighboring surface, there are one that conforms to the original definition and one that does not. That is, a rank occurs between the first neighboring surfaces. Therefore, it becomes possible to correctly determine the surface relationship by selecting the most suitable first neighboring surface.

【0137】次に第2近傍面について説明する。これは
三面図においてその面を構成する線分を3軸に射影した
時に合致する面として定義されている。従ってワイヤフ
レ−ムモデルにおいては、対象とする面の稜線を共有し
ている面は第2近傍面である。また基本面に対する投影
によりこの面と合致する面も第2近傍面である。またあ
る面の第2近傍面は、その面の第2近傍面である。
Next, the second neighboring surface will be described. This is defined as a surface that coincides when the line segments that form the surface are projected on the three axes in the three-view drawing. Therefore, in the wire frame model, the surface sharing the ridgeline of the target surface is the second neighboring surface. Further, the surface that matches this surface by projection onto the basic surface is also the second neighboring surface. The second vicinity surface of a certain surface is the second vicinity surface of the surface.

【0138】面k=1は、その周りに稜線を共有する面
k=9、11、10、17、7、14を持つ。これらは
当然に第2近傍面である。k=12は、k=11とYZ
平面へのXY平面の投影において合致するので、k=1
2もk=1の第2近傍面である。k=6、k=8は、k
=7と投影によって合致する(i=3から生じている)
ので、これらもk=1の第2近傍面である。k=13と
15は、k=14と同じi=6から発生しているので、
k=13、15もk=1の第2近傍面である。結局、k
=1の第2近傍面は、6、7、8、9、10、11、1
2、13、14、15、16、17である。つまり、k
=1に対して第2近傍面でない面は、k=2、3、4、
5の面である。この内3、4、5は第1近傍面であるか
ら、相補性より第2近傍面に含まれないのは当然であ
る。k=2は投影において重なる同一発生源を持つ面で
あるので、第1近傍面でも第2近傍面でもない。面k=
2は、k=1と同じ発生であるから、近傍面は等しい。
第2近傍面は、6、7、8、9、10、11、12、1
3、14、15、16、17である。
The surface k = 1 has surfaces k = 9, 11, 10, 17, 7, 14 sharing the ridge line around it. These are, of course, the second neighboring surface. k = 12 is k = 11 and YZ
Since they match in the projection of the XY plane onto the plane, k = 1
2 is also the second neighboring surface of k = 1. k = 6 and k = 8 are k
= 7 and projection match (resulting from i = 3)
Therefore, these are also the second neighboring surface with k = 1. Since k = 13 and 15 are generated from i = 6 which is the same as k = 14,
k = 13 and 15 are also the second neighboring surfaces with k = 1. After all, k
The second neighborhood surface of = 1 is 6, 7, 8, 9, 10, 11, 1
2, 13, 14, 15, 16, and 17. That is, k
= 1, the surface that is not the second neighboring surface is k = 2, 3, 4,
It is the fifth side. Of these, since 3, 4, and 5 are the first neighboring surfaces, it is natural that they are not included in the second neighboring surface due to their complementarity. Since k = 2 is a surface having the same generation source that overlaps in projection, it is neither the first near surface nor the second near surface. Surface k =
Since 2 is the same occurrence as k = 1, the neighboring surfaces are equal.
The second neighboring surface is 6, 7, 8, 9, 10, 11, 12, 1
3, 14, 15, 16, and 17.

【0139】面k=3は、k=6、7、14、15と稜
線を共にするので、これらが第2近傍面である。k=8
はk=7と同じ発生であるから第2近傍面である。k=
13は、k=15や14が第2近傍面であるからこれも
第2近傍面となる。k=17は線分の投影が、k=3と
合致するものがあるので、これも第2近傍面である。k
=16は17と同一発生面であるからこれも第2近傍面
である。k=12は稜線の一部を共有するが完全に合致
していないので、これは第2近傍面ではない。等価のk
=11も第2近傍面でない。k=9は稜線を共にしない
が軸に投影すると合致する線分を持つので、k=3の第
2近傍面である。k=10も同じである。結局k=3の
第2近傍面は、k=6、7、8、9、10、13、1
4、15、16、17である。残りのk=1、2は第1
近傍面である。k=4、5は同一発生の面である。k=
11と12はいずれでもない。面k=4、5は投影によ
りk=3と合致するので、k=3と同じ第2近傍面を持
つ。
Since the surface k = 3 shares the ridge line with k = 6, 7, 14, and 15, these are the second neighboring surfaces. k = 8
Is the second neighboring surface because it has the same occurrence as k = 7. k =
In No. 13, since k = 15 or 14 is the second near surface, this is also the second near surface. When k = 17, there is a projection of a line segment that coincides with k = 3, so this is also the second neighboring surface. k
Since = 16 is the same generation surface as 17, it is also the second neighboring surface. Since k = 12 shares a part of the ridgeline but does not completely match, this is not the second neighborhood surface. Equivalent k
= 11 is not the second neighboring surface. k = 9 is the second neighboring surface of k = 3 because it has a line segment that does not share the ridge line but matches when projected on the axis. The same applies to k = 10. After all, the second neighboring surface of k = 3 is k = 6, 7, 8, 9, 10, 13, 1,
4, 15, 16, and 17. The remaining k = 1, 2 is the first
It is a near surface. k = 4 and 5 are the same occurrence planes. k =
11 and 12 are neither. The planes k = 4 and 5 coincide with k = 3 by projection, and thus have the same second neighboring plane as k = 3.

【0140】k=6は、k=3、4、15、14と稜線
を共有するので、これらは第2近傍面である。k=1、
2とはx軸への投影で合致する線分を有するので第2近
傍面である。k=16、17はy軸への投影において合
致する線分を持つ。結局、k=1、2、3、4、5、1
3、14、15、16、17である。
Since k = 6 shares a ridgeline with k = 3, 4, 15, and 14, these are second neighboring surfaces. k = 1,
2 is the second neighboring surface because it has a line segment that matches the projection on the x-axis. k = 16 and 17 have line segments that match in the projection on the y axis. After all, k = 1, 2, 3, 4, 5, 1
3, 14, 15, 16, and 17.

【0141】k=7、8はk=6と同じ第2近傍面を持
つ。
K = 7 and 8 have the same second neighboring surface as k = 6.

【0142】k=9は、稜線を共有するものとして、k
=1、14、4、17、2、11を持つ。これらは第2
近傍面である。これらと同じ面から発生したk=13、
15、3、5、16、12も第2近傍面である。全部で
第2近傍面はk=1、2、3、4、5、11、12、1
3、14、15、16、17である。
When k = 9, the edge is shared, and k = 9.
= 1, 14, 4, 17, 17, 2 and 11. These are the second
It is a near surface. K = 13 generated from these same planes,
15, 3, 5, 16, and 12 are also second neighboring surfaces. The second neighboring surfaces in total are k = 1, 2, 3, 4, 5, 11, 12, 1
3, 14, 15, 16, and 17.

【0143】k=10も当然同じ第2近傍面を持つ。Of course, k = 10 also has the same second neighboring surface.

【0144】k=11と12は、k=1、2、9、10
のみを第2近傍面としている。
K = 11, 12 means that k = 1, 2, 9, 10
Only the second neighboring surface is used.

【0145】k=14は、稜線を共有するものとして、
k=1、3、6、4、7、9がある。これらと同一発生
の面を加えて、第2近傍面は1、2、3、4、5、6、
7、8、9、10である。k=13、14、15ともに
同じ第2近傍面を持つ。
When k = 14, the edges are shared, and
There are k = 1, 3, 6, 4, 7, 9. In addition to these same generation surfaces, the second neighboring surface is 1, 2, 3, 4, 5, 6,
7, 8, 9, and 10. k = 13, 14, and 15 have the same second neighboring surface.

【0146】k=17は稜線を共有する面として、k=
1、7、4、9、10を持ちこれらは第2近傍面であ
る。これらと同一発生の面を加えて、k=1、2、3、
4、5、6、7、8、9、10が第2近傍面である。k
=16も同じである。
K = 17 is a surface sharing an edge line, and k = 17
It has 1, 7, 4, 9, 10 and these are the second neighboring surfaces. Adding the same occurrence planes as these, k = 1, 2, 3,
4, 5, 6, 7, 8, 9, 10 are the second neighboring surfaces. k
= 16 is also the same.

【0147】第2近傍面について注意すべきことがあ
る。三面図における第2近傍面は稜線を共有する2面で
あり隣接していなければならなかった。しかしワイヤフ
レ−ムモデルにおいては三面図の第2近傍面を対応する
可能性のある面の総てに広げているために本来第2近傍
面でないものも、第2近傍面として挙げられる。つまり
真に第2近傍面であるものと虚の第2近傍面がある。そ
こで着眼している面と第2近傍面の関係が真であるか虚
であるかを確率変数を用いて評価し、三面図の面iとワ
イヤフレ−ムモデルの面kの対応の程度を調べることが
できる。
Attention should be paid to the second neighboring surface. The second neighboring surface in the three-view drawing was two surfaces sharing the ridgeline and had to be adjacent. However, in the wire frame model, the second neighboring surface of the three-view drawing is widened to all the surfaces that may correspond to it, so that a surface that is not originally the second neighboring surface is also included as the second neighboring surface. That is, there is a true second neighborhood surface and an imaginary second neighborhood surface. Therefore, by using a random variable, it is evaluated whether the relationship between the target surface and the second neighboring surface is true or imaginary, and the degree of correspondence between the surface i of the three-view drawing and the surface k of the wire frame model is examined. You can

【0148】[8.候補面の選択]図9は本発明の手法
を順番に示したものである。これまでに述べたことは図
9で「はじめ」と書いている部分に当たる。「三面図か
ら抽出された平面と、ワイヤフレ−ムモデルの面の組み
をつくる」という段階を次に説明する。三面図の面i
と、ワイヤフレ−ムモデルにおける面kを対応させる。
面kは総ての頂点が三次元座標を持つ。面iは頂点座標
が二次元でありもうひとつの座標が欠けている。面iは
いずれかの面kに対応する。どの面に対応するかを計算
によって求める。もしもすべての面iと総ての面kをそ
のまま対応させると、M(P)からN(T)を取り出す
場合の数〔M(P)!/{M(P)−N(T)}!}も
の膨大な数の対応を考えなければならない。例えば、M
(P)=5、N(T)=3という極めて単純な場合で
も、5×4×3=60通りの場合がある。面の数が多い
と総当たり法では計算量が膨大になりとても解けないと
いうことが分かろう。しかし良く考えてみればiに関し
て初めに対応しうる面kの範囲を限定することができ
る。
[8. Selection of Candidate Surface] FIG. 9 shows the method of the present invention in order. What has been described so far corresponds to the part written as "beginning" in FIG. The step of "creating a set of planes extracted from the three-view drawing and surfaces of the wire frame model" will be described below. Surface i of the three-sided view
And the plane k in the wire frame model is made to correspond.
All vertices of the surface k have three-dimensional coordinates. The surface i has two-dimensional vertex coordinates and lacks another coordinate. Surface i corresponds to any surface k. Calculate which face it corresponds to by calculation. If all the faces i and all the faces k are directly corresponded, the number [M (P)! / {M (P) -N (T)}! } Must deal with a huge number of correspondences. For example, M
Even in a very simple case of (P) = 5 and N (T) = 3, there are 5 × 4 × 3 = 60 cases. It can be seen that if the number of faces is large, the amount of calculation by the brute force method becomes enormous and it cannot be solved. However, upon careful consideration, it is possible to limit the range of the surface k that can be initially dealt with regarding i.

【0149】本発明においては、二次元座標に関しては
面iの頂点座標と同一の面kを、面iに対応させる。つ
まり三面図に投影するとiに重なる面kを対応させるの
である。このように初めから限定された対応する可能性
のある面kを面iの候補面ということにする。この関係
を(i,k)と書く。ひとつのiに対して複数の候補面
kがある。計算を行うことにより、この対応を1:1に
できれば面が確定することになる。
In the present invention, the surface k, which is the same as the vertex coordinates of the surface i in the two-dimensional coordinates, is associated with the surface i. That is, when projected on a three-view drawing, the surface k that overlaps i is associated. In this way, the surface k which is limited from the beginning and has a possibility of being corresponded to is a candidate surface of the surface i. This relationship is written as (i, k). There are multiple candidate surfaces k for one i. By performing the calculation, if this correspondence can be made 1: 1, the surface will be determined.

【0150】図4と図7の例では、i=1の候補面は、
k=1、2である。i=2の候補面は、k=3、4、5
である。i=3の候補面は、k=6、7、8である。i
=4の候補面は、k=9、10である。i=5の候補面
は、k=11、12である。i=6の候補面は、k=1
3、14、15である。i=7の候補面は、k=16、
17である。これを表3に対応面リスト(i,k)とし
て示した。
In the example of FIGS. 4 and 7, the candidate surface with i = 1 is
k = 1, 2. The candidate surfaces with i = 2 are k = 3, 4, 5,
Is. The candidate surfaces with i = 3 are k = 6, 7, and 8. i
= 4, the candidate surfaces are k = 9 and 10. The candidate planes with i = 5 are k = 11,12. The candidate surface of i = 6 is k = 1.
3, 14, and 15. The candidate surface of i = 7 is k = 16,
Seventeen. This is shown in Table 3 as the corresponding surface list (i, k).

【0151】[9.対応の高さの初期確率の設定]対応
(i,k)は上記の例では2つまたは3つにしかすぎな
い。しかし図形が複雑であれば、もっと大きくの組みの
対応が成り立つ。これらの対応をなす候補面からどれが
最適であるかを調べる。
[9. Setting Initial Probability of Correspondence Height] Correspondence (i, k) is only two or three in the above example. However, if the figure is complex, a larger set of correspondences will hold. From the candidate planes that make these correspondences, we investigate which is the best.

【0152】近傍面との関係から対応の高さを示すもの
を適合係数と呼ぶ。これを用いて対応の確率を求めるの
であるが、初期確率Pik 0 を初めに与える。初期対応P
ik′を次のように定義する。(ただし、サフィックスk
は括弧で括り、近似の次数を示す0は括弧で括るべきで
あるが、JISでそのような表現ができないので、括弧
を省いている。)
What indicates the corresponding height from the relationship with the neighboring surface is called the adaptation coefficient. The probability of correspondence is obtained using this, and the initial probability P ik 0 is given first. Initial support P
ik ′ is defined as follows. (However, suffix k
Should be enclosed in parentheses, and 0 indicating the order of approximation should be enclosed in parentheses, but since such an expression cannot be made in JIS, parentheses are omitted. )

【0153】(a)面iが単純平面w=0である時、(A) When the surface i is a simple plane w = 0,

【0154】 Pik′=〔Σn=1 NkV{x′kn 2 +y′kn 2 +z′kn 21/2-1 (3)P ik ′ = [Σ n = 1 NkV {x ′ kn 2 + y ′ kn 2 + z ′ kn 2 } 1/2 ] −1 (3)

【0155】nは候補面kの頂点の番号で、(x′kn
y′kn,z′kn)はその頂点の座標である。NkVは頂
点の総数である。これはワイヤフレ−ムモデルにおい
て、面kの総ての頂点の原点からの距離の和の逆数であ
る。
N is the number of the vertex of the candidate surface k, and (x ' kn ,
y'kn , z'kn ) are the coordinates of the vertex. NkV is the total number of vertices. This is the reciprocal of the sum of the distances from the origin of all the vertices of the surface k in the wire frame model.

【0156】iが単純平面の場合は、基本面に投影した
時に実線として現れるので、三面図で基本面により近い
ということを意味している。するとこれに対応するワイ
ヤフレ−ムモデルにおける面kはより原点に近い筈であ
る。そこで面kの頂点と原点の距離のできるだけ小さい
ものを選ぶ確率が大きくなるように初期対応を決める。
iの対応面kは複数個あるが、頂点の数は等しくて形状
は幾何学的に合同であるから、上の式を計算すると、原
点から面重心の距離に相応するものが得られる。だから
上式により原点から遠いものに高い初期対応を与えるこ
とができる。
When i is a simple plane, it appears as a solid line when projected on the basic surface, which means that it is closer to the basic surface in the three-view drawing. Then, the surface k in the wire frame model corresponding to this should be closer to the origin. Therefore, the initial correspondence is determined so that the probability that a distance between the vertex of the surface k and the origin is as small as possible is increased.
Although there are a plurality of corresponding surfaces k of i, the number of vertices is the same and the shapes are geometrically congruent. Therefore, when the above formula is calculated, the one corresponding to the distance from the origin to the surface centroid is obtained. Therefore, it is possible to give a high initial correspondence to those far from the origin by the above formula.

【0157】例えばi=1の候補面はk=1、2であ
り、実際にはk=1が対応面であるが、上式によりk=
1に高い確率を与えることができる。しかしi=2に対
しては事情が異なる。候補面k=3、4、5の内最大の
初期対応を持つものはk=3であるが、実際の対応面は
k=4であり、初期対応が必ずしも最適でないというこ
とが分かる。
For example, the candidate surface of i = 1 has k = 1 and 2, and in reality k = 1 is the corresponding surface, but k =
One can be given a high probability. However, the situation is different for i = 2. Of the candidate surfaces k = 3, 4, 5, the one with the largest initial correspondence is k = 3, but the actual corresponding surface is k = 4, and it can be seen that the initial correspondence is not necessarily optimal.

【0158】(b)面iが分割平面w=1または複合平
面w=2であるとき、
(B) When the surface i is the division plane w = 1 or the composite plane w = 2,

【0159】 Pik′=Σn=1 NkV{x′kn 2 +y′kn 2 +z′kn 21/2 (4)P ik ′ = Σ n = 1 NkV {x ′ kn 2 + y ′ kn 2 + z ′ kn 2 } 1/2 (4)

【0160】これは面kの頂点と原点の距離の和を求め
初期対応としているている。分割平面や複合平面の場合
は、破線で描かれているので、基本面から遠いものであ
るはずである。そこで面kの原点からの距離が大きいも
のにより高い初期対応を与える。しかしこれも初めから
正しい確率を与える訳ではない。i=6は分割平面であ
り、候補面k=13、14、15を持つ。初期対応
ik′はk=15が最も大きいが、実際の対応面はk=
14である。
This is the initial correspondence by calculating the sum of the distances between the vertices of the surface k and the origin. In the case of a dividing plane or a compound plane, it is drawn from a broken line, so it should be far from the basic plane. Therefore, a higher initial correspondence is given to a surface k having a large distance from the origin. However, this also does not give the correct probability from the beginning. i = 6 is a division plane and has candidate surfaces k = 13, 14, and 15. The initial correspondence P ik ′ has the largest k = 15, but the actual correspondence surface is k =
It is 14.

【0161】初期対応が必ずしも最適確率の順でなくて
も良いのはもちろんである。初期対応は単なる初期値で
あって、定数であっても良いぐらいである。計算の収束
を早くするために上記の式を選んでいるがその他の決め
方でも差し支えない。
Of course, the initial correspondence does not necessarily have to be in the order of the optimum probability. The initial correspondence is just an initial value and may be a constant. The above formula is selected in order to speed up the calculation convergence, but other determination methods may be used.

【0162】候補面kがiの対応面であることを示す0
次の確率Pik 0 は、前記の初期対応を正規化して、
0 indicating that the candidate surface k is the corresponding surface of i
The next probability P ik 0 normalizes the initial correspondence,

【0163】 Pik 0 =Pik′/{Σkik′} (5)P ik 0 = P ik ′ / {Σ k P ik ′} (5)

【0164】によって与える。これは既に述べたよう
に、単純平面の場合は候補面の内、原点からより近いも
のが、分割平面や複合平面の場合は原点からより遠いも
のが高い確率を持つように決められ、しかも正規化され
ている。以後近似の次数tを高めてゆくが確率変数は、
kに関する変数の合計が常に1になるように正規化され
ている(Σkik t =1)。
Given by As already mentioned, this is determined so that the candidate plane closer to the origin in the case of a simple plane has a higher probability of being farther from the origin in the case of a division plane or a compound plane, and more Has been converted. Thereafter, the order t of the approximation is increased, but the random variable is
It is normalized so that the sum of the variables related to k is always 1 (Σ k P ik t = 1).

【0165】初期確率Pik 0 は三面図の面i自体の特徴
によって決められている。しかしこれだけでは対応面を
決めることができない。正確に対応面を決めるために
は、第1近傍面、第2近傍面との関係を用いて、確率を
段階的に修正して行く必要がある。実際面i自体の性質
は、初期確率を設定する時に用いるだけであり、以後は
利用しない。面自体の孤立した性質は面の位置を決定す
る上で余り役に立たない。逆に、近傍面との関係の方が
より多くの情報を担っている。
The initial probability P ik 0 is determined by the characteristics of the surface i itself in the three views. However, it is not possible to decide the correspondence aspect with this alone. In order to accurately determine the corresponding surface, it is necessary to modify the probability stepwise by using the relationship between the first neighborhood surface and the second neighborhood surface. The property of the actual surface i itself is used only when setting the initial probability, and is not used thereafter. The isolated nature of the surface itself is of little use in determining the position of the surface. Conversely, the relationship with the near surface bears more information.

【0166】[10.近傍面との相対関係により確率を
修正する事]近傍面の不変の原理から、三面図における
平面iの第1近傍面、第2近傍面は、iの候補面kの第
1近傍面、第2近傍面と合致するはずである。ある面と
近傍面の関係は三面図であっても、ワイヤフレ−ムモデ
ルの面であっても同じ筈である。
[10. Correcting the probability by the relative relationship with the neighboring surface] From the invariant principle of the neighboring surface, the first neighboring surface of the plane i and the second neighboring surface in the trihedral view are the first neighboring surface of the candidate surface k of i, 2 should match the near plane. The relationship between a certain surface and the near surface should be the same whether it is a three-view drawing or a wire frame model surface.

【0167】ところがワイヤフレ−ムモデルでは多くの
虚の面ができているから、実在しない面がある。このよ
うな面は第1近傍面と同一平面上にあることが多い。ま
た第2近傍面と離れていることが多い。ワイヤフレ−ム
モデルにおいて、第1近傍面、第2近傍面との関係がこ
のように不適切であるということは、これが虚の面であ
り、三面図の面に対応しないということである。
However, since many imaginary surfaces are formed in the wire frame model, some surfaces do not exist. Such a surface is often coplanar with the first neighboring surface. Further, it is often separated from the second neighboring surface. In the wire frame model, the improper relationship with the first and second neighboring surfaces is that this is an imaginary surface and does not correspond to the planes of the three views.

【0168】従って、ある面iの候補面kの内、第1近
傍面、第2近傍面の対応が、本来の第1近傍面、第2近
傍面としての対応にふさわしければその面kは、面iの
対応面である可能性が高い。反対に候補面kの内、第1
近傍面、第2近傍面の対応が、本来の第1近傍面、第2
近傍面の対応にふさわしくないと、その面は虚の面でi
に対応しないのである。
Therefore, among the candidate surfaces k of a certain surface i, if the correspondence between the first neighboring surface and the second neighboring surface is suitable as the original correspondence between the first neighboring surface and the second neighboring surface, then that surface k is , I is likely to be the corresponding surface. On the contrary, the first of the candidate surfaces k
The correspondence between the near surface and the second near surface is the original correspondence between the first near surface and the second
If the surface is not suitable for correspondence, it is an imaginary surface and i
It does not correspond to.

【0169】そこで、各平面iと近傍面リスト、候補面
kの近傍面リストを用いて、両者の構成の対応関係を調
べる。面iと近傍面、面kと近傍面の調和が取れていれ
ば、kに対する対応の程度Pikを強め、調和が取れてい
なければkに対する対応の程度Pikを弱める。これを辻
褄合わせという。辻褄合わせによって最適の対応面を捜
して行く方法を弛緩法と呼ぶことにする。近傍面といっ
ても第1近傍面と第2近傍面がある。従って両方の近傍
面に関する辻褄合わせを行う必要がある。
Therefore, using each plane i, the neighboring surface list, and the neighboring surface list of the candidate surface k, the correspondence between the two configurations is examined. If the surface i and the near surface are in harmony, and the surface k and the near surface are in harmony, the degree of correspondence P ik with respect to k is strengthened, and if they are not in harmony, the degree of correspondence P ik with respect to k is weakened. This is called TSUJI. The method of searching for the most suitable corresponding surface by combining Tsuji is called relaxation method. Even if it says the near surface, there are a first near surface and a second near surface. Therefore, it is necessary to carry out scrutiny on both the near surfaces.

【0170】[第1近傍面に対する第1適合係数] こ
れは第1近傍面の関係の同一性から、三面図の面と、ワ
イヤフレ−ムモデルにおける面との対応を特徴付けるも
のである。三面図の面iに対するワイヤフレ−ムモデル
における候補面をkとする。面iの第1近傍面をjとす
る。面jに対するワイヤフレ−ムモデルにおける候補面
をlとする。
[First Fitting Coefficient for First Neighboring Surface] This characterizes the correspondence between the surface of the three-view drawing and the surface in the wire frame model from the sameness of the relationship of the first neighboring surface. Let k be a candidate surface in the wire frame model for the surface i in the three views. The first neighboring surface of the surface i is j. Let l be a candidate surface in the wire frame model for the surface j.

【0171】先述の近傍面の不変の原理から、lはkの
第1近傍面である。ところがワイヤフレ−ムモデルにお
ける第1近傍面は本来の第1近傍面とそうでない第1近
傍面を含む。第1近傍面は平行で離れているか、折れ曲
がって隣接する面である。ところがワイヤフレ−ムモデ
ルにおいては、平行で接する面も含まれる。このような
第1近傍面は本来の意義から離れたものである。
From the above-mentioned invariant principle of the near surface, l is the first near surface of k. However, the first neighborhood surface in the wire frame model includes the original first neighborhood surface and the original first neighborhood surface. The first neighboring surface is a surface that is parallel and separate, or is bent and adjoins. However, in the wire frame model, parallel and contacting surfaces are also included. Such a first neighboring surface is far from its original meaning.

【0172】lがkの本来的な第1近傍面であれば、i
とkの対応関係はより深い筈である。そこで第1近傍面
をその意義からみて評価することができる。lとkが互
いに本来的な第1近傍面である可能性の高さを示す第1
適合係数rijkl 1 をつぎのように定める。サフィックス
の1は第1近傍面に対するものであるという意味であ
る。1乗という意味ではない。
If l is the original first neighborhood of k, then i
The correspondence between k and k should be deeper. Therefore, the first neighboring surface can be evaluated in terms of its significance. A first value indicating the probability that l and k are mutually original first neighboring surfaces.
The matching coefficient r ijkl 1 is defined as follows. The suffix 1 means that it is for the first neighboring surface. It does not mean the 1st power.

【0173】この適合係数は「実線で隣り合った平面
(本来の第1近傍面)は同一平面上には存在しない。」
ということを反映している。三面図において同一の面に
隣接して現れるのであるから、第1近傍面はもともと同
一平面上にはありえない。たとえ、1辺を共有していた
としても、斜めになっている筈である。つまり、lとk
が第1近傍面であるためには、面が離れているか、斜め
になっているかが要求される。そこで本来的な第1近傍
面の場合に値の大きくなる次のような適合係数を用い
て、虚の第1近傍面を落とすようにする。
This matching coefficient is "a plane adjacent to each other by a solid line (original first neighboring surface) does not exist on the same plane."
It reflects that. Since they appear adjacent to the same surface in the three-view drawing, the first neighboring surface cannot originally be on the same plane. Even if one side is shared, it should be slanted. That is, l and k
Is a first neighboring surface, it is required that the surfaces are separated or slanted. Therefore, the imaginary first neighborhood surface is dropped by using the following adaptation coefficient that has a large value in the case of the original first neighborhood surface.

【0174】 rijkl 1 =min〔2{1−|nk ・nl |/|nk ||nl |}+|nk ・( ak −al )|/h,2〕 (6)R ijkl 1 = min [2 {1- | n k · n l | / | n k || n l |} + | n k · ( ak −a l ) | / h, 2] (6 )

【0175】ここでminというのは、〔…,…〕の中
で最小のものを選ぶという記号である。括弧のなかに
は、ひとつの式と数字の2がある。いずれか小さいほう
を取るのである。nk とnl は候補面である面kとlの
法線ベクトルである。上に→をつけるべきであるが、J
ISではこれができないので省略している。二つのベク
トルの内積を・で表している。
Here, min is a symbol for selecting the smallest one among [..., ...]. Inside the brackets is an expression and the number 2. Take whichever is smaller. n k and n l are normal vectors of the candidate surfaces k and l. You should put a → at the top, but J
This is omitted because IS cannot do this. The dot product of two vectors is represented by.

【0176】|…|は絶対値をとることを意味してい
る。括弧の中の式の前半第1項は、結局、面kとlの法
線のなす角Φklの余弦で1を引いたものに2を掛けたも
のである。つまりsin2(Φkl/2)である。面が平行で
あればこれは0となる。非平行の場合は正の値となる。
最大は1である。これはlとkが非平行であるほど本来
の第1近傍面である可能性が高いということを式にした
ものである。
[...] means to take an absolute value. The first term of the first half of the expression in the parenthesis is, after all, obtained by subtracting 1 by the cosine of the angle Φ kl formed by the normal line of the surfaces k and l and multiplying by 2. So it is sin 2kl / 2). If the planes are parallel, this will be zero. If non-parallel, it will be a positive value.
The maximum is 1. This is an expression that the more the l and k are non-parallel, the higher the possibility of being the original first neighboring surface.

【0177】括弧の中の式の第2項に付いて述べる。a
k は候補面kとlの接点以外の、面kの頂点座標のひと
つである。al は候補面lとkの接点以外の、面lの頂
点座標のひとつである。これもベクトルであるが、→を
つけることができないので→を省いている。
The second term of the expression in the parentheses will be described. a
k is one of the vertex coordinates of the surface k other than the contact point between the candidate surfaces k and l. a l is one of the vertex coordinates of the surface l other than the contact point between the candidate surfaces l and k. This is also a vector, but since → cannot be added, → is omitted.

【0178】これは面kとlの距離が離れているほど本
来的な第1近傍面である可能性が高いとするものであ
る。もしも2つの平面が平行であれば、式の第2項は定
数になる。この場合これは平行2面間の距離を表す。h
は既に出ているが、頂点座標の食い違いの余裕長さであ
る。平行でない場合は、これは定まらない。al の取り
方による。しかし異なる面であれば、2hより大きくな
るので、この項が2を与える。
This is because the more the distance between the surfaces k and l is, the higher the possibility of being the original first neighboring surface is. If the two planes are parallel, the second term of the equation will be a constant. In this case this represents the distance between the two parallel faces. h
Has already appeared, but it is the margin length of the discrepancy in the vertex coordinates. If they are not parallel, this is uncertain. It depends on how to take a l . However, for different planes, it will be greater than 2h, so this term gives 2.

【0179】第1適合係数rijklはkとlが真の第1近
傍面である可能性を与える係数であるが、全体として候
補面kとlとが同一平面内にある場合に小さくなるよう
になっている。真の第1近傍面はこのような場合に現れ
る筈がないからである。大雑把に言って、非平行である
か、離隔しているときに本来的な第1近傍面だとするの
である。図8は、適合係数rijklの意味を幾何学的に説
明するものである。
The first matching coefficient r ijkl is a coefficient that gives the possibility that k and l are true first neighboring surfaces, but it will be small when the candidate surfaces k and l are in the same plane as a whole. It has become. This is because the true first neighboring surface should not appear in such a case. Roughly speaking, they are non-parallel, or when they are separated from each other, they are the original first neighboring surfaces. FIG. 8 is a diagram for geometrically explaining the meaning of the matching coefficient r ijkl .

【0180】図8(a)は2つの候補面kとlが同一平
面にある場合を示す。これは法線ベクトルが合致するの
で(6)の括弧内第1項が0となる。また、nk ・(a
k −al )も0になる。従って、kとlが同一面内にあ
る場合は、rijkl 1 が0となる。このような2面が第1
近傍面であるはずがない。つまり第1近傍面としてこの
ようなものは禁止されるのである。
FIG. 8A shows a case where the two candidate surfaces k and l are on the same plane. Since the normal vectors match, the first term in parentheses in (6) is 0. In addition, n k · (a
k -a l) also becomes 0. Therefore, when k and l are in the same plane, r ijkl 1 becomes 0. These two sides are the first
It cannot be a near surface. That is, such a surface is prohibited as the first neighboring surface.

【0181】図8(b)は2つの候補面k、lがある辺
を共有しているが、斜めになっている場合である。これ
は式(6)の第1項を0としない。第2項はベクトルa
k やal の取り方に任意性があるが、これも0でない。
hの選び方にもよるがこれは1以上になる可能性があ
る。したがって平行でない2面の場合は、第1近傍面で
あるための適合係数rijkl 1 が大きくなる。
FIG. 8B shows a case where two candidate surfaces k and l share a side, but are oblique. This does not make the first term in equation (6) zero. The second term is the vector a
There is arbitrariness in the way k and a l are taken, but this is also not zero.
This may be 1 or more, depending on how h is selected. Therefore, in the case of two surfaces that are not parallel, the matching coefficient r ijkl 1 for the first neighboring surface is large.

【0182】図8(c)は2つの候補面kとlとが、平
行であるが離隔している場合を示す。平行であるから、
式(6)の第1項は0である。しかし第2項は確定しこ
れは面間の距離をhで割ったものになる。これは2より
大きくなる可能性がある。
FIG. 8C shows a case where the two candidate surfaces k and l are parallel but separated from each other. Because they are parallel,
The first term of equation (6) is 0. However, the second term is fixed, which is the distance between the surfaces divided by h. This can be greater than 2.

【0183】第1適合係数は、面iの第1近傍面をjと
して、iの候補面kと、jの候補面lが互いに第1近傍
面であるかどうかを調べる係数である。図8(b)、
(c)のような2面は第1近傍面である可能性が高いの
であるが、これらの場合に大きくなるように第1適合係
数rijkl 1 を決めているということが分かるであろう。
The first matching coefficient is a coefficient for checking whether the candidate surface k of i and the candidate surface l of j are mutually the first neighboring surfaces, with the first neighboring surface of the surface i being j. FIG. 8 (b),
It is highly possible that the two surfaces as in (c) are the first neighboring surfaces, but it will be understood that the first matching coefficient r ijkl 1 is determined so as to be large in these cases.

【0184】つまりrijkl 1 は、0から2の実数値をと
るが、kとlとが同一平面上なら0である。平面が互い
に傾いたり、面と垂直の方向にずれたりするとこれが大
きくなる。ある程度ずれると面kとlは同一平面上にな
いとして、この値は2に設定する。
That is, r ijkl 1 takes a real value from 0 to 2, but it is 0 if k and l are on the same plane. This increases when the planes are tilted relative to each other or are displaced in the direction perpendicular to the planes. If the surfaces k and l are not on the same plane when they are displaced to some extent, this value is set to 2.

【0185】三面図においてiとjは第1近傍面の関係
にあるので、もしもrijkl 1 が大きければ、その候補面
kとlとがやはり第1近傍面の関係にあるということで
あるから、kはiの対応面である確率が高い。しかし第
1近傍面の対比だけでは確実なことはいえないので、第
2近傍面に関しても対応関係を調べる必要がある。
Since i and j are in the relationship of the first neighboring surface in the three-view drawing, if r ijkl 1 is large, it means that the candidate surfaces k and l are also in the relationship of the first neighboring surface. , K have a high probability of being a corresponding surface of i. However, since it cannot be said that the comparison of the first neighboring surface is reliable, it is necessary to investigate the correspondence relationship also for the second neighboring surface.

【0186】[第2近傍面に対する第2適合係数] 次
に、第2近傍面に関する第2の適合係数rijkl 2 を与え
る。これはkとlが本来の(真の)第2近傍面である可
能性を示す指標である。三面図における面iの第2近傍
面jとし、iの候補面をk、jの候補面をlとして、k
とlとが第2近傍面同士である。
[Second Fitting Coefficient for Second Near Surface] Next, a second fitting coefficient r ijkl 2 for the second near surface is given. This is an index indicating the possibility that k and l are the original (true) second neighboring surfaces. Let the second neighboring surface j of the surface i in the three-view drawing be k, the candidate surface of i be k, and the candidate surface of j be l.
And l are the second neighboring surfaces.

【0187】ところがワイヤフレ−ムモデルは多くの虚
の面を含み、当然虚の第2近傍面も含まれる。もしもl
が虚の第2近傍面であれば、iとkの対応の可能性を低
くする。虚の第2近傍面を除外しなければならない。も
しもkとlとが本来的な第2近傍面であれば、iとkと
が対応する可能性が高い。そこで、kとlが本来的な第
2近傍面であるかどうかを知るための適合係数としてr
ijkl 2 を作ったのである。サフィックスの2は、括弧を
付けて(2)とすべきであるが、JIS では括弧がサ
フィックスに入らないので、括弧を省いている。2乗と
いう意味ではない。
However, the wire frame model includes many imaginary surfaces, and naturally includes the imaginary second neighboring surface. If l
If is an imaginary second neighboring surface, the possibility of correspondence between i and k is reduced. The imaginary second neighborhood must be excluded. If k and l are original second neighboring surfaces, there is a high possibility that i and k correspond. Therefore, r is used as a matching coefficient for knowing whether k and l are original second neighboring surfaces.
I made ijkl 2 . The suffix 2 should be parenthesized to be (2), but the parentheses are omitted in JIS, so the parentheses are omitted. It does not mean squared.

【0188】一般に、単純平面と複合平面は、基本面
(xy面、yz面、zx面)から見て直接見える平面で
ある。従ってこれらの面よりも基本面より遠い他の平面
が存在しなくてはならない。逆に分割平面の場合は、破
線で区切られているのであるから、これが多面体の基本
面に最近接面であるということはありえない。これより
も近い面がある筈である。このような性質を用いて、第
2適合係数rijkl 2 をつぎのように定義する。
Generally, the simple plane and the compound plane are planes that are directly visible when viewed from the basic planes (xy plane, yz plane, zx plane). Therefore, there must be other planes that are farther than the base planes than these planes. On the other hand, in the case of a division plane, since it is divided by a broken line, it cannot be the closest plane to the basic plane of the polyhedron. There should be a side closer than this. By using such a property, the second matching coefficient r ijkl 2 is defined as follows.

【0189】 rijkl 2 =e1 ×e2 (7)R ijkl 2 = e 1 × e 2 (7)

【0190】e1 とe2 は次のように定義する。 (i)単純平面w=0、複合平面w=2の場合、 e1 =2:面kと面lのそれぞれ隣り合う2頂点が対応の許容範囲で一致し、そ れらの接点から平面lの他の頂点を結ぶベクトルの内、iを含む面図 で表現されない軸方向に対して正であるベクトルが存在する。 =0:その他 (8) e2 =1−(kとlの,本来一致すると思われる頂点間の距離の和)/2h (9)E 1 and e 2 are defined as follows. (I) In the case of simple plane w = 0 and complex plane w = 2, e 1 = 2: two adjacent vertices of the surface k and the surface l coincide with each other within the corresponding allowable range, and the plane l from the contact point Among the vectors that connect the other vertices of, there is a vector that is positive with respect to the axial direction that is not represented in the view including i. = 0: Others (8) e 2 = 1- (sum of distances between vertices of k and l that are supposed to be the same) / 2h (9)

【0191】(ii) 分割平面w=1の場合、 e1 =2:面kと面lのそれぞれ隣り合う2頂点が対応の許容範囲で一致し、そ れらの接点から平面lの他の頂点を結ぶベクトルの内、iを含む面図 で表現されない軸方向に対して負であるベクトルが存在する。 =0:その他 (10) e2 =1−(kとlの,本来一致すると思われる頂点間の距離の和)/2h (11)(Ii) In the case of the division plane w = 1, e 1 = 2: two adjacent vertices of the surface k and the surface l coincide with each other within a corresponding allowable range, and from these contact points, the other of the plane l Among the vectors that connect the vertices, there is a vector that is negative with respect to the axial direction that is not represented in the view including i. = 0: Others (10) e 2 = 1- (sum of distances between vertices of k and l that are supposed to be the same) / 2h (11)

【0192】e1 の定義は、分かり難いかも知れないが
次のようなことである。三面図において第2近傍面であ
る場合は、軸に投影した線分が合致するのであるから、
本来線分を共有するはずである。であるから本来的な第
2近傍面を表すためにこれを「隣り合う頂点が一致し」
という文によって表現している。
The definition of e 1 is as follows although it may be difficult to understand. In the case of the second neighboring surface in the three-view drawing, the line segments projected on the axes match,
Originally, the line segment should be shared. Therefore, in order to express the original second neighboring surface, this is "matched by adjacent vertices".
It is expressed by the sentence.

【0193】「iを含む面図で表現されない軸方向」と
いうのは、面iの投影面に直角な軸のことである。面i
がxy面における面である場合これはz軸方向というこ
とである。第2近傍面は、ひとつの線分を共有するだけ
であるから、面の方向は異なる。面iの第2近傍面は面
iが投影された面に対して直交する成分を持つはずであ
る。これも第2近傍面の性質を表す。
The "axial direction not represented by the plane view including i" is an axis perpendicular to the projection plane of the plane i. Surface i
Is a plane in the xy plane, which means the z-axis direction. Since the second neighboring surface shares only one line segment, the directions of the surfaces are different. The second neighboring surface of the surface i should have a component orthogonal to the surface onto which the surface i is projected. This also represents the property of the second neighboring surface.

【0194】以上は第2近傍面の共通の性質であるが、
ここではさらに進んで、軸方向に正の成分を持つとして
いる。この軸方向に対して正であるというのはx、y、
z方向に正であるということである。つまり面iが単純
平面、複合平面の時はlがkとの共有頂点よりも原点か
ら離れる方向にあるという時にe2 =2とするのであ
る。面iが単純平面、複合平面の時は、基本面に近い筈
であり、第2近傍面がこれより基本面から遠くにある筈
であるということを式にしたものである。これが正であ
るベクトルという表現になっている。これは面iの性質
(単純平面、複合平面)を利用しているのである。
The above is the common property of the second neighboring surface,
Here we go further and assume that there is a positive component in the axial direction. Being positive in this axial direction means x, y,
It is positive in the z direction. That is, when the surface i is a simple plane and is a compound plane, e 2 = 2 is set when l is in a direction farther from the origin than the shared vertex with k. When the surface i is a simple plane or a compound plane, it should be close to the basic surface, and the second neighboring surface should be farther from the basic surface than the basic surface. This is a vector that is positive. This utilizes the property of the plane i (simple plane, compound plane).

【0195】反対に面iが分割平面の時はlがkとの共
有頂点よりも原点から離れる方向にあるという時にe2
=2とするのである。分割平面は、基本面から遠くにあ
る筈であるから、第2近傍面はこれより近くにあり、こ
れを軸方向に負であるベクトルと表現している。
On the other hand, when the surface i is the division plane, and when l is in the direction farther from the origin than the common vertex with k, e 2
= 2. Since the division plane should be far from the basic plane, the second neighboring plane is closer to this, and this is expressed as a vector that is negative in the axial direction.

【0196】e2 を用いるのは本発明が頂点座標に関し
て誤差を含むものをも処理するためである。これは頂点
座標の食い違いが距離h以内であれば、同一点として扱
うという前提に対応している。頂点が合致している場合
はe2 =1となる。
The reason for using e 2 is that the present invention also handles ones that have an error with respect to the vertex coordinates. This corresponds to the premise that if the difference in vertex coordinates is within the distance h, they are treated as the same point. If the vertices match, e 2 = 1.

【0197】2組みの頂点が一致するかも知れないと考
えられても、その和が2h以上であれば、これは単なる
誤差ではなく実際に異なる線分であるとする。この場合
は二つの面kとlが第2近傍面では有り得ないのであ
る。だから「本来一致すると思われる]と書いている。
本来一致すると思われるというのは、e1 の定義で一致
する頂点が二つあることを前提にしているがこの2頂点
のことである。2頂点の食い違いの和が2h以上の場合
2 =0となる。
Even if it is considered that two sets of vertices may coincide with each other, if the sum is 2 h or more, this is not a mere error but an actually different line segment. In this case, the two surfaces k and l cannot be the second neighboring surface. That's why I write "I think it should match".
It is assumed that there are two vertices that match in the definition of e 1 , although they are supposed to match in principle. When the sum of the disparity between the two vertices is 2 h or more, e 2 = 0.

【0198】誤差の存在を許さないときは、h→0の極
限であり、2頂点を必ず厳密に共有しなければならな
い。本発明はそうではなく、誤差の存在を許すのであ
る。これをe2 によって評価している。
When no error is allowed, the limit is h → 0, and the two vertices must be exactly shared. The present invention does not, but allows the presence of error. This is evaluated by e 2 .

【0199】e1 は0か2の値を取る。e2 は0〜2の
値を取る。従って、第2適合係数rijkl 2 は0〜2の実
数値を取る。
E 1 takes a value of 0 or 2. e 2 has a value of 0 to 2. Therefore, the second matching coefficient r ijkl 2 takes a real value of 0-2.

【0200】第1近傍面、第2近傍面リストに対する辻
褄合わせのために、適合係数rijkl 2 、rijkl 2 を用い
た式によって、先に述べた対応の程度Pik t を更新す
る。ここで、サフィックスのtは、計算の反復の次数を
示す。t乗ということではない。これまでの説明では、
サフィックスを同じものにしていたが、区別するため
に、以後第2適合係数についてはrihkm 2 を用いる。こ
こでhを誤差の範囲を示すhと混同してはならない。
In order to adjust the list of the first and second neighboring surfaces, the degree of correspondence P ik t described above is updated by the equation using the matching coefficients r ijkl 2 and r ijkl 2 . Here, the suffix t indicates the order of the iteration of calculation. It is not the t-th power. In the explanation so far,
Although the suffixes are the same, r ihkm 2 is used for the second matching coefficient hereafter for the sake of distinction. Here, h should not be confused with h indicating the range of error.

【0201】 Pik t+1 =qik t ×Pik t /{Σkik t ×Pik t } (12)P ik t + 1 = q ik t × P ik t / {Σ k q ik t × P ik t } (12)

【0202】 qik t =Σj {maxl (rijkl 1 ×Pjl t )}+Σh {maxm (rihkm 2 × Phm t )} (13)[0202] q ik t = Σ j {max l (r ijkl 1 × P jl t)} + Σ h {max m (r ihkm 2 × P hm t)} (13)

【0203】maxl 、maxm というのは、l、mを
変えてゆくときこれに続く括弧の中で最大値を取るとい
うことである。qik t というのは、三面図の面iと、ワ
イヤフレ−ムモデルにおける面kの対応の大きさを評価
するための式である。qik tの第1項は第1近傍面に、
第2項は第2近傍面に関する計算である。面iと面kの
対応を考えるのであるから、iとkは総てに共通である
が、jとl、hとmはそうではない。
Max l and max m mean that when l and m are changed, they take the maximum value in parentheses following them. The term q ik t is an expression for evaluating the size of the correspondence between the plane i in the three-view drawing and the plane k in the wire frame model. The first term of q ik t is the first neighborhood surface,
The second term is a calculation regarding the second neighboring surface. Since the correspondence between the surfaces i and k is considered, i and k are all common, but j and l and h and m are not.

【0204】第1近傍面に関する第1項に於いて、第1
適合係数rijkl 1 というのは、面iの第1近傍面をjと
し、面iとjの候補面を、面kとlとして、面kとlと
が真の第1近傍面に近いことを表す係数である。kとl
はもちろん第1近傍面であるが、第1近傍面にも程度の
差がある。ひとつの面に対して第1近傍面は幾つもあ
り、候補面も幾つもあるので、これは複数の係数であ
る。簡単に言えば、kとlとが真の第1近傍面であれば
これは最大値2を与え、そうでない場合は0に近い値を
与える。
In the first term regarding the first neighboring surface, the first
The fitting coefficient r ijkl 1 means that the first neighboring surface of the surface i is j, the candidate surfaces of the surfaces i and j are surfaces k and l, and the surfaces k and l are close to the true first neighboring surface. Is a coefficient that represents. k and l
Of course, it is the first neighboring surface, but the first neighboring surface also has a degree of difference. This is a plurality of coefficients because there are many first neighboring surfaces and several candidate surfaces for one surface. Briefly, this gives a maximum value of 2 if k and l are true first neighbors, and close to 0 otherwise.

【0205】三面図において、面iとjが第1近傍面で
あるから、候補面kとlは互いに第1近傍面の関係にあ
る。しかし第1近傍面といっても程度がある。kとlが
真の第1近傍面であればこの対応が正しいという可能性
が高い。これに、Pjl t を掛けるのである。Pjl t は、
三面図の面jと、ワイヤフレ−ムモデルの面lの対応の
程度を示す確率である。tは反復の次数であり、これは
前回の結果を示している。jとlはもちろん対応面リス
ト(表3)に上げられた面の組み合わせであって総ての
面の組み合わせではない。
In the three-view drawing, since the surfaces i and j are the first neighboring surfaces, the candidate surfaces k and l are in the relationship of the first neighboring surface. However, the first neighboring surface has a certain degree. If k and l are true first neighboring surfaces, this correspondence is likely to be correct. To this, it is to apply the P jl t. P jl t is,
It is a probability indicating the degree of correspondence between the surface j of the three-view drawing and the surface l of the wire frame model. t is the order of the iteration, which indicates the previous result. Of course, j and l are combinations of the surfaces listed in the corresponding surface list (Table 3) and not all combinations of the surfaces.

【0206】もしもjとlの対応の確率が高く、しかも
kとlが真の第1近傍面であれば、iとkが対応すると
いう確率が益々増える筈である。反対にjとlの対応の
確率が低いときは、たとえ、kとlとが第1近傍面であ
ったとしても、iとkの対応する可能性が高いとは言え
ない。第1近傍面は幾つも存在するからjの対応面とk
とは別の第1近傍面である可能性が強いのである。
If the probability that j and l correspond to each other is high, and k and l are true first neighborhood surfaces, the probability that i and k correspond should increase more and more. On the contrary, when the probability of the correspondence between j and l is low, it cannot be said that the probability of i and k corresponding to each other is high even if k and l are the first neighboring surfaces. Since there are many first neighboring surfaces, the corresponding surface of j and k
There is a strong possibility that it is a first neighboring surface other than.

【0207】さらに、jとlの対応確率が低い時に、r
ijkl 1 も低い場合は、jの対応面としてのlが間違って
いるのである。maxl の演算によりこれらの内、lの
違うものを比較し最大のものを採用する。異なるlの内
の最大値を取るということは、このlに対して、第1近
傍面jと面lの対応の程度が高く、しかも面lとkとが
第1近傍面である確率が高いということである。
Further, when the correspondence probability between j and l is low, r
If ijkl 1 is also low, then l as the corresponding surface of j is wrong. Of these, the one with a different l is compared by the calculation of max l and the largest one is adopted. Taking the maximum value of different l means that the degree of correspondence between the first neighboring surface j and the surface l is high with respect to this l, and that the surfaces l and k are highly likely to be the first neighboring surface. That's what it means.

【0208】そうしてみれば、面jの対応面として最大
値を与える面lが最も確からしいということがいえる。
その他の面は、jの対応面ではないと考えられるので、
lに関するmax演算をしてその他の面の計算は捨てる
のである。
Then, it can be said that the surface l that gives the maximum value is the most reliable as the corresponding surface of the surface j.
The other faces are not considered to be the corresponding faces of j, so
The max operation for l is performed, and the calculations for other surfaces are discarded.

【0209】面iの第1近傍面は幾つもあるが、ここで
ひとつの第1近傍面jに対して、これに多分対応するで
あろう面lと、面jとの前回の対応確率と、第1適合係
数rijkl 1 とを掛けている。これはひとつの第1近傍面
jを通して、iとkの対応の高さを評価していることに
なる。複数の第1近傍面があるので、総ての第1近傍面
jについて同様の最大値を求める計算をし、最大値を総
て加える(Σj )。これが大きければ、iとkが対応す
る確率が高い。
There are many first neighboring surfaces of the surface i. Here, for one first neighboring surface j, the surface 1 that is probably corresponding to this and the previous corresponding probability of the surface j are , And the first matching coefficient r ijkl 1 . This means that the height of the correspondence between i and k is evaluated through one first neighboring surface j. Since there are a plurality of first neighboring surfaces, the same maximum value is calculated for all the first neighboring surfaces j, and all the maximum values are added (Σ j ). The larger this is, the higher the probability that i and k correspond.

【0210】第2近傍面についても同様の計算を行う。
面iの候補面がkである。iの第2近傍面をhとし、ワ
イヤフレ−ムモデルにおいて面hの候補面をmとする。
当然、kとmは第2近傍面である。第2適合係数rihkm
2 は、面kとmとが真の第2近傍面である可能性を示す
値である。確率Phm t は、面hと、候補面である面mと
が、前回において対応する確率である。すると、Phm t
ihkm 2 というのは、面iの候補面kと、面iの第2近
傍面hの候補面mとが真の第2近傍面にあって、しかも
hとmとが対応する確率を示す。
Similar calculations are performed for the second neighboring surface.
The candidate surface of the surface i is k. The second neighboring surface of i is h, and the candidate surface of the surface h is m in the wire frame model.
Naturally, k and m are the second neighboring surfaces. Second fit coefficient r ihkm
2 is a value indicating the possibility that the surfaces k and m are true second neighboring surfaces. The probability P hm t is the probability that the surface h and the surface m, which is a candidate surface, correspond to each other last time. Then P hm t
r ihkm 2 indicates the probability that the candidate surface k of the surface i and the candidate surface m of the second neighboring surface h of the surface i are true second neighboring surfaces, and that h and m correspond to each other. .

【0211】maxm というのは、括弧の中の式でmを
変えて最大のものを取るという演算である。ここで最大
のものを取ると、これは、この面mがkの第2近傍面で
あり、しかもhの候補面の中で最もhに対する対応の程
度が高いものを選んだということになる。iに対する第
2近傍面hは幾つもあるので、すべての第2近傍面hに
関して最大値を求めこれを足し算する。この値が大きけ
れば、iとkの対応関係が強いということである。これ
が小さいと、iとkの対応関係が弱いということであ
る。
The max m is an operation that takes the maximum value by changing m in the expression in parentheses. Taking the maximum here, this means that the surface m is the second neighboring surface of k and the one having the highest degree of correspondence with h among the candidate surfaces of h is selected. Since there are many second neighboring surfaces h for i, the maximum value is obtained for all the second neighboring surfaces h and this is added. If this value is large, it means that the correspondence between i and k is strong. If this is small, the correspondence between i and k is weak.

【0212】第1近傍面についても第2近傍面について
も同じような式を用いるから、両者を平行に論ずること
ができる。max演算をするということが重要である。
ここで、近傍面j、hとこれの候補面l、mについてす
べての和を取ってしまうと、結果は常に定数に成ってし
まう。そうではなくて候補面の内、適切なものひとつだ
けを残す。
Since similar equations are used for the first and second neighboring surfaces, the two can be discussed in parallel. It is important to perform the max operation.
Here, if all the sums of the neighboring surfaces j and h and their candidate surfaces l and m are taken, the result will always be a constant. Instead, leave only one of the appropriate candidates.

【0213】max演算により、iの第1近傍面j、第
2近傍面hの候補面の内、対応する可能性の少ないもの
は総て捨てているのである。そしてj、hの内の最も対
応確率の高い面l、mについての和計算だけをしてい
る。これをすることにより、iとkを対応させた場合に
最大の可能性を求めることができる。
By the max calculation, all the candidate surfaces of the first near surface j of i and the second near surface h that are less likely to correspond are discarded. Then, only the sum calculation is performed for the surfaces l and m having the highest correspondence probability among j and h. By doing this, the maximum probability can be determined when i and k are associated.

【0214】もしも実際にiとkとが対応するならば、
iの第1近傍面jは、kの第1近傍面に対応する面lを
持っている筈である。三面図でもワイヤフレ−ムモデル
においても第1近傍面、第2近傍面の関係は不変である
からである。これは近傍面不変の原理といって既に説明
した。
If i and k actually correspond,
The first neighborhood surface j of i should have a plane l corresponding to the first neighborhood surface of k. This is because the relationship between the first neighboring surface and the second neighboring surface is unchanged in both the trihedral view and the wire frame model. This has already been explained as the principle of invariant surface.

【0215】もしもこのような対応があれば、第1適合
係数rijkl 1 が大きい値(2を越えないが)になるはず
である。そのために次の次数における確率変数Pik t+1
を大きくすることができる。
If there is such a correspondence, the first matching coefficient r ijkl 1 should be a large value (although it does not exceed 2). For that purpose the random variable P ik t + 1 in the next order
Can be increased.

【0216】もしもiとkとが対応しており、iの第1
近傍面jの候補面lが、kの真の第1近傍面でないとす
ると、近傍面不変の原理より、実際にはjとlとが対応
していないのである。この場合には、前回のjとlの対
応の確率Pjl t が小さいので、max演算に合格するこ
とができずここで落ちてしまう。
If i and k correspond to each other, the first of i
If the candidate surface 1 of the neighboring surface j is not the true first neighboring surface of k, then j and l do not actually correspond to each other due to the principle of the neighboring surface invariance. In this case, since the probability P jl t of the previous correspondence between j and l is small, the max operation cannot be passed and falls here.

【0217】max演算で生き残るのは、実際の対応面
j〜lの関係だけである。対応j〜lがあるので、確率
ik t が大きく、またkとlの間には第1近傍面の関係
にあるから、第2適合係数rijkl 2 も大きい。従って積
の和が大きくなる。qik t が大きくなるので、次の次数
における確率Pik t がより大きくなる。
Only the relationship between the actual corresponding surfaces j to l survives the max operation. Since there are correspondences j to l, the probability P ik t is large, and the second matching coefficient r ijkl 2 is also large because of the first neighborhood surface relationship between k and l. Therefore, the sum of products becomes large. Since q ik t is larger, the probability P ik t in the next order is larger.

【0218】もしもiとkとが実際に対応面でないとす
ると、iの第1近傍面jと、jの候補面の第1近傍面l
とを与えて、kとlが第1近傍面であるとしてもこれに
は実在的な意味がない。この場合には第1適合係数r
ijkl 1 が大きくても、対応確率Pjl t が小さいから、m
ax演算により選び出される係数の積は小さい。ため
に、これらのjに関する和の値も小さくなる。従って、
ik t も小さくなり、次の次数における確率Pik t+1
値を減らすように働く。同様のことは第2近傍面につい
てもいえる。
If i and k do not actually correspond to each other, the first neighborhood surface j of i and the first neighborhood surface l of the candidate surface of j are
Given that k and l are the first neighboring surfaces, this has no real meaning. In this case, the first matching coefficient r
even ijkl 1 is large, since the corresponding probability P jl t is small, m
The product of the coefficients selected by the ax operation is small. Therefore, the sum value of these j is also small. Therefore,
q ik t also becomes smaller and acts to reduce the value of the probability P ik t + 1 in the next order. The same applies to the second neighboring surface.

【0219】このようにして、反復計算して、Pik t
求める。繰り返し演算によってもPik t が高くならない
ときは、kがiの対応面でありえないということであ
る。もしもkがiの対応面であれば、確率Pik t が反復
の内に1に近づく筈である。適当な回数tで計算を打切
る。Pik t は、面iに関する、複数の候補面kに対する
対応確率であるが、これが最大になるkを求める。面i
の対応面がkであるということが分かる。
In this way, P ik t is obtained by iterative calculation. If P ik t does not become high even by the repeated calculation, k cannot be the corresponding surface of i. If k is the corresponding surface of i, then the probability P ik t should approach 1 within the iteration. The calculation is terminated at an appropriate number of times t. P ik t is a correspondence probability of the surface i with respect to a plurality of candidate surfaces k, and finds k that maximizes this. Surface i
It can be seen that the corresponding surface of is k.

【0220】対応(i,k)が分かるので面の関係が確
定する。しかし頂点の座標に関しては不一致がある。こ
れは各頂点間で座標の調整を行い、最適の座標を与え
る。
Since the correspondence (i, k) is known, the surface relationship is fixed. However, there is a mismatch in the coordinates of the vertices. This adjusts the coordinates between each vertex and gives the optimum coordinates.

【0221】iの候補面の内最適の候補面でなかった候
補面は総て捨てる。iの対応面がひとつ確定する。これ
で多面体のすべての面が確定したわけではない。三面図
から出発しており6面図からではないので、総ての外形
面が三面図の面iとして現れるのではないからである。
しかしそのような面はある基本面に平行であり、その基
本面に投影した時に基本面から近い面と必ず重なる。図
1のような多面体が禁止されているので、この面の辺
は、他の面の稜線としてすでに確定しており、稜線を辿
ることにより面を確定できる。こうして総ての立体面に
対して頂点の座標を与えることができる。これは多面体
を復元したということである。
All the candidate surfaces that are not the optimum candidate surfaces among the candidate surfaces of i are discarded. One corresponding surface of i is determined. This does not fix all the faces of the polyhedron. This is because not all of the outer surfaces appear as the surface i of the three-view drawing since the drawing starts from the three-view drawing and not from the six-view drawing.
However, such a surface is parallel to a certain basic surface, and when projected onto the certain basic surface, it always overlaps with a surface close to the basic surface. Since the polyhedron as shown in FIG. 1 is prohibited, the sides of this face have already been determined as the ridgelines of other faces, and the faces can be determined by tracing the ridgelines. In this way, the coordinates of the vertices can be given to all the three-dimensional surfaces. This means that the polyhedron has been restored.

【0222】[0222]

【実施例】図2で示した三面図(例題1)、図10で示
した例題2、図11で示す例題3について本発明の手法
を用いて、多面体を復元した。
EXAMPLE A polyhedron was reconstructed using the method of the present invention with respect to the trihedral view (Example 1) shown in FIG. 2, Example 2 shown in FIG. 10 and Example 3 shown in FIG.

【0223】例1はデ−タが誤差を含む一般的な三面図
から多面体を復元する例である。これについては詳しく
述べている。
Example 1 is an example in which a polyhedron is reconstructed from a general trihedral view whose data contains an error. This is detailed.

【0224】例題2は、デ−タの誤差により候補面の組
み合わせが増加する例である。例題3は、初めから三面
図と多面体に多義性のある場合において、本手法の振る
舞いを検討している。この実施例では、三面図はすべて
128×128で二値化されるものとする。勿論より細
かい画素に分割しても良い。また頂点の食い違いの許容
範囲は、h=8とした。
Example 2 is an example in which the number of combinations of candidate surfaces increases due to data error. Example 3 examines the behavior of this method in the case where there is polysemy in the trihedral and the polyhedron from the beginning. In this embodiment, it is assumed that all three views are binarized by 128 × 128. Of course, it may be divided into smaller pixels. Further, the allowable range of the discrepancy between the vertices was set to h = 8.

【0225】[0225]

【表5】 [Table 5]

【0226】表5は、図2の例題1における反復回数t
と、その時の対応確率Pik t (%)を示す表である。第
1欄は三面図の番号iを、第2欄はワイヤフレ−ムモデ
ルにおける面番号kを示す。表3のような対応(i,
k)があるので、面kを候補面とする面iを第1欄に繰
り返して記している。
Table 5 shows the number of iterations t in Example 1 of FIG.
And a corresponding probability P ik t (%) at that time. The first column shows the number i in the three-view drawing, and the second column shows the surface number k in the wire frame model. Correspondence (i,
k), the surface i whose surface is the candidate surface is repeatedly described in the first column.

【0227】i=1は、k=1、2を候補面とし、i=
2は、k=3、4、5を候補面とする。i=3はk=
6、7、8を候補面とする。i=4はk=9、10を候
補面としている。i=5はk=11、12を候補面とす
る。i=6はk=13、14、15を候補面とする。i
=7はk=16、17を候補面とする。
I = 1 has k = 1 and 2 as candidate surfaces, and i =
2 has k = 3, 4, 5 as candidate surfaces. i = 3 is k =
6, 7, and 8 are candidate surfaces. For i = 4, k = 9 and 10 are candidate surfaces. For i = 5, k = 11 and 12 are candidate surfaces. For i = 6, k = 13, 14, and 15 are candidate surfaces. i
= 7, k = 16 and 17 are candidate surfaces.

【0228】対応の確率Pik t の繰り返し回数は、t=
0〜8までである。0次の確率はすでに説明したよう
に、頂点と原点との距離の和の逆数(単純平面、複合平
面)かまたは頂点と原点の距離に比例するように決定す
る。
The number of iterations of the corresponding probability P ik t is t =
It is from 0 to 8. As described above, the 0th-order probability is determined so as to be proportional to the reciprocal of the sum of the distance between the vertex and the origin (simple plane, compound plane) or the distance between the vertex and the origin.

【0229】(1,1)と(1,2)の対応の場合(P
11 t ,P12 t )は、i=1が単純平面であり、頂点と原
点の距離の逆数で評価して初めからP11 0 =69%、P
12 0=31%というふうに、対応(1,1)を高く評価
している。これは正しい順序であるから、繰り返しによ
り確率の差が大きくなり、1度の計算で、対応(1,
1)の確率P11 1 は92%に上がり、(1,2)の確率
12 1 は8%に下がっている。そして4回目の繰り返し
で(1,1)の確率P11 4 =100%になっている。こ
れはi=1がk=1に対応するということである。
When (1, 1) corresponds to (1, 2) (P
11 t , P 12 t ), where i = 1 is a simple plane, and evaluated from the reciprocal of the distance between the vertex and the origin, P 11 0 = 69%, P
In Fu that 12 0 = 31%, have appreciated the corresponding (1,1). Since this is the correct order, the difference in the probability increases due to repetition, and the correspondence (1,
The probability P 11 1 of 1) rises to 92%, and the probability P 12 1 of (1, 2) falls to 8%. And in the 4 th iteration is made to the probability P 11 4 = 100% of (1,1). This means that i = 1 corresponds to k = 1.

【0230】i=2と、k=3、4、5の対応の場合
(P23 t 、P24 t 、P25 t )、iが単純平面であるか
ら、3つの面のうち原点に最も近いものk=3に大きい
初期確率が与えられる(P23 0 =45、P24 0 =35、
25 0 =20%)。しかし周囲の面との辻褄合わせによ
り、k=3の確率は繰り返し演算により低くなり、代わ
ってk=4が大きくなってくる。
In the case of correspondence of i = 2 and k = 3, 4, 5 (P 23 t , P 24 t , P 25 t ), since i is a simple plane, it is closest to the origin among the three planes. A large initial probability is given to the object k = 3 (P 23 0 = 45, P 24 0 = 35,
P 25 0 = 20%). However, the probability of k = 3 becomes low due to the repeated calculation due to the misalignment with the surrounding surface, and k = 4 becomes large instead.

【0231】このような最大確率の交替は自然に起こる
が、初めから正しい順序ではないので正しい順になるま
でに繰り返し計算を必要とする。この場合t=1におい
て既に正しい順になっている(P23 1 =42、、P24 1
=49、P25 1 =9%)。しかし収束は速くない。4回
目で、P25 4 =0となって、k=5がi=2の対応面で
ないことが確定する。問題はP24 t の大きいことであ
る。8回目でP24 8 =100%となり、k=4が、i=
2の対応面であることが確定する。
Such replacement of the maximum probabilities naturally occurs, but since it is not the correct order from the beginning, iterative calculation is required until the correct order is reached. In this case, the order is already correct at t = 1 (P 23 1 = 42, ..., P 24 1).
= 49, P 25 1 = 9%). But the convergence is not fast. At the fourth time, P 25 4 = 0, and it is confirmed that k = 5 is not a corresponding surface of i = 2. The problem is that P 24 t is large. At the 8th time, P 24 8 = 100%, and k = 4 becomes i =
It is confirmed that it is the corresponding surface of 2.

【0232】このように初期確率と最終的な確率の間で
逆転現象が起こるのは、前記の他に、i=3と、k=
6、7、8の対応、面i=6とk=13、14、15の
対応の場合がある。後者の場合は、8回の繰り返しのの
ちも、正しい対応(6,14)が100%にならず、9
0%になっていて、10%の(6,15)の対応が残っ
ている。
In this way, the inversion phenomenon occurs between the initial probability and the final probability, in addition to the above, i = 3 and k =
There are cases of correspondence of 6, 7, and 8, and correspondence of plane i = 6 and k = 13, 14, and 15. In the latter case, the correct correspondence (6,14) does not reach 100% after 8 iterations, and
It is 0%, and 10% (6,15) correspondence remains.

【0233】単純平面であっても、i=2、3、6のよ
うに、基本面から見て最近接面にない中間的な面の場合
は、このように途中で確率順序の交替が起こる。しかし
最初に最大の値を与えられた面kの確率はどうしても0
に近づく速度が遅いためにP23 t 、P36 t 、P615 t
どの収束が遅くなる。
Even in the case of a simple plane, in the case of an intermediate surface which is not closest to the basic surface as i = 2, 3, 6 in this way, the probability order is changed in the middle. . However, the probability of face k given the maximum value is 0
The convergence speed of P 23 t , P 36 t , P 615 t, etc. becomes slow because the speed of approaching is slow.

【0234】i=2と、k=3、4、5の対応の場合
(P23 t 、P24 t 、P25 t )を例にして、どのようにP
23 t とP24 t の間で確率の交替が起こるのかを直感的に
説明する。P23 0 =42%、P24 0 =35%であり、1
度の計算で、P23 1 =42%、P24 1 =49%と逆転し
ている。しかし逆転はそれほど強力でない。
Taking the case of correspondence between i = 2 and k = 3, 4, 5 (P 23 t , P 24 t , P 25 t ) as an example, how P
Intuitively explain whether the probability alternation occurs between 23 t and P 24 t . P 23 0 = 42%, P 24 0 = 35%, and 1
In the calculation of degrees, P 23 1 = 42% and P 24 1 = 49% are reversed. But the reversal is less powerful.

【0235】まず第1近傍面の観点から説明する。i=
2でその第1近傍面はj=1である。i=2の対応面k
=3、4の第1近傍面(jの対応面でもある)は、l=
1と2である。問題は、初めk=3の方がk=4より大
きいのにどうして、k=4が優勢になるのかということ
である。l=1とk=3は図7から同一面上にあり、適
合係数r2131 1 を0にする。これは初期確率の大きいP
11 0 =69%に掛かる分である。この項が消えてしまう
ので、max演算の時に残るのは、他の第1近傍面2と
の間の関係である。2の初期確率P12 0 =31%である
からこれに有限の適合係数r2132 1 =2をかけて、62
を得る。以下中間での数字は%を付けない。(12)式
により、正規化して初め%になるのであるが、その以前
の中間的な数字であるからである。
First, description will be made from the perspective of the first neighboring surface. i =
At 2, its first neighborhood is j = 1. Corresponding surface k for i = 2
= 3 and 4, the first neighboring surface (which is also the corresponding surface of j) is l =
1 and 2. The question is why k = 4 dominates when k = 3 is initially greater than k = 4. l = 1 and k = 3 are on the same plane from FIG. 7, and the matching coefficient r 2131 1 is set to zero. This is P with a large initial probability
11 is applied min 0 = 69%. Since this term disappears, what remains in the max operation is the relationship with the other first neighboring surface 2. Since the initial probabilities P 12 0 = 31% of 2 over a finite compliance coefficient r 2132 1 = 2 to 62
To get The numbers in the middle do not include%. This is because the value becomes% at first after being normalized by the expression (12), but it is an intermediate number before that.

【0236】k=4は第1近傍面l=1と同一平面上に
ないので、max演算はl=1を選ぶ。適合係数r2141
1 =2、P11 0 =69%であるから、q24への寄与は1
38になる。第1近傍面からの寄与で、k=4の確率が
かなり大きくなるということが分かる。
Since k = 4 is not on the same plane as the first neighboring surface l = 1, the max operation selects l = 1. Fitness coefficient r 2141
1 = 2, since P 11 0 = 69%, the contribution to q 24 1
38. It can be seen that the contribution from the first neighborhood surface significantly increases the probability of k = 4.

【0237】次に第2近傍面の観点から説明する。i=
2で、第2近傍面は、h=3、4、6、7である。候補
面k=3、4、5で3と4の間の確率交替を問題にす
る。hの候補面で且つkの第2近傍面は、m=6、7、
8、9、10、13、14、15、16、17である。
k=3、4と離れているm=8、10、13、13、1
6はk=3、4と2頂点を共有しないのでr2hkm 2 を0
とする。これらは計算に寄与しない。
Next, description will be given from the perspective of the second neighboring surface. i =
2, the second neighboring surface has h = 3, 4, 6, and 7. We consider the probability alternation between 3 and 4 with candidate plane k = 3,4,5. The candidate surface of h and the second neighboring surface of k are m = 6, 7,
8, 9, 10, 13, 14, 15, 16, and 17.
m = 8, 10, 13, 13, 1 apart from k = 3, 4
6 does not share 2 vertices with k = 3, 4, so r 2hkm 2 is 0
And These do not contribute to the calculation.

【0238】重要なのはm=9と17である。これらの
面は、k=3と2頂点を共有しないのでr2h3m 2 =0
(i=2,h=4,7,k=3,m=9,17)であ
る。ところがk=4とは2頂点を共有し、m面の頂点の
内kの頂点から引いたベクトルが正成分を持つので、r
2h4m 2 =2(i=2,h=4,7,k=4,m=9,1
7:ただし頂点の座標のずれは0としたe2 =1)。こ
のためk=4の確率は2×(P49 0 +P717 0)=2×
(69+69)=276だけ増える。これはk=3が虚
の面、k=4が実在の面ということを反映している。
What is important is m = 9 and 17. Since these surfaces do not share two vertices with k = 3, r 2h3m 2 = 0
(I = 2, h = 4,7, k = 3, m = 9,17). However, k = 4 shares two vertices, and the vector drawn from the k vertex of the m-plane vertices has a positive component, so r
2h4m 2 = 2 (i = 2, h = 4,7, k = 4, m = 9,1
7: However, the deviation of the coordinates of the vertices was set to 0, e 2 = 1). Therefore, the probability of k = 4 is 2 × (P 49 0 + P 717 0 ) = 2 ×
It increases by (69 + 69) = 276. This reflects that k = 3 is an imaginary surface and k = 4 is a real surface.

【0239】しかしながら残りの第2近傍面については
必ずしもk=4が、k=3よりも優勢であるようになる
とは言えない。m=6(h=3)、m=7(h=3)、
m=14(h=6)、m=15(h=6)の4面につい
ては、ベクトルが正でないときe1 =0という条件があ
るので、k=3に対してはr2h3m 2 =2(i=2,h=
3,6,k=3,m=6,7,14,15:ただし頂点
の座標のずれは0としたe2 =1)である。
However, it cannot be said that k = 4 is always superior to k = 3 for the remaining second neighboring surface. m = 6 (h = 3), m = 7 (h = 3),
For the four surfaces of m = 14 (h = 6) and m = 15 (h = 6), there is a condition that e 1 = 0 when the vector is not positive, so r 2h3m 2 = 2 for k = 3. (I = 2, h =
3,6, k = 3, m = 6,7,14,15: However, the deviation of the coordinates of the vertices is set to 0, and e 2 = 1).

【0240】これに反してk=4に対しては、r2h4m 2
=0(i=2,h=3,6,k=4,m=6,7,1
4,15)である。このためにk=4の確率は、2×
(P36 0+P37 0 +P614 0+P615 0)=2×(46+3
4+25+62)=334だけ増える。結局、k=3に
対しては396、k=4に対しては414となる。
On the contrary, for k = 4, r 2h4m 2
= 0 (i = 2, h = 3,6, k = 4, m = 6,7,1
4, 15). For this reason, the probability of k = 4 is 2 ×
(P 36 0 + P 37 0 + P 614 0 + P 615 0) = 2 × (46 + 3
4 + 25 + 62) = 334 increases. In the end, it becomes 396 for k = 3 and 414 for k = 4.

【0241】k=5に対しては、第2近傍面からの寄与
は0であり、第1近傍面からの寄与は、2×P11 0 =2
×69=138である。これら3つの値を%に直せばk
=3、4、5に対するt=1回目の確率が求まる。P23
1 =41%、P24 1 =44%、P25 1 =15%となる。
k=3と4に対する確率が僅かに逆転している。表5の
結果と食い違うが、表5は頂点座標の食い違いのある場
合であり、今ここで説明したものは頂点座標の食い違い
のない場合であるからである。
[0241] For k = 5, the contribution from the second neighboring side is 0, the contribution from the first near surface, 2 × P 11 0 = 2
X69 = 138. If these three values are corrected to%, k
= 3, 4, 5, the probability of the first t = 1 is obtained. P 23
1 = 41%, P 24 1 = 44%, P 25 1 = 15%.
The probabilities for k = 3 and 4 are slightly reversed. This is because there is a discrepancy with the results in Table 5, but Table 5 shows the case where there is discrepancy in the vertex coordinates, and the one described here is the case where there is no discrepancy in the vertex coordinates.

【0242】以上によって、入り組んだ単純平面iの場
合実際の対応面kとの0次対応確率0次の確率がこれよ
り基本面に近い虚の面k′より低くなるが、これは繰り
返し辻褄あわせにより逆転するということがわかる。ま
たこの逆転が遅いということも解る。これは第2近傍面
が判定に必ずしも有効に働いていないからである。r
ihkm 2 =e1 ×e2 の定義において、e1 の定義にベク
トルの方向が正(単純平面、複合平面)、負(分割平
面)という条件があるので、基本面に近い虚面のrihkm
2 が大きくなってしまうのである。
As described above, in the case of a complicated simple plane i, the 0th-order correspondence probability with the actual corresponding surface k is lower than the 0th-order probability than the imaginary surface k ′ closer to the basic surface, but this is repeated repeatedly. It turns out that it is reversed by. We also see that this reversal is slow. This is because the second neighboring surface does not always work effectively for the determination. r
In the definition of ihkm 2 = e 1 × e 2, since the definition of e 1 has the condition that the vector direction is positive (simple plane, compound plane) and negative (dividing plane), r ihkm of an imaginary surface close to the basic surface
2 becomes bigger.

【0243】これを回避するためには、ベクトルに関す
る条件を除去し、2頂点を共有するというだけの条件に
変更しても良い。この場合は基本面に遠い面からの第2
近傍面寄与がでてくる。しかしこれは本来第1近傍面の
寄与が小さいとして落とすべきものである。
In order to avoid this, the condition regarding the vector may be removed and the condition may be changed so that two vertices are shared. In this case, the second from the surface far from the basic surface
The near surface contribution comes out. However, this should be dropped because the contribution of the first neighboring surface is originally small.

【0244】図12は例題1、2の、図13は例題3の
復元された多面体を示す。例題2は平面の広い平板の上
に2本の細い四角柱を取り付けたものである。図14は
これのワイヤフレ−ムモデルである。頂点間の間隔が狭
いので、四角柱の上面が隣の面をも対応候補として選択
することがある。
FIG. 12 shows the restored polyhedron of Examples 1 and 2, and FIG. 13 shows the restored polyhedron of Example 3. Example 2 is one in which two thin square poles are mounted on a flat flat plate. FIG. 14 is a wire frame model of this. Since the distance between the vertices is small, the upper surface of the rectangular prism may also select the adjacent surface as a correspondence candidate.

【0245】この場合規則が適切でなく、単なる組み合
わせ手法で行うと、図15に示すように、本来の解以外
に、隣の平面と交差して生ずる虚の面を生成してしま
う。このような面を含む3つの虚解(a)、(b)、
(c)を生ずるおそれがある。第2近傍面を確率計算に
取り組む本発明の方法によればこのような虚解の発生を
防ぐことができる。
In this case, if the rule is not appropriate and the combination method is used, an imaginary surface generated by intersecting the adjacent plane is generated in addition to the original solution, as shown in FIG. Three imaginary solutions (a), (b), including such a surface,
(C) may occur. According to the method of the present invention, in which the probability calculation is performed on the second neighboring surface, it is possible to prevent the occurrence of such a false solution.

【0246】虚解(a)は柱体の側面が互いに離れてお
り厚みのない面になっており、柱体の頂面が上頂面から
浮いているような解である。虚解(b)は2側面だけを
持つ柱体があって、これらの頂面から外れた位置に頂面
が浮いているような図形である。虚解(c)も柱体が4
面体ではなくて、厚みのない面が離隔して存在してい
る。
The imaginary solution (a) is a solution in which the side surfaces of the columns are separated from each other and have no thickness, and the top surface of the columns is floating above the top surface. The imaginary solution (b) is a figure in which there are pillars having only two side surfaces, and the top surface floats at a position deviated from these top surfaces. In the case of imaginary solution (c), the pillar is 4
Rather than being a face piece, non-thick surfaces are present separately.

【0247】本発明が与える(d)が正しい解である。
本発明は第2近傍面を用いて確率を求めるので、このよ
うな孤立した平面が出てこない。従ってこのような虚解
が発生しない。このような虚解を除外できるという意味
でも本発明は優れたものである。
(D) given by the present invention is a correct solution.
Since the present invention obtains the probability using the second neighboring surface, such an isolated plane does not appear. Therefore, such a false solution does not occur. The present invention is also excellent in the sense that such a false solution can be excluded.

【0248】次に、例題1と例題2の計算量について考
察する。各面図(平面図,正面図,右側面図)の平面対
応個数をそれぞれa、b、cとする。例題1において、
規則による総当たり方を用いた場合の計算量はO(a・
b・c)になる。ところが、本発明の方法を用いると、
各面図の平面対応個数の和に反復回数を掛けたO(a+
b+c)・Tとなる。ここでTは弛緩整合法の反復回数
である。
Next, the calculation amount of Example 1 and Example 2 will be considered. The number of plane views (plan view, front view, right side view) corresponding to each plane is a, b, and c, respectively. In Example 1,
The calculation amount when using the round-robin method according to the rules is O (a.
b ・ c). However, using the method of the present invention,
The sum of the number of planes corresponding to each plan is multiplied by the number of iterations to obtain O (a +
b + c) · T. Here, T is the number of iterations of the relaxation matching method.

【0249】例題2においては、総当たり法を用いた場
合の計算量は、O(a・b・c+d)となる。本発明の
手法では、計算量はO(a+b+c)・Tとなる。ここ
でdは誤差によって多面体に生じた虚解を取り除くため
の計算量である。
In Example 2, the calculation amount when the brute force method is used is O (a.b.c + d). In the method of the present invention, the calculation amount is O (a + b + c) · T. Here, d is a calculation amount for removing a false solution caused in the polyhedron due to an error.

【0250】この結果からわかるように、三面図が複雑
になればなるほど、本発明の方法は優れている。規則に
よる総当たり法に比べてより少ない計算量で解を得るこ
とが可能となる。また例題2において、本発明は適合係
数を用いて虚解を確率的に取り除いているため、計算量
は例題1と同じである。
As can be seen from these results, the more complex the three-view drawing, the better the method of the present invention. It is possible to obtain a solution with a smaller amount of calculation as compared with the brute force method according to the rule. Further, in Example 2, since the present invention stochastically removes the imaginary solution using the adaptation coefficient, the calculation amount is the same as in Example 1.

【0251】例題3は入力された三面図と多面体に一義
性がない場合を検討したものである。三面図のxy面図
において、xy面から見て2番目と3番目の三角が何方
を向いているのかこれだけでは決まらない。3つの解が
在りうる。このような三面図に対して本発明の方法を用
いると、単純平面は面図における視点に近く、分割平面
は視点から遠いという意味での最適な解のひとつを得る
ことができた。
Example 3 is an examination of the case where the input trihedral and the polyhedron do not have uniqueness. In the xy view of the trihedral view, it is not possible to decide only by what direction the second and third triangles face when viewed from the xy plane. There can be three solutions. By using the method of the present invention for such a three-view drawing, one of the optimal solutions in the sense that the simple plane is close to the viewpoint in the drawing and the division plane is far from the viewpoint can be obtained.

【0252】表6は例題における三面図の面の数、候補
面数、対応面数を挙げている。
Table 6 lists the number of planes, the number of candidate planes, and the number of corresponding planes of the three-view drawing in the example.

【0253】[0253]

【表6】 [Table 6]

【0254】例題1で三面図の平面の数が7であるのは
既に説明している。候補面数が17であるのも図7に明
らかに示される。対応面が7面であるのは、三面図の平
面に対応させているからである。
It has already been explained that in Example 1, the number of planes in the three views is seven. It is also clearly shown in FIG. 7 that the number of candidate surfaces is 17. There are seven corresponding surfaces because they correspond to the planes of the three-view drawing.

【0255】例題2で三面図の平面数が9であるのは、
図10から分かる。これのワイヤフレ−ムモデルは図1
4に示す。これの候補面は28面である。対応面数は9
である。
In Example 2, the number of planes in the three views is 9,
It can be seen from FIG. This wire frame model is shown in Fig. 1.
4 shows. There are 28 candidate surfaces for this. Corresponding number of faces is 9
Is.

【0256】例題3では三面図の平面の数は14面であ
る。ワイヤフレ−ムモデルにおける候補面は42面あ
る。対応面の数は11面である。この場合初期対応で、
対応の付かない面を除外している。
In Example 3, the number of planes in the three-view drawing is 14. There are 42 candidate surfaces in the wire frame model. The number of corresponding surfaces is 11. In this case, the initial response,
Excludes surfaces that do not correspond.

【0257】本発明では、誤差許容範囲hを設定しえ予
め対応候補を絞って、弛緩法を行っている。hを大きく
すれば、解の収束性は良くなるが、候補面が増加する。
候補面の増加量だけ計算量が増加する。
In the present invention, the relaxation method is performed by setting the error allowable range h and narrowing down the correspondence candidates in advance. When h is increased, the convergence of the solution is improved, but the number of candidate surfaces is increased.
The calculation amount increases with the increase amount of the candidate surface.

【0258】[0258]

【発明の効果】本発明は三面図として与えられた図面か
ら、立体図を復元することができる。本発明の手法は、
三面図の各面iに対して第1近傍面jと第2近傍面hを
定義し、三面図を逆投影して作製したワイヤフレ−ムモ
デルにおいて、三面図の面iが対応しうる面として二次
元座標を共通にする候補面kを幾つか指定し、jとhの
対応面lとmがkの本来的な第1近傍面、第2近傍面に
なっている時に、iとkの対応(i,k)の確率を増や
してゆくというものである。
INDUSTRIAL APPLICABILITY The present invention can restore a three-dimensional drawing from the drawings given as three views. The method of the present invention is
In the wire frame model produced by back-projecting the three views, the first neighborhood surface j and the second neighborhood surface h are defined for each plane i of the three views, and the plane i of the three views corresponds to two faces. When several candidate surfaces k having the same dimensional coordinates are designated and the corresponding surfaces l and m of j and h are the original first and second neighboring surfaces of k, the correspondence between i and k is obtained. This is to increase the probability of (i, k).

【0259】2種類の近傍面との関係が共通するという
性質を利用して、三面図でのiとワイヤフレ−ムモデル
のkの対応(i、k)の確率を定めるので、計算の量が
少なくなる。総当たり方を用いると面の数が多いと計算
量がこれに2乗または3乗に比例して増加する。しかし
本発明の方法は、面の数にほぼ比例して増加するだけで
あるから、面の数が多い時には特に有効である。
The probability of the correspondence (i, k) between i in the three-view drawing and k in the wire frame model is determined by utilizing the property that two types of neighboring surfaces are in common, so the amount of calculation is small. Become. If the total number of faces is used, the amount of calculation increases in proportion to the square or cube of the number of faces when the number of faces is large. However, the method of the present invention only increases substantially in proportion to the number of faces, and thus is particularly effective when the number of faces is large.

【0260】またこの方法は頂点の座標の値に誤差を含
む場合にも適用できる。ある程度座標値が離隔していて
もこれらは同一の点と見做し候補面の数を増やさない。
しかし総当たり方を誤差のある図面に適用すると、候補
面が誤差分で異常に増えるので計算量が爆発的に増加す
る。本発明はこのような誤差による計算量の爆発を防止
することができる。
This method can also be applied to the case where the coordinate value of the vertex includes an error. Even if the coordinate values are separated to some extent, they are regarded as the same point and the number of candidate surfaces is not increased.
However, if the total contact method is applied to a drawing having an error, the number of candidate surfaces increases abnormally due to the error, and the amount of calculation explosively increases. The present invention can prevent the calculation amount from exploding due to such an error.

【0261】さらにまた、本発明は孤立した面を含む虚
解の発生を防ぐことができる。有意の解だけを求めるこ
とができる。虚解を求めてしまうとこれが虚解かどうか
の判定をしなければならないし、計算時間が全く無駄に
なる。
Furthermore, the present invention can prevent the occurrence of a false solution including an isolated surface. Only significant solutions can be found. If a false answer is obtained, it must be judged whether this is a false answer, and the calculation time is wasted.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明で扱うことのできない筒状の多角形の斜
視図。
FIG. 1 is a perspective view of a cylindrical polygon that cannot be handled by the present invention.

【図2】本発明の説明を容易にするための例を示す三面
図。
FIG. 2 is a trihedral view showing an example for facilitating the description of the present invention.

【図3】分割平面を含む例において、各面に番号を付す
ことを示す図。
FIG. 3 is a view showing that each surface is numbered in an example including a division plane.

【図4】図2の三面図の例に於いて平面にラベルを付す
ことを示す例。
FIG. 4 is an example showing labeling of a plane in the example of the three-view drawing of FIG. 2;

【図5】図2に示す三面図から構成したワイヤフレ−ム
モデルの例。
5 is an example of a wire frame model composed of the three views shown in FIG.

【図6】座標の基本面に対して傾いているので、異なる
面図に現れ、二つのラベルが付けられる面の例を示す斜
視図。
FIG. 6 is a perspective view showing an example of a surface that appears in different views and is labeled with two labels because it is tilted with respect to the basic plane of coordinates.

【図7】図5に示すワイヤフレ−ムモデルの面にラベル
を付け、面の頂点の座標を示す斜視図。
FIG. 7 is a perspective view showing the coordinates of the vertices of the surface with the surfaces labeled in the wire frame model shown in FIG.

【図8】第1近傍面の間の関係によって決まる第1適合
係数の意味を説明するための図。
FIG. 8 is a diagram for explaining the meaning of a first matching coefficient that is determined by the relationship between the first neighboring surfaces.

【図9】本発明の多面体復元手法を示す図。FIG. 9 is a diagram showing a polyhedron restoration method of the present invention.

【図10】頂点間の間隔が狭くて隣接平面も候補面とし
て選択する可能性のある多面体の例(例題2)を示す三
面図。
FIG. 10 is a trihedral view showing an example (Example 2) of a polyhedron in which a space between vertices is narrow and an adjacent plane may be selected as a candidate surface.

【図11】三面図だけでは形状の定まらない図形の例
(例題3)を示す三面図。
FIG. 11 is a trihedral view showing an example (example 3) of a figure whose shape cannot be determined only by the trihedral view.

【図12】例題1、2において復元された多面体を示す
図。
FIG. 12 is a diagram showing a polyhedron restored in Examples 1 and 2;

【図13】例題3において復元された多面体を示す図。FIG. 13 is a diagram showing a polyhedron restored in Example 3;

【図14】例題2に対するワイヤフレ−ムモデル。14 is a wire frame model for Example 2. FIG.

【図15】組み合わせ手法によって生ずる例題2の候補
解。
FIG. 15 is a candidate solution of Example 2 generated by the combination method.

【図16】JISでは表現できない式(1)〜(7)の
完全な表式。
FIG. 16 is a complete expression of expressions (1) to (7) that cannot be expressed in JIS.

【図17】JISでは表現できない式(8)〜(13)
の完全な表式。
FIG. 17 is expressions (8) to (13) that cannot be expressed in JIS.
Full expression of.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 平面より構成される多面体を直交する3
つの平面に投影してでき外形を示す実線と隠れ線を示す
破線のみからなり誤差を含む三面図から、元の多面体を
復元する方法であって、三面図の平面に番号iを付け、
各面iの頂点座標(xim,yim,zim)と、実線でのみ
囲まれた単純平面(w=0)、実線と破線で囲まれた分
割平面(w=1)、単純平面と分割平面とを統合した複
合平面(w=2)の3種類の平面の種類の内何れに属す
るかということと、単純平面または複合平面の場合は実
線または破線を介して隣接する面またはこれが含む分割
平面であるとして定義され分割平面の場合はこれを含む
面として定義される第1近傍面{Eij 1 }と、各面図の
面を構成する線分を主軸に投影した時に誤差hの範囲で
1対1に対応する線分を持つ面として定義される第2近
傍面{Eij 2 }とよりなる特徴量リストを各面iについ
て作成し、三面図を逆投影して三面図の面iの2次元座
標に他の面の線分の座標から決める座標を加えた3次元
座標を有する候補面より構成されるワイヤフレ−ムモデ
ルを作成し、面iに対応する総ての候補面に番号kをつ
け、面kについて頂点の座標(xkl′,ykl′,
im′)と、座標系の基本面に投影したときに重なる面
または線分を介して隣接する面あるいはこれに含まれる
面またはこれが含む面として定義される第1近傍面{E
kl 1′}と、座標軸に投影した時に誤差hの範囲で線分
が一致する面として定義される第2近傍面{Ekl 2 ′}
とよりなる特徴量リストを作成し、三面図の面iに対し
てワイヤフレ−ムモデルの複数の候補面kを対応させ、
面iと候補面kの対応(i,k)を造り、kのiに対応
する確からしさを示す確率Pik t を、繰り返し演算によ
って確からしさの次数tを高めながら求めることとし、
初期確率Pik 0は、面k自身の性質から決定し、次数t
の確率Pik t からより高次の確率Pik t+1 を求めるとき
は、面iの第1近傍面をj、面jの候補面をlとして、
面kとlとが互いに離隔しており非平行である時に大き
く、平行で近接しているときに小さくなる第1適合係数
ijkl 1 を定義し、面iの第2近傍面をh、面hの候補
面をmとして、iが単純平面または複合平面の場合は、
ワイヤフレ−ムモデルにおいて面kとlとが2頂点を許
容誤差hの範囲で共有し、面kよりも面mの方が、面i
の存する基本面より遠くに伸びる場合に大きくそうでな
い場合には小さくなり、iが分割平面である場合にはワ
イヤフレ−ムモデルにおいて面kとlとが2頂点を許容
誤差hの範囲で共有し、面kよりも面mの方が、面iが
存する基本面の近くに伸びる場合に大きくそうでない場
合に小さくなる第2適合係数rihkm 2を定義し、lを変
化させた時の第1適合係数rijkl 1 の最大値とこれを与
えるlのjに対応するt次の確率Pjl t とを掛けたもの
のjに関する和と、mを変化させた時の第2適合係数r
ihkm 2 の最大値とこれを与えるmのhに対応するt次の
確率Phm t とを掛けたもののhに関する和とを加え合わ
せて係数qik t を求め、前回のiとkの対応の確からし
さの確率Pik t に乗じたものを正規化してより高次の確
率Pik t+1 とし、一定回数の計算後に最大確率を与える
kを求めて面iの最適対応面とすることを特徴とする弛
緩整合法による三面図からの多面体復元方法。
1. A polyhedron composed of planes orthogonal to each other 3
A method of restoring an original polyhedron from a trihedral drawing that includes only a solid line showing an outline and a broken line showing a hidden line, which is projected on two planes and includes an error, and assigns a number i to the plane of the trihedral drawing,
The vertex coordinates (x im , y im , z im ) of each surface i, a simple plane surrounded by solid lines (w = 0), a division plane surrounded by solid lines and broken lines (w = 1), and a simple plane. To which of the three types of planes the composite plane (w = 2) that integrates the division plane belongs, and in the case of a simple plane or a composite plane, the adjacent planes via solid lines or broken lines or this includes The first neighborhood surface {E ij 1 } is defined as a dividing plane and, in the case of a dividing plane, is defined as the surface including this, and the error h of the line segment that constitutes the surface of each plan is projected on the principal axis. A feature amount list consisting of the second neighboring surface {E ij 2 } defined as a surface having a line segment corresponding to one to one in the range is created for each surface i, and the three views are back-projected to create the three views. It has three-dimensional coordinates obtained by adding the coordinates determined from the line segment coordinates of another surface to the two-dimensional coordinates of the surface i. Composed of the surface Waiyafure - Create Mumoderu, numbered k to all candidate surface corresponding to the surface i, the surface k vertex coordinates (x kl ', y kl' ,
z im ′) and a surface adjacent to another surface or a line segment that overlaps when projected onto the basic surface of the coordinate system, a surface included therein, or a first neighboring surface {E defined as a surface included therein.
kl 1 ′} and the second neighboring surface {E kl 2 ′} defined as the surface where the line segments match within the error h when projected onto the coordinate axis
A feature amount list consisting of and is created, and a plurality of candidate planes k of the wire frame model are associated with the plane i of the three-view drawing,
The correspondence (i, k) between the surface i and the candidate surface k is created, and the probability P ik t indicating the certainty of k corresponding to i is obtained by iterative calculation while increasing the order t of the certainty.
The initial probability P ik 0 is determined from the property of the surface k itself, and the order t
When seeking more the probability P ik t + 1 of higher from the probability P ik t, the first near surface of the surface i j, the candidate face surface j as l,
The first matching coefficient r ijkl 1 is defined as being large when the surfaces k and l are separated from each other and non-parallel, and small when they are parallel and close to each other. If m is a candidate surface of h and i is a simple plane or a compound plane,
In the wire frame model, the surfaces k and l share two vertices within the range of the allowable error h, and the surface m is more stable than the surface k.
When the distance is larger than the existing basic surface, it is large, and when it is not, it becomes small, and when i is a division plane, the surfaces k and l share two vertices in the range of the allowable error h in the wire frame model, The first fitting when the surface m is larger than the surface k when the surface i extends near the existing basic surface, and the second fitting coefficient r ihkm 2 that becomes smaller when the surface i does not grow is defined and l is changed The sum of j obtained by multiplying the maximum value of the coefficient r ijkl 1 by the t-th probability P jl t corresponding to j of l that gives this, and the second matching coefficient r when m is changed
The coefficient q ik t is calculated by adding the maximum value of ihkm 2 and the t-th probability P hm t corresponding to h of m that gives this, and the coefficient q ik t is obtained. The probability P ik t multiplied by the probability of probability is normalized to obtain a higher-order probability P ik t + 1, and k which gives the maximum probability after a certain number of calculations is determined to be the optimal corresponding surface of the surface i. A method for restoring polyhedrons from three views by the relaxation matching method.
【請求項2】 平面より構成される多面体を直交する3
つの平面に投影してでき外形を示す実線と隠れ線を示す
破線のみからなり誤差を含む三面図から、元の多面体を
復元する方法であって、三面図の平面に番号iを付け、
各面iの頂点座標(xim,yim,zim)と、実線でのみ
囲まれた単純平面(w=0)、実線と破線で囲まれた分
割平面(w=1)、単純平面と分割平面とを統合した複
合平面(w=2)の3種類の平面の種類の内何れに属す
るかということと、単純平面または複合平面の場合は実
線または破線を介して隣接する面またはこれが含む分割
平面であるとして定義され分割平面の場合はこれを含む
面として定義される第1近傍面{Eij 1 }と、各面図の
面を構成する線分を主軸に投影した時に誤差hの範囲で
1対1に対応する線分を持つ面として定義される第2近
傍面{Eij 2 }とよりなる特徴量リストを各面iについ
て作成し、三面図を逆投影して三面図の面iの2次元座
標に他の面の線分の座標から決める座標を加えた3次元
座標を有する候補面より構成されるワイヤフレ−ムモデ
ルを作成し、面iに対応する総ての候補面に番号kをつ
け、面kについて頂点の座標(xkl′,ykl′,
im′)と、座標系の基本面に投影したときに重なる面
または線分を介して隣接する面あるいはこれに含まれる
面またはこれが含む面として定義される第1近傍面{E
kl 1′}と、座標軸に投影した時に誤差hの範囲で線分
が一致する面として定義される第2近傍面{Ekl 2 ′}
とよりなる特徴量リストを作成し、三面図の面iに対し
てワイヤフレ−ムモデルの複数の候補面kを対応させ、
面iと候補面kの対応(i,k)を造り、kのiに対応
する確からしさを示す確率Pik t を、繰り返し演算によ
って確からしさの次数tを高めながら求めることとし、
初期確率Pik 0は、面kが単純平面、複合平面の場合は
原点からの距離にほぼ逆比例するものとして、面kが分
割平面の場合は原点からの距離にほぼ比例するものとし
て決定し、次数tの確率Pik t からより高次の確率Pik
t+1 を求めるときは、面iの第1近傍面をj、面jの候
補面をlとし、nk 、nl を面kとlの法線ベクトル、
k 、al を面kとlの頂点として、面kとlとが互い
に離隔しており非平行である時に大きく、平行で近接し
ているときに小さくなる第1適合係数rijkl 1 を、 rijkl 1 =min〔2{1−|nk ・nl |/|nk
|nl |}+|nk ・(ak −al )|/h,2〕 によって定義し、面iの第2近傍面をh、面hの候補面
をmとして、iが単純平面または複合平面の場合は、ワ
イヤフレ−ムモデルにおいて面kとlとが2頂点を許容
誤差hの範囲で共有し、面kよりも面mの方が、面iの
存する基本面より遠くに伸びる場合に大きく、そうでな
い場合には小さくなる第2適合係数rihkm 2 を rihkm 2 =e1 ×e21 =2:面kと面lのそれぞれ隣り合う2頂点が対応
の許容範囲で一致し、それらの接点から平面lの他の頂
点を結ぶベクトルの内、iを含む面図で表現されない軸
方向に対して正であるベクトルが存在する。 =0:その他 e2 =1−(kとlの,本来一致すると思われる頂点間
の距離の和)/2h によって定義し、iが分割平面である場合にはワイヤフ
レ−ムモデルにおいて面kとlが許容誤差hの範囲で2
頂点を共有し面kよりも面mの方が、面iが存する基本
面の近くに伸びる場合に大きくそうでない場合に小さく
なる第2適合係数rihkm 2 を rijkl 2 =e1 ×e21 =2:面kと面lのそれぞれ隣り合う2頂点が対応
の許容範囲で一致し、それらの接点から平面lの他の頂
点を結ぶベクトルの内、iを含む面図で表現されない軸
方向に対して負であるベクトルが存在する。 =0:その他 e2 =1−(kとlの,本来一致すると思われる頂点間
の距離の和)/2h によって定義し、lを変化させた時の第1適合係数r
ijkl 1 の最大値とこれを与えるlのjに対応するt次の
確率Pjl t とを掛けたもののjに関する和と、mを変化
させた時の第2適合係数rihkm 2 の最大値とこれを与え
るmのhに対応するt次の確率Phm t とを掛けたものの
hに関する和とを加え合わせて係数qik t を求め、前回
のiとkの対応の確からしさの確率Pik t に乗じたもの
を正規化してより高次の確率Pik t+1 とし、一定回数の
計算後に最大確率を与えるkを求めて面iの最適対応面
とすることを特徴とする弛緩整合法による三面図からの
多面体復元方法。
2. A polyhedron composed of planes orthogonal to each other 3
A method of restoring an original polyhedron from a trihedral drawing that includes only a solid line showing an outline and a broken line showing a hidden line, which is projected on two planes and includes an error, and assigns a number i to the plane of the trihedral drawing,
The vertex coordinates (x im , y im , z im ) of each surface i, a simple plane surrounded by solid lines (w = 0), a division plane surrounded by solid lines and broken lines (w = 1), and a simple plane. To which of the three types of planes the composite plane (w = 2) that integrates the division plane belongs, and in the case of a simple plane or a composite plane, the adjacent planes via solid lines or broken lines or this includes The first neighborhood surface {E ij 1 } is defined as a dividing plane and, in the case of a dividing plane, is defined as the surface including this, and the error h of the line segment that constitutes the surface of each plan is projected on the principal axis. A feature amount list consisting of the second neighboring surface {E ij 2 } defined as a surface having a line segment corresponding to one to one in the range is created for each surface i, and the three views are back-projected to create the three views. It has three-dimensional coordinates obtained by adding the coordinates determined from the line segment coordinates of another surface to the two-dimensional coordinates of the surface i. Composed of the surface Waiyafure - Create Mumoderu, numbered k to all candidate surface corresponding to the surface i, the surface k vertex coordinates (x kl ', y kl' ,
z im ′) and a surface adjacent to another surface or a line segment that overlaps when projected onto the basic surface of the coordinate system, a surface included therein, or a first neighboring surface {E defined as a surface included therein.
kl 1 ′} and the second neighboring surface {E kl 2 ′} defined as the surface where the line segments match within the error h when projected onto the coordinate axis
A feature amount list consisting of and is created, and a plurality of candidate planes k of the wire frame model are associated with the plane i of the three-view drawing,
The correspondence (i, k) between the surface i and the candidate surface k is created, and the probability P ik t indicating the certainty of k corresponding to i is obtained by iterative calculation while increasing the order t of the certainty.
The initial probability P ik 0 is determined to be approximately inversely proportional to the distance from the origin when the surface k is a simple plane or a compound plane, and is approximately proportional to the distance from the origin when the surface k is a division plane. , Probability P ik t of degree t to higher probability P ik
To obtain t + 1 , let j be the first neighboring surface of the surface i and l be the candidate surface of the surface j, and let n k and n l be normal vectors of the surfaces k and l,
With a k and a l as vertices of the surfaces k and l, the first matching coefficient r ijkl 1 is large when the surfaces k and l are separated from each other and non-parallel, and is large when they are parallel and close to each other. , R ijkl 1 = min [2 {1- | n k · n l | / | n k |
| N l |} + | n k · (a k −a l ) | / h, 2], where h is the second neighboring surface of the surface i and m is the candidate surface of the surface h, and i is a simple plane. Alternatively, in the case of a compound plane, in the wire frame model, the surfaces k and l share two vertices within the allowable error h, and the surface m extends farther than the basic surface of the surface i than the surface k. The second matching coefficient r ihkm 2 that is larger than the above, and is smaller otherwise is r ihkm 2 = e 1 × e 2 e 1 = 2: two adjacent vertices of the surface k and the surface 1 are equal to each other within a corresponding allowable range. However, among the vectors connecting these vertices to the other vertices of the plane l, there is a vector that is positive with respect to the axial direction that is not represented in the plan view including i. = 0: Others e 2 = 1- (sum of distances between vertices of k and l that are supposed to be the same) / 2h, and when i is a division plane, the faces k and l in the wire frame model are defined. Is within the allowable error h of 2
The second matching coefficient r ihkm 2 is r ijkl 2 = e 1 × e 2 which is larger when the surface m shares the vertices and which is larger than the surface k when the surface i extends near the existing basic surface, and which is small when the surface i does not e 1 = 2: An axis which is not represented in a plan including i among the vectors connecting two adjacent vertices of the surface k and the surface l within the corresponding allowable range and connecting the other vertices of the plane l from their contact points There is a vector that is negative with respect to direction. = 0: Others e 2 = 1− (sum of distances between vertices of k and l that are supposed to be the same) / 2h, and the first matching coefficient r when l is changed
The sum of j multiplied by the maximum value of ijkl 1 and the t-th probability P jl t corresponding to j of l that gives it, and the maximum value of the second matching coefficient r ihkm 2 when m is changed. The coefficient q ik t is calculated by adding the t-th probability P hm t corresponding to h of m and the sum related to h, and the probability P ik of the probability of correspondence between i and k at the previous time is calculated. A relaxation matching method characterized by normalizing a product of t to obtain a higher-order probability P ik t + 1, and obtaining k that gives the maximum probability after a certain number of times of calculation, and making k the optimum corresponding surface of the surface i. Method for recovering polyhedron from trihedral drawing.
【請求項3】 平面より構成される多面体を直交する3
つの平面に投影してでき外形を示す実線と隠れ線を示す
破線のみからなり誤差を含む三面図から、元の多面体を
復元する方法であって、三面図の平面に番号iを付け、
各面iの頂点座標(xim,yim,zim)と、実線でのみ
囲まれた単純平面(w=0)、実線と破線で囲まれた分
割平面(w=1)、単純平面と分割平面とを統合した複
合平面(w=2)の3種類の平面の種類の内何れに属す
るかということと、単純平面または複合平面の場合は実
線または破線を介して隣接する面またはこれが含む分割
平面であるとして定義され分割平面の場合はこれを含む
面として定義される第1近傍面{Eij 1 }と、各面図の
面を構成する線分を主軸に投影した時に誤差hの範囲で
1対1に対応する線分を持つ面として定義される第2近
傍面{Eij 2 }とよりなる特徴量リストを各面iについ
て作成し、三面図を逆投影して三面図の面iの2次元座
標に他の面の線分の座標から決める座標を加えた3次元
座標を有する候補面より構成されるワイヤフレ−ムモデ
ルを作成し、面iに対応する総ての候補面に番号kをつ
け、面kについて頂点の座標(xkl′,ykl′,
im′)と、座標系の基本面に投影したときに重なる面
または線分を介して隣接する面あるいはこれに含まれる
面またはこれが含む面として定義される第1近傍面{E
kl 1′}と、座標軸に投影した時に誤差hの範囲で線分
が一致する面として定義される第2近傍面{Ekl 2 ′}
とよりなる特徴量リストを作成し、三面図の面iに対し
てワイヤフレ−ムモデルの複数の候補面kを対応させ、
面iと候補面kの対応(i,k)を造り、kのiに対応
する確からしさを示す確率Pik t を、繰り返し演算によ
って確からしさの次数tを高めながら求めることとし、
初期確率Pik 0は、面k自身の性質から決定し、次数t
の確率Pik t からより高次の確率Pik t+1 を求めるとき
は、面iの第1近傍面をj、面jの候補面をlとして、
面kとlとが互いに離隔しており非平行である時に大き
く、平行で近接しているときに小さくなる第1適合係数
ijkl 1 を定義し、面iの第2近傍面をh、面hの候補
面をmとして、iが単純平面、複合平面または分割平面
の何れであっても、ワイヤフレ−ムモデルにおいて面k
とlとが2頂点を許容誤差hの範囲で共有する場合に大
きくそうでない場合には小さくなる第2適合係数rihkm
2 を定義し、lを変化させた時の第1適合係数rijkl 1
の最大値とこれを与えるlのjに対応するt次の確率P
jl t とを掛けたもののjに関する和と、mを変化させた
時の第2適合係数rihkm 2 の最大値とこれを与えるmの
hに対応するt次の確率Phm t とを掛けたもののhに関
する和とを加え合わせて係数qik t を求め、前回のiと
kの対応の確からしさの確率Pik t に乗じたものを正規
化してより高次の確率Pik t+1とし、一定回数の計算後
に最大確率を与えるkを求めて面iの最適対応面とする
ことを特徴とする弛緩整合法による三面図からの多面体
復元方法。
3. A polyhedron composed of planes orthogonal to each other 3
A method of restoring an original polyhedron from a trihedral drawing that includes only a solid line showing an outline and a broken line showing a hidden line, which is projected on two planes and includes an error, and assigns a number i to the plane of the trihedral drawing,
The vertex coordinates (x im , y im , z im ) of each surface i, a simple plane surrounded by solid lines (w = 0), a division plane surrounded by solid lines and broken lines (w = 1), and a simple plane. To which of the three types of planes the composite plane (w = 2) that integrates the division plane belongs, and in the case of a simple plane or a composite plane, the adjacent planes via solid lines or broken lines or this includes The first neighborhood surface {E ij 1 } is defined as a dividing plane and, in the case of a dividing plane, is defined as the surface including this, and the error h of the line segment that constitutes the surface of each plan is projected on the principal axis. A feature amount list consisting of the second neighboring surface {E ij 2 } defined as a surface having a line segment corresponding to one to one in the range is created for each surface i, and the three views are back-projected to create the three views. It has three-dimensional coordinates obtained by adding the coordinates determined from the line segment coordinates of another surface to the two-dimensional coordinates of the surface i. Composed of the surface Waiyafure - Create Mumoderu, numbered k to all candidate surface corresponding to the surface i, the surface k vertex coordinates (x kl ', y kl' ,
z im ′) and a surface adjacent to another surface or a line segment that overlaps when projected onto the basic surface of the coordinate system, a surface included therein, or a first neighboring surface {E defined as a surface included therein.
kl 1 ′} and the second neighboring surface {E kl 2 ′} defined as the surface where the line segments match within the error h when projected onto the coordinate axis
A feature amount list consisting of and is created, and a plurality of candidate planes k of the wire frame model are associated with the plane i of the three-view drawing,
The correspondence (i, k) between the surface i and the candidate surface k is created, and the probability P ik t indicating the certainty of k corresponding to i is obtained by iterative calculation while increasing the order t of the certainty.
The initial probability P ik 0 is determined from the property of the surface k itself, and the order t
When seeking more the probability P ik t + 1 of higher from the probability P ik t, the first near surface of the surface i j, the candidate face surface j as l,
The first matching coefficient r ijkl 1 is defined as being large when the surfaces k and l are separated from each other and non-parallel, and small when they are parallel and close to each other. If the candidate surface of h is m, and whether i is a simple plane, a compound plane, or a division plane, the surface k in the wire frame model
The second matching coefficient r ihkm that is large when the two vertices and l share two vertices within the range of the allowable error h and is small otherwise
First definition coefficient r ijkl 1 when 2 is defined and l is changed
And the probability p of the t-th order corresponding to j of l that gives it
The sum of jl t multiplied by j, the maximum value of the second matching coefficient r ihkm 2 when m is changed, and the t-th probability P hm t corresponding to h of m which gives this value are multiplied. The coefficient q ik t is obtained by adding the sum of the thing and h, and is multiplied by the probability P ik t of the probability of the correspondence between i and k at the previous time to be normalized to obtain a higher-order probability P ik t + 1. A method for restoring a polyhedron from a trihedral diagram by a relaxation matching method, which is characterized by obtaining k which gives a maximum probability after a certain number of times of calculation and using it as an optimal corresponding surface of the surface i.
JP5016969A 1993-01-06 1993-01-06 Polyhedral reconstruction method from trihedral drawing by relaxation matching method Expired - Lifetime JPH0766401B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5016969A JPH0766401B2 (en) 1993-01-06 1993-01-06 Polyhedral reconstruction method from trihedral drawing by relaxation matching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5016969A JPH0766401B2 (en) 1993-01-06 1993-01-06 Polyhedral reconstruction method from trihedral drawing by relaxation matching method

Publications (2)

Publication Number Publication Date
JPH06203109A true JPH06203109A (en) 1994-07-22
JPH0766401B2 JPH0766401B2 (en) 1995-07-19

Family

ID=11930921

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5016969A Expired - Lifetime JPH0766401B2 (en) 1993-01-06 1993-01-06 Polyhedral reconstruction method from trihedral drawing by relaxation matching method

Country Status (1)

Country Link
JP (1) JPH0766401B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112164131A (en) * 2020-09-25 2021-01-01 北京商询科技有限公司 Internal structure tangent plane method, device and computer equipment based on Unity engine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112164131A (en) * 2020-09-25 2021-01-01 北京商询科技有限公司 Internal structure tangent plane method, device and computer equipment based on Unity engine
CN112164131B (en) * 2020-09-25 2024-04-05 北京商询科技有限公司 Method, device and computer equipment for cutting section of internal structure based on Unity engine

Also Published As

Publication number Publication date
JPH0766401B2 (en) 1995-07-19

Similar Documents

Publication Publication Date Title
Wang et al. A survey of 3D solid reconstruction from 2D projection line drawings
Lopes et al. Improving the robustness and accuracy of the marching cubes algorithm for isosurfacing
Bischoff et al. Automatic restoration of polygon models
Dobkin et al. Computational geometry in a curved world
US20070024632A1 (en) Transfer of attributes between geometric surfaces of arbitrary topologies with distortion reduction and discontinuity preservation
JPH0350679A (en) Method for calculating minkowski&#39;s sum of general polyhedron
Xiao et al. Dynamic assembly simplification for virtual assembly process of complex product
US6054997A (en) System and method for determining distances between polyhedrons by clipping polyhedron edge features against voronoi regions
Wu et al. Improvements to algorithms for computing the Minkowski sum of 3-polytopes
Halperin et al. A near-quadratic algorithm for planning the motion of a polygon in a polygonal environment
Zeng et al. Sketch-based retrieval and instantiation of parametric parts
KR100940283B1 (en) Method of searching neighboring cell address in same resolution octree structure
Sugihara Three-dimensional convex hull as a fruitful source of diagrams
Leymarie et al. Computation of the shock scaffold for unorganized point clouds in 3D
JPH06203109A (en) Method for restoring polygon from there-sided drawing with slack matching method
Barki et al. Contributing vertices-based Minkowski sum of a nonconvex--convex pair of polyhedra
Sugihara How to make geometric algorithms robust
US20170132174A1 (en) Novel method for the fast derivation of delaunay tesselations
Behar et al. Dynamic Minkowski sums under scaling
Kumar Interactive rendering of parametric spline surfaces
JP4710029B2 (en) Geometric graphic data processing apparatus, geometric graphic data processing method, and geometric graphic data processing program
Tang et al. Fast approximate geodesic paths on triangle mesh
Yang et al. Topology Guaranteed B-Spline Surface/Surface Intersection
CN117635888B (en) Data processing method and related device
Du et al. Robust computation of implicit surface networks for piecewise linear functions