An intersection algorithm for disk B-spline curves

被引:8
|
作者
Ao, Xuefeng [1 ]
Fu, Qian [1 ,2 ]
Wu, Zhongke [1 ]
Wang, Xingce [1 ]
Zhou, Mingquan [1 ]
Chen, Quan [2 ]
Seah, Hock Soon [2 ]
机构
[1] Beijing Normal Univ, 19 XinJieKouWai St, Beijing 100875, Peoples R China
[2] Nanyang Technol Univ, Sch Comp Sci & Engn, Nanyang Ave, Singapore 639798, Singapore
来源
COMPUTERS & GRAPHICS-UK | 2018年 / 70卷
基金
北京市自然科学基金;
关键词
Intersection algorithm; Disk B-spline curve; Clipping method; Newton's method; POINTS;
D O I
10.1016/j.cag.2017.07.021
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper, we propose a method for finding all 2D intersection regions between disk B-spline curves (DBSCs), which is very crucial for DBSC's wide applications such as computer calligraphy, computer 2D animations, and non-photorealistic rendering. As a DBSC represents a region on a plane, the intersection of two DBSCs is a 2D region. To determine the region, the key is to compute the intersection points of the boundaries of two DBSCs. In our algorithm, the boundary of a DBSC is decomposed into four components: the upper boundary, the lower boundary, the start arc, and the end arc. The intersection of two DBSCs can be converted into the intersections between these four components. The main difficulty is to find the intersection involving the upper and lower boundaries of the two DBSCs, as they are variable offsets from the skeletons of the DBSC that are B-spline curves. In our approach, first the DBSCs are subdivided into several disk Bezier curves (DBCs). Therefore the problem of computing intersections of the DBSCs is converted into computing intersection of two DBCs. Then, the disk Bezier clipping method is proposed to exclude regions that have no intersection for the intersection of the two DBCs. In the case of where there is an intersection, we calculate the comparatively rough intersection to be used as initial values for later refinement through the disk Bezier clipping method. Besides, high precision (up to 10e-15) intersections are achieved by using the Newton's iteration, which is quadratic convergent. The experimental results demonstrate that our algorithm can very efficiently compute all intersections between DBSCs with high precision. Our main contributions in this paper are as follows. First, for the first time, we give the direct parametric expression of DBSC's boundary, which can be simply and conveniently used to compute the properties of DBSC's boundary. Second, our proposed approach of calculating high-accuracy intersections of DBSCs makes DBSC a flexible and effective stroke representation that can be applied to further research such as corresponding computation, automatically coloring, region detection and so on. (C) 2017 Elsevier Ltd. All rights reserved.
引用
收藏
页码:99 / 107
页数:9
相关论文
共 50 条
  • [41] A user-assisted segmentation algorithm using B-spline curves
    Kim, D
    Ho, YS
    VISUAL COMMUNICATIONS AND IMAGE PROCESSING 2001, 2001, 4310 : 734 - 744
  • [42] AHT Bézier Curves and NUAHT B-Spline Curves
    Gang Xu
    Guo-Zhao Wang
    Journal of Computer Science and Technology, 2007, 22 : 597 - 607
  • [43] Algorithm for orthogonal projection of parametric curves onto B-spline surfaces
    Song, Hai-Chuan
    Yong, Jun-Hai
    Yang, Yi-Jun
    Liu, Xiao-Ming
    COMPUTER-AIDED DESIGN, 2011, 43 (04) : 381 - 393
  • [44] AN EXTENSION OF CHAIKEN ALGORITHM TO B-SPLINE CURVES WITH KNOTS IN GEOMETRIC PROGRESSION
    GOLDMAN, R
    WARREN, J
    CVGIP-GRAPHICAL MODELS AND IMAGE PROCESSING, 1993, 55 (01): : 58 - 62
  • [45] AHT Bezier curves and NUAHT B-spline curves
    Xu, Gang
    Wang, Guo-Zhao
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2007, 22 (04) : 597 - 607
  • [46] B-spline scale-space of spline curves and surfaces
    Kee, C. Y.
    Lee, S. L.
    COMPUTER-AIDED DESIGN, 2012, 44 (04) : 275 - 288
  • [47] G2-Continuity Extension Algorithm for Disk B-Spline Curve
    Zhang, Ting
    Wang, Xingce
    Jiang, Qianqian
    Wu, Zhongke
    Zhou, Mingquan
    Seah, Hock Soon
    2013 INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN AND COMPUTER GRAPHICS (CAD/GRAPHICS), 2013, : 413 - 414
  • [48] An Extension Algorithm for Disk B-Spline Curve with G2 Continuity
    Zhang, Ting
    Wang, Xingce
    Jiang, Qianqian
    Wu, Zhongke
    Zhou, Mingquan
    Seah, Hock Soon
    Computer-Aided Design and Applications, 2015, 12 (05): : 519 - 525
  • [49] Uniform hyperbolic polynomial B-spline curves
    Lü, YG
    Wang, GZ
    Yang, XN
    COMPUTER AIDED GEOMETRIC DESIGN, 2002, 19 (06) : 379 - 393
  • [50] Degree reduction of interval B-spline curves
    Chen, Fa-Lai
    Yang, Xiao-Feng
    Yang, Wu
    Ruan Jian Xue Bao/Journal of Software, 2002, 13 (04): : 490 - 500