선정목록으로
A data relocation approach for terrain surface analysis on multi-GPU systems: a case study on the total viewshed problem
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2003.02200
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2003.02200
- 토픽
- Textile materials and evaluations
- OpenAlex ID
- W6929317730
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Digital Elevation Models (DEMs) are important datasets for modelling the line of sight, such as radio signals, sound waves and human vision. These are commonly analyzed using rotational sweep algorithms. However, such algorithms require large numbers of memory accesses to 2D arrays which, despite being regular, result in poor data locality in memory. Here, we propose a new methodology called skewed Digital Elevation Model (sDEM), which substantially improves the locality of memory accesses and increases the inherent parallelism involved in the computation of rotational sweep-based algorithms. In particular, sDEM applies a data restructuring technique before accessing the memory and performing the computation. To demonstrate the high efficiency of sDEM, we use the problem of total viewshed computation as a case study considering different implementations for single-core, multi-core, single-GPU and multi-GPU platforms. We conducted two experiments to compare sDEM with (i) the most commonly used geographic information systems (GIS) software and (ii) the state-of-the-art algorithm. In the first experiment, sDEM is on average 8.8x faster than current GIS software despite being able to consider only few points because of their limitations. In the second experiment, sDEM is 827.3x faster than the state-of-the-art algorithm in the best case.
본문 52,788자
본문 펼치기
RESEARCH ARTICLE
Data relocation approach for terrain surface analysis on multi-GPU
systems: total viewshed problem as a case study
ARTICLE HISTORY
Compiled October 28, 2020
ABSTRACT
Digital Elevation Models (DEMs) are important datasets for modelling line-of-sight
phenomena such as radio signals, sound waves and human vision. These are commonly analysed using rotational sweep algorithms. However, such algorithms require
large numbers of memory accesses to 2D arrays which, despite being regular, result
in poor data locality in memory. This paper proposes a new methodology called
skewed Digital Elevation Model (sDEM), which substantially improves the locality
of memory accesses and largely increases the inherent parallelism involved in the
computation of rotational sweep-based algorithms. In particular, sDEM applies a
data restructuring technique before accessing the memory and performing the computation. To demonstrate the high efficiency of sDEM, we use the problem of total
viewshed computation as a case study. Different implementations for single-core,
multi-core, single-GPU and multi-GPU platforms are provided. We conducted two
experiments in which sDEM is compared with (i) the most used geographic information systems (GIS) software and (ii) the state-of-the-art algorithm. In the first
experiment, sDEM is in average 8.8x faster than current GIS software despite being
able to consider only few points because of their limitations. In the second experiment, sDEM is 827.3x faster than the state-of-the-art algorithm, considering the
best studied case.
KEYWORDS
Data relocation, Digital Elevation Model (DEM); Geographic Information Systems
(GIS); Total viewshed; Visibility analysis
1. Introduction
There are some problems of terrain surface analysis which require the evaluation of the
data around a reference point. This is the case of the viewshed computation where the
reference point is usually called point of view (POV) in the Digital Elevation Model
(DEM). This topic has been thoroughly studied in the recent literature (Wang and
Dou 2019, Dou _et al._ 2019), being usually addressed using rotational plane sweep-based
algorithms, or just rotational sweep (Choset _et_ _al._ 2005). In particular, a line is traced
from the POV, which works as a vertex in the plane. This line will be rotated by 2 _π_
radians and all the points that cross that line are analyzed with respect to the vertex.
Another related approach involves the discretization of the plane in azimuthal sectors
radially starting from the reference point (Tabik _et_ _al._ 2014). Every azimuthal sector
is represented by an axis placed in its centre, and points crossed over by the axis are
compared to the reference location. In this approach, the statistical representativeness
of every axis progressively decreases as we move away from the vertex since the width
of the sector increases linearly with the radius. However, in most cases, the required
accuracy will also be reduced to the same extent. This issue is exploited in some
situations where the reference location works as the transmitter or receiver of certain
signals whose strength decreases with the square of the distance, such as radio signals,
sound waves, and line of sight.
The azimuthal sector discretization method is also included in some visibility modules from geographic information systems (GIS) applications such as ArcGIS (ESRI
2010), GRASS GIS (Neteler _et_ _al._ 2012), and Google Earth. A very common tool
provided by these programs is the viewshed computation, which is of great interest in
many areas such as telecommunications, environmental planning, ecology, tourism, and
archaeology (Cauchi-Saunders and Lewis 2015, Qarah and Tu 2019, Wang and Dou
2019). In these diverse fields, knowing the visibility in terrain is almost a requirement
to achieve optimal results.
There exists three types of viewshed problems in the literature (Figure 1) depending
on the number of observers considered for calculation: (i) singular, (ii) multiple, and
(iii) total viewshed. The first is the simplest visibility problem which comprises the
computation of the viewshed from one single observer at a certain elevation with
respect to the ground. To address this problem, the DEM is usually divided into
angular sectors in the plane around the POV. Then, different lines of sight (LoS),
which correspond to the axis of every sector, start from the POV and are radially
distributed towards the most distant areas. Every target point crossed over by this
line is sequentially compared to the POV based on the elevation values in order to
compute its visibility. The result is a boolean map containing visible and non-visible
points from the POV in the terrain. Likewise, the multiple viewshed for several POVs
can also be obtained by repeating the above procedure on every one of them and adding
up the viewshed results obtaining a similar map. A complete visibility analysis involves
knowing the viewshed of every point in the terrain in all directions. This information
can be used to address well-known problems such as siting multiple observers (Cervilla
Figure 1. Illustration of the different viewshed problems existing in the literature related to singular, multiple,
and total viewshed. This classification is based on the number of target points of view (POVs) in the Digital
Elevation Model (DEM) chosen as input, which produces different outputs for each of them. Our work focus
on the most computational demanding problem which is the total viewshed computation.
2
_et_ _al._ 2015), and path planning with surveillance aims (Li _et_ _al._ 2010). The first one is
related to finding the fewest possible number of POVs providing maximum viewshed
for a certain area. The second one involves designing a near optimal path aiming to
achieve maximum terrain coverage. Both problems would be substantially simplified
if the visibility of every point in the area is known beforehand (Franklin and Ray
1994). This problem is known as total viewshed and it is one of the most challenging
visibility calculations due to its complexity and high computational cost. It involves
obtaining the viewshed for each point in the DEM considered as POV and then,
accumulate their visibility results. This results in a new map where every point contains
the viewshed value of the corresponding location in the terrain measured, e.g., in
_km_ <sup>2</sup> . Nowadays, most GIS software include specific modules for singular viewshed
computation. Few GIS software provide multiple viewshed calculation but using task
queues, which demonstrate poor computational performance as it is based on single
point viewshed.
In this work, we propose a new methodology called skewed Digital Elevation Model
(sDEM) considering the total viewshed problem as a case study. It involves a complete
restructuring of the DEM data in memory carried out prior to the computation of
the total viewshed. The DEM is transformed into a new structure named skwDEM
in which the data are aligned in memory to improve data locality in accessing the
memory and, therefore, increasing the speed of processing. Through this approach, it
is unnecessary to apply common techniques that reduce computational cost in total
viewshed problems, such as considering a maximum visibility distance within a circular
area around every POV. This methodology could improve the performance of other
applications that analyse relevant topographic features of the terrain surface such as
slope and elevation.
The contributions of the paper are as follows:
_•_ We design a new methodology named sDEM (skewed Digital Elevation Model)
for faster processing in terrain surface analysis which largely improves data locality in memory. In particular, this approach fully exploits the intrinsic parallelism
of the total viewshed computation, achieving maximum performance through efficient memory access.
_•_ We present different implementations for single-core, multi-core, single-GPU,
and multi-GPU platforms. Each of them are compared with the state-of-the-art
regarding the total viewshed problem.
The remainder of this paper is organized as follows: Section 2 presents the state-of-theart in regards to the total viewshed computation. Section 3 reviews the background
related to this research. Section 4 explains the proposed sDEM methodology for computing the total viewshed and presents the implementation for multi-GPU systems.
Section 5 compares the sDEM algorithm with the most used GIS software and the
state-of-the-art. Section 6 discusses the results of this study.
2. Related work
Terrain visibility, commonly known as viewshed analysis, is related to the problem of
obtaining the area of the terrain visible from a given POV located at a certain elevation
above the ground. This issue has been widely studied for many years given the mass of
interpolation computations required to produce precise results (Atallah 1983, Cabral
_et_ _al._ 1987, Fisher 1992, Franklin and Ray 1994, Floriani and Magillo 1994). Authors
3
usually use LoS-based algorithms such as R3, R2 or DDA (Franklin _et al._ 1994, Kauˇciˇc
and Zalik 2002). These methods project rays starting from the observer toward the
boundary of the DEM to obtain the points included in processing. Another related
strategy is XDraw (Franklin _et_ _al._ 1994) which computes the LoS function in stages
arranged as concentric squares centered on the position of the observer.
Many algorithms are developed for calculating the viewshed from one single POV,
or from a small number of POVs at best. In Gao _et_ _al._ (2011) a singular viewshed
implementation was developed for built-in GPU systems based on the LoS method and
texture memory with bilinear interpolation. They achieve a speed-up up to 70x with
respect to the sequential CPU implementation. The GPU implementation proposed
by Stojanovi´c and Stojanovi´c (2013) achieves remarkable results in obtaining a boolean
raster map instead of a map containing viewshed values. A novel reconfiguration of the
XDraw algorithm for GPU context is described in Cauchi-Saunders and Lewis (2015)
which outperforms CPU and GPU implementations of well-known viewshed analysis
algorithms such as R3, R2, and XDraw. Furthermore, an efficient implementation of
the R2 viewshed algorithm is carried out in Osterman _et_ _al._ (2014) with particular
focus on input/output efficiency and obtaining significant results in contrast to R3 and
R2 sequential CPU implementations. The algorithm described in Zhao _et_ _al._ (2013)
focuses on a two-level spatial domain decomposition method to speed-up data transfers
and thus performs better than other well-known sequential algorithms. Other extended
approaches are focused on obtaining the viewshed for multiple points (Strnad 2011,
Song _et_ _al._ 2016). More recent research is presented in Wang and Dou (2019) where
fast candidate viewpoints are obtained for multiple viewshed planning. These authors
have also investigated parallel XDraw analysis (Dou _et_ _al._ 2018, 2019) improving the
results obtained by previous XDraw algorithms.
Nevertheless, few studies address the total viewshed computation problem and most
of them focus on tackling a simplified version of it. For example, the total viewshed
in Dungan _et_ _al._ (2018) is obtained by drastically reducing the number of grid points
to be processed. Likewise, the approach used in Brughmans _et_ _al._ (2018) computes
the visibility of small areas and not for specific points. So far, the only algorithm that
addresses the total viewshed problem on high resolution DEMs is the TVS algorithm
proposed by Tabik _et_ _al._ (2013, 2014). It considers the closest points to the line of
sight as a sample set of points stored in a structure called band of sight (BoS). In this
approach, the distance to the axis determines the number of points in the BoS (Floriani and Magillo 1994). Maximum memory utilization was achieved by reusing the
points contained in the list and obtaining the viewshed for every aligned point in the
particular sector. However, this algorithm has important limitations:
_•_ For a given POV, the analysis of the points inside the BoS is performed sequentially because it is impossible to know whether a target point is visible without
knowing the state of the previous one.
_•_ The implementation of the data reuse of the BoS produces a significant overhead
caused by the selection of the corresponding points for every direction.
_•_ It is not appropriate for implementation on high-throughput systems such as
GPUs and Xeon-Phi architectures, because parallelism is limited to sector level.
In this study, we propose computing total viewshed based on a compact and stable
data structure with the aim of increasing data and computation reuse, outperforming
the most commonly used GIS software. Our proposal will also be compared to the
TVS algorithm (Tabik _et_ _al._ 2014).
4
3. Background: viewshed analysis
In this section, the basic concepts of the viewshed analysis are presented. Section 3.1
describes the singular viewshed problem. Section 3.2 explains the complexity of the
viewshed analysis. Section 3.3 deals with the total viewshed problem.
3.1. _Singular_ _viewshed_
As a starting point, most viewshed computation algorithms perform an azimuthal
partition of the area. This division is carried out by splitting the area that surrounds
the observer (POV) into _ns_ azimuthal sectors. Every sector is represented by its axis,
and the closest points to this structure are usually considered for the viewshed analysis.
Algorithm 1 presents a general approach for the calculation of the viewshed ( _V S_ )
considering one single _POV_ on a particular _DEM_ using a regular Cartesian grid.
The coordinates and height of the observation point are denoted as _i_, _j_, and _POVh_,
considering the observer is slightly above the ground ( _h_ ); _axis_ is the set of points
included in a particular sector _s_, and _selectAxisPointSet_ adds candidate points within
the sector. This methodology analyzes the visibility in all the sectors based on the
_linearV iewshed_ function (Algorithm 2). It calculates the visible area for a certain
sector with respect to an observer located on the axis of that sector. In practice, a
Algorithm 1 _singularV iewshed_ ( _i, j, h_ )
global point _POV_ = _DEM_ [ _i_ ][ _j_ ]
_POVh_ += _h_
float _V S_ = 0
for _s_ = 0 _, ns_ do
pointSet _axis_ = _selectAxisPointSet_ ( _DEM, POV, s_ )
_V S_ += _linearV iewshed_ ( _axis, true_ ) // forward
_V S_ += _linearV iewshed_ ( _axis, false_ ) // backward
end for
_V S_ _∗_ = ( _π/ns_ ) // Papus theorem scaling
Algorithm 2 _linearV iewshed_ ( _axis, forward_ )
global bool _visible_ = _true_
global float _maxθ_ = _−∞_ // Max. angle
global pointSet _visibleSet_ = _emptySet_
do
_T_ = _axis.next_ ()
_pointV iewshed_ ( _axis.POV, T_ )
while _T_ != _axis.last_ ()
return _visibleSet.measure_ ()
Algorithm 3 _pointV iewshed_ ( _POV, T_ )
float _dist_ = _sqrt_ (( _Tj_ _−_ _POVj_ ) <sup>2</sup> + ( _Ti −_ _POVi_ ) <sup>2</sup> )
float _θ_ = ( _POVh −_ _Th_ ) _/ dist_
bool _prevV isible_ = _visible_
if ( _θ_ _> maxθ_ ) _visible_ = 1
bool _startRS_ = ! _prevV isible_ & _visible_
if ( _startRS_ ) _dist_ 0 = _dist_
bool _endRS_ = _prevV isible_ & ! _visible_
if ( _endRS_ ) _visibleSet.add_ ( _dist, dist_ 0)
5
Figure 2. Side and zenithal views for a particular POV, with a specific height _h_, from which two segments
are visible (represented both by blue thick segments). The corresponding visible ring-sectors are obtained for
each one considering their starting points ( _startRS_ ) and ending points ( _endRS_ ).
linearized set of target points is considered as the visibility of every remaining point
in the _axis_ is computed following the direction from the nearest point to the furthest
point.
As shown in Algorithm 3, a target point _T_ is visible from the _POV_ if its angular
altitude _θ_ is higher than all the previous ones considered in the _axis_ ( _maxθ_ ). Visible points on the _axis_ are included in a set of points called _visibleSet_ . In order to
improve efficiency, only the starting and ending points of a segment are measured
( _visibleSet.add_ ) and considered in processing. This methodology uses _startRS_ and
_endRS_ variables to indicate whether a sequence of visible points has been found.
First, the distance between the _POV_ and the first point found belonging to a visible
section is measured in _dist_ 0. Then, the final visible point of this visible segment is
found and its distance with respect to the _POV_ is measured ( _dist_ ). This process is
repeated until all points on the axis are analyzed as shown in the side view in Figure 2.
The projection of all visible segments throughout the sector results in the generation
of visible sections, commonly known as sector rings. The area of every visible section
( _Avs_ ), considering sectors of one degree of opening, is computed as follows:
_Avs_ = ( _π/_ 360) _·_ ( _R_ <sup>2</sup> _−_ _r_ <sup>2</sup> )
where _R_ and _r_ are the radius of the visible ring sector related to the _endRS_ and
_startRS_ values, respectively, with respect to a particular POV. Considering all the
above mentioned, the viewshed for one single location results from the addition of
the area of every visible section ( _visibleSet.measure_ ). This approach reduces memory
accesses and mathematical calculations as proven in Tabik _et_ _al._ (2014).
3.2. _Real_ _problem_ _complexity_
The rotational sweep method significantly reduce the complexity of the calculations
required in the viewshed analysis from at least _O_ ( _N_ ) to _O_ ( _s · N_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> ), where _N_ is the
size of the 2D array measured in points. Considering that a common DEM widely
exceeds several millions of points and the discretization of the sector is rarely above
the required accuracy, the accomplished reduction is between one and three orders
of magnitude (Stewart 1998). For example, the complexity to obtain the viewshed
using point–to–point algorithms such as R3 is _O_ ( _N_ <sup>3</sup> <sup>_/_</sup> <sup>2</sup> ), whereas it is reduced up to
_O_ ( _s · N_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> ) using rotational sweep. However, there remains a large number of oper
6
ations, which makes parallelism and supercomputing highly recommended for these
sorts of approaches. In particular, one of the visibility problems that was considered
unapproachable is the total viewshed computation, which is described in detail below.
3.3. _Total_ _viewshed_
The problem of addressing the viewshed for all points in a particular area, represented
by a DEM with _N_ points of observation, was almost impossible not long ago. The computation of the singular viewshed is very high demanding in computational terms and,
therefore, repeating this procedure for every single point in the DEM would have been
incredibly time-consuming on CPU. The inherent complexity of the problem is up to
_O_ ( _N_ <sup>3</sup> ) if a non-optimized approach is applied _N_ times over a problem of _O_ ( _N_ <sup>2</sup> ) complexity. Nevertheless, using rotational sweep, the problem complexity can be reduced
up to _O_ ( _s_ _·_ _N_ <sup>3</sup> <sup>_/_</sup> <sup>2</sup> ). Algorithm 4 introduces the steps required to address the total viewshed problem, considering a DEM represented by a Cartesian grid with _dimy_ x _dimx_
points. The viewshed value, i.e, the visible terrain area for every point in the DEM
is stored in the total viewshed matrix ( _TV S_ ). This matrix has the same dimensions
as the DEM and every cell is filled with a particular viewshed value obtained after
performing the corresponding singular viewshed computation (Algorithm 1). Some
authors have observed that swapping the loops of Algorithm 4 and Algorithm 1 can
significantly improve data locality in memory (Stewart 1998, Tabik _et_ _al._ 2014). This
is one of the pillars on which our proposal is based.
<u>Algorithm</u> <u>4</u> <u>Total</u> <u>viewshed</u> <u>problem</u>
for _i_ = 0 _, dimy_ do
for _j_ = 0 _, dimx_ do
_TV S_ [ _i_ ][ _j_ ] = _singularV iewshed_ ( _i, j, h_ )
end for
<u>end</u> <u>for</u>
4. sDEM: a grid reorganization approach
This section describes our proposed methodology called skewed Digital Elevation
Model (sDEM) designed to improve data locality in memory for terrain surface analysis using the total viewshed computation problem as a case study. This approach
takes into account the technical features of CPU (host) and GPU (device) processing
units to take full advantage of the intrinsic parallelism of the total viewshed computation. For the sake of simplicity, in the rest of the paper we will refer to the original
DEM as DEM and original DEM. We will refer to the modification of this structure
as skwDEM.
4.1. _Proposed_ _methodology_
The data reuse is the key to achieve proper optimization in the total viewshed computation so first, we have to introduce the structure that will manage this important
process. This structure is called band of sight (BoS) and it will serve as the basis for
the process of restructuring the DEM for every POV and sector. The BoS is used to
find the closest points to the line of sight for any reference POV and given sector.
7
_N_ BoS (b) DEM;
_N_ BoS (c) skwDEM;
_N_ BoS
(a) DEM; 2 _._ 5
_√_
_√_
_√_
Figure 3. Three examples of band of sight (BoS), each one with different width and layout on the plane,
considering a sector _s_ = 45 <sup>_o_</sup> for simplicity. The cells of the DEM that contribute to the BoS computation
are shown in blue. (a) and (b) show two different BoS widths for the _dimy_ x _dimx_ origina _√_ <u>l</u> <u>DEM;</u> whereas
(c) presents the restructuring of the 2 _· dimy_ x _dimx_ skwDEM considering a BoS width of _N_ . For the sake
of clarity, A-D labels are located in the corner points of the DEM so that the restructuring approach can be
visualized, only one BoS is shown as well.
Thus, choosing the right size for this structure is vital to improve data <u>locality</u> <u>in</u>
_√_ _√_
accessing the memory. Figure 3(a) and 3(b) show two BoS widths of 2 _._ 5 _N_ and _N_,
respectively, considering a sector _s_ = 45 <sup>_o_</sup> for the sake of simplicity; only the points
of the grid in dark color are considered for the visibility computation. The extensive
statistical study conducted in Tabik _et_ _al._ (2014) proves that <u>the</u> size of this structure
_√_
is not a determining factor, as long as it is of the order of _N_ . Therefore, our sDEM
proposal uses the latter BoS size in order to address the data repetitive problem.
Once the BoS size has been fixed, complete relocation of the data is performed from
the original DEM (Figure 3(b)) to the skwDEM (Figure 3(c)). This is a new DEM
which is more or less skewed in shape depending on the width chosen for the BoS.
The use of this structure allows the exploitation of the existing parallelism without
adversely affecting the precision of the results based on the following considerations:
_•_ We apply the Stewart sweep method (Stewart 1998) that places first the loop
that runs through all the sectors instead of all the points in the DEM. It is the
only model that guarantees the reuse of data aligned in every direction.
_•_ Given a sector, all the possible parallel bands of sight that cross the DEM are
built simultaneously. We apply the interpolation method based on a simplified
version of the Bresenham’s algorithm, which is commonly used for line rasterization. This algorithm was chosen for its high speed as well as maintaining
sufficient fidelity to the problem under consideration.
_•_ For each sector, the relocation is applied only once to the entire DEM. For
example, in the particular case of considering 180 sectors, the data relocation
takes place 180 times and always before starting the viewshed computation.
Thus, the relocation only depends on the selected sector. Another advantage is
that this method is especially appropriate for processing on the GPU. It aims
8
_√_
_N_ and
_√_
<u>t</u>
_√_
(a) DEM (b) Reorganized skwDEM (c) Compacted1 skwDEM (d) Compacted2 skwDEM
Figure 4. The original DEM and three possible results when applying our array redistribution procedure
considering sector _s_ = 45 <sup>_o_</sup>, for the sake of simplicity. (a) presents the input DEM, (b) shows the skwDEM used
in this work; (c) and (d) introduce two possible ways of compacting the data.
to reduce the conditional structures to the maximum, hence avoiding the wellknown thread divergence penalty.
Figure 4 shows the different possible redistributions of rows and columns using the
DEM of the * Natural Park (*, Spain), complementing Figure 3. The data of the same
latitudes are stored contiguously in memory in the original DEM (Figure 4(a)); that
is, the external loop runs from north to south, whereas the internal loop runs from
west to east. In Figure 4(b), the skewed model (skwDEM) is graphically represented.
Using the interpolation method, all parallel segments from Figure 4(a) were projected
into Figure 4(b) so that the size of both structures matches (the number of non-null
elements). In this reorganized dataset, unlike the original, all the points in a given
sector are placed in the same row and, therefore, memory accesses are sequentially
performed increasing locality.
The reorganized matrix shown in Figure 4(b) could later be compacted by: aligning
all data to the left of the structure (Figure 4(c)), or relocating the data within the
upper light color triangle to the lower right area of the structure, thus forming a _dimy_
x _dimx_ square structure (Figure 4(d)). This last method aims to further compact the
information to make memory access as regular as possible but increasing the complexity and hence, the building time. Although both approaches seem to fit better for GPU
processing in theory, they have not revealed significant differences in practice. Therefore, only the simplest and fastest approach shown in Figure 4(b) for the skwDEM
structure is used in all implementations of the sDEM algorithm.
Given the above, our sDEM methodology can be described as follows (Figure 5):
(1) For each sector _s ∈_ [0 _, ns/_ 2], do:
(a) Create the 2 _· dimy_ x _dimx_ _skwDEM_, which is unique to each sector, from
the _dimy_ x _dimx_ _DEM_ and _s_ .
(b) Calculate the horizontal (A,D) and vertical (B,C) limits of the _skwDEM_
structure, which depend on the sector _s_ .
(c) Let _POVi,j_ be the chosen point of view with _i_ and _j_ coordinates. For each
point _POVi,j_ _∈_ _skwDEM_ with _i ∈_ [ _A, D_ ] and _j_ _∈_ [ _B, C_ ], do:
(i) Compute the linear viewshed considering sectors _s_ and _s_ + 180 <sup>_o_</sup>, i.e.,
9
(a) Main loop (b) Single iteration
Figure 5. Flowchart of our sDEM proposal for total viewshed computation showing (a) the steps inside the
main loop which runs through all the sectors and (b) the outputs obtained in a single iteration of the same
loop. In the last, null and low values are represented in blue; whereas red cells represent maximum values.
analyze to the right and to the left the points in the row to which
_POVi,j_ belongs in the _skwDEM_ .
(ii) Accumulate the viewshed result in _skwVS_ .
(d) Transform _skwVS_ into _VS_ by undoing the operations performed in Step 1a
(this procedure includes Pappus’s theorem and also corrects the deformation introduced by the _skwDEM_ ). Accumulate the results in _VS_ .
The viewshed computation of all sectors is an embarrassingly parallel task because the
computation is independent of each other. This reduces the total viewshed problem to
calculating _ns/_ 2 times the singular viewshed problem for every point in the _skwDEM_ .
Also, by skewing before carrying out the computation sDEM achieves that all the
points placed in the same row in the _skwDEM_ constitute a common static BoS, for
a given sector, that must be reconstructed only _ns/_ 2 times. On the contrary, the BoS
used in (Tabik _et_ _al._ 2014) must be reconstructed for each point and sector.
4.2. _Multi-GPU_ _implementation_
Since this particular problem is similar to matrix processing, our proposal to accelerate
the calculation of the total viewshed focuses on exploiting the intrinsic parallelism of
this procedure through the use of GPU processing units. In practice, the _ns/_ 2 sectors
are distributed among all available devices so that each one is in charge of processing
a similar number of given sectors, which will depend on the chosen scheduling. Every
device sequentially launches three kernels, which will be further described, in order to
10
process the viewshed of all points in the DEM for the corresponding sectors. In this
way, each device contains partial viewshed results which are added up by the host in
a final stage to obtain the total viewshed. Our method is used to avoid dependencies
between threads while performing the viewshed computation.
We will denote block and thread identification numbers as _bid_ and _tid_, respectively,
and thread block dimension as _bdim_ .
_4.2.1._ _Kernel-1:_ _obtaining_ _the_ _skwDEM_ _structure_
This kernel is in charge of transforming the original DEM into the skwDEM structure
for a given sector (Algorithm 5). In this new model and for the chosen direction,
points located consecutively in the terrain are also stored sequentially in memory,
which improves the performance of the memory accesses. This is achieved by using the
interpolation based on Bresenham’s algorithm to soften the projection of the points.
Every thread is in charge of interpolating the corresponding point according to its 2D
thread identification number defined by _i_ and _j_ variables.
Regarding the implementation, this kernel is launched using _Cby_ = _dimy/_ 8 and
_Cbx_ = _dimx/_ 8 2D threads blocks with 8 threads per block, so as not to exceed the
maximum register file size shared between thread blocks, avoiding schedule problems.
Algorithm 5 The kernel in charge of generating the _skwDEM_ structure from the
_<u>DEM</u>_ <u>given</u> <u>the</u> <u>sector</u> _<u>s</u>_
int _i_ = _bidy · bdim_ + _tidy_
int _j_ = _bidx · bdim_ + _tidx_
float _y_ = _tan_ ( _s_ ) _· j_
int _dest_ = _y_
float _r_ = _y −_ _dest_
int _p_ = _dimy_ + _i −_ _dest_
if _i < dimy_ & _j_ _< dimx_ then
_skwDEM_ [ _p · dimy_ ][ _j_ ] += (1 _−_ _r_ ) _· DEM_ [ _dimy · i_ ][ _j_ ]
_skwDEM_ [ _p · dimy −_ 1][ _j_ ] += _r · DEM_ [ _dimy · i_ ][ _j_ ]
<u>end</u> <u>if</u>
_4.2.2._ _Kernel-2:_ _viewshed_ _computation_ _on_ _the_ _skwDEM_
This kernel computes the viewshed for a given sector and every point located in the
_skwDEM_, obtaining as a result the _skwV S_ matrix. The pseudo-codes of this kernel are shown in Algorithms 6 and 7, where each thread manages a particular point
_POVt_ _∈_ _skwDEM, t_ = _{i, j}_ considering _t_ as the corresponding two dimensional
<u>Algorithm</u> <u>6</u> <u>The</u> <u>kernel</u> <u>in</u> <u>charge</u> <u>of</u> <u>the</u> _<u>skwV S</u>_ <u>computation</u> <u>on</u> <u>the</u> <u>skwDEM</u>
int _i_ = _bidy · bdim_ + _tidy_
int _j_ = _bidx · bdim_ + _tidx_
float _r_ = (1 _._ 0 _/cos_ ( _s_ )) <sup>2</sup>
float _cv_ = 0
if _i <_ 2 _· dimy_ & _j_ _< dimx_ then
float _h_ += _sDEM_ [ _i_ ][ _j_ ]
_cv_ += _linearV iewshed_ ( _i, j, h, skwDEM, true_ )
_cv_ += _linearV iewshed_ ( _i, j, h, skwDEM, false_ )
_skwV S_ [ _i_ ][ _j_ ] = _cv · r_
<u>end</u> <u>if</u>
11
Algorithm 7 _linearV iewshed_ ( _i, j, h, skwDEM, forward_ )
int _k_ = _j_
int _dir_ = 0
if ( _forward_ ) then _dir_ = 1 otherwise _dir_ = _−_ 1
bool _visible, above, opening, closing_
float _maxθ_ = _−∞_
while _k_ _∈_ _nzSet_ do
∆ _d_ = _|k −_ _j|_
_θ_ = ( _skwDEM_ [ _i_ ][ _k_ ] _−_ _h_ ) _/_ ∆ _d_
if ( _θ_ _> maxθ_ ) then _above_ = 1
_opening_ = _above_ & ! _visible_
_closing_ = ! _above_ & _visible_
_visible_ = _above_
_maxθ_ = _max_ ( _θ, maxθ_ )
if ( _opening_ ) then _open_ ∆ _d_ = ∆ _d_
if ( _closing_ ) then _cv_ += ∆ _d ·_ ∆ _d −_ _open_ ∆ _d · open_ ∆ _d_
_k_ += _dir_
<u>end</u> <u>while</u>
thread. The variable _h_ contains both the observer and location heights in this case.
Every thread obtains its computation range of non-zero values within the corresponding row (contained in the _nzSet_ structure) from the _skwDEM_ matrix. Then, every
thread computes its visibility forward and backward across the row to which it belongs. The resulting viewshed value is thereafter stored in its corresponding position
of the _skwV S_ matrix.
This kernel is launched with 2 _· Cby_ and _Cbx_ 2D threads blocks using twice as many
thread blocks as in the y-dimension according to the size of the _skwDEM_ matrix.
_4.2.3._ _Kernel-3:_ _obtaining_ _the_ _final_ _viewshed_ _on_ _the_ _DEM_
Once the viewshed is computed on the _skwDEM_ for every POV and stored in the
_skwV S_ matrix, this kernel transforms the latter structure by undoing the rotation
performed in Kernel-1 to obtain the final viewshed _V S_ matrix on the original DEM.
The pseudo-code in charge of performing this procedure is presented in Algorithm 8.
This kernel is also launched with the same configuration as Kernel-1.
Algorithm 8 The kernel in charge of transforming the _skwV S_ on the skwDEM to
<u>the</u> _<u>V S</u>_ <u>structure</u> <u>on</u> <u>the</u> <u>original</u> <u>DEM</u>
int _i_ = _bidy · bdim_ + _tidy_
int _j_ = _bidx · bdim_ + _tidx_
float _y_ = _tan_ ( _s_ ) _· j_
int _dest_ = _y_
float _r_ = _y −_ _dest_
int _p_ = _dimy_ + _i −_ _dest_
if _i < dimy_ & _j_ _< dimx_ then
float _skwV Sa_ = _skwV S_ [ _p · dimy_ ][ _j_ ]
float _skwV Sb_ = _skwV S_ [( _p −_ 1) _· dimy_ ][ _j_ ]
_V S_ [ _i_ ][ _j_ ] += (1 _−_ _r_ ) _· skwV Sa_ + _r · skwV Sb_
<u>end</u> <u>if</u>
12
<u>Algorithm</u> <u>9</u> <u>Host</u> <u>code</u> <u>in</u> <u>charge</u> <u>of</u> <u>scheduling</u> <u>the</u> <u>work</u> <u>for</u> <u>the</u> <u>different</u> <u>devices</u>
for _d_ = 0 _, nd_ do
_devd_ _←_ _Allocate_ ( _|DEM_ _|, |skwDEM_ _|, |skwV S|, |V S|_ )
end for
for _d_ = 0 _, nd_ do
_devd_ _←_ _MemcpyAsyncH_ 2 _D_ ( _DEM_ )
end for
for _s_ = 0 _, ns/_ 2 do
int _d_ = _s_ % _nd_
_devd_ _←_ _Kernel −_ 1 _,_ 2 _,_ 3
_devd_ _←_ _MemcpyAsyncD_ 2 _H_ ( _V Sd_ )
end for
for _d_ = 0 _, nd_ parallel do
_V S_ += _V Sd_
<u>end</u> <u>for</u>
_4.2.4._ _Scheduling_ _multi-GPU_ _processing_ _on_ _the_ _host_
In order to perform the total viewshed calculation in a multi-GPU system, several
steps must be performed as shown in Algorithm 9. First, we must reserve the required
memory spaces to allocate the different matrices in all the available devices. Then,
the original _DEM_ can be transferred from the host to each device ( _dev_ ) of the total
available devices ( _nd_ ). The target number of sectors _ns/_ 2 will be distributed among
the different devices so that the work load is balanced. Each device will execute the
three above-mentioned kernels accumulating the result of the viewshed computation,
considering all the points and every target sector, in their private _V Sd_ structure.
Finally, these matrices are transferred from the devices to the host so that a final
parallel reduction can be performed, obtaining the total viewshed _V S_ result.
5. Experiments
This section assesses the performance of our sDEM proposal with respect to wellknown GIS software and the state-of-the-art. Section 5.1 explains the experimental
setup. Section 5.2 presents the comparison between sDEM and GIS software in addressing the multiple viewshed problem. Section 5.3 evaluates the computational performance of sDEM compared to the state-of-the-art algorithm using the total viewshed
problem as a case study in three scenarios: (i) sector viewshed computation for a random direction, (ii) average sector viewshed computation, and (iii) total viewshed map
generation.
5.1. _Experimental_ _setup_
We select two operating systems (OSs) for the experiments according to their requirements:
_•_ Windows OS: Windows 10 with an Intel(R) Core(TM) i5-6500 CPU @3.20GHz
with 4 cores (4 threads) and 8GB DDR4 RAM.
_•_ Linux OS: Ubuntu 16.04.5 LTS with an Intel(R) Xeon(R) E5-2698 v3 @2.30GHz
with 16 cores (32 threads) and 256GB DDR4 RAM, along with four GTX 980
Maxwell GPUs with 2048 CUDA cores, 16 SMs, 1.12GHz, and 4GB GDDR5
each one.
13
Table 1. Different DEMs used in the experiments.
UTM
Dataset Dimension Zone <sup>a</sup> Easting Northing
DEM10m-2k 2000x2000 30S 0310000mE 4070000mN
DEM10m-4k 4000x4000 30S 0360000mE 4100000mN
DEM10m-8k 8000x8000 30S 0360000mE 4140000mN
aLatitude band designator.
The experiment presented in Section 5.2 is executed on Windows OS because GIS
software is usually developed for this specific operating system; whereas the experiment
described in Section 5.3 is executed on Linux OS to obtain an optimal measurement of
the computational performance. These experiments were designed to be as representative as possible of a real problem where obtaining the visibility in a particular direction
or region is necessary. This is the reason why three DEMs of the - Natural Park with
10 meters of resolution and different dimensions, in relation to the number of points
in vertical and horizontal directions, were considered (Table 1). The calculation of the
total viewshed is not only limited to this area of interest, but includes the surrounding
area beyond it which is very geographically diverse. Observers are considered to be
located 1.5 meters above the ground.
Regarding the implementation, the OpenMP API is used to enable the multithreaded execution of every selected sector with dynamic scheduling since it has proved
to obtain the best performance. Host codes are compiled using the g `++` 5.4 open-source
compiler with ffast-math, fopenmp, and O2 optimization flags. CUDA files make use
of the NVIDIA NVCC compiler from the CUDA compilation tools V10.0.130. The
multi-core implementation of our proposal is launched with the maximum number
of threads available in the system, the same way that single-GPU and multi-GPUs
implementations are configured to operate the devices at full capacity.
Figure 6. Computational performance comparison between the sDEM proposal and the most used GIS software in solving the multiple viewshed problem considering 10 POVs randomly located in the DEM10m-2k.
Single-thread execution is considered to obtain the run-time of those programs not otherwise indicated. VS,
VS-2, and VI stand for the first and second version of the Viewshed tool and the Visibility one, respectively,
inside the Spatial Analyst extension of ArcGIS. QGIS-GRASS uses the r.viewshed module. <sup>1</sup> multi-thread
execution was required using the maximum number of cores available. <sup>2</sup> using PERIMETER ~~S~~ IGHTLINES
parameter. <sup>3</sup> using ALL ~~S~~ IGHTLINES parameter. <sup>4</sup> Google Earth does not have multiple/total viewshed computation capability so the average time in computing singular viewshed has been multiply by the number of
POVs considered.
14
The GIS software used for comparison includes ArcGIS 10.7, specifically the Spatial Analyst extension which contains the Viewshed 2 (VS-2), Viewshed (VS), and
Visibility (VI) tools. Google Earth Pro 7.3 and QGIS-GRASS 3.10.2 are also used.
5.2. _Comparison_ _with_ _GIS_ _software_
A fair comparison in the context of this work would be comparing the total viewshed
computation using our approach and other GIS software/tools. However, as there
does not exist any public software/tool to compute total viewshed, we will compare
the results only for few points. This experiment assesses the computational performance of sDEM and the most used GIS software in solving the multiple viewshed
problem. In particular, the object is to compute the accumulated viewshed considering 10 POVs randomly located in the DEM10m-2k. Single-threaded implementations
were used for our sDEM proposal, QGIS-GRASS, and Google Earth; whereas ArcGIS
has to be executed using all available cores. Moreover, the execution time obtained
using Google Earth results from extrapolating the singular viewshed computation to
the current case of 10 POVs since this software does not support this operation. Figure 6 shows the time each software requires to complete the multiple viewshed task.
Our sDEM proposal outperforms every analyzed GIS software: ArcGIS VS-2 with two
different configurations (23.7x, 2.4x), ArcGIS VS (1.3x), ArcGIS VI (13.4x), Google
Earth (5.1x), and QGIS-GRASS (6.7x). Although sDEM achieves significant results
in this multiple viewshed computation, the greatest gain is given in the total viewshed
computation discussed below.
5.3. _Total_ _viewshed_ _analysis_
To the best of our knowledge, our sDEM proposal and the TVS algorithm (Tabik
_et_ _al._ 2014) are the only approaches in the literature capable of performing the total
viewshed computation on entire datasets without carrying out prior reductions in
workload. In order to achieve a fair analysis, a size of _dimx_ has been chosen for the
BoS in the case of the TVS algorithm so that this structure coincides with the number
of points processed per row in the sDEM algorithm. Thus, the workload is similar
for both TVS and sDEM algorithms making it possible to perform a computational
performance comparison using speed-up and throughput values. We implement singlethreaded, multi-threaded, single-GPU, and multi-GPU versions of our sDEM proposal
and compared them to the single-thread implementation of the TVS algorithm. Three
experiments are set to assess the performance in the total viewshed computation.
_5.3.1._ _Sector_ _viewshed_ _considering_ _a_ _random_ _sector_
The computational performance of our sDEM proposal is analyzed and compared
with the TVS algorithm in computing total viewshed considering a single random
sector, where the sector 10 <sup>_o_</sup> is selected. Figure 7 presents the acceleration curves
and the throughput results (POVs processed per second) using three DEMs. Beststudied cases show that our proposal outperforms the TVS algorithm, achieving a
maximum acceleration up to 232.8x using the 1-GPU implementation on DEM10m4k. Throughput results show that this variable increases about 177.7x for the same
implementation on DEM10m-2k. Multi-GPU implementations are not considered due
to the low workload when distributing one single sector among more than one device.
15
_5.3.2._ _Sector_ _viewshed_ _based_ _on_ _average_ _values_
In this experiment, unlike the prior one, the direction range is selected from 0 <sup>_o_</sup> up
to 45 <sup>_o_</sup> to obtain average values per sector. This choice of design lies in the fact that
single-threaded executions of TVS and sDEM required several weeks to complete when
using a higher range. Besides, results within this range are representative and can be
extrapolated to any target range. Figure 8 introduces the acceleration curves and the
throughput results achieved. Best-studied cases show that the maximum speed-up
result achieved is up to 827.3x with the 4-GPUs implementation with respect to the
TVS algorithm considering DEM10m-4k. Throughput results show that this variable
increases about 511.1x for the same implementation on DEM10m-2k.
(a) Speed-up curves (b) Diagram of throughputs
Figure 7. Speed-up curves and throughput diagrams for the state-of-the-art total viewshed algorithm,
TVS (Tabik _et_ _al._ 2014) and the different implementations of our sDEM proposal using single-core, multicore, single-GPU, and multi-GPU platforms to compute singular viewshed for a randomly selected sector,
_s_ = 10 <sup>_o_</sup> (BoS size of _dimx_ points for the TVS algorithm). Every color is related to a particular dataset.
Logarithmic scale is used.
(a) Speed-up curves (b) Diagram of throughputs
Figure 8. Speed-up curves and throughput diagrams for the state-of-the-art total viewshed algorithm,
TVS (Tabik _et_ _al._ 2014) and the different implementations of our sDEM proposal using single-core, multicore, single-GPU, and multi-GPU platforms to compute sector viewshed. Directions fulfilling 0 <sup>_o_</sup> _< s <_ 45 <sup>_o_</sup> are
considered to obtain average values per sector (BoS size of _dimx_ points for the TVS algorithm). Every color is
related to a particular dataset. Logarithmic scale is used.
16
_5.3.3._ _Total_ _viewshed_ _map_ _generation_
The final outcome from computing our proposed sDEM algorithm to obtain the total
viewshed map of the * Natural Park (*, Spain) is presented in Figure 9. No substantial
differences have been found after analyzing the values of absolute and relative differences when comparing the total viewshed results from the TVS and sDEM algorithms.
The DEM10m-2k was used for this analysis, where the absolute difference found is up
to 1.18%, whereas the relative difference is up to 4.21%. All these values are fully
within the limits recommended in this field (Tabik _et_ _al._ 2013).
Figure 9. Total viewshed map of the - Natural Park and its surroundings in the province of *, Spain.
6. Conclusions
In this paper, we present a new methodology called skewed Digital Elevation Model
(sDEM) to speed-up terrain surface analysis. Total viewshed computation was selected
as a case study to assess the performance of this new methodology, which is designed
from scratch and differs from state-of-the-art methods in the way that operations are
performed. It focuses on increasing the performance of memory accesses by applying a
data restructuring before starting the computation. The proposed data reorganization
opens the door for intensive use of GPUs in many algorithms for which it had never
been considered due to their irregularity and low efficiency.
Different versions of our algorithm have been proposed for single-core, multi-core,
single-GPU and multi-GPU platforms, along with intensive performance studies compared to the literature. sDEM has been tested on Windows and Linux operating systems using two different systems and three DEMs of up to 64 millions of points from
the - Natural Park (*, Spain). Our implementations have proved to perform better
than the most used GIS software regarding the multiple viewshed computation. In fact,
this difference would be much greater when considering all the points in the terrain but
17
current GIS software is unable to carry out this computation. Moreover, sDEM largely
outperforms the state-of-the-art algorithm in terms of speed-up and throughput for
the three evaluated DEMs. In particular, our approach accelerates this computation
up to 827.3x for the best studied case with respect to the baseline single-threaded
implementation on a given DEM formed by 16 million POVs.
Our algorithm can be used for analyzing the surface of any terrain. For example,
the computation of the visibility map of any terrain is faster with sDEM than with the
approaches reported in the literature. Also, the analysis of other topographic features
such as slope and elevation could be improved by applying our methodology. Once this
paper is accepted, we will release a cross-platform plug-in so that the international
scientific community can reproduce our experiments with the sDEM algorithm and
use it with their own DEMs to obtain total viewshed maps.
Data and codes availability statement
The data and codes of the sDEM algorithm that support the findings of
this study are available in the ‘figshare.com’ repository with the identifier
‘https://figshare.com/s/010bfe676260d3bd41b4’.
Funding
References
Atallah, M.J., 1983. Dynamic computational geometry. _In_ : _Foundations_ _of_ _Computer_ _Science,_
_1983.,_ _24th_ _Annual_ _Symposium_ _on_ . IEEE, 92–99.
Brughmans, T., van Garderen, M., and Gillings, M., 2018. Introducing visual neighbourhood
configurations for total viewsheds. _Journal_ _of_ _Archaeological_ _Science_, 96, 14–25.
Cabral, B., Max, N., and Springmeyer, R., 1987. Bidirectional reflection functions from surface
bump maps. _In_ : _ACM_ _SIGGRAPH_ _Computer_ _Graphics_ . ACM, 273–281.
Cauchi-Saunders, A.J. and Lewis, I.J., 2015. Gpu enabled xdraw viewshed analysis. _Journal_
_of_ _Parallel_ _and_ _Distributed_ _Computing_, 84, 87–93.
Cervilla, A., Tabik, S., and Romero, L., 2015. Siting multiple observers for maximum coverage:
An accurate approach. _In_ : _Proceedings_ _of_ _the_ _2015_ _International_ _Conference_ _on_ _Computa-_
_tional_ _Science,_ _ICCS2015_ .
Choset, H.M., _et_ _al._, 2005. _Principles_ _of_ _robot_ _motion:_ _theory,_ _algorithms,_ _and_ _implementation_ .
MIT press.
Dou, W., Li, Y., and Wang, Y., 2018. A fine-granularity scheduling algorithm for parallel
xdraw viewshed analysis. _Earth_ _Science_ _Informatics_, 11 (3), 433–447.
Dou, W., Li, Y., and Wang, Y., 2019. An equal-area triangulated partition method for parallel
xdraw viewshed analysis. _Concurrency_ _and_ _Computation:_ _Practice_ _and_ _Experience_, 31 (17),
e5216.
Dungan, K.A., _et_ _al._, 2018. A total viewshed approach to local visibility in the chaco world.
_antiquity_, 92 (364), 905–921.
ESRI, 2010. _Arcgis_ _software._ _version_ _9.3_ . Environmental Systems Research Institute.
Fisher, P.F., 1992. First experiments in viewshed uncertainty: simulating fuzzy viewsheds.
_Photogrammetric_ _engineering_ _and_ _remote_ _sensing_, 58, 345–345.
18
Floriani, L.D. and Magillo, P., 1994. Visibility algorithms on triangulated digital terrain mod
els. _International_ _Journal_ _of_ _Geographical_ _Information_ _Systems_, 8 (1), 13–41.
Franklin, W.R. and Ray, C., 1994. Higher isn’t necessarily better: Visibility algorithms and
experiments. _In_ : _Advances_ _in_ _GIS_ _research:_ _sixth_ _international_ _symposium_ _on_ _spatial_ _data_
_handling_ . Taylor & Francis Edinburgh, vol. 2, 751–770.
Franklin, W.R., Ray, C.K., and Mehta, S., 1994. Geometric algorithms for siting of air defense
missile batteries. _Research_ _Project_ _for_ _Battle_, 2756.
Gao, Y., _et_ _al._, 2011. Optimization for viewshed analysis on gpu. _In_ : _2011_ _19th_ _International_
_Conference_ _on_ _Geoinformatics_ . IEEE, 1–5.
Kauˇciˇc, B. and Zalik, B., 2002. Comparison of viewshed algorithms on regular spaced points.
_In_ : _Proceedings_ _of_ _the_ _18th_ _spring_ _conference_ _on_ _Computer_ _graphics_ . ACM, 177–183.
Li, J., Zheng, C., and Hu, X., 2010. An effective method for complete visual coverage path
planning. _In_ : _2010_ _Third_ _International_ _Joint_ _Conference_ _on_ _Computational_ _Science_ _and_
_Optimization_ . IEEE, vol. 1, 497–500.
Neteler, M., _et_ _al._, 2012. GRASS GIS: a multi-purpose Open Source GIS. _Environmental_
_Modelling_ _&_ _Software_, 31, 124–130.
Osterman, A., Benediˇciˇc, L., and Ritoˇsa, P., 2014. An io-efficient parallel implementation of
an r2 viewshed algorithm for large terrain maps on a cuda gpu. _International_ _Journal_ _of_
_Geographical_ _Information_ _Science_, 28 (11), 2304–2327.
Qarah, F.F. and Tu, Y.C., 2019. A fast exact viewshed algorithm on gpu. _In_ : _2019_ _IEEE_
_International_ _Conference_ _on_ _Big_ _Data_ _(Big_ _Data)_ . IEEE, 3397–3405.
Song, X.D., _et_ _al._, 2016. Parallel viewshed analysis on a pc cluster system using triple-based
irregular partition scheme. _Earth_ _Science_ _Informatics_, 9 (4), 511–523.
Stewart, A.J., 1998. Fast horizon computation at all points of a terrain with visibility and
shading applications. _Visualization_ _and_ _Computer_ _Graphics,_ _IEEE_ _Transactions_ _on_, 4 (1),
82–93.
Stojanovi´c, N. and Stojanovi´c, D., 2013. Performance improvement of viewshed analysis using
gpu. _In_ : _2013_ _11th_ _International_ _Conference_ _on_ _Telecommunications_ _in_ _Modern_ _Satellite,_
_Cable_ _and_ _Broadcasting_ _Services_ _(TELSIKS)_ . IEEE, vol. 2, 397–400.
Strnad, D., 2011. Parallel terrain visibility calculation on the graphics processing unit. _Con-_
_currency_ _and_ _Computation:_ _Practice_ _and_ _Experience_, 23 (18), 2452–2462.
Tabik, S., _et_ _al._, 2014. Efficient data structure and highly scalable algorithm for total-viewshed
computation. _IEEE_ _Journal_ _of_ _Selected_ _Topics_ _in_ _Applied_ _Earth_ _Observations_ _and_ _Remote_
_Sensing_, 8 (1), 304–310.
Tabik, S., Zapata, E.L., and Romero, L.F., 2013. Simultaneous computation of total viewshed
on large high resolution grids. _International_ _Journal_ _of_ _Geographical_ _Information_ _Science_,
27 (4), 804–814.
Wang, Y. and Dou, W., 2019. A fast candidate viewpoints filtering algorithm for multiple
viewshed site planning. _International_ _Journal_ _of_ _Geographical_ _Information_ _Science_, 1–16.
Zhao, Y., Padmanabhan, A., and Wang, S., 2013. A parallel computing approach to view
shed analysis of large terrain data using graphics processing units. _International_ _Journal_ _of_
_Geographical_ _Information_ _Science_, 27 (2), 363–384.
19
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.