Algorithm to expand regions represented by linear quadtrees
Algorithm to expand regions represented by linear quadtrees
复制标题
扩展线性四叉树表示的区域的算法
DOI:
10.1016/0262-8856(88)90022-4
复制
发表时间:
1988
期刊:
影响因子:
--
通讯作者:
H. Samet
中科院分区:
文献类型:
--
作者:
C. Shaffer;H. Samet
An algorithm is presented that changes to ‘black’ those ‘white’ pixels within a specified distance of any ‘black’ pixel in an image represented by a linear quadtree. This function is useful for answering queries in a geographic information system such as ‘Find all wheat fields within five miles of a flood plain.’ The algorithm works by computing the chessboard distance to nearby black pixels for large white nodes, and either leaves them white, changes them to black or repeats the process on each subquadrant, as required. Small white nodes are a priori within the given radius and require no further calculation. Thus only a small percentage of the nodes of the quadtree need extensive processing. The algorithm is easily applied to multicoloured images by treating all nonwhite colours as ‘black’.