Counting and Reporting Red/Blue Segment Intersections

Palazzi L., Snoeyink J.
{"title":"Counting and Reporting Red/Blue Segment Intersections","authors":"Palazzi L.,&nbsp;Snoeyink J.","doi":"10.1006/cgip.1994.1027","DOIUrl":null,"url":null,"abstract":"<div><p>We simplify the red/blue segment intersection algorithm of Chazelle <em>et al</em>. (Technical Report UIUC DCS-R-90-1578, Department of Computer Science, University of Illinois at Urbana, 1990). Given sets of <em>n</em> disjoint red and <em>n</em> disjoint blue segments, we count red/blue intersections in <em>O</em>(<em>n</em> log <em>n</em>) time using <em>O</em>(<em>n</em>) space or report them in additional time proportional to their number. Our algorithm uses a plane sweep to presort the segments; then it operates on a list of slabs that efficiently stores a single level of a segment tree. With no dynamic memory allocation, low pointer overhead, and mostly sequential memory reference, our algorithm performs well even with inadequate physical memory.</p></div>","PeriodicalId":100349,"journal":{"name":"CVGIP: Graphical Models and Image Processing","volume":"56 4","pages":"Pages 304-310"},"PeriodicalIF":0.0000,"publicationDate":"1994-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://sci-hub-pdf.com/10.1006/cgip.1994.1027","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"CVGIP: Graphical Models and Image Processing","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1049965284710273","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We simplify the red/blue segment intersection algorithm of Chazelle et al. (Technical Report UIUC DCS-R-90-1578, Department of Computer Science, University of Illinois at Urbana, 1990). Given sets of n disjoint red and n disjoint blue segments, we count red/blue intersections in O(n log n) time using O(n) space or report them in additional time proportional to their number. Our algorithm uses a plane sweep to presort the segments; then it operates on a list of slabs that efficiently stores a single level of a segment tree. With no dynamic memory allocation, low pointer overhead, and mostly sequential memory reference, our algorithm performs well even with inadequate physical memory.

红/蓝路段交叉口的计数和报告
我们简化了Chazelle等人的红/蓝段相交算法(技术报告UIUC DCS-R-90-1578,伊利诺伊大学厄巴纳分校计算机科学系,1990)。给定n个不相交的红色和n个不交的蓝色线段的集合,我们使用O(n)空间在O(n log n)时间内计算红色/蓝色交点,或者在与它们的数量成比例的额外时间内报告它们。我们的算法使用平面扫描来对线段进行预排序;然后它对有效地存储分段树的单个级别的板的列表进行操作。由于没有动态内存分配,指针开销低,而且大多是顺序内存引用,即使物理内存不足,我们的算法也能很好地执行。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信