JPS6319075A - Convex closing system for concave area - Google Patents
Convex closing system for concave areaInfo
- Publication number
- JPS6319075A JPS6319075A JP61163378A JP16337886A JPS6319075A JP S6319075 A JPS6319075 A JP S6319075A JP 61163378 A JP61163378 A JP 61163378A JP 16337886 A JP16337886 A JP 16337886A JP S6319075 A JPS6319075 A JP S6319075A
- Authority
- JP
- Japan
- Prior art keywords
- convex
- closing
- concave
- vertices
- closure
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 21
- 238000003708 edge detection Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 9
- 238000000605 extraction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62D—MOTOR VEHICLES; TRAILERS
- B62D25/00—Superstructure or monocoque structure sub-units; Parts or details thereof not otherwise provided for
- B62D25/08—Front or rear portions
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B62—LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
- B62D—MOTOR VEHICLES; TRAILERS
- B62D27/00—Connections between superstructure or understructure sub-units
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Body Structure For Vehicles (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
【発明の詳細な説明】
〔概要〕
コンピュータによる形状処理において、凹領域の凸閉包
をどのように行うかを解決するために、凹領域を形成す
る頂点に属性(凹頂点、凸頂点、凹凸頂点)等の属性を
付加し、それらの関係により、凸閉包を構成する閉包面
を決定するようにしたものである。[Detailed Description of the Invention] [Summary] In shape processing by a computer, in order to solve the problem of how to perform convex closure of a concave region, attributes (concave vertices, convex vertices, concave and convex vertices) are assigned to the vertices forming the concave region. ), etc., and the closure surfaces forming the convex hull are determined based on the relationships between them.
本発明は、多面体の形状処理、特に凹領域の凸閉包方式
に関するものである。The present invention relates to polyhedral shape processing, particularly to a convex hull method for concave regions.
凹条面体の形状処理は凸条面体と異なり、凹領域が存在
するため、凸条面体では簡単に行える処理でも難しくな
る。そこで、凹条面体を凸条面体で近似し、その後に凹
領域だけを処理する方法が考えられる。ここでは凸条面
体近似を凹領域を凸閉包することで行う。Unlike convex strips, shape processing of concave strips is difficult because of the presence of concave areas, which is easy to do with convex strips. Therefore, a method can be considered in which the concave striped surface is approximated by a convex striped surface and then only the concave areas are processed. Here, the convex ray surface approximation is performed by convexly closing the concave region.
従来、凹条面体に対する形状処理は、凹領域を意識する
ことなく行われている。即ち、凸条面体でも凹条面体で
も適用できるようなアルゴリスムを使用して多面体の形
状処理を行っている。このため、凹領域が少ないような
場合には、これだけを後で処理すれば良いのに、全体を
同じアルゴリスムを使用して形状処理を行っているので
、処理時間がかかると言う欠点が生ずる。Conventionally, shape processing for a concave striped surface body has been performed without being aware of the concave areas. That is, the shape processing of the polyhedron is performed using an algorithm that can be applied to both convex and concave strips. For this reason, when there are only a few concave areas, it is sufficient to process only these areas later, but since the same algorithm is used to process the shape of the entire area, the disadvantage is that it takes a long time to process.
本発明は、このような点に鑑みて創作されたものであっ
て、多面体の凹領域を凸閉包する閉包面を効率良く決定
できるようになった凹領域抽出方式を提供することを目
的としている。The present invention was created in view of these points, and aims to provide a concave region extraction method that can efficiently determine a closure surface that convexly closes a concave region of a polyhedron. .
第1図は本発明の原理ブロック図である。第1図におい
て、1は頂点属性決定部、2は閉包稜線検出部、3は閉
包面画分割部、4は終了条件判定部、5は頂点属性と閉
包頂点を格納するメモリ、6は閉包稜線と閉包面を格納
するメモリである。FIG. 1 is a block diagram of the principle of the present invention. In FIG. 1, 1 is a vertex attribute determination unit, 2 is a closure edge detection unit, 3 is a closure plane image division unit, 4 is a termination condition determination unit, 5 is a memory for storing vertex attributes and closure vertices, and 6 is a closure edge This is a memory that stores the and closure surface.
なお、第1図はプログラムの制御の下で計算機が行う機
能をブロック図で示したものである。Note that FIG. 1 is a block diagram showing the functions performed by a computer under the control of a program.
頂点属性決定部1にて、先ず凹領域を構成する頂点の属
性(凹頂点、凸頂点、凹凸頂点)を決定する。次に、閉
包稜線検出部2にて、凹凸頂点と言う属性を持つ頂点を
中心として、属性関係により閉包稜線を検出する。検出
された閉包稜線によって構成された閉曲線が平面上にあ
るか否かの判定を行い、平面上にないと判断された場合
には凸分割することによって閉包面を閉包面凸分割部3
で行う。最後に、終了条件判定部4にて、凹領域が完全
に凸閉包されたか否かを判定し、完全でないと判定され
た場合には閉包稜線検出部2に戻る。The vertex attribute determining unit 1 first determines the attributes of vertices (concave vertices, convex vertices, uneven vertices) constituting the concave area. Next, the closed edge detection unit 2 detects closed edges based on attribute relationships, centering on vertices having an attribute called uneven vertices. It is determined whether or not the closed curve formed by the detected closure edges is on a plane, and if it is determined that it is not on a plane, the closure surface is divided into convex sections by convex division section 3.
Do it with Finally, the end condition determining unit 4 determines whether the concave area is completely convexly closed, and if it is determined that the convex closure is not complete, the process returns to the closure edge detecting unit 2.
第2図は凹領域の例を示す図である。第2図においてP
+ 、Pl 、Ps 、Pbは凸頂点、P3゜P4は凹
凸頂点を示している。PlとP、を結ふ直線は閉包稜線
となり、PlとP6を結ふ直線も閉包稜線となる。凸頂
点とは、その頂点より出る稜線が全て凸稜線であるもの
を言う。第2図には図示されていないが、凹頂点とは、
その頂点より出る稜線が全て凹稜線であるものを言う。FIG. 2 is a diagram showing an example of a concave area. In Figure 2, P
+, Pl, Ps, and Pb indicate convex vertices, and P3 and P4 indicate uneven vertices. The straight line connecting Pl and P becomes a closure edge, and the straight line connecting Pl and P6 also becomes a closure edge. A convex vertex is one in which all the ridge lines coming out from that vertex are convex edges. Although not shown in Fig. 2, the concave apex is
All of the ridgelines coming out from the apex are concave ridgelines.
凹凸頂点とは、それ以外のものを言う。凸稜線とは、そ
の稜線を構成する2個の平面のなす角度が、外向きに測
って180度より大であるものを言う。凹稜線とは、そ
の稜線を構成する2個の平面のなす角度が、外向きに測
って180度より小であるものを言う。The uneven apex refers to anything else. A convex ridgeline is one in which the angle formed by two planes forming the ridgeline is greater than 180 degrees when measured outward. A concave ridgeline is one in which the angle formed by two planes forming the ridgeline is smaller than 180 degrees when measured outward.
第3図は第1図の装置で行われる処理を説明するフロー
チャートである。同図において、1xx(Xは0なし9
)は属性決定部1で行われる処理を示し、2xxは閉包
稜線検出部2で行われる処理を示し、3xxは閉包面画
分割部3で行われる処理を示し、4xxは終了条件判定
部4で行われる処理を示している。なお、凹領域に関連
のある頂点を拾い出す処理については、出願済の「凹領
域抽出方式」に説明されている。簡単に説明すると、凹
稜線を手掛かりに全ての境界稜線が凸稜線になるまで探
索する。従って、凹領域を形成する頂点は境界稜線の端
点の集合となる。FIG. 3 is a flowchart illustrating the processing performed by the apparatus shown in FIG. In the same figure, 1xx (X is 0, 9
) indicates the processing performed by the attribute determination unit 1, 2xx indicates the processing performed by the closure edge detection unit 2, 3xx indicates the processing performed by the closure plane division unit 3, and 4xx indicates the processing performed by the termination condition determination unit 4. Indicates the processing to be performed. Note that the process of picking out vertices related to a concave area is described in the filed application for "Concave Area Extraction Method." Briefly, a concave edge is used as a clue to search until all boundary edges become convex edges. Therefore, the vertices forming the concave region are a set of end points of the boundary edge.
(101)先ず、凹領域を構成する頂点の属性(凹頂点
、凸頂点、凹凸頂点)を決定する。(101) First, the attributes of the vertices (concave apex, convex apex, uneven apex) constituting the concave area are determined.
(201)属性が凸頂点であるものの存在によって次の
処理が決まる。Yesのときは(202)の処理を行い
、Noのときは(204)の処理を行う。(201) The next process is determined by the existence of a convex vertex attribute. If Yes, process (202) is performed, and if No, process (204) is performed.
(202)一つの凹凸頂点の両側から凹領域の境界に沿
って追跡し、最初に現れるそれぞれの側の凸頂点を探す
。この二つの凸頂点を閉包稜線の端点とし、追跡した境
界線と閉包稜線によって囲まれた閉曲線を一時的な閉包
面とする。(202) Trace along the boundary of the concave area from both sides of one concave/convex vertex to find the first convex vertex on each side. These two convex vertices are defined as the end points of the closure edge, and the closed curve surrounded by the traced boundary line and the closure edge is defined as a temporary closure surface.
(203)閉包稜線はメモリ6に格納し、始めの凹凸頂
点及び追跡中に現れた凹凸頂点(即ち、閉包面中の凹凸
頂点)を全て凹凸頂点のメモリ5から削除する。(203) The closed envelope edge is stored in the memory 6, and all the initial uneven vertices and the uneven vertices that appeared during tracking (that is, uneven vertices in the closed surface) are deleted from the uneven vertex memory 5.
(204)凸頂点が存在しない場合には、−時的な閉包
面を凹凸頂点全体で形成される閉曲線とする。(204) If there are no convex vertices, the -temporal closure surface is a closed curve formed by all the concave and convex vertices.
(205)凹凸頂点を全てメモリ5から削除する。(205) All uneven vertices are deleted from the memory 5.
(301)次に一時的に決定した閉包面が平面であるか
否かを調べる。Yesのときは(302)の処理を行い
、Noのときは(303)の処理を行う。(301) Next, it is checked whether the temporarily determined closure surface is a plane. If Yes, process (302) is performed, and if No, process (303) is performed.
(302)平面である場合には、そのまま当該閉包面を
登録する。(302) If it is a plane, the closure plane is registered as is.
(303)平面でない場合には、閉包面を、分割稜線が
全て凸稜線となるように凸分割する。(303) If it is not a plane, the closed surface is divided into convex parts so that all dividing edges become convex edges.
(304)そして、分割された閉包面及び分割稜線を登
録する。(304) Then, the divided closure surfaces and dividing edges are registered.
(401)凹凸頂点があるか否かを調べ、Yesのとき
は(201)の処理に戻り、Noのときは(402)の
処理を行う。(401) Check whether there is an uneven vertex or not. If Yes, return to the process of (201), and if No, perform the process of (402).
(402)凹凸頂点がなくなったら、閉包稜線の端点で
ある閉包頂点以外の凸頂点(未処理凸端点)が存在する
か否かで凸閉包の完了を判定する。(402) When the uneven vertices are eliminated, completion of the convex hull is determined based on whether there are any convex vertices (unprocessed convex end points) other than the closure vertices that are the end points of the closure ridge.
閉包頂点以外の凸頂点が存在しない場合には終了とする
。If there are no convex vertices other than closure vertices, the process ends.
(403)存在する場合には、それらに接続する閉包頂
点を新しい凹凸頂点とする。(403) If they exist, the closure vertices connected to them are set as new uneven vertices.
(404)更に、凸頂点から上記凹凸頂点を削除乙、再
び(201)に戻る。(404) Furthermore, the uneven vertices are deleted from the convex vertices, and the process returns to (201) again.
第4図ば閉包面の凸分割の例を示す図である。FIG. 4 is a diagram showing an example of convex division of a closed surface.
第4図に示すように4つの点が平面上にのらない場合、
何れかの対角線によって凸分割される。If the four points are not on the plane as shown in Figure 4,
It is convexly divided by either diagonal.
第5図は凹領域の他例を示す図である。第5図を参照し
て処理(403)及び(404)を説明する。第5図の
立体の場合、第1回目にP6.P7の凹凸頂点を手掛か
りにP、P2とPaPsの閉包稜線が引ける。従って、
P、、P、、P、、P、が閉包頂点となる。処理(40
3)により、p2.p4が次の凹凸頂点になり、処理(
404)により、Pz。FIG. 5 is a diagram showing another example of the concave area. Processes (403) and (404) will be explained with reference to FIG. In the case of the solid shown in Fig. 5, P6. Using the concavo-convex apex of P7 as a clue, the closing edges of P, P2 and PaPs can be drawn. Therefore,
P,,P,,P,,P,are closure vertices. Processing (40
3), p2. p4 becomes the next uneven vertex, and the process (
404), Pz.
P4を凸頂点の集合から取り除くことになる。P4 will be removed from the set of convex vertices.
Jヌ上の説明から明らかなように、本発明によれば、凹
領域を凸閉包出来るので、比較的に簡単に行える凸条面
体に対する形状処理を、凹条面体に対してもそのまま適
用でき、後処理に凹領域だけを行えば、凹条面体に対す
る完全な形状処理を行える効果がある。As is clear from the explanation above, according to the present invention, the concave region can be closed in a convex manner, so that the shape processing for the convex strip surface body, which can be performed relatively easily, can be applied directly to the concave strip surface body. By post-processing only the concave areas, it is possible to completely process the shape of the concave strip.
第1図は本発明の原理図、第2図は凹領域の例を示す図
、第3図は第1図の装置で行われる処理を説明するフロ
ーチャート、第4図は閉包面の凸分割の例を示す図、第
5図は凹領域の他例を示す図である。
1・・・頂点属性決定部、2・・・閉包稜線検出部、3
・・・閉包面白分割部、4・・・終了条件判定部、5・
・・頂点属性と閉包頂点を格納するメモリ、6・・・閉
包稜線と閉包面を格納するメモリ。Fig. 1 is a diagram of the principle of the present invention, Fig. 2 is a diagram showing an example of a concave region, Fig. 3 is a flowchart explaining the processing performed by the apparatus of Fig. 1, and Fig. 4 is a diagram of convex division of a closed surface. FIG. 5 is a diagram showing another example of the concave area. 1... Vertex attribute determination unit, 2... Closing edge detection unit, 3
. . . Closure white division section, 4. Termination condition determination section, 5.
. . . Memory for storing vertex attributes and closure vertices; 6. Memory for storing closure edges and closure surfaces.
Claims (1)
成する頂点に凹頂点、凸頂点、凹凸頂点等の属性を付加
する頂点属性決定部(1)と、凹凸頂点を中心として閉
包稜線を決定する閉包稜線検出部(2)と、 その閉包稜線によって構成される閉曲線が平面上にある
か否かの判定を行い、平面上に無い場合には凸分割する
ことによって閉包面を決定する閉包面凸分割部(3)と
、 を備えること特徴とする凹領域凸閉包方式。[Scope of Claims] A method for convexly enclosing a concave region of a polyhedron includes a vertex attribute determination unit (1) that adds attributes such as concave vertices, convex vertices, and concave and convex vertices to vertices constituting the concave region; A closing edge detection unit (2) that determines a closing edge as the center, and a closing edge detection unit (2) that determines whether a closed curve formed by the closing edge is on a plane, and if it is not on a plane, performs convex division to detect the closure. A concave area convex closure method characterized by comprising: a convex closure surface dividing section (3) for determining a surface;
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61163378A JPS6319075A (en) | 1986-07-11 | 1986-07-11 | Convex closing system for concave area |
KR1019870007478A KR910000503B1 (en) | 1986-07-11 | 1987-07-11 | Front structure of vehicle body |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61163378A JPS6319075A (en) | 1986-07-11 | 1986-07-11 | Convex closing system for concave area |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6319075A true JPS6319075A (en) | 1988-01-26 |
Family
ID=15772744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61163378A Pending JPS6319075A (en) | 1986-07-11 | 1986-07-11 | Convex closing system for concave area |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPS6319075A (en) |
KR (1) | KR910000503B1 (en) |
-
1986
- 1986-07-11 JP JP61163378A patent/JPS6319075A/en active Pending
-
1987
- 1987-07-11 KR KR1019870007478A patent/KR910000503B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR880001482A (en) | 1988-04-23 |
KR910000503B1 (en) | 1991-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ayache | Artificial vision for mobile robots: stereo vision and multisensory perception | |
JPH04309183A (en) | Method for forming limited element mesh | |
US10445908B1 (en) | Computer handling of polygons | |
Conker | A dual plane variation of the Hough transform for detecting non-concentric circles of different radii | |
US5668894A (en) | Method for processing three-dimensional shape data | |
CN112147637A (en) | Robot repositioning method and device | |
JPH04346182A (en) | Method, program product and system for identifying polygon | |
JPH11175752A (en) | Processor and method for image processing | |
Yang et al. | Determination of the identity, position and orientation of the topmost object in a pile: Some further experiments | |
JPS6319075A (en) | Convex closing system for concave area | |
JPH03194657A (en) | Graphic processor | |
JPH06176107A (en) | Method and device for processing distance picture | |
Shapiro | A note on Lee and Schachter's algorithm for Delaunay triangulation | |
JP3082499B2 (en) | How to prevent the edge of the fillet material from floating | |
CN112017290A (en) | Conical surface fitting method and device, computer equipment and storage medium | |
JP4093440B2 (en) | Method for determining inclusion relationship of closed region and recording medium recording program for executing this method | |
JPH08123963A (en) | Method and device for image recognition | |
JPH04295973A (en) | Pattern curve applying method by hough transformation | |
JP3758229B2 (en) | Line segment extraction method, line segment extraction apparatus, and line segment extraction processing program | |
JP2938087B2 (en) | A method for detecting corners of a shape represented by a straight short vector sequence | |
JP2004078867A (en) | Method for determining inside and outside of polygon | |
JP3085005B2 (en) | How to prevent self-intersection of fillet material | |
JPH0219509B2 (en) | ||
JPH08287286A (en) | Plane image mapping method | |
Kohlhepp et al. | Intrinsic line features and contour metric for locating 3-D objects in sparse, segmented range images |