The present invention relates to medical training and, more particularly, to devices and systems for providing realistic training in endovascular and endoluminal procedures.
As is well known in the art, over the last thirty years medicine has been revolutionized by the advent of minimally invasive techniques to treat disease without the need for surgery. Among the most widely practiced of these new minimally invasive procedures are interventional vascular and visceral procedures and flexible endoscopy. These interventional procedures such as balloon dilatation of strictures, stenting, and catheter-based drug delivery have substantially improved the outcomes for patients with various diseases.
In flexible endoscopy, entry is made through a natural orifice or a small surgical incision. Interventional fluoroscopic procedures are initiated via a percutaneous puncture in which a guidewire-catheter combination is inserted and advanced under fluoroscopic guidance. The fluoroscope emits X-rays generating a continuous series of images on the procedure room monitors showing the location of the guidewire and catheter within the patient. The fluoroscope is frequently attached by a C-arm that has two degrees of freedom in movement around a patient and is controlled with a joystick and/or foot pedals. The figure below shows a typical room for interventional radiology procedures.
Interventionalists, physicians and others who specialize in these minimally invasive, image-guided techniques, require extensive training periods to attain competency. Conventional training often uses animal models and then progresses on patients under the supervision by a certified interventionist. Mistakes naturally occur during this learning process putting patients at risk. It is believed that 1) there is a need for specialty-specific training, 2) competency is directly related to the number of interventions performed, and 3) it is very challenging to meet the training requirements while at the same time protecting patients from untrained practitioners.
Similar techniques are used to perform endoscopic procedures within hollow organs such as the bowel, biliary tree, airways, urinary tract, and the fluid filled structures of the skeletal and central nervous systems. In these uses, a long flexible endoscope is used to navigate through complex or tortuous anatomic structures with either video or fluoroscopic guidance, allowing eventual delivery of some therapeutic agent or device. The principles of navigation and intervention between these two domains are similar, including many of the same catheter/guidewire combinations, balloons and stents. Training programs for these endoscopic procedures follow a similar pattern to the methods described previously for interventional procedural training.
The exemplary embodiments contained herein will be more fully understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
a-d show incorrect connections produced in some conventional representations;
a is a pictorial representation of setting boundary conditions and
a-c show settings for respective limit values;
a is a schematic depiction of beam deformation and
a and 13b are pictorial representations of artificial boundaries;
a-d are pictorial representations of collision processing;
a-c are pictorial representations of catheter navigation inside a cerebrovascular network with collision detection and response in accordance with the present invention;
a, b, c are images of volume rendering for polygon slices, 3D texture, and final image, respectively;
a, b are synthetic X-ray images generated from a CT scan of a head;
a and 20b are images showing examples of combined X-ray and visible light rendering:
a-c show for sampling points along a medial axis mapping to a set of voxels defining the volume of the tubular structure;
a-f are schematic depictions of features of the tracking system of
In general, the present invention provides methods and apparatus for real-time computer-based simulation of vascular or visceral therapy and/or endoscopic surgery, which can be useful for training in these procedures. Various embodiments and features of the invention can include one or more of:
In one aspect of the invention, a system provides a real-time computer-based simulation of vascular therapy applicable to various interventional radiology procedures. It is understood that the invention is broadly applicable to interventional therapies in general based upon percutaneous access for flexible instruments with intracorporeal navigation. One goal of the inventive system is to replicate the operating room experience as closely as possible by duplicating the interface with actual equipment, including tracking catheters/guidewires/injections, and simulating the interactive fidelity of fluoroscopic images of the human anatomy with pathologic states.
Various features of the invention embodiments include catheter and guidewire finite element models, real-time one-dimensional fluid dynamics of blood flow, volumetric contrast agent propagation, high-fidelity synthetic fluoroscopic and angiographic images, and a robust compact tracking interface. In one embodiment, these components are developed and integrated into an interventional procedural training system. An educational curriculum including a library of pathologically relevant cases, a tutorial, and a set of metrics for performance assessment is formulated as well. The simulator can be optimized for real-time performance on an affordable personal computer platform. This will permit students to learn and err on a computer, so that interventional procedures are safer and faster.
A graphical interface 114 can be provided to enable a user to interact with the system and a haptic/tracking device 116 for various instruments can be coupled to the system, as described more fully below.
In one aspect of the invention, a hollow lumen structure, such as a structure in the human body, is described using a multi-representation model that permits a consistent and optimized representation of (part of) the circulatory, gastrointestinal, biliary, urinary, skeletal, nervous and/or respiratory system. It will be appreciated that other anatomical structures can also be described. This multi-representation model also provides support to certain simulation components, as described below.
As shown in
In an exemplary embodiment, initially a central path (or medial axis) 152 is defined through the center of the structure. Medial axes can be extracted from patient medical imaging scans with imaging processing algorithms, drawn by artists using three-dimensional modeling software, generated by statistical algorithms or synthesized though a combination of these techniques. Other techniques are also possible. A set of planar cross sections 154 orthogonal to the medial axes is created, describing a thin boundary slice through the structure exterior wall. Cross sections can also be constructed or extracted through a similar process as the medial axes and can be approximated by a circular or elliptical shape.
Describing a structure using a medial axis provides a number of advantages. For example, a smooth continuous bounding surface can be defined in the direction of the medial axis through the cross section boundaries. In addition, medial axes support the computation of information throughout the tubular anatomy, for instance, one-dimensional blood flow computation, using a connectivity graph derived from the medial axis representation, and contrast agent propagation computation using a set of sample points distributed along the medial axis. Further, medial axis representations provides a path that can be followed by devices such as catheters or guidewires when navigating through narrow structures, thus reducing the computational requirements for collision detection and collision response. Also, information, such as tissue properties, can be embedded and referenced along the medial axis.
As described above, hollow lumen structures can be described using a set of medial axes and series of cross sections. When the structure has a tree-like topology, it can also be described using a graph of medial axes and a series of cross sections. An enclosing surface can be generated which approximates the structure exterior or interior boundary.
In accordance with embodiments of the invention, a surface reconstruction method can generate a surface representation that is continuous (no holes or discontinuities), is smooth (surface normals are continuous) and requires a minimal number of surface elements to describe it. In addition, the surface model can accurately model regions where different tubular structures intersect, such as bifurcations for instance.
With such a representation, efficient collision detection and/or collision response algorithms can be developed; stable vessel deformation and real-time flow simulation can be performed, as well as multi-scale anatomical visualization. The inventive representation technique provides advantages over some known method in various exemplary areas:
Handling Directed Graphs with Loops and Multiple Roots:
One branch is allowed to have multiple parents and children. Tubular structures can form loops, e.g. circle of Willis. One branch can connect to a single branch forming a “1-furcation” as well. This is useful to construct a unified directed graph for multiple hollow lumen structures, both arterial and venous sides, for instance. Multiple trees can be reconstructed at the same time.
Parent Branch Selection Based on Angle and Radii Variance:
To patch the surface at vessel joints, the inventive algorithm defines at a parent branch with respect to the current branch and forms polygons to connect the parent surface and other joint branches' base meshes. Referring to
Adaptive Cross Sections Distribution:
The cross section distribution scheme considers both radii and centerline curvature as set forth below in Equation 1:
where xi is the curvilinear coordinate of the cross section center. ri and Ki are the corresponding radius and Gaussian curvature, respectively, obtained by linear interpolation between two adjacent initial samples points where α>0 is the desired spacing scalar and β>0 is the weight on curvature influence. After filtering, the centers of two adjacent cross sections are placed closer if the vessel is thin or turns. A straight branch does not need many cross sections to resemble its original geometry.
Robust Joint Tiling:
In one embodiment, the inventive technique connects every branch to its parent using both end segments regardless of the branching angles so that a single recursive joint tiling is needed. This technique can be referred to as “end-segment-grouping” unifying all the outgoing branches together such that the connecting patches connect the bottom of the outgoing branch's base mesh with both end segments of parent branches.
Without the inventive method, incorrect connections can be created using conventional techniques as shown in
The following pseudo-code algorithm illustrates an exemplary implementation of recursive joint tiling, i.e., the analysis of the medial axis orientation and the creation of a tile that will generate a minimally twisted surface.
In a further aspect of the invention, improvements in joint tiling are not just done in the parent centerline direction. Another method, called “adjacent-quadrant-grouping” uses two adjacent sides of the end hexahedron segments. When a child centerline lies close to the boundary of two quadrants, tiling with only one quadrant introduces twists. This artifact is eliminated by adding the neighboring quadrant into the tiling, e.g. Q0 and Q3 are grouped together as a whole when tiling Child(i) to the parent mesh (
Using the above techniques, an exemplary reconstruction scheme is able to handle generic medial axis sets, assuming they are represented as directed graphs. It is less prone to artifacts due to initial data sampling. It is also more robust to model any type of branching pattern. The reconstructed smooth vascular surface is suitable for the purpose of efficient and stable physics modeling, and smooth visualization.
In another aspect of the invention, the inventive simulation technique includes collision detection. In one embodiment, simulating the navigation through (a network of) tubular structures requires a tracking device in which actual instruments can be inserted, and a method for detecting contacts between the virtual representations of the anatomy and the medical device(s). While there are many approaches to the “classic” problem of collision detection (i.e. two objects moving toward each other collide), the inventive technique addresses in the case of (flexible) devices moving through anatomical tubular structures. Contact between the two objects is associated with a sliding condition, i.e., the angle between the path of one object and the surface normal of the other object at the point of contact is shallow. Moreover, when sliding occurs, the occurrences of contact are numerous, thus an optimal collision detection method is desirable.
To optimize the collision detection process it is assumed that the model of a device is a discretization of the real device, and that this discretization includes a set of points (or nodes) and other geometric primitives. Each device node is then mapped to a corresponding segment of the lumen model that it resides within. As shown in
Once the new segment associated with a device node has been determined, then an intersection test with the segment's surface elements is performed. If the device node is found to be outside, then a collision response module will integrate this information to compute the next configuration of the device and the tubular structure.
The surface representation is also processed to partition the list of surface elements into convex and non-convex (concave) sets. If surface elements are planar, this is a necessary step when computing the interaction between a flexible device and the surface of the lumen, as described further below.
Once a surface of the tubular structure has been defined, the volume defined by the surface can also be approximated by a set of volume elements. This can also be done for instance using Finite Element primitives such as tetrahedra, for computing complex flow of soft tissue deformation. Volume elements can also represent the density or concentration of gas or fluid within the lumen structure, and can be composed of space filling primitives such as spheres, cubes, or more generically voxels.
In general, the inventive multi-representation anatomical model of hollow lumen structures includes a graph of medial axes with corresponding cross sectional boundaries, a surface composed of surface elements which approximate the boundary of the structure, and a set of volume elements which define the interior space. For efficiency, the model is subdivided into small local regions so that a minimum number of entities need to be searched and processed for a desired operation. These local model regions will be called segments and they are defined as the space between two adjacent cross sections. Segments will include a section of the medial axis, a set of surface elements delimitated by the two cross sections, and also a discretized representation of the volume defined by the two cross sections and the local surface. Thus, the entire model can be visualized as a list of neighboring segments. At joint regions where several branches split, there will be overlap between neighboring segments so multiple segments will be searched in these regions. Base operations on segments can be, but are not limited to: collision detection and collision response based on enclosing surface element, fluid dynamics based on medial axis length, cross section and density distribution through the voxel elements, and fixed tracking on device models along medial axis within narrow branches.
In a further aspect of the invention, a technique is provided for real-time simulation of non-linear deformations of wire-like structures under a large number of holonomic or non-holonomic constraints, and the definition of such constraints to confine the flexible device inside a tubular shaped structure. Examples of this include (but are not limited to) catheters, guidewires, stents, coils, and flexible endoscopes. One of ordinary skill in the art will appreciate that providing realism on relatively affordable hardware while maintaining real-time computation is a desirable aspect of medical simulation.
To control the motion of a flexible device (catheter, guidewire or endoscope, for instance) within the tubular anatomy, the physician can only push, pull or twist the proximal end of the device. Since such devices are constrained within the patient's anatomy, it is the combination of input forces and contact forces that allow them to be moved toward a target. The main characteristics of wire-like structures that an ideal model should try to replicate include geometric non-linearities, high tensile strength and low resistance to bending.
In an exemplary embodiment, such devices are modeled as a finite set of linearly elastic beam elements. The choice of beam elements for modeling devices such as catheters, guidewire, endoscopes or even coils, is natural since beam equations include cross-sectional area, cross-section moment of inertia, and polar moment of inertia, allowing solid and hollow devices of various cross-sectional geometries and mechanical properties to be modeled. One issue of this model is its limited ability at representing the large geometric non-linearities of the catheter or guidewire that occur during navigation inside the vascular network. In one embodiment, a method allows for highly non-linear behavior while providing real-time performance. Additional optimizations based on substructure analysis are also added to the initial beam model to permit even faster computation times, for interactive navigation with haptic feedback.
To model the deformation of a catheter guidewire, a representation is based on three-dimensional beam theory, where the elementary stiffness matrix Ke is a 12×12 symmetric matrix that relates angular and spatial positions of each end of a beam element to the forces and torques applied to them. A description of the local stiffness matrix [Ke] for a linear elasticity formulation is well known in the art. For the entire structure describing a catheter or guidewire, the global stiffness matrix [K] is computed by summing the contributions of each element, thus leading to the following equilibrium equation in the quasi-static case:
[K]U=F
where [K] is a band matrix due to the serial structure of the model (one node is only shared by one or two elements), and U represents a column matrix of displacements corresponding to external forces F. The matrix [K] is singular unless some displacements are prescribed through boundary conditions. Such boundary conditions are naturally specified by setting the first node of the device (base node) to a particular translation or rotation imposed by the user. There is, however, a drawback in using directly such a model: it is linear and therefore cannot represent the geometric non-linearities that a typical wire-like object exhibits.
In an exemplary embodiment, the system updates [Ke] at every time step, by using the solution obtained at the previous time step. The new set of local stiffness matrices are then assembled in [Kt]. Here, the initial configuration is not used as the reference state, but instead the previously computed solution is used. By controlling when each new [Kt] is going to be computed, one can ensure one remains in the linear domain for each incremental step, leading to a correct, global deformation. One potential drawback of this approach is that the model could exhibit an inelastic behavior, i.e. in the absence of forces or torques, the model would only return to the previous state, not the reference configuration. This problem can be overcome by computing a force Ft defined as Ft=−λ[Kt](Xt−X0) with 0<λ≦1. This force is added to the external forces F before solving the linear system, and it can be shown that it acts as a damping force, where a relates to the damping coefficient of the model.
To simulate accurately a device such as a guidewire, a catheter or an endoscope, one needs to have a large number (e.g., several hundreds) of beam elements in the model. Although solving large linear systems can be done in near real-time using iterative methods, real-time computation on a standard workstation is no longer possible when integrating non-holonomic constraints. To improve speed and handle accurately collision response, optimizations can be used as described below.
To optimize the computation of a wire-like object composed of multiple beam elements, one can decompose the object in a set of substructures. Each substructure can be constituted of one or several beam elements, and is analyzed independently, assuming that all common boundaries (joints) with the adjacent substructures are fixed. By doing this, each substructure is isolated from the rest of the model. In a second phase, the boundary conditions are relaxed by propagating from the base to the tip of the catheter. The actual local compliance is determined from equilibrium equations at each boundary joint. The total deformation of the structure can be calculated from the superposition of two computations (one with boundaries fixed, which isolate every structure, allowing a good reducing of computation, and an other computation for correcting the first one by relaxing the boundaries)
[U]=[U(α)]bdfixed+[U(β)]correction
[F]=[F(α)]bdfixed+[F(β)]correction
Nodes are also split into two categories: boundary nodes and internal nodes.
When applying boundaries conditions to the first node of each beam, one obtains Ub(α)=0. Then, the local displacement of an internal node is:
Ui(α)=[Kii]−1Fi(α)
The reaction on the boundary due to this local displacement will be:
When relaxing boundary conditions, the external force applied on an internal node i has already been taken into account, therefore Fi(β)=0 and:
Ub=[Kbb—KbiKii−1Kib]−1Fb(β)
This leads to Fi(α)=Fi. The opposite of the reaction on the boundary will be added to the external force to compute the final displacement of the boundary nodes:
As the value of Fb(α) depends only on Fi, the matrix [Kbb—KbiKii−1Kib]−1 gives the value of the global flexibility (or compliance) on the boundaries. This result is obtained without inverting the whole matrix [K], which reduces greatly the computation. Indeed, even the computation of the Kii−1, that could appear costly if the internal nodes are numerous, can be handled with a sub-substructure strategy, as illustrated in
After the first computation, described above, one knows the global flexibility at the boundary of the first substructure. Then, a second recursive computation gives the global flexibility at the internal nodes, and their actual displacement:
Ui=[Kii−1+H2Kb−1H1]−1Fi+H2Kb−1Fb (9)
The local flexibility at each node is required for collision response. This local flexibility also allows speed-up of the computation of the displacement U corresponding to different loads F if [K] remains the same. Two exemplary algorithms illustrating this process are shown in
These algorithms use an accumulation strategy by going through the various levels of substructures. The force accumulation process takes into account the mechanical coupling from the finer substructures on the coarser substructures. The second process accumulates displacements from the coarser substructures to the finer substructures. For wire-like objects composed of serially-linked elements (such as catheters, guidewires), the substructure strategy permits solving the entire structure efficiently. Each joint between two elements will then be considered as a boundary.
As shown in
When a device such as a guidewire is inserted with a tight fit inside a device such as the catheter, the overall shape of both devices is modified due to a change in the bending stiffness and bending moment in the overlapped portion. Such a situation can also occur when a catheter or guidewire moves inside a vessel of small diameter. The region where the catheter and guidewire are coaxial offers a stiffer resistance to transverse loading. This meaningful visual cue can be simulated as a fiber reinforced composite material. The transversal stiffness of the overlapped region will be modeled with the well-established empirical expression, the Halpin-Tsai equations:
where f is the ratio, in the overlapped section, of the guidewire volume over the volume of the guidewire-catheter combination; ξ is a function of the material properties and geometry of the instruments; and Eguide or Ecath describe the stiffness of the guidewire or catheter. Lookup tables describing typical values of ξ under different composition configurations are well known in the art. The stiffness for the overlapped section is updated in real-time and the both models reflect this change, accordingly. By using this approach, one can for instance represent the catheter-guidewire combination as a particular implementation of the initial catheter model. In addition, this allows one to avoid computing the collision between the two objects, as they are treated as a single composite model.
Visualization of the composite model is based on the definition of a curvilinear coordinate that determines the position of the inner device distal end relative to the outer device distal end as illustrated in FIGS. 10A-C, which show three possible settings associated with different values of the curvilinear coordinate.
Typically, if ‘limit’ is the value of the curvilinear coordinate, then a change in the value of ‘limit’ happens only when one of the devices is pushed or pulled. By doing so, it changes the existing relation between the two nested devices. Assuming the translation of a device is described by a signed value ‘translation’, an exemplary implementation to update the value of ‘limit’ is:
Both nested devices can be rendered as generalized cylinders. This technique creates smooth surface representations of cylindrical shapes defined as a skeleton (in our case the set of beam elements) and a set of cross sections. Moreover, this technique can be optimized on state of the art graphics hardware.
By combining the inventive generic representation of a hollow lumen with the inventive real-time generic beam model one can also model and simulate the deformation of virtually any tubular structure, thus taking advantage of the characteristic and fast computation rates of the approach described below. By doing so, one can represent the deformation of devices such as stents, balloons, and also some local deformation of anatomical structures that have a tubular shape.
Therapeutic devices include, for instance, stents, angioplasty balloons, distal protection devices, or coils. For devices that have a similar geometry to a generalized cylinder, such as balloons and stents, a real-time finite element model of wire-like structures can be combined with generic modeling of tubular shapes to provide an efficient and flexible way to model a large range of devices.
As illustrated in
The displacement [Us] of a surface point Ps is defined as a linear combination of two deformations, one due to the beam deformation [Us](b) and one local deformation [Us](l):
[Us]=[Us](b)+[Us](l)
where [Us](b) is directly obtained from the beam model by interpolation of the displacement [Ub] of the n beam nodes, as describe by the following equation:
[Us](b)=Σin=0wiUbi=[H][Ub]
The beam model gives the relation between forces [Fb] and displacements [Ub] of beam nodes:
[Ub]=[Kb]−1[Fb]
Then, the forces [Fs] applied on the surface point are distributed to the different beam nodes using the transpose matrix of [H], [H]T:
[Fb]=[H]T[Fs]
Then a local deformation model gives also the relation between local motion displacement [Us](l) and forces applied to surface point.
[Us](l)=[Klocal]−1[Fs]
Using compliance (flexibility) formulation one can combine the two contributions:
[Us]=([Klocal]−1+[H][Kb]−1[H]T)[Fs]
As shown in
Then a list of points sampled is distributed on the surface of the device, which will be used for collision detection purpose. These points are called “collidable points” 206 and will be used in the collision detection/collision response process similarly as discussed below.
During navigation or when therapeutic devices are deployed, a local deformation of a vessel, or in general any anatomical tubular structure, can occur. To model this deformation, in an exemplary embodiment, an approach similar to the one described above can be used. When contacts occur between a medical device and the surface of the anatomic structure, a contact force is computed, on the basis of the mechanical properties of the device and the tissue properties of the anatomy. The force is then applied to both objects in contact, and their deformation will occur according to the equations described above. The difference in behavior will be a function of the matrix [Klocal] which takes into account the radial stiffness of the vessel wall.
When the structure is a blood vessel, a change in its geometry can have an impact on blood flow, for instance when a stent is placed at the location of a stenosis, the blood flow increases through the rest of the vascular network beyond that point. This change in resistance to blood flow is taken into account by a flow computation component, which is described below.
Collision detection involving one or more deformable structures is challenging, as is the problem of collision response. If collision response is not handled correctly it can be source of visual and haptic incoherencies. Further, when sliding occurs at the point of contact (when a catheter is advanced within an artery for instance), most conventional methods will not correctly constrain the deformable body. Penalty methods require the definition of a post-contact force that will attempt to constraint the model within the lumen. One issue with this approach comes from the difficulty of scaling the force in order to limit oscillations of the model at the point of contact, preventing the instrument from bouncing between the inside and the outside of the boundary defined by the tubular structure. This problem can be solved generally by directly constraining the position of the nodes in the FEM model instead of applying contact forces. A typical method includes adding Lagrange multipliers when solving the system of equations describing the catheter or guidewire undergoing a deformation. However such an approach cannot deal directly with non-holonomic constraints, as is the case when a flexible device slides along the surface of a tubular structure.
In an exemplary embodiment, as illustrated in
For each collidable point on the surface of the flexible device, the collision detection algorithm returns a list of intersected triangle(s). Each triangle defines a linear constraint for the contact response process. Each linear constraint can be seen as an infinite plane that constrains the node of the deformable model to a half space. However, particular care has to be taken when the constraints for a given node are not complementary, i.e., when the set of triangles local to the intersected triangle do not form a convex set, which can result in sliding along artificial constraints (as illustrated in
To address this issue, an inventive approach is based on bounded planes and convex sets of triangles. For each intersected triangle, a convex set of local triangles is found using the optimized anatomical representation described above. The node is then constrained within the sub-space defined by the convex set of triangles as shown in
In
An exemplary implementation illustrating steps of the process is described below:
a-c show catheter navigation inside the cerebrovascular network. Complex, non-linear deformations are correctly represented by the inventive incremental FEM model. Collision detection and collision response allow the catheter to stay within the lumen.
Visual feedback is the perception channel that is most used in many medical specialties, and is considered by far the dominant channel in interventional radiology or endoscopy. The quality of visual rendering greatly influences user immersion and therefore the effectiveness of the simulation system. Whether the training system is used for navigation, diagnostic or therapeutic purpose, visual feedback remains essential.
Described below are two different types of rendering: visible light rendering and fluoroscopic rendering. The first is aimed at replicating the view of the anatomy as perceived by the human eye or a camera, the second uses simulated X-ray processing to replicate the imaging technique used in interventional radiology and some cases of surgical endoscopy. Both methods described below are optimized for fast rendering, thus allowing visualization of more detail in real-time, and therefore improving the quality of the visual feedback.
Rendering and shading of anatomical models under ordinary lighting conditions can be accomplished in hardware on the GPU using the standard OpenGL API, for example. Rendering usually involves computing a simplified bidirectional reflectance distributed function to determine the amount of light reflecting from the computer model surface into the viewer's orientation. Besides shading, models can also be texture mapped for more realism.
In another aspect of the invention, various rendering modes of the anatomy are implemented that can be used for different purpose. Using a combination of smooth shading and transparency can help visualize a medical device as it navigates through the anatomy. When simulating endoscopic procedures, texture mapping combined with bump mapping techniques can greatly enhance the visual realism and reproduce some of the texture variations associated with changes in soft tissue properties.
A real-time rendering engine of the present invention is a novel interactive volume rendering approach for the simulation of fluoroscopic X-ray images directly from patient specific volume datasets such as Computed Tomography (CT) or Computed Tomography Angiography (CTA). Previous methods have used segmented surface models but these are tedious to generate and lack the complexity of human anatomy. Simpler algorithms have used real X-ray images as a backdrop to the virtual scene but this severely restricts interactivity.
Using the standard OpenGL rendering library and standard graphics hardware, the inventive technique can display actual patient volumes directly using three-dimensional texture maps, as well as integrate traditional geometric primitives for catheter, guidewire and other devices. A ray casting rendering method uses a specific accumulation blending algorithm to implement X-ray attenuation process using Beer's law:
I=I0e−μd
where I the output intensity is a function of I0 the input intensity, μ the coefficient of linear attenuation of the material, and d the traversed depth of material. Differences in linear attenuation coefficients among tissues are responsible for X-ray image contrast.
One step of the algorithm recovers the μ attenuation coefficients from the original Hounsfield units (H) of a Computed Tomography image by adjusting it to the attenuation of water and air:
μ=(H*(μwater−μair))/1000+μwater
The resulting μ values are stored into an OpenGL volumetric texture map. The volume rendering algorithm creates a set of parallel evenly spaced (separated by thickness d) polygons or slices within the attenuation volume which can be rendered and blended in order to simulate X-ray beam attenuation at a given user's viewpoint as shown in the images shown in
This can be accomplished, for example, by using the function glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE) on the μ values stored as texture alpha values (GL_ALPHA) multiplied by the thickness value. As a result, the alpha color channels of the textured slices contain the cumulative product pd. The source of the X-ray beam is simulated by a white (RGB={1.0, 1.0, 1.0}) plane drawn on the background of the scene with the blending function glBlendFunc(GL_ONE, GL_ZERO). This sets the values of the destination buffer with the values of the plane: I0 Then, the final step consists in attenuating the beams emitted by the source with the proper algorithm. This is done by using the blending function glBlendFunc(GL_ZERO,GL_ONE_MINUS_SRC_ALPHA). For each color channel C, the blending process in OpenGL is defined by:
Cd(n+1)=Cs. Sc+Cd(n).Dc
where Cd(n+1) and Cd(n) are the value of the channel in the destination buffer at steps (n+1) and (n), Cs is the value of the channel in the source buffer, and Sc and Dc are respectively the blending factors of the source and destination. The function glBlendFunc(GL_ZERO,GL_ONE_MINUS_SRC_ALPHA) defines Sc=0, and Dc=(1−αs), where αs is the value of the alpha channel of the source. Since the slices are drawn from back to front, each slice number n defines the values of the source buffer at step n. According to what has been stated before, one can deduce that the value as equals to μd. Then, the previous equation becomes:
Cd(n+1)=Cs.0+Cd(n).(1−αs)=Cd(n).(1−μd)
Since Cd(0)=I0, then Cd(1)=Cd(0). (1−μ0 d)=I0. (1−μ0 d)=I1, and so on . . . In represents the intensity of the original X-ray beam I0 attenuated by traversing the n slices, which define the attenuation properties of the physical materials, along the path of the beam.
With sufficient texture memory, this rendering technique can be optimized on the graphics processing unit (GPU) to produce rendering speeds of 50 frames per second with a 5123 volume. To accelerate the rendering even further, one can limit the computational requirements imposed to the graphic card when the data set is observed from a temporary static point of view. This is done by rendering the volume into a two-dimensional texture (or P-buffer), and then by compositing this 2D texture with the other geometric primitives to be rendered. The final image cannot be differentiated from one that would be computed at each frame using a 3D texture, but can be rendered at a higher frame rate (60 images per second or more), while requiring very limited resources from the GPU. This permits in turn to use the available resources for other rendering purpose, such as described below.
Collimation, used in interventional radiology to reduce the area exposed under X-rays, is simulated using a stencil buffer, a typical feature of common 3D graphics cards. Stencil rendering takes place before rendering on the screen. When activated, the stencil buffer acts as a mask, only allowing certain pixels to be rendered on the screen. Using this technique, one can define interactively a circular mask, and other more complex shapes as shown in
In an exemplary embodiment, road maps are created by using Digital Subtraction Angiography (DSA), e.g., by subtracting a saved fluoroscopic image from a current one. When contrast agent is injected through the vascular network and the corresponding fluoroscopic image is saved and then digitally subtracted from any new image, only the vascular system remains visible, as well as the devices that are advanced through the vascular system. This is what defines a road map. Such road maps can be simulated by saving the current simulated fluoroscopic view as 2D texture and subtracting it from any future fluoroscopic view. This subtraction is implemented using a specific blending operation. The end result is the same as a DSA, and can be implemented in real-time on any current 3D graphics card. An example of such a DSA is illustrated in
The inventive X-ray rendering generates real-time synthetic X-ray images directly from CT/CTA volume datasets or other volumetric image modality. The generated images are nearly indistinguishable from real fluoroscopic images. The rendering algorithm is based on volume rendering and multi-texturing techniques. The algorithm runs on affordable commonly available graphics hardware, it is scalable and uses multi-resolution refinement based on the user's selections and available rendering resources. Most typical features of real fluoroscopes used in interventional radiology can be simulated, like for instance collimation, or road mapping.
In the context of interventional radiology, although a physician can only see the anatomy through a series of X-ray images (which do not always permit distinctions between different anatomical structures and are only two-dimensional), training simulators have the flexibility of augmenting the visual feedback by, for instance, displaying anatomical models using visible light. By compositing synthetic X-ray rendering with visible light rendering techniques, an augmented view can be created which is not achievable during an actual procedure. This “augmented reality” display has obvious educational advantages as it teaches the spatial and functional anatomical relationships.
a,b show two examples of this concept where a synthetic X-ray image is combined with a three-dimensional model of the arterial vascular network, displayed using visible light rendering.
Simulating respiratory and cardiac motion is desirable since they both influence the visual feedback and the navigation through the anatomy. It is represented as a volumetric deformation, which is controlled by specifying a cyclic, time-dependent displacement of a set of control points on a three-dimensional grid. From the deformation of the grid, the displacement of any point inside the bounding box defined by the grid can be computed. Examples of volumetric deformation schemes include, but are not limited to, Free Form Deformation or three-dimensional splines. The three-dimensional grid does not need to be regular; therefore more local deformations can be specified at certain anatomical locations. The deformation of the tree-dimensional grid can very easily be used to control the deformation of the volumetric texture used for rendering the fluoroscopic images, since each slice on which is mapped a section of the texture can be deformed, thus inducing a deformation of the texture. The deformation of any tubular anatomical model can also be represented using a similar principle, by computing the deformation of the medial axis representation, which will then induce an update of the surface and volume representations. These transformations can be computed in real-time. In addition, since the topology of the medial axis is not changed, there is no impact on the computation of the contrast agent propagation, or collision detection, since they only rely on curvilinear coordinates. Finally, the motion of any device navigating within the anatomy will respond to the deformation thanks to the collision detection and collision response algorithms.
In another aspect of the invention, real-time simulation of three-dimensional angiography is provided. To compute blow flow throughout a complex vascular network in real-time one can rely on a one-dimensional Finite Element representation. The vasculature is modeled as a one-dimensional graph composed of finite elements defining the length of a vessel between two bifurcations. This graph is easily derived from the medial axis representation described above. Each element is defined with a radius equivalent to the average radius of the vessel and a length identical to the length of the three-dimensional vessel. In this modeling scheme, blood flow is treated as an incompressible viscous fluid flowing through a cylindrical pipe. The resulting equation, called Poiseuille's law, relates the flow [Q] in the vessel to the pressure gradient ΔP, viscosity of the fluid η, radius r, and length L of the vessel:
This is analogous to a resistive network in which the resistance would be a function of the length and radius of the vessel. This presented model leads a set of linear equations and constraints in the form:
[Q]=[P]/[R]
where [P] is the pressure at each node, [R] is the equivalent resistance of the vascular system, and [Q] is the flow through each node of the graph. Solving for [P] with a known, time-varying value for the flow at the parent node and a set of boundary conditions defining known pressure values at terminating nodes, will provide a value for the pressure at each node. Then, using Poiseuille's equation, the flow through each branch is computed in real-time. Since [R] does not depend on the geometry of the vascular network but only its topology and radius information, [R] can be pre-inverted thus highly improving computation times. If the radius is altered due to a simulated angioplasty of stenting, the inverse of [R] is then recomputed using a Sherman-Morrison formula for instance, which is more efficient than a full inversion.
Contrast agents, also known as contrast media or dye, are often used during medical imaging examinations to highlight specific parts of the body and make them easier to see under X-ray, CT, and MRI. Upon injection, the contrast agent mixes in the blood stream and circulates throughout the vasculature. The X-ray beam is highly attenuated by the iodinated fluid, resulting in high contrast between the vessel lumen and the surrounding unopacified tissue.
In a further aspect of the invention, a real-time algorithm computes contrast agent propagation using a one-dimensional advection-diffusion model to determine the concentration distribution of contrast agent in the vasculature upon injection. Features of the algorithm include:
To further improve the simulation performance, another optimization strategy is designed to bypass the distribution update on a vessel when the concentration of contrast agent is inferior to the rendering threshold, because the color depth of the X-ray process will not be able to differentiate that value from zero. This is achieved by checking whether the maximum norm of the contrast agent concentration value at each sampling points is larger than a predefined threshold ε:
if Cmaxn(i)<ε, then there is no need to update the concentration distribution of vessel i at discrete time stamp n. The technique guarantees only to compute contrast agent propagation in a vessel when necessary. Pseudo code to implement the function simulating the propagation in the vascular network is set forth below and shown in
In another aspect of the invention, a real-time algorithm computes contrast agent propagation that updates a volumetric representation of the vascular network. This approach improves greatly the realism of the visual feedback compared to methods based on polygon-based representations. The solution of the advection-diffusion equation gives the concentration value of contrast agent at every sampling point along the medial axis of the vascular network, as shown in
Im,j=I({tilde over (α)}Cmn+(1={tilde over (α)})Cm+1n)
where Im,j is the intensity value of the jth voxel mapped to sampling point xm which contrast agent concentration value is Cmn. In this formula, xm and xm+1, are the two closest sampling points to voxel (m,j). The weight {tilde over (α)} in the above formula consists of two parts: a definitive ratio α and a random incremental rand. α represents the ratio of the Euclidean distances from the voxel to the sampling point:
where d(vm,j, xm) is the Euclidean distance between voxel vm,j and the sampling point xm on the vasculature graph. rand is a random value ranging from −0.1 to 0.1. Directly applying α creates a uniform rendering pattern in the surface symmetric around the local tangent of a vessel's medial axis. The additional randomness effectively improves rendering realism in a very efficient way. Performing voxel intensity interpolation provides a smoother, more natural visual feedback of contrast agent propagation. While the choice of linear interpolation is governed by real-time constraints, other interpolation schemes, and/or using more neighbor sampling points, can also be implemented.
The update of the volumetric representation of the propagation is rendered seamlessly by combining the three-dimensional fluoroscopic texture with the volume of data corresponding to the contrast agent. One embodiment uses a three-dimensional texture which coordinates are mapped to sample points of the medial axis. Another embodiment maps each sampling point to a set of particles (three-dimensional spheres or disks) that also represent as discretization of the volume of the vascular network, as described above. The combination of particle rendering and volumetric texture rendering enhances the level of realism of the visual feedback while maintaining real-time performance.
In a further aspect of the invention, a tracking interface 360 for endoluminal instruments is provided as shown in
The tracking system 360 includes dual optical encoder housings 36a,b, (one could be used), a rigid curved pathway 364, and passive haptic femoral phantoms 366a,b merging to a spiral attachment point 368. In an exemplary embodiment, the system further includes a catheter sheath 370 coupled to the pathway 364 and an attachment point for a guidewire encoder 372.
The tracking system 360 utilizes a number of optical sensors arranged along the path of a pair of nested endoluminal instruments to provide position data and haptic feedback to the system. This system returns the position of both the guidewire and guide catheter for use in a neuroendovascular simulator for diagnostics and stent placement simulation. In other embodiments, the tracking system has the ability to track the position of flexible endoscopes. The inventive embodiments will describe the implementation of a catheter/guidewire tracking application.
The tracking device 360 relies on a set of non-contact miniature optical encoding devices 374 which accurately track the translation and rotation of two nested original endovascular instruments resulting in a more compact and robust method of instrument tracking, without requiring modification to the instruments. There are two tracking units per side of the system: one to track the catheter, one to track the guidewire.
The catheter unit forms the base of the device, while the guidewire unit is tethered to the end of the catheter where a stopcock or manifold would typically be attached. This combination allows the tracking system 360 to maintain a minimal footprint and thus can be wholly contained within a human form (
Access to the virtual vasculature is gained through a standard sheath inserted on either the left or right tracking device, the arrangement of which has been designed to match that of the real femoral arteries. This sheath is fixed in place with a small setscrew that applies pressure to a cylindrical plate to evenly apply pressure to the sheath surface without deforming it. Once a real catheter is inserted into the sheath, the simulator starts tracking the instrument's motion.
In an exemplary embodiment, the distance between the two encoders entry access points is approximately 6.25″. As the catheter passes through the encoding unit, it is angled at approximately 10 degrees prior to exiting the encoding section to accurately mimic the angles of the actual arteries in the legs. Passive haptic feedback—friction along the iliac arch—is provided by a set of anatomically correct fluoropolymer tubing phantoms 366a,b. In an exemplary embodiment, the tubing has an outside diameter of 5/16″ and an internal diameter of 3/16″ and is made from Virgin Electrical Grade Teflon® PTFE. These tubes have a complex serpentine shape to match that of the femoral arteries as they bifurcate from the umbilicus. From a vertical plane, this shape is a sinusoidal wave that is contained within a 3.00″ by 3.50″ rectangle. From a horizontal plane, the sine wave is contained within a 3.25″ by 2.75″ rectangle. Due to the flexible nature of the tubing, the exact shape of this phantom is not overly important, however the entrance and termination vectors should be parallel to ensure smooth movement of the instruments.
The exit distance of the encoding devices is 6.00″ in an exemplary embodiment which is also the entry distance between the two phantom tubes. After the s-curve of the phantom tubes 366, they terminate at a distance of 7/16″ from their center points, the normals of which are aligned in parallel to those of their entry vectors. Each tube is held firmly in place with friction from the spring-like compression of the Teflon tubing and has 0.50″ of surround material to provide a firm base to avoid damage during typical use.
Once through the iliac arch, the present simulator then relies on a high-fidelity visualization to provide “visual haptic feedback” to the user throughout the remainder of the training session. The phantom tubes 366 provide the majority of the friction and haptic sensation experience in a real procedure simply, cost-effectively, and without the use of motors, gantries, or the complex arrangements typically implemented in other tracking systems.
In an attempt to contain the complete tracking system within a human-scaled form factor, in an exemplary embodiment a novel method of dealing with the instrument once is passes through the tracking units. Attached to the end of the Teflon femoral phantoms 366 is a horizontal spiral 367 (
Once a catheter or guidewire is inserted into a tracking unit, it passes through a slightly curved channel 362 whose midpoint is directly under the focal plane of the optical sensors 374. This arc can vary in size. In an exemplary embodiment, a diameter of about eleven inches provides adequate pressure without binding the catheter. From end to end, this arc should be approximately three inches long. As shown in
The curved geometry of the channel allows a variation of diameter sizes for the endoluminal devices, as shown in
In order to keep the sensing pathway clean and unobstructed, an optically-pure focusing screen separates the catheter or guidewire from the optical encoder. This focusing screen should be 1/64 inch thick and approximately 1.00″W×3.00″ L. This focusing screen can be held in place with either adhesive or with a mechanical system. Adhesives would prevent the glass from breaking due to over tightening. In one embodiment, each entrance and exit to the sensing pathway is conical and free of edges or areas where the tip of the instrument could get snagged or hung up. Because this pathway is smooth and gradual, no modification to the tips of the instruments is necessary. This allows tracking of various endoluminal devices.
The tracking interface in this invention provides enhanced accuracy for tracking catheter and guidewire movement, while relying on a more robust and flexible mechanical operation, and a more cost-effective solution compared to known designs. The accuracy of the tracking device, as well as its ability to track both catheters and guidewires of various sizes ranges from about 0.5 mm to 3.5 mm.
The inventive device 360 for endoluminal tracking can be mounted to a human-scaled torso if desired, as shown in
Interventional radiology an/or endoscopic simulators can include one or more of the above-described components. Simulators in general should maintain system-wide real-time performance. In addition, to be cost effective, they should use commercial off the shelf, affordable hardware.
An interventional radiology simulator can include one or more of multi-representation vascular anatomical model, catheters and guidewire models based on wire-like deformable structure, therapeutic device models using real-time tubular deformable representation, include a collision detection/collision response component, blood flow computation associated with contrast agent propagation, fluoroscopic rendering, potentially simulation of cardiac and respiratory motion using volume deformation, and a tracking or haptic interface.
A surgical endoscopy simulator may have a slightly different set of components. One difference would come from what anatomy or which devices would be represented using the models described above: multi-representational models, flexible endoscope models with collision detection and collision response, visible light rendering or possibly synthetic fluoroscopic imaging, a tracking device scaled for larger instruments.
Therefore, simulating different procedures would involve mostly modeling the appropriate anatomical structures and the corresponding devices. The first stage relies on the generation of a graph of medial axes and associated cross sections. As described above, a smooth surface and volume representation would then be generated on the basis on the medial axis representation. If a database of medical devices were to be designed to include many flexible instruments such as endoscopes, catheters, guidewires, stents, etc., then a large number of training systems could be developed using the inventive approach, benefiting from consistency, real-time performance and high-fidelity visual and haptic feedback.
One advantage of such a system for medical training stems from the ability to provide realism in a clinical context: physician trainees will learn to recognize anatomic detail and patterns in a manner that most closely resembles what they will encounter in practice. However, the ability of such a design to take the user into a realm where they are otherwise unable to go, to “augment reality” rather than merely reproducing it, allows a more powerful method of learning than has previously been possible, when patients served as teaching materials. Intelligent simulation design allows several solutions to be generated from one design method, allowing these advantages to be shared across several specialties.
Simulation systems should be combined with a medical curriculum to be effective. This can be accomplished by creating a library of pathologically relevant cases, devising a tutorial, and accessing the clinician's performance. A pathology case library can be created through the direct segmentation of relevant patient scans or by modifying a generic model to present a “typical” pathology case. Pathological states such as blockages, aneurysms, polyps, to name a few will be represented. A tutorial describes the key aspects of a procedure such as relevant information to perform a diagnostic and proper therapeutic approach.
A set of performance assessment metrics can be developed that track specific physical parameters in a simulation system—deviation of a device from its optimal path of motion, for example, or force exerted on a structure. Although the specific parameters required for performance assessment of vascular/endoscopic procedures is different from laparoscopic surgery, the same fundamental approach can be used. Once the specific parameters are defined and recorded by the simulation system, they will be compared to an expert database using a measure derived from the Z-score, for example. Such a method has proved successful in discriminating expert from novice performance. Relevant metric parameters would be path length, rotation, tip angle, and tip force. Since a significant part of procedures is cognitive as well as physical, metrics of technical performance might not correlate entirely with the overall performance assessment.
One skilled in the art will appreciate further features and advantages of the invention based on the above-described embodiments. Accordingly, the invention is not to be limited by what has been particularly shown and described, except as indicated by the appended claims. All publications and references cited herein are expressly incorporated herein by reference in their entirety.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US05/28594 | 8/10/2005 | WO | 2/2/2007 |
Number | Date | Country | |
---|---|---|---|
60600188 | Aug 2004 | US |