利用扫描运算求简单多边形可见性的并行算法

Chen L.T., Davis L.S.
{"title":"利用扫描运算求简单多边形可见性的并行算法","authors":"Chen L.T.,&nbsp;Davis L.S.","doi":"10.1006/cgip.1993.1014","DOIUrl":null,"url":null,"abstract":"<div><p>This paper describes a parallel algorithm for computing the visible portion of a simple planar polygon with <em>N</em> vertices from a given point on or inside the polygon. The algorithm accomplishes this in <em>O</em>(<em>k</em> log <em>N</em>) time using <em>O</em>(<em>N</em>/log <em>N</em>) processors, where <em>k</em> is the <em>link-diameter</em> of the polygon in consideration. The link-diameter of a polygon is the maximum number of straight line segments needed to connect any two points within the polygon, where all line segments lie completely within the polygon. The algorithm can also be used to compute the visible portion of the plane given a point outside of the polygon. Except in this case, the parameter <em>k</em> in the asymptotic bounds would be the link diameter of a different polygon. The algorithm is optimal for sets of polygons that have a constant link diameter. It is a rather simple algorithm, and has a very small run time constant, making it fast and practical to implement. The interprocessor communication needed involves only local neighbor communication and scan operations (i.e., parallel prefix operations). Thus the algorithm can be implemented not only on an EREW PRAM, but also on a variety of other more practical machine architectures, such as hypercubes, trees, butterflies, and shuffle exchange networks. The algorithm was implemented on the Connection Machine as well as the MasPar MP- 1, and various performance tests were conducted.</p></div>","PeriodicalId":100349,"journal":{"name":"CVGIP: Graphical Models and Image Processing","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"1993-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1006/cgip.1993.1014","citationCount":"2","resultStr":"{\"title\":\"A Parallel Algorithm for the Visibility of a Simple Polygon Using Scan Operations\",\"authors\":\"Chen L.T.,&nbsp;Davis L.S.\",\"doi\":\"10.1006/cgip.1993.1014\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>This paper describes a parallel algorithm for computing the visible portion of a simple planar polygon with <em>N</em> vertices from a given point on or inside the polygon. The algorithm accomplishes this in <em>O</em>(<em>k</em> log <em>N</em>) time using <em>O</em>(<em>N</em>/log <em>N</em>) processors, where <em>k</em> is the <em>link-diameter</em> of the polygon in consideration. The link-diameter of a polygon is the maximum number of straight line segments needed to connect any two points within the polygon, where all line segments lie completely within the polygon. The algorithm can also be used to compute the visible portion of the plane given a point outside of the polygon. Except in this case, the parameter <em>k</em> in the asymptotic bounds would be the link diameter of a different polygon. The algorithm is optimal for sets of polygons that have a constant link diameter. It is a rather simple algorithm, and has a very small run time constant, making it fast and practical to implement. The interprocessor communication needed involves only local neighbor communication and scan operations (i.e., parallel prefix operations). Thus the algorithm can be implemented not only on an EREW PRAM, but also on a variety of other more practical machine architectures, such as hypercubes, trees, butterflies, and shuffle exchange networks. The algorithm was implemented on the Connection Machine as well as the MasPar MP- 1, and various performance tests were conducted.</p></div>\",\"PeriodicalId\":100349,\"journal\":{\"name\":\"CVGIP: Graphical Models and Image Processing\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1993-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://sci-hub-pdf.com/10.1006/cgip.1993.1014\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"CVGIP: Graphical Models and Image Processing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S104996528371014X\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"CVGIP: Graphical Models and Image Processing","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S104996528371014X","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

本文描述了一种并行算法,用于计算一个简单平面多边形的可见部分,该多边形从多边形上或多边形内部的一个给定点开始有N个顶点。该算法使用O(N/log N)处理器在O(k log N)时间内实现这一点,其中k是所考虑的多边形的链接直径。多边形的连接直径是连接多边形内任意两点所需的最大直线段数,其中所有线段完全位于多边形内。该算法还可以用于计算给定多边形外的点的平面的可见部分。除了这种情况,渐近边界中的参数k将是不同多边形的链接直径。该算法对于具有恒定链接直径的多边形集是最优的。这是一个相当简单的算法,并且具有非常小的运行时间常数,使其实现快速而实用。所需的处理器间通信仅涉及本地邻居通信和扫描操作(即并行前缀操作)。因此,该算法不仅可以在EREW PRAM上实现,还可以在各种其他更实用的机器架构上实现,例如超立方体、树、蝶形和混洗交换网络。该算法已在Connection Machine和MasPar MP-1上实现,并进行了各种性能测试。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A Parallel Algorithm for the Visibility of a Simple Polygon Using Scan Operations

This paper describes a parallel algorithm for computing the visible portion of a simple planar polygon with N vertices from a given point on or inside the polygon. The algorithm accomplishes this in O(k log N) time using O(N/log N) processors, where k is the link-diameter of the polygon in consideration. The link-diameter of a polygon is the maximum number of straight line segments needed to connect any two points within the polygon, where all line segments lie completely within the polygon. The algorithm can also be used to compute the visible portion of the plane given a point outside of the polygon. Except in this case, the parameter k in the asymptotic bounds would be the link diameter of a different polygon. The algorithm is optimal for sets of polygons that have a constant link diameter. It is a rather simple algorithm, and has a very small run time constant, making it fast and practical to implement. The interprocessor communication needed involves only local neighbor communication and scan operations (i.e., parallel prefix operations). Thus the algorithm can be implemented not only on an EREW PRAM, but also on a variety of other more practical machine architectures, such as hypercubes, trees, butterflies, and shuffle exchange networks. The algorithm was implemented on the Connection Machine as well as the MasPar MP- 1, and various performance tests were conducted.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信