Methods and systems for visualizing shapes of tracked devices
11253168 · 2022-02-22
Assignee
Inventors
Cpc classification
A61B5/065
HUMAN NECESSITIES
A61M25/01
HUMAN NECESSITIES
A61B2034/2061
HUMAN NECESSITIES
A61B34/20
HUMAN NECESSITIES
International classification
A61B5/06
HUMAN NECESSITIES
A61M25/01
HUMAN NECESSITIES
Abstract
The present invention relates to a method and system of visualizing a first sensed shape of a first elongated device (14) having a first) length and a second sensed shape of a second elongated device (16) having a second length. The first elongated device (14) and the second elongated device (16) are physically linked to one another over at least a part (28) of the first and second lengths. The first sensed shape and the second sensed shape have been obtained independently of each other. The method comprises the steps: providing one of the first and second sensed shapes as a reference shape and the other of the first and second sensed shapes as a linked shape; determining along the reference shape and the linked shape an overlap region in which the reference shape and the linked shape should match due to a physical overlap of the first and second elongated devices (14, 16) in this region; copying, in the overlap region, an overlap region reference shape portion to an overlap region linked shape portion so that, in the overlap region, the linked shape is visualized as matching the reference shape.
Claims
1. A method of visualizing a first sensed shape of a first elongated device having a first length and a second sensed shape of a second elongated device having a second length, the first elongated device and the second elongated device being physically linked to one another over at least a part of the first and second lengths, the first sensed shape and the second sensed shape having been obtained independently of each other, the method comprising: providing one of the first sensed shape or the second sensed shape as a reference shape and another of the first sensed shape or the second sensed shape as a linked shape; determining along the reference shape and the linked shape an overlap region in which the reference shape and the linked shape should match due to a physical overlap of the first and second elongated devices in the overlap region; and copying, in the overlap region, an overlap region reference shape portion of the reference shape to an overlap region linked shape portion of the linked shape so that, within the overlap region, the linked shape is visualized on a display as matching the reference shape.
2. The method of claim 1, further comprising adding linked shape portions outside the overlap region to the overlap region reference shape portion to provide a full length visualization of the linked shape.
3. The method of claim 1, further comprising performing a Procrustes-based coordinate transformation of the linked shape.
4. The method of claim 1, wherein providing one of the first sensed shape or the second sensed shape as a reference shape and the other of the first sensed shape or the second sensed shape as a linked shape comprises calculating a smallest first distance (SD.sub.RefToLinked) from a tip of the reference shape to the linked shape, and calculating a smallest second distance (SD.sub.LinkedToRef) from a tip of the linked shape to the reference shape.
5. The method of claim 4, wherein the overlap region reference shape portion is copied to the overlap region linked shape portion only when a smaller one of the smallest first and second distances (SD.sub.RefToLinked, SD.sub.LinkedToRef) is below a predetermined error threshold.
6. The method of claim 4, wherein determining the overlap region comprises determining a linked shape hub point index along the linked shape as a proximal starting point index of the overlap region with respect to the linked shape, and determining a reference shape hub point index as a proximal starting point index of the overlap region with respect to the reference shape.
7. The method of claim 1, wherein determining the overlap region comprises determining a tip shift vector, when a linked shape tip of the linked shape protrudes beyond a reference shape tip of the reference shape, and wherein copying the overlap region reference shape portion to the overlap region linked shape portion comprises translating a linked shape tip portion of the linked shape according to the tip shift vector.
8. The method of claim 1, further comprising, before copying the overlap region reference shape portion to the overlap region linked shape portion, checking that all points of the linked shape in the determined overlap region fall within an array size of the linked shape.
9. The method of claim 1, further comprising, before copying the overlap region reference shape portion to the overlap region linked shape portion, checking that at least a part of the linked shape is within a threshold distance from the reference shape.
10. A system, comprising: a first elongated device having a first length and a second elongated device having a second length, the first elongated device and the second elongated device being physically linked to one another in an overlap region over at least a part of the first and second lengths; a shape sensing system for individually shape sensing the first elongated device and the second elongated device to provide a first sensed shape of the first elongated device and a second sensed shape of the second elongated device; and a computer having a non-transitory storage medium for storing instructions that, when executed by the computer, cause the computer to: provide one of the first sensed shave or the second sensed shape as a reference shape and another of the first sensed shape or the second sensed shape as a linked shape; determine along the reference shape and the linked shape the overlap region in which the reference shape and the linked shape should match due to the physical linking of the first and second elongated devices in the overlap region; and copy, in the overlap region, an overlap region reference shape portion of the reference shape to an overlap region linked shape portion of the linked shape so that, within the overlap region, the linked shape is visualized on a display as matching the reference shape.
11. The system of claim 10, wherein the shape sensing system is configured as an optical shape sensing system.
12. The system of claim 11, wherein the optical shape sensing system comprises a first optical fiber associated with the first elongated device, and a second optical fiber associated with the second elongated device, wherein the shape sensing system senses the first and second optical fibers independently from one another.
13. The system of claim 10, wherein one of the first and second elongated devices is a catheter, and the other one is a guidewire at least partially inserted into the catheter.
14. The system of claim 10, wherein the instructions further cause the computer to perform a Procrustes-based coordinate transformation of the linked shape.
15. The system of claim 10, wherein one of the first sensed shape or the second sensed shape is provided as a reference shape and the other of the first sensed shape or the second sensed shape is identified as a linked shape by calculating a smallest first distance (SD.sub.RefToLinked) from a tip of the reference shape to the linked shape, and calculating a smallest second distance (SD.sub.LinkedToRef) from a tip of the linked shape to the reference shape.
16. The system of claim 15, wherein the overlap region reference shape portion is copied to the overlap region linked shape portion only when a smaller one of the smallest first and second distances (SD.sub.RefToLinked, SD.sub.LinkedToRef) is below a predetermined error threshold.
17. The system of claim 10, wherein the instructions further cause the computer to check that all points of the linked shape in the determined overlap region fall within an array size of the linked shape before copying the overlap region reference shape portion to the overlap region linked shape portion.
18. The system of claim 10, wherein the instructions further cause the computer to check that at least a part of the linked shape is within a threshold distance from the reference shape before copying the overlap region reference shape portion to the overlap region linked shape portion.
19. The system of claim 10, wherein the overlap region is determined by determining a tip shift vector, when a linked shape tip of the linked shape protrudes beyond a reference shape tip of the reference shape, and wherein the overlap region reference shape portion is copied to the overlap region linked shape portion by translating a linked shape tip portion of the linked shape according to the tip shift vector.
20. A non-transitory storage medium that stores instructions for visualizing on a display a first sensed shape of a first elongated device having a first length and a second sensed shape of a second elongated device having a second length, the first elongated device and the second elongated device being physically linked to one another in an overlap region over at least a part of the first and second lengths, the first sensed shape and the second sensed shape having been obtained independently of each other, wherein when executed by a computer, the instructions cause the computer to: provide one of the first sensed shape or the second sensed shape as a reference shape and another of the first sensed shape or the second sensed shape as a linked shape; determine along the reference shape and the linked shape the overlap region in which the reference shape and the linked shape should match due to the physical linking of the first and second elongated devices in the overlap region; and copy, in the overlap region, an overlap region reference shape portion of the reference shape to an overlap region linked shape portion of the linked shape so that, within the overlap region, the linked shape is visualized on the display as matching the reference shape.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. In the following drawings
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION OF THE INVENTION
(12)
(13) The first elongated device 14 has a distal tip 20, and the second elongated device 16 has a distal tip 22. The first elongated device 14 has a proximal end 24, and the second elongated device has a proximal end 26. The first elongated device 14 has a first length from the proximal end 24 to the distal tip 20, and the second elongated device 16 has a second length from the proximal end 26 to the distal tip 22. Over at least a part of the first and second lengths of the first elongated device 14 and the second elongated device 16, the first and second elongated devices 14, 16 are physically linked to one another. The common part of the first and second lengths over which the first and second elongated devices 14, 16 are physically linked, is denoted with reference numeral 28 in
(14) A hub 30 serves for interconnecting the first and second devices 14, 16. A hub point H defines the location along the lengths of the first and second devices 14, 16 at which, seen in direction from the proximal ends 24, 26 to the distal tips 20, 22, the physical linking or overlap of the first and second elongated devices 14, 16 starts. In the case where the first elongated device 14 is a catheter 15 and the second elongated device 16 is a guidewire 17, the part of the catheter extending from the proximal end to the hub point H is also referred to as catheter torque absorbing section (the catheter torque absorbing section is the section of the catheter which is used for maneuvering or manipulating the catheter), and the part of the guidewire extending from the proximal end to the hub point H is also referred to as the guidewire lead-in section.
(15) In an embodiment, the shape sensing system 12 is configured as a Fiber-optic RealShape (FORS) system. As such, the FORS system comprises a first optical fiber 32 associated with the first elongated device 14. The optical fiber 32 extends through the first elongated device 14 from the proximal end 24 to the distal tip 20. The optical shape sensing system 12 further comprises a second optical fiber 34 associated with the second elongated device 16 and extending through the second elongated device 16 from the proximal end 26 to the distal tip 22. In order to simplify the drawing, the optical fibers 32 and 34 are only shown in the region of the proximal ends 24 and 26 of the devices 14 and 16.
(16) The optical fibers 32 and 34 may be any type of optical fiber suitable for optically sensing the elongated devices 14 and 16. Examples of the optical fibers 32 and 34 include, but are not limited to a flexible optically transparent glass or plastic fiber incorporating an array of fiber Bragg gratings as known in the art, and a flexible optically transparent glass or plastic fiber having naturally variations in its optic refractive index occurring along the fiber as known in the art (e.g., Rayleigh scattering based optical fiber). The optical fibers 32, 34 may be single-core fibers or, preferably, multi-core fibers.
(17) The shape sensing system 12 comprises first shape sensing components and circuitry 36 for shape sensing the first elongated device 14 via the first optical fiber 32, and second shape sensing components and circuitry 38 for shape sensing the second elongated device 16 via the second optical fiber 34. The first elongated device 14 and the second elongated device 16 are shape sensed simultaneously, but independently of one another by the shape sensing system 12.
(18) It is to be understood that the shape sensing system 12 can be configured to sense the shape of more than two elongated devices simultaneously.
(19) In the present embodiment according to which the shape sensing system 12 is a FORS system, the first and second shape sensing components and circuitries 36, 38 may include, in each case, a tunable light source emitting light for interrogating the optical fibers 32, 34, and a fiber-optic interferometer, and a shape reconstruction unit for reconstructing the 3D shape of the tracked elongated devices 14, 16.
(20) The visualizing system 18 processes the data of the sensed shapes of the first and second elongated devices 14, 16 as sensed by the shape sensing system 12 for visualizing the first sensed shape of the first elongated device 14 and the second sensed shape of the second elongated device 16 on a display or monitor included in or connected to the visualizing system 18.
(21)
(22) In the following, a method is described which enables an improved visualization of sensed shapes of elongated devices by which parts of the elongated devices, which match with one another in the real world, are also visualized as matching parts of the devices on the display or monitor.
(23) The method to be described in more detail of visualizing the first sensed shape 42 of the first elongated device 14 and the second sensed shape 44 of the second elongated device 16 is based on the idea to recalculate at least a portion of the sensed shape of one of the elongated devices 14, 16 in a region, where it should match or be aligned with the sensed shape of the other elongated device. To this end, the method is based on providing the first sensed shape as a reference shape and the second sensed shape as a linked shape; determining in the reference shape and the linked shape an overlap region of overlap of the first sensed shape with the second sensed shape; and copying, in the overlap region, the reference shape to the linked shape so that, in the overlap region, the linked shape is visualized as matching the reference shape.
(24) An embodiment of this method will be described below in more detail with reference to
(25) With reference to
(26) The first sensed shape 50 will be designated as the reference shape hereinafter, and the second sensed shape 52 will be designated as the linked shape. The points along the reference shape 50 are denoted with reference numeral 54, and the points along the linked shape are labeled with reference numeral 56. It is to be understood that in practice the number of points 54 and points 56 is much larger than depicted in
(27) With reference to
(28) At S1a, a smallest distance SD.sub.LinkedToRef from a tip 58 of the linked shape 52 to all points 54 of the reference shape 50 is calculated. That point of the points 54 of the reference shape 50 which is spaced apart from the tip 58 of the linked shape 52 at the smallest distance SD.sub.LinkedToRef is denoted as P.sub.Ref.
(29) At S1b, the method according to
(30) In steps S1a and S1b, the tip direction of the reference shape 50 and the tip direction of the linked shape 52 are taken into account, and only points that are on a vector with an angle of maximally 30° with the tip direction vector are considered as candidates for the minimal distance.
(31) After SD.sub.LinkedToRef and SD.sub.RefToLinked have been calculated, the smaller one (SD) of both is determined at S2 according to:
SD=Min (SD.sub.LinkedToRef,SD.sub.RefToLinked)
(32) Next, at S3, SD is compared with a specified error threshold. If SD is above this specified error threshold, the method stops at S4. If SD is above the specified error threshold, this means that the two shapes 50 and 52 are too far apart. If SD is above a warning threshold, the method will continue, but a warning state will be returned. Further explanations of error thresholds follow later.
(33) If SD is below the error threshold the method proceeds to S5. At S5, it is determined, whether SD.sub.LinkedToRef is larger than or equal to SD.sub.RefToLinked.
(34) If SD.sub.LinkedToRef≥SD.sub.RefToLinked, the linked shape sticks out or protrudes beyond the tip 60 of the reference shape 50 or is equal thereto. If.sub.LinkedToRef<SD.sub.RefToLinked, the linked shape 52 is inside the reference shape 50. The latter is shown in
(35) In the following steps of the method, the two cases SD.sub.LinkedToRef≥SD.sub.RefToLinked and SD.sub.LinkedToRef<SD.sub.RefToLinked are treated differently, and thus will be described separately.
(36) First, the case SD.sub.LinkedToRef<SD.sub.RefToLinked will be described. This case includes steps S6a and S7a.
(37) In general, steps S6a and S7a serve to determine an overlap region of overlap of the linked shape with the reference shape, where the linked shape and the reference shape should match due to the physical linking of the tracked devices, as for example along the common part 28 in
(38)
(39) Also shown in
(40) In order to determine the overlap region OV with respect to the linked shape 52′, the linked shape hub point index at the hub point H (compare
(41) The linked shape hub point index along the linked shape 52′ can be determined, for example, as follows:
(42) If, for example, the linked shape 52′ is the sensed shape of a catheter (this case is shown in
(43) If, in another example, the linked shape 52′ is the sensed shape of a guidewire, for example the guidewire 17 in
G.sub.lis=Guidewire length−(catheter length−C.sub.bh−catheter tip section length)
(44) The guidewire length, the catheter length, C.sub.bh are known quantities. Since the reference shape is the sensed shape of the catheter in this example, the catheter tip section length, or more general the reference shape tip section length, is equal to the length of the reference shape from index point P.sub.Ref (see
(45) Further, at step S7a, the reference shape hub point index also needs to be determined, which is necessary to know which reference shape points to be used for copying the shape information of the reference shape 50′ to the linked shape 52′ in the overlap region OV.
(46) The reference shape hub point index can be computed from the index offset between the linked shape hub point index and the reference shape hub point index. Subtracting this index offset from the just computed linked shape hub point index results in the reference shape hub point index. The index offset is computed by:
Index offset=Linked shape length−1−Index of P.sub.Ref
(47) Now, back to step S5 in
(48) SD.sub.LinkedToRef≥SD.sub.RefToLinked means that the linked shape sticks out or protrudes beyond the reference shape. This case is shown in
(49) Steps S6b and S7b are similar to steps S6a and S7a described above.
(50) In step S6b, the linked shape hub point index at hub point H has to be determined, as the overlap region OV of the linked shape 52″ ranges from the linked shape hub point index to point P.sub.Linked (see
(51) The linked shape hub point index along the linked shape 52″ can be determined as follows:
(52) If, for example, the linked shape 52″ is the sensed shape of the catheter, then the linked shape hub point index can be determined from the known length C.sub.bh of the catheter section before hub point, as described above.
(53) If, in another example, the linked shape 52″ is the guidewire, then the length G.sub.lis of the guidewire lead-in section needs to be determined. The length G.sub.lis can be computed by:
G.sub.lis=Guidewire length−(catheter length−C.sub.bh−guidewire tip section length)
(54) The guidewire length, the catheter length, and C.sub.bh are known quantities. In this example, the length of the tip section of the guidewire or more generally of the linked shape 52″ is equal to the length of the linked shape 52″ from point P.sub.Linked to the tip of the linked shape 52″.
(55) Further, according to step S7b, the reference shape hub point index at hub point H also needs to be determined, since it is necessary to know which reference shape points to use for matching the linked shape and the reference shape. For this, the index offset between the linked shape hub point index and the reference shape hub point index is computed. Subtracting this index offset from the just computed linked shape hub point index gives the reference shape hub point index. The index offset is computed by:
Index offset=Index of P.sub.Linked−reference shape length+1.
(56) Since in the present case the linked shape sticks out or protrudes beyond the reference shape, it is further provided to determine a tip shift vector at S8 in
(57)
(58) The single diagrams a1) to e1) of
(59) Next, the tip shift vector is computed by taking the closest linked shape point, and orthogonally projecting it on the reference shape (interpolation), as shown in diagrams c1), d1), e1) and in diagrams c2), d2), and e2).
(60) Once the tip shift vector is computed, the linked shape can be recalculated. The linked shape points that will be recalculated range from the computed linked shape hub point index to the end of the linked shape, including the tip of the linked shape.
(61) Before the linked shape is recalculated, step S9 provides a check to make sure that the computed overlap region indices fall within the linked shape array size. If the check fails, the method proceeds to step S10, where the method is stopped, i.e. there is no matching of the linked shape with the reference shape.
(62) There is an optional check in place, which for example, can be enabled/disabled in a configuration file of the visualization system 18, that checks for several points spread evenly on the computed overlap region OV if the linked shape and the reference shape actually are overlapping, i.e. linked shape points are within the error distance threshold of the reference shape. This optional check is useful to avoid that the method as described herein matches shapes that are not actually inside each other, but having tips close to each other. If this optional check is enabled and fails, the method will return to an error status, and no matching will take place.
(63) If the check in step S9 is positive, then the method proceeds to step S11 in
(64) In more detail, in step S11, the lead-in part of the linked shape from the proximal end to the hub point H is skipped.
(65) In the overlap region of an overlap of the linked shape and the reference shape, departing from the hub point H in distal direction, the reference shape along the overlap region is copied to the points along the linked shape in the overlap region. If the linked shape is sticking out of the reference shape, the protruding tip section points of the linked shape are translated with the computed tip shift vector. Linked shape portions outside the overlap region (OV), like the lead-in section are added to the overlap region reference shape portion to provide a full length visualization of the linked shape.
(66) As a further aspect, in order to achieve a good alignment in terms of orientation, a Procrustes-based coordinate transformation of linked shape can be performed when the overlap region has been determined. The Procrustes transformation can be performed by taking overlapping reference and linked shape points and calculating a Procrustes matrix, and applying the matrix to the linked shape points. Using a Procrustes transformation limits the orientational inaccuracy of the linked shape. If the overlap region length is not known, a ‘safe’ number of points can be used for the Procrustes registration, starting from the overlap region start, and, if required, the optimal registration and overlap region length is determined. The Procrustes transformation could be done every n shape updates to limit the number of calculations, or triggered by a check of the registration validity. In the simplest form, the distance between the tip of the non-extending shape to the other shape can be used for that.
(67) Further, duplicate points that are present in the recalculated linked shape are removed.
(68) The result is a recalculated linked shape, which is matching with the reference shape in the overlap region OV.
(69)
(70) While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive; the invention is not limited to the disclosed embodiments. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims.
(71) In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single element or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
(72) A computer program comprising program code means for causing a computer to carry out the steps of the visualization method as described herein may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems.
(73) Any reference signs in the claims should not be construed as limiting the scope.