scispace - formally typeset
Search or ask a question
Journal ArticleDOI

GPU-Accelerated Interactive Visualization and Planning of Neurosurgical Interventions

TL;DR: A proposed GPU-accelerated method enables interactive quantitative estimation of the risk for a particular path and exploits acceleration spatial data structures and efficient implementation of algorithms on GPUs to achieve interactive rates even for high-resolution meshes.
Abstract: Advances in computational methods and hardware platforms provide efficient processing of medical-imaging datasets for surgical planning. For neurosurgical interventions employing a straight access path, planning entails selecting a path from the scalp to the target area that's of minimal risk to the patient. A proposed GPU-accelerated method enables interactive quantitative estimation of the risk for a particular path. It exploits acceleration spatial data structures and efficient implementation of algorithms on GPUs. In evaluations of its computational efficiency and scalability, it achieved interactive rates even for high-resolution meshes. A user study and feedback from neurosurgeons identified this methods' potential benefits for preoperative planning and intraoperative replanning.

Summary (3 min read)

1 INTRODUCTION

  • Planning of interventional procedures from preoperative imaging has led to the development of new effective interventional paradigms.
  • After selection of the target point, the neurosurgeon defines a set of regions on the surface of the skull, and the system displays a color-coded map that defines the risk associated with the paths within the region.
  • With those approaches, the operator needs to select the target point carefully and precisely since the time required by the algorithms for computing optimized paths is generally long (e.g., [2]).
  • The possibility of performing this process in real-time or near real-time allows interactive visualization and planning, which would significantly reduce the planning time and thus allow effective intraoperative re-planning of neurosurgical interventions if needed.
  • (ii) Implementing those algorithms onto graphics processing units (GPUs).

1.1 Applicability

  • Fig. 1(a) illustrates an example of how the proposed approach can assist the operator to select both an optimal insertion and a target point.
  • Such dynamic risk maps can significantly facilitate decision-making for the operator.
  • For stereotactic robot-assisted neurosurgical interventions, such as in the NeuroArm and NeuroMate systems, the velocity of the tooltip during insertion can be controlled based on the risk function along the path.
  • Each risk value along the pathway is computed by setting the needle tip as current target.
  • Indeed, as shown in Fig. 1(b), the high speed of this method allows the operator to see the exact risk from the surrounding tissue when the tool is being inserted, by simply placing the target point along the tip of the tool and recomputing the risk map at each step.

2.1 Definition of Planning Risk Maps

  • In the formulation of their problem, selection of safe straight access paths entails minimizing a function that quantifies their associated risks.
  • The authors define such a function based on the following criteria: (1) the paths cannot intersect any critical tissue, otherwise, this may result in unacceptable patient injury; (2) the paths should be as distant as possible from the critical tissue; and (3) the path length (i.e. the distance between the entry point and the target) should be as short as possible.
  • Inspired by [2], the authors also represent structures segmented from imaging as triangular meshes.
  • The authors consider the set of candidate paths as the line segments that extend from the vertices of ms to a pre-defined target point p. Calculation of the risk maps involves two computationally expensive steps.

2.2 Acceleration Spatial Data Structures

  • To avoid a large bulk of the computation required to obtain the risk map, without sacrificing precision, the authors use acceleration spatial data structures.
  • A BVH is a partition of geometric objects into a hierarchy that can be used to accelerate geometric queries as the ones involved in their problem.
  • The traversal stops when a triangle hit by the segment is found or when all the triangles within the intersected nodes have been tested.
  • In the case of AABB2, the authors can see that only its child labeled AABB2,1 must be tested for intersection.
  • For each path the authors determine which of the children of a node is closer, and which one is farther.

2.3 GPU-based Parallel Implementation

  • In their proposed approach, the algorithm generates the risk maps by performing the calculations discussed in Section 2.2 for a large number of potential paths.
  • The origin of this is that the computations required for each path are highly variable, and this irregular workload leads to underutilization of GPU resources.
  • Different blocks are assigned for execution to different SM in a static manner.
  • Then, each of the threads, within the warp, processes one of the paths in the task.
  • With the centralized queue, none of the SMs is going to be idle, as long as there are remaining tasks to be processed.

3.1 Computational Performance

  • To evaluate the efficiency of the proposed approach (i.e., to what degree it can be used in an interactive fashion), the authors measured the time required for performing the computation of the risk maps for meshes with different resolutions.
  • The authors implemented their proposed approach on a GPU using CUDA, and timing was recorded using CUDA time events.
  • Fig. 5 reports the measured computational times for the above listed range of sizes of the two meshes (i.e. scalp surface and critical tissue).
  • The authors observe that even for high-resolution meshes, their proposed approach can achieve interactive rates, and that it is scalable.
  • Indeed, as the mesh resolution increases, the number of paths increases linearly.

3.2 Comparison with CPU-based Baseline Implementation

  • The authors compared their proposed GPU-accelerated implementation with a CPU-based baseline implementation.
  • The CPU-based baseline implementation computes the risk maps by following the same approach that the authors have previously described.
  • No attempt was made to make use of the SIMD capability of the CPU in the baseline implementation.
  • Interestingly, the GPU implementation also scales better to the number of computed paths and to the size of the vital tissue mesh than the CPU-based baseline implementation.
  • That is, although both the implementations are algorithmically equivalent, the speed-up increases along with the size of the problem.

3.3 Performance Improvement due to the Task Queue

  • A speed-up of up to 1.4x (i.e. a 29% reduction in computational time) was measured for a GPU implementation using the centralized task queue with respect to a baseline GPU implementation (see Fig. 6).
  • In the baseline GPU implementation the authors configure a grid that holds as many threads as there are paths to process.
  • As shown in Fig. 6 the achieved speed-up increases with the size of the vital structure mesh, but is not significantly sensitive to the number of computed paths.
  • The explanation for this is that when the size of the mesh is increased the application becomes memory bounded, that is, the computation becomes dominated by the time spent on memory operations.

3.4 Comparison with Voxel-based Approach

  • The authors also compared their proposed approach to a fast voxel-based method for computing the risk maps [3] running on the CPU.
  • The total risk associated with each path is then computed as the sum of the risks of all the voxels intersected by the surgical instrument.
  • Since the input structure of the two methods are fundamentally different, the authors make the following assumption: the vital tissue mesh and the volumetric data are equivalent in terms of size, if the mesh is the iso-surface reconstructed from a segmented 3D image with the same resolution as the volumetric data by the classical marching cubes algorithm.
  • The voxel-based approach has the additional disadvantage of growing linearly with the size of the input structure.
  • This leads to a quick loss of the interactive rate for the voxel-based approach, as shown in Fig. 7.

3.5 User Study

  • The authors conducted a user study in order to quantitatively assess the benefits that interactive computation of risk maps might have on the planning of straight access neurosurgical interventions (Fig. 9).
  • For the visually-guided treatment, the subjects were asked to find the best path they could find by selecting an insertion point and freely positioning the target without the aid of risk maps.
  • In addition to this, for each tried path, they were presented with information about the length and the proximity to blood vessels.
  • For the risk-map guided target, the user was allowed to use guidance from the risk map in order to select a satisfactory target position.
  • This computation has to be performed only once for a given region of interest.

3.6 Neurosurgeon Evaluation

  • The ultimate goal of their work is to be able to provide assistance to the neurosurgeon for intra-operative planning/re-planning.
  • Interactive preoperative and intra-operative target repositioning were identified as highly beneficial features.
  • Integration between the planning assistance software, the imaging acquisition mechanisms, and the surgical plan execution tool is the key in the intra-operative scenario.
  • Another related and important application that could be benefited by the proposed computational framework is the procedures using the gamma knife, which is used to apply radiation doses over tumors.

Did you find this useful? Give us your feedback

Figures (10)

Content maybe subject to copyright    Report

IEEE COMPUTER GRAPHICS AND APPLICATIONS, VOL. XX, NO. XX, MARCH 2013 1
GPU-Accelerated Interactive Visualization and
Planning of Neurosurgical Interventions
Mario Rinc
´
on-Nigro, Nikhil V. Navkar, Nikolaos V. Tsekos, and Zhigang Deng, Senior Member, IEEE
F
Abstract—Advances in computational methods and hardware platforms
provide efficient processing of medical imaging data sets for surgical
planning. In the case of neurosurgical interventions that are performed
via a straight access path, planning entails selecting a pathway, from
the scalp surface to the targeted area, that is of minimal risk to the
patient. We propose a GPU-accelerated approach to enable quantitative
estimation of the risk associated with a particular access path at inter-
active rates. It heavily exploits spatially accelerated data structures and
efficient implementation of algorithms on GPUs. We evaluate the com-
putational efficiency and scalability of the proposed approach through
extensive performance comparisons, and show that interactive rates can
be achieved even for high-resolution meshes. Through a user study,
and feedback obtained from domain experts, we identify some of the
potential benefits that our high-speed approach offers for pre-operative
planning and intra-operative replanning of straight access neurosurgical
interventions.
Index Terms—GPU Acceleration, Neurosurgical Interventions, Risk
Maps, and Straight Access
1 INTRODUCTION
Planning of interventional procedures from pre-
operative imaging has led to the development of
new effective interventional paradigms. Among the
procedures that benefit from such pre-operative
planning are neurosurgical interventions such as
deep brain stimulation, biopsies, and shunt and
insertion of external ventricular drains (EVD). Planning,
often, entails processing of multi-contrast and multi-
modal imaging (MRI/CT) to map anatomical and
pathophysiologic features. A common practice is
manual selection and assessment of the suitability of
different entrance positions on the scalp surface of the
patient in order to select an appropriate insertion path.
To process, visualize and manipulate large volumes
of 3D imaging datasets, automated surgical planning
methods have been proposed in recent years [1], [2],
[3], [4], [5], [6]. The current trend is to move as much
of the planning tasks as possible into the operating
M. Rinc´on, N. Navkar, and Z. Deng are with the Computer Graphics
and Interactive Media Lab and the Department of Computer Science,
University of Houston, Houston, TX 77204-3010.
N. Tsekos is with the Medical Robotics Lab and the Department of
Computer Science, University of Houston, Houston, TX 77204-3010.
E-mails: mrinconnigro2@uh.edu, nvnavkar|nteskos|zdeng@cs.uh.edu.
room to avoid errors that can appear because of
the discrepancies between pre-operative images and
intra-operative images. In this context, techniques for
integrating MRI, CT imaging, and surgical procedures
are being actively investigated [7], [8].
Recently, Herghelegiu et al. [9] proposed a multi-level
framework for planning biopsies of deep-seated tumors.
The system is meant to assist planning at all stages
from the selection of the target point within tumors, to
the selection of a safe entry point that minimizes the
risk of hit with vital structures. After selection of the
target point, the neurosurgeon defines a set of regions
on the surface of the skull, and the system displays a
color-coded map that defines the risk associated with
the paths within the region. The system also assists the
neurosurgeon in the validation of the path by displaying
information about regions in the path that require closer
inspection, specifically, the regions in which the path is
closer to any point in the brain vasculature. In terms of
visualization, the system displays a set of 2D slices and
volume rendered 3D views to assist the neurosurgeon in
the planning and validation of the selected pathway.
All the aforementioned works describe approaches to
find the optimal path for neurosurgical interventions
either automatically [4] or by assisting the decision-
making process of the neurosurgeon [5], [6], [9]. State-of-
the-art approaches use criteria defined by the operator
to generate color-coded projections of internal structures
of the brain on the scalp surface. The input includes a
geometrical representation of vital tissue (e.g., meshes
[2] or segmented volumetric data [3], [10]) that should
not be traversed by the path from a point on the scalp
surface through which the operator may insert a surgical
tool to the target point in the region of interest. With
those approaches, the operator needs to select the target
point carefully and precisely since the time required
by the algorithms for computing optimized paths is
generally long (e.g., [2]). Moreover, in most cases the
target (i.e., the vital structure) is not a single point but
rather a three dimensional (3D) structure or surface.
Therefore, accessing all different possible targeted points
within or on the region of interest requires orders of
magnitude longer processing time than the single target
point case [3], [2]. The possibility of performing this

IEEE COMPUTER GRAPHICS AND APPLICATIONS, VOL. XX, NO. XX, MARCH 2013 2
Fig. 1. Risk maps obtained using weights k
1
= 0.1,
k
2
= 0.9. The computed risk values are normalized to
the range of [0, 1]. Blue, white and red regions represent
regions of low, medium and high risk, respectively. Black
regions depict impermissible insertion areas. (a) Interac-
tive planning by moving the target point within a region.
Our high performance approach opens the possibility
of interactive intra-operative visualization for computer
assisted re-planning. (b) Moving the target point along
a selected path. The shown risk maps are computed by
placing the current target at the tip of the needle. The
horizontal bar shows the normalized risk as a function
of the percentage of covered pathway (i.e. 50% means
that the needle is currently at half of the total length of the
selected safe path). The insertion velocity can be planned
according to the risk function along the selected path.
process in real-time or near real-time allows interactive
visualization and planning, which would significantly
reduce the planning time and thus allow effective intra-
operative re-planning of neurosurgical interventions if
needed.
In this article, we propose a GPU-accelerated method
to process, visualize and plan neurosurgical interven-
tions at the interactive or near real-time speed as it
is required for intra-operative re-planning. It consists
of two main components: (i) Embedding the geometrical
structures that represent critical tissue areas, pertinent to
the procedure, into spatial data structures. This speeds up
computation of the geometric queries involved in the
estimation of the risk associated with paths. (ii) Im-
plementing those algorithms onto graphics processing units
(GPUs). This exploits the parallel nature of the problem,
while effectively handling the involved irregular work-
load. Through various comparisons (e.g., between our
approach and the CPU-based baseline implementation,
and between our approach and an existing voxel based
method), we demonstrate that besides its robustness
and interactive speed (e.g., two orders of magnitude
higher than the conventional method), our approach can
generate safer straight access paths for neurosurgical
interventions.
In practical terms, existing surgical planning ap-
proaches (e.g., the multilevel planning framework de-
scribed in [9]) could benefit from a high-performance
approach such as the one we propose, as it will open
the possibility of intra-operative planning. In addition,
the computational power might be beneficial in a pre-
operative scenario by allowing to explore and visualize
much larger planning spaces through fast processing,
and further avoid possible complications in the pro-
cedure. For instance, our high performance approach
would allow to include additional information and plan-
ning constraints (e.g. additional vital structures such
as functional brain regions, and consider the angle of
intersection of the tool with the targeted regions) with
no large increases in computation time.
To the best of our knowledge, this work is the first
to enable interactive estimation and visualization of
risk in straight access neurosurgical interventions with
mesh-based tissue representation. Our current clinical
workflow for using the herein proposed approach entails
interactively modifying (with a pointing device such as
a mouse) the location of the target point and visualizing
the effects on the risk maps. As a benefit of the high
speed of our approach, the operator can interactively
explore a much larger number of possible paths and
target points, thereby enhancing the effectiveness and
efficiency of the decision-making process involved in
neurosurgical interventions.
1.1 Applicability
Fig. 1(a) illustrates an example of how the proposed
approach can assist the operator to select both an optimal
insertion and a target point. In this particular paradigm,
the operator selects a target point within a pre-defined
region (e.g., into the core or onto the surface of a tumor)
and interactively visualizes the resulting risk map (color-
coded) to guide the selection of an optimal insertion
point. After a target point and an insertion point are se-
lected, the operator can also view the risk map associated
with the current position of the advancing needle (Fig.
1(b)). Such dynamic risk maps can significantly facilitate

IEEE COMPUTER GRAPHICS AND APPLICATIONS, VOL. XX, NO. XX, MARCH 2013 3
Fig. 2. Schematic view of the proposed approach. The
operator can interactively visualize the risk associated to
particular paths, and explore the effect of changing the
position of the target point.
decision-making for the operator. When the operator
selects a path, the path is usually further analyzed
and inspected by looking at imaging planes (MR slices)
orthogonal to the insertion path (also known as bird’s-
eye view). For stereotactic robot-assisted neurosurgical
interventions, such as in the NeuroArm and NeuroMate
systems, the velocity of the tooltip during insertion can
be controlled based on the risk function along the path.
The horizontal bar in Fig. 1(b) shows a visualization of
the current risk at each point in the selected pathway.
Each risk value along the pathway is computed by
setting the needle tip as current target. The risk along the
pathway increases non-linearly as the needle advances
and reaches the maximum at the final target position.
If the environment changes are known (when the tool
is near the vital tissue, etc.), the operator can adjust the
velocity of the insertion tool to advance more cautiously.
Indeed, as shown in Fig. 1(b), the high (interactive)
speed of this method allows the operator to see the exact
risk from the surrounding tissue when the tool is being
inserted, by simply placing the target point along the tip
of the tool and recomputing the risk map at each step.
2 METHODOLOGY
2.1 Definition of Planning Risk Maps
In the formulation of our problem, selection of safe
straight access paths entails minimizing a function that
quantifies their associated risks. We define such a func-
tion based on the following criteria: (1) the paths cannot
intersect any critical tissue, otherwise, this may result
in unacceptable patient injury; (2) the paths should be
as distant as possible from the critical tissue; and (3)
the path length (i.e. the distance between the entry
point and the target) should be as short as possible. In
general, additional selection criteria can be seamlessly
incorporated into this function, based on the particular
needs of the procedure.
Inspired by [2], we also represent structures seg-
mented from imaging as triangular meshes. Specifically,
we represent the scalp surface as a triangular mesh
m
s
= (V
S
, T
S
) and the critical tissue as another triangular
mesh m
c
= (V
C
, T
C
). We consider the set of candidate
paths as the line segments that extend from the vertices
of m
s
to a pre-defined target point p. To obtain the set
of permissible paths, we discard all the unsafe paths
that intersect with any triangle in m
c
. Then, the risk
associated with a particular path (belonging to the set
of the permissible paths) starting at a vertex v V
S
, is
computed as:
Risk(v, p) = k
1
||v p|| k
2
min
v
0
V
C
d(vp, v
0
) (1)
d(vp, v
0
) =
||v
0
p|| if (v p) · (v
0
p) < 0
||v
0
v|| if (p v) · (v
0
v) < 0
||(v p)×(pv
0
)||
||v p||
otherwise
(2)
Here k
1
0, k
2
0 are user-specified weighting
parameters (see Fig. 3 for a visualization of the effect
of varying these parameters). All the risk map visualiza-
tions in this writing were created using weights k
1
= 0.1
and k
2
= 0.9, unless otherwise noted. The first term in
Eq. 1 accounts for the total length of the path, and the
second term accounts for the proximity of the path to
the critical tissue. As such, larger values of k
1
enforce
the selection of short paths, while larger values of k
2
enforce the selection of paths that are farther away from
critical structures. Brute-force computation of the set of
permissible paths, as well as the risks associated with
all the paths, turns out to be computationally-expensive
even for low-resolution meshes. In order to efficiently
perform the computation, we build acceleration spatial
data structures from the geometric primitives of the criti-
cal tissue mesh. This significantly reduces the amount of
computation required to obtain the risk map. An efficient
GPU implementation of our approach further enables the
computation of risk maps at an interactive rate even for
high-resolution meshes. Fig. 2 shows a schematic view
of our proposed approach. The operator can interactively
visualize the risks associated with particular paths, and
explore the effect of changing the position of the target
point.
Calculation of the risk maps involves two computa-
tionally expensive steps. The first is the identification
of all the paths that must be discarded, because they
make direct impact on the critical tissue. In our specific
formulation, it involves testing for intersection between
a line segment and all the triangles in m
c
. The second
step is the computation of the second term in the Eq. 1
above. This computation involves determining, among
all the vertices in m
c
, which one is the closest to a
specific line segment. Testing each path for intersection
against each triangle, and computing its closest distance
to each vertex are not affordable options for interactive
visualization and planning.
2.2 Acceleration Spatial Data Structures
To avoid a large bulk of the computation required to
obtain the risk map, without sacrificing precision, we

IEEE COMPUTER GRAPHICS AND APPLICATIONS, VOL. XX, NO. XX, MARCH 2013 4
Fig. 3. Visualizations of risk maps for different pairs of weights. (a) Position of the target point. (b) Enforcing a large
proximity: k
1
= 0.1 and k
2
= 0.9. (c) Enforcing the balance between length and proximity: k
1
= 0.5 and k
2
= 0.5. (d)
Enforcing the selection of short paths: k
1
= 0.9 and k
2
= 0.1.
Fig. 4. Bounding Volume Hierarchy. (a) is an example of the BVH of triangles, (b) is an example of the BVH of vertices,
and (c) shows bounding boxes for a 3D mesh (down to a depth of 3).
use acceleration spatial data structures. Specifically, we
opt for the use of Bounding Volume Hierarchies (BVHs)
[11], since they are inexpensive to compute, and they can
be quickly restructured to support meshes that may go
through dynamic deformations. It should be noted that
in this work we only consider static meshes, not general
dynamic meshes. A BVH is a partition of geometric
objects into a hierarchy that can be used to accelerate
geometric queries as the ones involved in our problem.
Formally, BVHs are binary trees, where each node rep-
resents a group of objects and the region in space that
they occupy, and children nodes are recursive partitions
of the group of objects within their parent nodes. Fig.
4(a)-(b) show 2D examples of BVHs, and Fig. 4(c) shows
bounding boxes for a 3D mesh (down to a depth of 3).
We construct two BVHs from the critical tissue mesh
m
c
: one holding its triangles and the other holding its
vertices. The BVH of triangles is used to compute the set
of permissible paths, and the BVH of vertices is used for
the computation of the proximity term (i.e., the second
term in Eq. 1).
A geometric query over the BVHs involves a traversal
of the data structure. To compute the set of permissible
paths we need to figure out whether each path intersects
a triangle in m
c
. Starting from the root, at each step of
the traversal, an intersection test against the children
nodes is performed. If a node is intersected, then the
traversal must be continued in a recursive manner over
the substructure for which the node is root. Otherwise,
the whole substructure can be safely ignored, because it
is guaranteed that none of the triangles that it holds can
be intersected by the line segment. Triangles are actually
contained within the leaf nodes of the tree structure, so
when a leaf node is reached, each of its triangles must
be tested for intersection against the line segment. The
traversal stops when a triangle hit by the segment is
found or when all the triangles within the intersected
nodes have been tested. Fig. 4(a) illustrates this idea for
the BVH of triangles. The BVH traversal starts with a test
of the box labeled AABB. As it is intersected, the traver-
sal continues with tests of its two children (i.e., AABB
1
and AABB
2
). AABB
1
is intersected, so both its children
must be tested as well. AABB
1,1
is not intersected by
the path (going further down that node can be safely
discarded), but AABB
1,2
is intersected. Since AABB
1,2
is
a leaf node, all the geometric primitives it contains must
be tested for intersection. In the case of AABB
2
, we can
see that only its child labeled AABB
2,1
must be tested
for intersection.
The computation of the proximity term (the second

IEEE COMPUTER GRAPHICS AND APPLICATIONS, VOL. XX, NO. XX, MARCH 2013 5
term in Eq. 1) takes place in a similar fashion over
the BVH of vertices. In this case, for each path we are
interested in determining what is the closest vertex (in
m
c
) to the line segment. Fig. 4(b) illustrates a query over
the BVH of vertices. For each path we determine which
of the children of a node is closer, and which one is
farther. In general the closest child is more likely to
contain the closest vertex than the other nodes. If the
closest vertex found within that node is closer to the
line segment than any point in the bounding box of the
farthest child node, then the farthest node can be safely
discarded. In our example, node AABB
2
is the closest
one, therefore the traversal is performed in a recursive
manner over this node. Within AABB
2
, child AABB
2,1
is
the closest, and it is also a leaf node (containing vertex
primitives), so the closest vertex within this node to our
path is found. Since the closest vertex is closer to our
path than the closest point in bounding box AABB
2,2
,
we can safely discard traversals through such node. In a
similar way we can discard traversals through AABB
1
.
2.3 GPU-based Parallel Implementation
In our proposed approach, the algorithm generates the
risk maps by performing the calculations discussed in
Section 2.2 for a large number of potential paths. Since
the calculations for each path are independent from
those of other paths, the computational task will be
ideal for implementation on massively parallel proces-
sors such as GPUs. However, in spite of the intrinsic
parallelizable nature of the problem, achieving a high-
performance on GPUs is not straightforward. The origin
of this is that the computations required for each path
are highly variable, and this irregular workload leads to
underutilization of GPU resources. To describe the pre-
sented GPU implementation, it is instructive to briefly
review its operational structure. A GPU consists of a
number of processing units, i.e. the streaming multipro-
cessors (SMs). In the streaming programming paradigm,
grids of threads are subdivided into groups known as
blocks. Different blocks are assigned for execution to
different SM in a static manner. i.e. after a block has been
assigned to an SM, it cannot be executed on another
SM. After being assigned, the threads within each block
are further subdivided into groups of 32 consecutive
threads, the warps. Threads within a warp are executed
in parallel within the SM in Single Instruction Multiple
Thread (SIMT) mode. In SIMT mode, each thread in a
warp executes the same instruction at the same time.
With respect to the problem of computing the risk
map, a naive scheme of assigning work to processing
units in CUDA or OpenCL would correspond to launch
the execution of a grid with as many threads as the
paths. Therefore, the computation for each thread would
be performed in a single thread. As a result, the high
variability of the required computations for different
paths will lead to resource underutilization. Practically,
the workload assigned to some blocks will need more
time than other blocks, eventually leading to a situation
where some of the SMs are idle for a portion of the
overall computation time. The difference between the
processing time required for different tasks can thus
lead to a high workload imbalance that translates into
performance degradation [12].
To obtain better performance, we balance the work-
load within the GPU using a centralized queue [12]. All
the paths to be computed are kept on a single queue
implemented as an array in the global memory. The head
of the queue is also kept in the global memory, and it is
visible to every thread in the grid. Instead of assigning
the computation of a path to a single thread, we make
long-running warps to retrieve batches of paths (tasks)
from the global queue. In our work, long-running warps
are those that only finish their execution when all the
paths in the global queue have been processed. This can
be appreciated when the warps process is considered:
when they are first launched, the first thread takes the
next task by updating the head of the queue through an
atomic addition operation (it needs to be atomic in order
to avoid race conditions). Then, each of the threads,
within the warp, processes one of the paths in the task.
When a warp completes this batch, it takes another task
of paths, or finish execution in case the queue is empty.
The processing of each path, first involves traversing
the BVH of triangles for determining whether it hits the
critical tissue, and then traversing the BVH of vertices to
compute the proximity term of the risk function. With
the centralized queue, none of the SMs is going to be
idle, as long as there are remaining tasks to be processed.
3 EVALUATION AND RESULT ANALYSIS
3.1 Computational Performance
To evaluate the efficiency of the proposed approach (i.e.,
to what degree it can be used in an interactive fash-
ion), we measured the time required for performing the
computation of the risk maps for meshes with different
resolutions. Specifically, the mesh sizes were varied as
follows: (i) for the scalp surface, the range of triangles
was 2k to 276k and that of vertices was 4k to 553k;
and (ii) for the critical tissue, the range of triangles was
2k to 276k and that of vertices was 46k to 300k. It is
noteworthy that the number of vertices in the scalp
surface mesh determines the number of paths to be
processed.
We implemented our proposed approach on a GPU
using CUDA, and timing was recorded using CUDA
time events. With this, the recorded time includes both
the execution time of the CUDA kernels, and the com-
munication overhead due to data transfer between host
and device. Specifically, it starts when the BVH data (as
well as the scalp surface mesh data) are transferred to the
GPU, and ends when the results from the computations
of the path length and proximity terms are transferred to
the main memory of the host. Our implementation was
tested on a mainstream commodity desktop computer

Citations
More filters
Journal ArticleDOI
TL;DR: An automated multiple trajectory planning algorithm is presented, determining implantation plans containing 7–12 electrodes within 1 min, compared to 2–3 h for MP, and is computationally efficient.
Abstract: About one-third of individuals with focal epilepsy continue to have seizures despite optimal medical management. These patients are potentially curable with neurosurgery if the epileptogenic zone (EZ) can be identified and resected. Stereo-electroencephalography (SEEG) to record epileptic activity with intracranial depth electrodes may be required to identify the EZ. Each SEEG electrode trajectory, the path between the entry on the skull and the cerebral target, must be planned carefully to avoid trauma to blood vessels and conflicts between electrodes. In current clinical practice trajectories are determined manually, typically taking 2–3 h per patient (15 min per electrode). Manual planning (MP) aims to achieve an implantation plan with good coverage of the putative EZ, an optimal spatial resolution, and 3D distribution of electrodes. Computer-assisted planning tools can reduce planning time by quantifying trajectory suitability. We present an automated multiple trajectory planning (MTP) algorithm to compute implantation plans. MTP uses dynamic programming to determine a set of plans. From this set a depth-first search algorithm finds a suitable plan. We compared our MTP algorithm to (a) MP and (b) an automated single trajectory planning (STP) algorithm on 18 patient plans containing 165 electrodes. MTP changed all 165 trajectories compared to MP. Changes resulted in lower risk (122), increased grey matter sampling (99), shorter length (92), and surgically preferred entry angles (113). MTP changed 42 % (69/165) trajectories compared to STP. Every plan had between 1 to 8 (median 3.5) trajectories changed to resolve electrode conflicts, resulting in surgically preferred plans. MTP is computationally efficient, determining implantation plans containing 7–12 electrodes within 1 min, compared to 2–3 h for MP.

34 citations

Book ChapterDOI
28 Jun 2014
TL;DR: Stereo EEG is the placement of multiple depth electrodes into the brain to record seizure activity and precisely identify the area to be resected.
Abstract: Approximately 20–30% of patients with focal epilepsy are medically refractory and may be candidates for curative surgery. Stereo EEG is the placement of multiple depth electrodes into the brain to record seizure activity and precisely identify the area to be resected. The two important criteria for electrode implantation are accurate navigation to the target area, and avoidance of critical structures such as blood vessels. In current practice neurosurgeons have no assistance in the planning of the electrode trajectories.

28 citations

Proceedings ArticleDOI
01 Oct 2017
TL;DR: Early qualitative evaluation revealed that holographic visualization of high-resolution 3D MRI data offers an intuitive and interactive perspective of the complex brain vasculature and anatomical structures, suggesting that immersive experience may be an unparalleled tool in better planning neurosurgical procedures.
Abstract: This work presents a prototype holographic interface (HI) for the 3D visualization of MRI data for the purpose of planning neurosurgical procedures. The presented HI (i) immerses the operator to a mixed reality (MiR) scene, which includes MRI data and virtual renderings, (ii) facilitates interactive manipulation of the objects of the MiR scene for planning and (iii) is the front-end of a pipeline that links the operator to the MRI scanner for on-the-fly control of the scanner. Preliminary qualitative evaluation revealed that holographic visualization of high-resolution 3D MRI data offers an intuitive and interactive perspective of the complex brain vasculature and anatomical structures. These early work further suggests that immersive experience may be an unparalleled tool in better planning neurosurgical procedures. Further development is required to speed up the pipeline from the MRI scanner to the HI and incorporating means of manipulations other than gestures.

21 citations


Cites methods from "GPU-Accelerated Interactive Visuali..."

  • ...Currently the algorithms are written in C++, incorporating appropriate image processing libraries (such as ITK), and optimizing it with multithread implementation [13] and GPU acceleration [14]....

    [...]

Journal ArticleDOI
01 Jul 2015
TL;DR: Computer-based patient-specific preoperative planning of surgical trajectories that minimize the expected risk of vascular and neurological damage due to incorrect tool placement is a promising technique that yields consistent improvements.
Abstract: Purpose Minimal invasion computer-assisted neurosurgical procedures with various tool insertions into the brain may carry hemorrhagic risks and neurological deficits. The goal of this study is to investigate the role of computer-based surgical trajectory planning tools in improving the potential safety of image-based stereotactic neurosurgery.

21 citations


Cites methods from "GPU-Accelerated Interactive Visuali..."

  • ...The hardware/GPU acceleration and/or software-based preprocessing of the data to facilitate interactive selection of trajectory are described in [13,18,19]....

    [...]

Journal ArticleDOI
TL;DR: A novel architecture specifically designed to ease the SEEG trajectory planning using the 3D Slicer platform as a basis is presented and improved manual planned trajectories in 98% of cases in terms of quantitative indexes, even when applying more conservative criteria with respect to actual clinical practice.
Abstract: Focal epilepsy is a neurological disease that can be surgically treated by removing area of the brain generating the seizures. The stereotactic electroencephalography (SEEG) procedure allows patient brain activity to be recorded in order to localize the onset of seizures through the placement of intracranial electrodes. The planning phase can be cumbersome and very time consuming, and no quantitative information is provided to neurosurgeons regarding the safety and efficacy of their trajectories. In this work, we present a novel architecture specifically designed to ease the SEEG trajectory planning using the 3D Slicer platform as a basis. Trajectories are automatically optimized following criteria like vessel distance and insertion angle. Multi-trajectory optimization and conflict resolution are optimized through a selective brute force approach based on a conflict graph construction. Additionally, electrode-specific optimization constraints can be defined, and an advanced verification module allows neurosurgeons to evaluate the feasibility of the trajectory. A retrospective evaluation was performed using manually planned trajectories on 20 patients: the planning algorithm optimized and improved trajectories in 98% of cases. We were able to resolve and optimize the remaining 2% by applying electrode-specific constraints based on manual planning values. In addition, we found that the global parameters used discards 68% of the manual planned trajectories, even when they represent a safe clinical choice. Our approach improved manual planned trajectories in 98% of cases in terms of quantitative indexes, even when applying more conservative criteria with respect to actual clinical practice. The improved multi-trajectory strategy overcomes the previous work limitations and allows electrode optimization within a tolerable time span.

19 citations


Cites methods from "GPU-Accelerated Interactive Visuali..."

  • ...In [26], the estimated risk associated to accessing path was visualized interactively thanks to GPU optimized methods....

    [...]

References
More filters
01 Jan 2012
TL;DR: A simple solution is proposed that significantly narrows the gap between simulation and measurement, and results in the fastest GPU ray tracer to date.
Abstract: This technical report is an addendum to the HPG2009 paper "Understanding the Efficiency of Ray Traversal on GPUs", and provides citable performance results for Kepler and Fermi architectures. We explain how to optimize the traversal and intersection kernels for these newer platforms, and what the important architectural limiters are. We plot the relative ray tracing performance between architecture generations against the available memory bandwidth and peak FLOPS, and demonstrate that ray tracing is still, even with incoherent rays and more complex scenes, almost entirely limited by the available FLOPS. We will also discuss two esoteric instructions, present in both Fermi and Kepler, and show that they can be safely used for faster acceleration structure traversal.

413 citations

Proceedings ArticleDOI
Timo Aila1, Samuli Laine1
01 Aug 2009
Abstract: We discuss the mapping of elementary ray tracing operations---acceleration structure traversal and primitive intersection---onto wide SIMD/SIMT machines. Our focus is on NVIDIA GPUs, but some of the observations should be valid for other wide machines as well. While several fast GPU tracing methods have been published, very little is actually understood about their performance. Nobody knows whether the methods are anywhere near the theoretically obtainable limits, and if not, what might be causing the discrepancy. We study this question by comparing the measurements against a simulator that tells the upper bound of performance for a given kernel. We observe that previously known methods are a factor of 1.5--2.5X off from theoretical optimum, and most of the gap is not explained by memory bandwidth, but rather by previously unidentified inefficiencies in hardware work distribution. We then propose a simple solution that significantly narrows the gap between simulation and measurement. This results in the fastest GPU ray tracer to date. We provide results for primary, ambient occlusion and diffuse interreflection rays.

334 citations

Journal ArticleDOI
TL;DR: The prototype system has been tested during six neurosurgical operations with very good results and initial results from phantom experiments show an overall system accuracy of better than 0.9 mm for intra-operative localization of features defined in pre-operative images.

107 citations


"GPU-Accelerated Interactive Visuali..." refers background in this paper

  • ...Index Terms—GPU Acceleration, Neurosurgical Interventions, Risk Maps, and Straight Access...

    [...]

Frequently Asked Questions (15)
Q1. What contributions have the authors mentioned in the paper "Gpu-accelerated interactive visualization and planning of neurosurgical interventions" ?

The authors propose a GPU-accelerated approach to enable quantitative estimation of the risk associated with a particular access path at interactive rates. The authors evaluate the computational efficiency and scalability of the proposed approach through extensive performance comparisons, and show that interactive rates can be achieved even for high-resolution meshes. Through a user study, and feedback obtained from domain experts, the authors identify some of the potential benefits that their high-speed approach offers for pre-operative planning and intra-operative replanning of straight access neurosurgical 

In the future, the authors plan to further investigate efficient approaches for procedures on dynamically changing structures, secondary to breathing, cardiac beating, and/or to the interventional procedure. Another future research direction would be to extend the current work for efficient planning and visualization of surgical interventions with non-straight access paths. 

Integration between the planning assistance software, the imaging acquisition mechanisms, and the surgical plan execution tool is the key in the intra-operative scenario. 

With respect to the problem of computing the risk map, a naive scheme of assigning work to processing units in CUDA or OpenCL would correspond to launch the execution of a grid with as many threads as the paths. 

Since the closest vertex is closer to their path than the closest point in bounding box AABB2,2, the authors can safely discard traversals through such node. 

Although the computational time of both the mesh-based and voxel-based approaches is approximately linear to the number of computed paths, the voxel-based approach has the additional disadvantage of growing linearly with the size of the input structure. 

Their current clinical workflow for using the herein proposed approach entails interactively modifying (with a pointing device such as a mouse) the location of the target point and visualizing the effects on the risk maps. 

A common practice is manual selection and assessment of the suitability of different entrance positions on the scalp surface of the patient in order to select an appropriate insertion path. 

The possibility of performing thisprocess in real-time or near real-time allows interactive visualization and planning, which would significantly reduce the planning time and thus allow effective intraoperative re-planning of neurosurgical interventions if needed. 

Testing each path for intersection against each triangle, and computing its closest distance to each vertex are not affordable options for interactive visualization and planning. 

An efficient GPU implementation of their approach further enables the computation of risk maps at an interactive rate even for high-resolution meshes. 

When the operator selects a path, the path is usually further analyzed and inspected by looking at imaging planes (MR slices) orthogonal to the insertion path (also known as bird’seye view). 

The authors define such a function based on the following criteria: (1) the paths cannot intersect any critical tissue, otherwise, this may result in unacceptable patient injury; (2) the paths should be as distant as possible from the critical tissue; and (3) the path length (i.e. the distance between the entry point and the target) should be as short as possible. 

the workload assigned to some blocks will need moretime than other blocks, eventually leading to a situation where some of the SMs are idle for a portion of the overall computation time. 

In their work, long-running warps are those that only finish their execution when all the paths in the global queue have been processed.