首页 / 专利库 / 建筑物 / 参数化建模 / Blending method for accomplishing continuity at boundary of two b-spline curves / surfaces for use in a computing apparatus

Blending method for accomplishing continuity at boundary of two b-spline curves / surfaces for use in a computing apparatus

阅读:417发布:2021-08-20

专利汇可以提供Blending method for accomplishing continuity at boundary of two b-spline curves / surfaces for use in a computing apparatus专利检索,专利查询,专利分析的服务。并且An algebraic blending method accomplishes continuity of two n-the order curves or curved surface patch by generating a new control point of boundary by using a simple algebraic blending method in modeling a free curves/curved surface constructed by a B-spline. At a first step, a B-spline curved surface patch is obtained by using universal parametrization. At a second step, two adjacent patch to be connected with continuity is selected among the patch obtained at the first step. At a third step, at least one control point of a large patch is obtained by obtaining control points of the selected two curved surfaces and blending superposed control points. At a final step, a B-spline curved surface patch is obtained by using the obtained control points of the large patch and the two patch of the original model is replaced with the B-spline curved surface patch.,下面是Blending method for accomplishing continuity at boundary of two b-spline curves / surfaces for use in a computing apparatus专利的具体信息内容。

What is claimed is:1. An algebraic blending method for accomplishing continuity at boundary of two B-spline curves or curved surfaces for use in a computing apparatus, the method comprising the steps of: (a) obtaining a B-spline curved surface patch by using universal parametrization; (b) selecting two adjacent patch to be connected with continuity among the patch obtained at the step (a); (c) obtaining at least one control point of a large patch by obtaining control points of the selected two curved surfaces and blending superposed control points; and (d) obtaining a B-spline curved surface patch by using the obtained control points of the large patch and replacing it with the two patch of the original model. 2. The method as recited in claim 1, wherein the continuity is Cn&null;1 continuity (maximum continuity that n-th B-spline curve or curved surface can have). 3. An algebraic blending method for accomplishing continuity at boundary of two B-spline curves or curved surfaces for use in a computing apparatus, the method comprising the steps of: (a) selecting two adjacent patch and selecting a proper blending method; (b) checking whether the selected two patch have same number of the control points; (c) if the two patch have same number of the control points, obtaining superposed control points of the two patch, blending the corresponding control points by the selected blending method to a new control points, and generating a b-spline curved surface patch by using the new control points; and (d) if the two patch does not have same number of the control points in direction of boundary, inserting Knots to the patch having less control points, obtaining control points superposed at the two patch of the step (c), blending the corresponding control points by the selected blending method, and proceeding to the step of obtaining the new control points. 4. The method as recited in claim 3, wherein the continuity is Cn&null;1 continuity (maximum continuity that n-th B-spline curve or curved surface can have). 5. A method for separating two B-spline curves to two curves for use in a computing apparatus, the method comprising the steps of: (a) selecting the B-spline curve and separating the selected B-spline curve by selecting a control point d1 at which the selected B-spline curve is separated; (b) constructing control points of one curve of the separated curves by d1, d2, . . . , dl, . . . , dl&null;k&null;2 and arbitrary k&null;1 points dn&null;11, dn1 and constructing control points of the other curve of the separated curves by arbitrary k&null;1 points d12, d22 and di&null;k&null;2, . . . , d1, d1&null;1, . . . , dn; and (c) setting respectively the separated two curves to parameters corresponding to the control point d1. 6. A computer readable medium for recording a program for implementing in a geometric modeling apparatus the functions of: (a) obtaining a B-spline curved surface patch by using universal parameters; (b) selecting two adjacent patch to be connected with continuity among the patch obtained by the function (a); (c) obtaining at least one control point of a large patch by obtaining control points of the selected two curved surfaces and blending superposed control points; and (d) obtaining a B-spline curved surface patch by using the obtained control points of the large patch and replacing it with the two patch of the original model. 7. A computer readable medium for recording a program for implementing in a geometric modeling apparatus the functions of: (a) selecting two adjacent patch and selecting a proper blending method; (b) checking whether the selected two patch have same number of the control points; (c) if the two patch have same number of the control points, obtaining superposed control points of the two patch, blending the corresponding control points by the selected blending method to a new control points, and generating a b-spline curved surface patch by using the new control points; and (d) if the two patch does not have same number of the control points in direction of boundary, inserting Knots to the patch having less control points, obtaining control points superposed at the two patch of the function (c), blending the corresponding control points by the selected blending method, and proceeding to the step of obtaining the new control points. 8. A computer readable medium for recording a program for implementing in a geometric modeling apparatus the functions of: (a) selecting the B-spline curve and separating the selected B-spline curve by selecting a control point d1 at which the selected B-spline curve is separated; (b) constructing control points of one curve of the separated curves by d1, d2, . . . , d1, . . . d1&null;k&null;2 and arbitrary k&null;1 points dn&null;11, dn1 and constructing control points of the other curve of the separated curves by arbitrary k&null;1 points d12, d22 and di&null;k&null;2, . . . , d1, di&null;1, . . . , dn; and (c) setting respectively the separated two curves to parameters corresponding to the control point di.

说明书全文

FIELD OF THE INVENTION

&null;0001&null; The present invention relates to an algebraic blending method for accomplishing maximum continuity of two neighboring curves or surfaces for use in a computing apparatus of various type modeling by using B-spline curves and a computer readable medium for recording a program for implementing the method.

PRIOR ART OF THE INVENTION

&null;0002&null; Conventionally, there have been various methods for accomplishing continuity of surface patches to obtain a smooth surface model in an apparatus, e.g., a three dimension modeling apparatus using the free-form surface. In general, there is provided a method for adjusting a control point within the curved surface of each patch with respect to G0 or G1 continuity at a boundary curves of a curved surface model constructed by using Be zier, NURBS, or a Gregory Patch.

&null;0003&null; The Be zier surface is frequently used for free-form surface modeling. Its conditions for G1 and G2continuity of two curved surfaces are well known and relatively easy to use. However, there is a shortcoming of increasing the order of the curved surface as the number of the control points of the curved surface increases.

&null;0004&null; The NURBS surface is also used in a CAD or a three dimension modeler and can represent a free-form surface with more control points at lower order. In general, conditions for G1 and G2 continuity are not known yet.

&null;0005&null; The Gregory Patch is a modification of the Be zier curved surface specially designed in order to have G1 continuity. As with the Be zier curved surface, as the number of the control points increases, the order of the curved surface increases.

&null;0006&null; The B-spline curved surface is widely used in modeling free-form surfaces and can evaluate the free-form surfaces from the point data by simple iterative computation. NURBS surfaces are in more general representation than B-spline surfaces.

&null;0007&null; Because the continuity condition for the boundary of the curved surface are involved with complicated derivative functions, computational expense is high and it is hard to accomplish more than G1 or C1 continuity.

&null;0008&null; Furthermore, though a numerical method is used to determine a proper control point, there is a case requesting more than G1 or C1 continuity in the art of CAD/CAM, which cannot be satisfied because of the complexity of the derivative function at the boundary.

SUMMARY OF THE INVENTION

&null;0009&null; Therefore, it is an object of the present invention to provide an algebraic blending method for accomplishing continuity of two n-th order curves or surface patches by generating a new set of control points at boundary by using a simple algebraic blending method in modeling a smooth curve/surface constructed by a B-5pline and a computer readable medium for recording a program for implementing the method.

&null;0010&null; In accordance with an aspect of the present invention, there is provided an algebraic blending method for accomplishing continuity at boundary of two B-spline curves or curved surfaces for use in a computing apparatus, the method comprising the steps of (a) obtaining a B-spline surface patch by using universal parametrization, (b) selecting two adjacent patches to be connected with continuity between the patches obtained at the step (a), (c) obtaining control points of a large patch by obtaining control points of the selected two surfaces and blending superposed control points, and (d) obtaining a B-spline surface patch by using the obtained control points of the large patch and replacing it with the two patches of the original model.

&null;0011&null; In accordance with another aspect of the present invention, there is provided an algebraic blending method for accomplishing continuity at boundary of two B-spline curves or surfaces for use in a computing apparatus, the method comprising the steps of (a) selecting two adjacent patch and selecting a proper blending method, (b) checking whether the selected two patch have same number of the control points, (c) if the two patch have same number of the control points, obtaining superposed control points of the two patch, blending the corresponding control points by the selected blending method to a new control points, and generating a B-spline surface patch by using the new control points, and (d) if the two patch does not have same number of the control points at boundary, inserting knots to the patch having less control points, obtaining control points superposed at the two patch of the step (c), blending the corresponding control points by the selected blending method, and proceeding to the step of obtaining the new control points.

&null;0012&null; In accordance with still another aspect of the present invention, there is provided a method for separating two B-spline curves to two curves for use in a computing apparatus, the method comprising the steps of (a) selecting the B-spline curve and separating the selected B-spline curve by selecting a control point d1 at which the selected B-spline curve is separated, (b) constructing control points of one curve of the separated curves by d1, d2, . . . d1, . . . d1&null;k&null;2 and arbitrary k&null;1 points d1 n&null;1, d1n and constructing control points of the other curve of the separated curves by arbitrary k&null;1 points d21, d22 and di&null;k&null;2, . . . , di, di&null;1, . . . dn, and (c) setting respectively the separated two curves to parameters corresponding to the control point di.

&null;0013&null; In accordance with still another aspect of the present invention, there is provided a computer readable medium for recording a program for implementing in a geometric modeling apparatus the functions of (a) obtaining a B-spline surface patch by using universal parameters, (b) selecting two adjacent patch to be connected with continuity between the patches obtained by the function (a), (c) obtaining control points of a large patch by obtaining control points of the two selected surfaces and blending superposed control points, and (d) obtaining a B-spline curved surface patch by using the obtained control points of the large patch and replacing it with the two patch of the original model.

&null;0014&null; In accordance with still another aspect of the present invention, there is provided a computer readable medium for recording a program for implementing in a geometric modeling apparatus the functions of (a) selecting two adjacent patch and selecting a proper blending method, (b) checking whether the selected two patches have the same number of the control points, (c) if the two patches have the same number of the control points, obtaining superposed control points of the two patches, blending the corresponding control points by the selected blending method to a new control points, and generating a B-spline surface patch by using the new control points, and (d) if the two patches does not have same number of the control points in direction of boundary, inserting Knots to the patch having less control points, obtaining control points superposed at the two patches of the function (c), blending the corresponding control points by the selected blending method, and proceeding to the step of obtaining the new control points.

&null;0015&null; In accordance with still an aspect of the present invention, there is provided a computer readable medium for recording a program for implementing in a geometric modeling apparatus the functions of (a) selecting the B-spline curve and separating the selected B-spline curve by selecting a control point di at which the selected B-spline curve is separated, (b) constructing control points of one curve of the separated curves by d1, d2, . . . , di, . . . , di&null;k&null;2 and arbitrary k&null;1 points d1n &null;, d1n and constructing control points of the other curve of the separated curves by arbitrary k&null;1 points d21, d22 and di&null;k&null;2, . . . , di, di&null;1, dn, and (c) setting respectively the separated two curves to parameters corresponding to the control point di.

BRIEF DESCRIPTION OF THE DRAWINGS

&null;0016&null; The above and other objects and features of the instant invention will become apparent from the following description of embodiments taken in conjunction with the accompanying drawings, in which:

&null;0017&null; FIG. 1 shows a diagram of one embodiment of a method for determining a control point of a new curve after obtaining two B-spline curves to have two control points superposed in accordance with the present invention;

&null;0018&null; FIG. 2 offers a diagram of one embodiment of a third degree B-spline curve obtained in FIG. 1;

&null;0019&null; FIG. 3 illustrates a diagram of one embodiment of a method for determining a control point of a new curve after obtaining two B-spline curves to have three control points superposed in accordance with the present invention;

&null;0020&null; FIG. 4 provides a diagram of one embodiment of a curve obtained in FIG. 3;

&null;0021&null; FIG. 5 is a diagram of one embodiment of a method for separating a B-spline curve to two curves in accordance with the present invention;

&null;0022&null; FIG. 6 shows a diagram of one embodiment of separated curves in FIG. 5;

&null;0023&null; FIG. 7 offers diagram of one embodiment of a method for determining a new control point by algebraically blending on control points of two surface patches sharing a boundary curve in accordance with the present invention;

&null;0024&null; FIG. 8 presents a diagram of a new control point Ci, obtained by a method in FIG. 7;

&null;0025&null; FIGS. 9A to 9C show diagrams of one embodiment of a blending method in accordance with the present invention;

&null;0026&null; FIG. 10 is a flow chart for one embodiment of an algebraic blending method for accomplishing cn&null;1 continuity at boundary of two B-spline curves/curved surfaces in accordance with the present invention;

&null;0027&null; FIG. 11 is a flow chart for another embodiment of an algebraic blending method for accomplishing cn&null;1 continuity at boundary of two B-spline curves/surfaces in accordance with the present invention;

&null;0028&null; FIG. 12 shows a diagram for one embodiment of a method for separating a B-spline curve to two curves in accordance with the present invention.

PREFERRED EMBODIMENT OF THE INVENTION

&null;0029&null; Hereinafter, preferred embodiments of the present invention and measurement results will be described in detail with reference to the accompanying drawings.

&null;0030&null; FIG. 1 shows a diagram of one embodiment of a method for determining a control point of a new curve after obtaining two B-spline curves to have two control points superposed of the present invention.

&null;0031&null; The algebraic blending method of the present invention can be executed by a known computing apparatus having a processor.

&null;0032&null; In FIG. 1, there are shown control points C1, C2, . . . , Cn obtained from point data P1, P2, . . . , Pn of a first curve and control points D1, D2, . . . , Dm obtained from point data Q1, Q2, . . . , Qm of a second curve.

&null;0033&null; The points Pn&null;1 and Q1 are equal and the points Pn and Q2 are equal. By obtaining two curves respectively and blending algebraically control points Cn&null;1 and D1, Cn and D2 the control point of the new curve is generated. For example, as the new control point, &null;Ci&null;&null;Dj (&null;&null;&null;&null;1, &null;,&null;,&null;0) can be used.

&null;0034&null; Solid lines are control polygon of the curve obtained by using all given point data.

&null;0035&null; FIG. 2 offers a diagram of one embodiment of a third order B-spline curve obtained by the method in FIG. 1.

&null;0036&null; As shown in FIG. 2, a dotted line is the third order B-spline curve obtained by using all given point data and a solid line is produced by obtaining two curves as shown in FIG. 1 and algebraically blending the control points superposed.

&null;0037&null; When two separate curves are required, by using local support characteristic of the B-spline, control points of the curve to separated control point and an adjacent control point (for the third order curve) are appended and two or more arbitrary control points are appended. Here, computation of the curve is executed to a knot value at which separation is started.

&null;0038&null; FIG. 3 illustrates a diagram of one embodiment of a method for determining a control point of a new curve after obtaining three B-spline curves to have two control points superposed in accordance with the present invention.

&null;0039&null; Control points C1, C2, . . . , Cn are obtained from point data P1, P2, . . . , Pn of a first curve and control points D1, D2, . . . , Dm are obtained from point data Q1, Q2, . . . Qm of a second curve. In FIG. 1, two superposed points are used and, in FIG. 3, three superposed points are used. That is, the points Pn&null;2 and Q1, Pn&null;1 and Q2, and are equal.

&null;0040&null; Solid lines are control polygon of the curve connecting the control points, which is obtained by using all given point data. By blending algebraically as in FIG. 1 control points Cn&null;2 and D1, Cn&null;1 and D2, and Cn and D2 of the two curves, the control point of the new curve is generated. When two separate curves are required, a first control point of the second curve and arbitrary two control points to separated control point are appended.

&null;0041&null; FIG. 4 provides a diagram of one embodiment of a curve obtained in FIG. 3.

&null;0042&null; As shown in FIG. 4, a dotted line is a curve obtained by using all given point data and a solid line is a curve constructed by control points obtained by the method in FIG. 3.

&null;0043&null; FIG. 5 is a diagram of one embodiment of a method for separating a B-spline curve to two curves in accordance with the present invention.

&null;0044&null; In FIG. 5, a curve represented by &null;&null;&null; is separated to two curves and the control point corresponding to separation is d1.

&null;0045&null; FIG. 6 shows a diagram of one embodiment of separated curves in FIG. 5.

&null;0046&null; In order to retain the original curve and continuity, the control point d1 in FIG. 5 is shared by d1n&null;3 of a curve 1 and d42 of a curve 2 and di&null;1 and di&null;1 in FIG. 5 are appended to d23 of the curve 2 and d1n&null;1 of the curve 1.

&null;0047&null; Arbitrary points d1n&null;1 and d1n are appended to the curve 1 and arbitrary points d21 and d22 are appended to the curve 2.

&null;0048&null; The localness of the B-spline curve enables this separation. Here, the localness means that effect of the control point is limited locally.

&null;0049&null; FIG. 7 offers diagram of one embodiment of a method for determining a new control point by algebraic blending on a control point obtained by obtaining two curved surface patches sharing curved surface points of a line in accordance with the present invention, in which a method for determining a new control point C&null;y(i&null;1, 2, . . . , n&null;l&null;1, j&null;1, 2, . . . , m) by blending algebraically control points Cy(i&null;1, 2, . . . , n, j&null;2, 3, . . . , m) and Dij (i&null;1, 2, . . . , l, j&null;1, 2,. . . , m) obtained by two curved surface patch sharing curved surface points of a line.

&null;0050&null; Because two curved surface patch share the curved surface points of the boundary line, control point Cn is equal to D1,. Here, because two control point lines are equal, the control point line is used as it is.

&null;0051&null; FIG. 8 presents a diagram of a new control point Cg obtained by a method in FIG. 7.

&null;0052&null; When two separate curves are required, a first line of a control point network of a curved surface adjacent to a control point network of a patch to a control point line separated is appended and two arbitrary control points are appended. In computation of the curved surface, computation of the curve is executed to a knot value at which separation is started.

&null;0053&null; FIGS. 9A to 9C show diagrams of one embodiment of a blending method in accordance with the present invention.

&null;0054&null; A polygon mesh is shown in FIG. 9A and six curved surface patch having G0 continuity in FIG. 9B. In FIG. 9C, another curved surface patch having Cn&null;1 continuity is shown.

&null;0055&null; FIG. 10 is a flow chart for one embodiment of an algebraic blending method for accomplishing Cn&null;1 continuity at boundary of two B-spline curves/curved surfaces in accordance with the present invention.

&null;0056&null; As shown in FIG. 10, at step 1001, a B-spline curved surface patch is obtained by using a universal parametrization. Here, the universal parametrization assigns a proper parameter value tl to arbitrary point data Pl and a type of a final curve or curved surface has much effect in obtaining the curve or curved surface by interpolation or approximation. Also, the universal parametrization assigns a parameter for which an i-th basic function has a maximum to the point P1.

&null;0057&null; Next, at step 1002, two adjacent patch to be connected with Cn&null;1 among obtained patch.

&null;0058&null; At step 1003, from the selected two curved surfaces, control points are obtained and a control point of a large patch by blending superposed control points.

&null;0059&null; Then, at step 1004, B-spline curved surface patch is obtained by using the control points of the large patch.

&null;0060&null; FIG. 11 is a flow chart for another embodiment of an algebraic blending method for accomplishing Cn&null;1 continuity at boundary of two B-spline curves/curved surfaces in accordance with the present invention, which shows the case that Knot insertion is required to have same number of control points, i.e., knots, in boundary direction connected in order that two B-spline curved surface patch are combined to a patch.

&null;0061&null; As shown in FIG. 11, at step 1101, adjacent two patch are selected. Then, at step 1102, the blending method is selected. For example, linear combination, i.e., &null;C1&null;&null;D1(&null;&null;&null;&null;1,&null;,&null;&null;0), can be used.

&null;0062&null; Next, at step 1103, it is checked whether two patch have same number of control points.

&null;0063&null; At step 1105, if two patch have same number of the control points, superposed points of the two patch are obtained and new control points are obtained after combining corresponding control points by using the blending method. Then, at step 1106, the B-spline curved surface patch is generated by using the new control points.

&null;0064&null; At step 1104, if two patch does not have same number of the control points, knots are inserted to the patch having less control points. Then, the procedure proceeds to the step 1105 at which superposed points of the two patch are obtained and new control points are obtained after combining corresponding control points by using the blending method.

&null;0065&null; FIG. 12 shows a diagram for one embodiment of a method for separating a B-spline curve to two curves in accordance with the present invention.

&null;0066&null; Firstly, at step 1201, a B-spline of k-th order is selected and, at step 1202, a control point d1 is selected, from which the selected B-spline curve is separated.

&null;0067&null; Then, at step 1203, assuming that the separated curves are curve 1 and 2, the control points of the curve 1 are constructed by d1, d2, . . . , d1, d1, . . . , di&null;k&null;2 and an arbitrary k&null;1 points d1n&null;1, d1n and the control point of the curve 2 are constructed by an arbitrary k&null;1 points d21, d22 and dl&null;k&null;2, . . . , d1, d1&null;1, . . ., dn.

&null;0068&null; Next, at step 1204, the curve 1 and 2 are set to parameters corresponding to the control point d1.

&null;0069&null; As described above, the method of the present invention is implemented by a program that stored at computer readable medium, e.g., CD-ROM, RAM, ROM, floppy disk, hard disk, optical magnetic disk and etc.

&null;0070&null; Also, as described above, the method of the present invention is applied to various computing apparatus processing to present naturally an image from a geometric modeling apparatus like CAD/CAM, a three dimension game apparatus and an animation apparatus.

&null;0071&null; As described above, the present invention can reduce the number of curves or curved surface patch of an original model by repeating merging two n-th curve/curved surface to a n-th curve/curved surface to have continuity at boundary of two B-spline curves/curved surfaces.

&null;0072&null; While the present invention has been shown and described with respect to the particular embodiments, it will be apparent to those skilled in the art that many changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

高效检索全球专利

专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。

我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。

申请试用

分析报告

专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。

申请试用

QQ群二维码
意见反馈