Efficient PRAM and Practical GPU Algorithms for Large Polygon Clipping with Degenerate Cases

被引:0
|
作者
Ashan, Buddhi M. K. [1 ]
Puri, Satish [2 ]
Prasad, Sushil K. [1 ]
机构
[1] Univ Texas San Antonio, Dept Comp Sci, San Antonio, TX 78249 USA
[2] Marquette Univ, Dept Comp Sci, Marquette, MI USA
关键词
polygon clipping; degenerate intersections; Greiner-Hormann algorithm; Foster et al. algorithm; GPU algorithm; PRAM algorithm;
D O I
10.1109/CCGRID57682.2023.00060
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Polygonal geometric operations are fundamental in domains such as Computer Graphics, Computer-Aided Design, and Geographic Information Systems. Handling degenerate cases in such operations is important when real-world spatial data are used. The popular Greiner-Hormann (GH) clipping algorithm does not handle such cases properly without perturbing vertices leading to inaccuracies and ambiguities. In this work, we parallelize the O(n(2))-time general polygon clipping algorithm by Foster et al., which can handle degenerate cases without perturbation. Our CREW PRAM algorithm can perform clipping in O(log n) time using n + k number of processors with simple polygons, where n is the number of input edges and k is the number of edge intersections. For efficient GPU implementation, we employ three effective filters which have not been used in prior work on polygon clipping: 1) Common-minimum-bounding-rectangle filter, 2) Count-based filter, and 3) Line-segment-minimum-bounding-rectangle filter. They drastically reduce O( n2) candidate edge pairs comparisons by 80%-99%, leading to significantly faster parallel execution. In our experiments, C++ CUDA-based implementation yields up to 40X speedup over real-world datasets, processing two polygons with a total of 174K vertices on an Nvidia Quadro RTX 5000 GPU compared to the sequential Foster's algorithm running on an Intel Xeon Silver 4210R CPU.
引用
收藏
页码:579 / 591
页数:13
相关论文
共 3 条
  • [1] Two simple and efficient algorithms for Jordan sorting and polygon cutting and clipping
    Sojka, E
    COMPUTER NETWORKS AND ISDN SYSTEMS, 1997, 29 (14): : 1661 - 1673
  • [2] Efficient Join Algorithms For Large Database Tables in a Multi-GPU Environment
    Rui, Ran
    Li, Hao
    Tu, Yi-Cheng
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 14 (04): : 708 - 720
  • [3] Practical and efficient algorithms for degenerate and weighted sequences derived from high throughput sequencing technologies
    Antoniou, Pavlos
    Iliopoulos, Costas S.
    Mouchard, Laurent
    Pissis, Solon P.
    2009 INTERNATIONAL JOINT CONFERENCE ON BIOINFORMATICS, SYSTEMS BIOLOGY AND INTELLIGENT COMPUTING, PROCEEDINGS, 2009, : 174 - 180