Automatically determining 3D catheter location and orientation using 2D fluoroscopy only
10881316 ยท 2021-01-05
Assignee
Inventors
- Jasbir Sra (Pewaukee, WI, US)
- Barry Belanger (Chenequa, WI, US)
- Mark Palma (Fitchburg, WI, US)
- Donald Brodnick (Cedarburg, WI)
- Bruce Langenbach (Milwaukee, WI, US)
Cpc classification
A61B6/463
HUMAN NECESSITIES
A61B5/061
HUMAN NECESSITIES
A61B5/7289
HUMAN NECESSITIES
A61B5/352
HUMAN NECESSITIES
A61B6/5288
HUMAN NECESSITIES
A61B2090/367
HUMAN NECESSITIES
A61B6/12
HUMAN NECESSITIES
International classification
A61B34/20
HUMAN NECESSITIES
A61B6/12
HUMAN NECESSITIES
A61B6/02
HUMAN NECESSITIES
A61B6/00
HUMAN NECESSITIES
A61B5/06
HUMAN NECESSITIES
Abstract
A method for automatically determining the 3D position and orientation of a radio-opaque medical object in a living body using single-plane fluoroscopy comprising: (a) capturing a stream of digitized 2D images from a single-plane fluoroscope; (b) detecting an image of the medical object in a subset of the digital 2D images; (c) applying to the digital 2D images calculations which preserve original pixel intensity values and permit statistical calculations thereon, using (i) multiple sequential determinations of a midline of the medical object image, (ii) a plurality of unfiltered raw-data cross-sectional intensity profiles perpendicular to each sequentially-determined midline, (iii) removal of outlier profiles from each plurality of profiles, and (iv) statistically combining each plurality of profiles to estimate image dimensions; (d) applying conical projection and radial elongation corrections to the image measurements; and (e) calculating the 3D position and orientation of the medical object from the corrected 2D image measurements.
Claims
1. A method for automatically determining the 3D position and orientation of a radio-opaque medical object in a living body using single-plane fluoroscopy comprising: capturing a stream of digitized 2D images from a single-plane fluoroscope; detecting an image of the medical object in a subset of the digital 2D images; applying to the digital 2D images calculations which preserve original pixel intensity values and permit statistical calculations thereon, the calculations comprising: multiple sequential determinations of a midline of the medical object image; a plurality of unfiltered raw-data cross-sectional intensity profiles perpendicular to each sequentially-determined midline; removal of outlier profiles from each plurality of profiles; and statistically combining each plurality of profiles with outliers removed to estimate image dimensions, thereby providing a final estimation of image dimensions to measure the medical-object image; applying conical projection and radial elongation corrections to the medical-object image measurements; and calculating the 3D position and orientation of the medical object from the corrected 2D image measurements.
2. The method of claim 1 further comprising initialization steps before the detecting step, the initialization steps determining the effective dimensions of the medical-object image and setting medical-object image size-limit criteria.
3. The method of claim 2 wherein, with respect to each 2D image in the subset, the detecting step includes: applying a threshold filter to the 2D image; forming clusters of image pixels; evaluating each of the clusters against the medical-object image size-limit criteria; and selecting the cluster that contains the image of the medical object.
4. The method of claim 3 further including computing center, longitudinal midline and bounding-box data of the selected cluster.
5. The method of claim 4 wherein the measuring step further includes applying the center, midline and bounding-box data to the unfiltered 2D image, expanding the bounding box area around the medical-object image, and up-sampling such 2D image.
6. The method of claim 5 wherein the up-sampling is performed only along each cross-sectional image profile perpendicular to the midline.
7. The method of claim 5 further including identifying medical-object image edges by selecting edge points on each profile at a fixed percentage of profile intensity range.
8. The method of claim 7 wherein the profile intensity range of a profile is the difference between the maximum and minimum intensity values for such profile.
9. The method of claim 8 wherein identifying medical-object image edges substantially parallel to the midline includes computing least-squares-fit representations of the edges.
10. The method of claim 9 wherein the measuring step further includes the steps of (a) recomputing the medical-object image center based on the least-squares-fit edges and (b) determining medical-object image width, length and keystoning in the 2D image.
11. The method of claim 9 wherein the up-sampling is performed only along each cross-sectional image profile perpendicular to the midline.
12. The method of claim 5 further including: forming a plurality of cross-sectional image profiles parallel to the midline; identifying medical-object edges substantially perpendicular to the midline; and computing least-squares-fit representations of the edges substantially perpendicular to the midline.
13. The method of claim 12 wherein the measuring step further includes recomputing the medical-object image center based on the least-squares-fit edges and determining medical-object image width, length and keystoning in the 2D image.
14. The method of claim 12 wherein up-sampling is performed only along each cross-sectional image profile perpendicular to the midline.
15. The method of claim 1 wherein the subset of 2D images is selected by respiration gating from a respiration signal from the living body.
16. The method of claim 1 wherein the subset of 2D images is selected by cardiac gating from an ECG signal from the living body.
17. The method of claim 16 wherein the subset of 2D images is selected by R-wave gating.
18. The method of claim 17 wherein the R-wave gating is by an R-wave gating process having a threshold to which the ECG signal is compared and the threshold is independent of levels of the ECG signal at which previous R-wave triggers occurred.
19. The method of claim 1 further including creating a 3D map of an anatomical structure within the living body.
20. The method of claim 19 further including the step of displaying the 3D map on a display device.
21. The method of claim 19 further including the step of displaying the 3D position and orientation on the display device.
22. The method of claim 19 wherein the anatomical structure is a cardiac structure.
23. The method of claim 22 further including the step of displaying the 3D map on a display device.
24. The method of claim 1 wherein the step of applying measurement corrections includes correcting medical-object image measurements for out-of-plane angle.
25. The method of claim 1 further including the steps of capturing, detecting, applying geometric calculations, applying corrections, and calculating 3D position and orientation multiple times with the medical object in a single position and averaging the calculated 3D position and orientation data, thereby to enhance accuracy of the determination.
Description
DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
(34) Single-plane fluoroscopy offers a 2D animated view of a patient to a physician during operations involving catheters and leads. Using such a system, despite a physician's experience, the position of the patient, and the relative position of the catheter to anatomical features, an imprecise 3D position of a catheter is determined. This invention details the use of image analysis algorithms to identify the location of the catheter tip in 3D space using only 2D fluoroscopy. (Although any radio-opaque instrument can be used, the embodiments presented herein utilize cardiac catheter tips as the points-of-interest for 3D position estimation.)
(35) As mentioned above, it is desirable to achieve z-coordinate determination accuracy of at least 4 mm. In order to achieve such accuracy, it has been determined that the precision required in measuring medical-object dimensions is about 0.023 mm (for a typical catheter size and detector geometry). Since the inventive method disclosed herein estimates object dimensions using two edges formed from a series of edge points, the error required for each point is half of this (0.023 mm/2=0.011 mm). For a typical detector with resolution of 10001000 pixels and an area of 2020 cm, each pixel is 200 mm/1000 pixels=0.2 mm/pixel. The fraction of a pixel corresponding to a precision of 0.011 mm is 0.011/0.2=0.05 pixels (about 1/20th of a pixel).
(36)
(37) C3DLS 20 includes the use of a conventional single-plane fluoroscopic system 10 which generates a series of sequential 2D fluoroscopic images which are available as a stream of digital images. The rate at which such images are generated may be a typical rate such as 7.5 or 15 images (or frames) per second but such rates are not intended to be limiting to the scope of this invention. (X-ray systems are capable of generating both lower and higher rates of images per second.) Images in such stream are available to be processed by C3DLS and are selected by an image selection process in functional element 23. Further detail for the image selection process of element 23 is found in
(38) Exemplary images are a 10001000 array of 8-bit bytes, one byte per pixel with each byte holding an intensity value ranging from 0 to 255. Another example is a 512512 array of 12-bit pixel intensity values ranging from 0 to 4095 with two bytes (16 bits) representing each pixel. The left/right angulation and cranial/caudal angles are also needed and input for each image frame. These examples are not intended to be limiting; other data formats are possible.
(39) The remainder of C3DLS 20 includes the processing of the images which have been selected by image selection process 23. A starting point for these processing steps is labeled as point B in
(40) C3DLS 20 includes an automated process by which a catheter tip is found and identified as a catheter tip within images which have been selected by image selection process 23; this process 24 (indicated by brackets) includes two functional elements, shown in C3DLS 20 as cluster formation 25 and catheter-tip identification 27 and is described in more detail with respect to
(41) C3DLS 20 includes measurement of a catheter tip in functional element 29 and further refinement of such measurement in functional element 31. Correction 31 of a catheter-tip measurement involves several inventive steps and represents another important concept in the present invention. Further details are presented later in this application with respect to
(42) C3DLS 20 then proceeds in functional element 33 to determine the 3D coordinates and orientation of a catheter tip based on the accurate measurements of the catheter tip, using the geometry of fluoroscopic system 10 in this determination.
(43) With the 3D position and orientation of the catheter tip now known, such information is available to the clinician to be used in a variety of ways. Functional element 35 represents the display of such data in a variety of ways, among which are a simple coordinate display which shows the depth (z-coordinate) of the catheter tip so that the clinician can be aware of depth while viewing x and y image information. However, many other ways to present such data may also be used, including the generation and display of 3D mapping data to enable the clinician to visualize various anatomical structures in order to assist in an interventional procedure.
(44) The following sections describe C3DLS 20 in more detail. Among the concepts involved in the present invention, the invention takes into account the inherent characteristics of 2D fluoroscopy images and uses sophisticated computational algorithms to resolve the issue of catheter depth (z-coordinate) in 3D space, data which is missing in conventional X-ray systems.
(45) Fluoroscopic images, because they are projections, are representations of an imaged volume in which the imaged 3D anatomy is transformed into a 2D projected image according to precise geometric rules based on the relative positions of the X-ray source 11, the anatomy being imaged, and X-ray detector 13. X-ray projection imaging thus includes an inherent projection distortion due to the fact that X-ray source 11 is at finite distance from the anatomy being imaged on table 12. As a result, objects closer to source 11 are magnified more than objects more distant from source 11 in the projected image.
(46)
(47)
(48) Those X-rays in the conical beam that do not undergo photoelectric absorption or Compton scatter in the target object (e.g., a human body) reach detector 13 to form the primary 2D radiation image. The primary image information in the spatial pattern of the X-ray photons that reach detector 13 results from the differential, incremental attenuations presented by each layer, structure, and device within the patient, e.g., lung, heart, vertebrae, catheters, as the primary X-rays travel along their straight-line paths. The attenuation follows the well-known exponential attenuation process. In addition, some of the Compton scatter generated as the primary X-rays pass through the patient also reach detector 13. These X-rays carry no practical information, reduce the apparent contrast of objects within the anatomy, and add to the quantum X-ray noise in the image.
(49) X-ray detector 13 converts the spatial pattern of the X-rays incident upon it into a digital image. This digital image is typically processed, stored, and displayed. In addition, the information in the digital image is used to control an X-ray generator which in turn energizes an X-ray tube. Typically, fluoroscopic system 10 includes an automatic brightness control (ABC) which is used to control system 10 to scale the digital image such that the average intensity of the digital image will be around or slightly lower than 50% of the digital image intensity scale, e.g., an average intensity of 100 within a detector range of 0 to 255 (an 8-bit image intensity scale). Intensity values in the area of the heart might be around 100, the values in the lung well over 200, and the values in the spine around 25. Intensity values in an image of a catheter electrode tip may be close to 0 or a bit higher, depending on the beam spectrum and the amount of scatter in the image.
(50) In general, the higher the intensity level of the image, the higher the image quality, due to a higher signal-to-noise ratio (SNR). However, all other things being equal, the higher the image SNR, the higher the radiation dose to the patient. So each imaging mode of the X-ray system presents a compromise between image quality (SNR) and patient dose. Due to the amount of fluoroscopy time required for complex cardiac interventional procedures, clinicians operate at the lowest patient dose and image SNR levels that provide adequate imaging. This in turn means that the typical fluoroscopic image is noisy, meaning that there are significant statistical variations in the intensity levels in each picture element (pixel) due to random X-ray quantum noise.
(51) The factors that fluoroscopic system 10 may control include the beam energy spectrum, the beam intensity (for a given beam spectrum), and the exposure time. An operator of system 10 typically has the ability to select the fluoroscopic imaging rate, measured in number of images per second. For the cardiac applications encompassed by this invention, useful rates may typically range from 3.75 to 30 images per second. The degree of attenuation presented by each type of body tissue and devices placed within the patient is determined by the tissue or material composition, its density, and the X-ray beam spectrum. Since the X-ray system automatically adjusts the beam spectrum, among other factors, to achieve the desired image SNR, it follows that the attenuation of a device placed within the body, and therefore its contrast relative to adjacent areas in the image, will vary depending on the size of the patient, the particular imaging scene, and various settings of system 10. The amount of X-ray scatter in the image scene, which is dependent on patient size, imaging field-of-view, distance of the patient from detector 13, and other factors, also influences the contrast of devices imaged within the body.
(52) Referring again to
(53) In order to initialize and calibrate C3DLS 20, the effective X-ray dimensions of a catheter tip are measured using two-view fluoroscopy, shown in
(54) The measurements of functional element 39 are performed by placing a catheter on table 12 (e.g., on top of the patient or directly on table 12 in its sterile package) between X-ray source 11 and X-ray detector 13, and two images from different known C-arm 8 angular positions and geometry are acquired by video acquisition in functional block 37. The analytic methods to determine the 3D coordinates and the effective dimensions of a catheter using data from two 2D images of the same object taken from two different angles are well known to those skilled in the art of mathematics, involving an over-determined system of three equations with two-unknowns. One such method utilizes the method of least squares. In general, the points of intersection (x,y,z) will not be precisely the same because of pixelation within the images. Thus, such statistical methods are applicable.
(55) In order for such analysis to provide accurate estimates of effective X-ray dimensions, the points (x,y,z) of the catheter tip identified within the two images must correlate with the same point physically on the catheter; otherwise the assumption behind the analysis is incorrect and will lead to erroneous results. It has been found that the center of the generally rectangular area of a catheter-tip image and the four corners of such area are good points for such determinations.
(56) Catheter diameters are important dimensions which are used within C3DLS 20. The effective X-ray diameter is the value of catheter-tip diameter that, when applied to the depth calculations made from measured catheter-tip image diameters in 2D fluoroscopic images, provides the most accurate, unbiased results. Use of the effective X-ray dimensions significantly reduces measurement bias because their determination is calculated using the same measurement biases that will occur in subsequent single-view measurements. Since the geometric magnification factor involved in each of the two views is known, either view can be used to calculate the effective X-ray diameter, or for increased accuracy, an average of two or more values may be used.
(57) The measurement of a catheter tip from a 2D image is subject to biases from several sources, including X-ray tube focal spot penumbra, image processing (e.g., edge enhancement), and the choice of threshold value applied to the intensity profile of the catheter tip in the image. The focal spot penumbra, for example, blurs the edges of the catheter tip, making it more difficult to define the exact edges. X-ray detector 13 introduces some blurring of the catheter-tip image edge due to lateral dispersion of signals within detector 13 and the fact that the detector elements are of finite size (e.g., 140-200 microns). Further, a threshold value is used to make an estimate of the location of the edges of the catheter tip within the image. This threshold value is an intensity value between the dark area of the catheter-tip image and the lighter background area around the dark image. The particular threshold value is chosen to be not overly sensitive to background noise but may be a source of error.
(58) These biases are present in the measurements made at known catheter-tip depth with the two-view images but are also present in all other subsequent catheter-tip width measurements as the C3DLS process proceeds, so the subsequent measurement biases tend to be canceled out by using the effective X-ray dimensions. For example, any measurements of a catheter made at the same depth as the two-view images should be the same, with no bias. Further, biases should not vary significantly over the range of depths that are likely to be encountered in navigating within the heart or other organs in the body using C3DLS 20. In interventional electro-physiology procedures, the movements of the catheter tip may be in the range of 3 cm from its initial depth. Since the source 11-to-image 13 distance is typically in the range of 100-120 cm, the range of depth excursion is relatively small.
(59) The process 39 of determinating effective X-ray dimensions of a catheter tip also includes the identification of the catheter-tip image within the two images. Such identification may be done with user interaction or by automatic identification steps. Such automated steps are described later in this document as steps within the C3DLS process and are applied within initialization and calibration as needed. Since automation is a major object of the present invention, automatic catheter-tip image identification is the preferred approach within initialization and calibration.
(60) Other steps within initialization and calibration include setting criteria for maximum and minimum catheter-tip image area (step 41A) and setting a criterion for a maximum catheter-tip image length (step 41B). Each of these quantities and relationships is used later on in the calculations carried out within C3DLS 20 and will be discussed later in this document.
(61) Although any or all sequentially-obtained images can be analyzed and used, an important part of the C3DLS process is the selection of which image frames are processed by the algorithms within C3DLS 20. Not all images are processed because of (1) physical movement of the patient (e.g., cyclical cardiac and respiratory movements and other motion such as patient or equipment repositioning) and (2) the processing speed of the computer. For cyclical motion, it is desirable that images processed within C3DLS 20 are captured at the same phase within these motions and that the computational results of C3RDS 20 are displayed in real-time to the clinician. In order to select images at the same phase within these movements, processes by which images are selected during periods of relatively small motion may be employed. Such processes are known as gating.
(62) Referring again to
(63)
(64) Both cardiac and respiration gating are used to select images during which minimal motion occurs in order to minimize image blurring which results from movement during X-ray detection. In the case of cardiac gating, it may also be desirable to select images during a particular phase of the cardiac cycle.
(65) In the following section, R-wave gating, the process by which fluoroscopic images are ECG-gated, is described.
(66) The human heart is composed of electrically-active muscle cells. These cells contract when the cell membranes depolarize, and this results in (1) the vital contraction of the four chambers of the heart to pump blood and (2) weak electrical currents that are detectable on the body surface as the electrocardiogram (ECG). In the electrocardiogram, a dominant portion is the QRS complex, the most prominent feature of which is the R-wave that is generated when the largest mass of muscle cells depolarizes. These cells make up the ventricles, and the left ventricle is a large contributor to the ECG signal. Other features of the ECG are the P-wave (atria depolarization) and the T-wave (ventricles repolarization). (See
(67) During certain procedures, an electrophysiologist (EP) must position and constantly reposition several different catheters for mapping and ablation in the beating heart of a patient. Typically, the EP has available a fluoroscopic imaging system that uses X-rays through the patient to make a 2D image of the heart. The EP works rapidly in to order to minimize number of fluoroscopic images to reduce as much as possible the procedure time and thus patient exposure to X-rays. Fluoroscopic images are typically obtained at rates of 7.5 or 15 images per second, and sometimes even higher, thereby usually providing many fluoroscopic images per heartbeat.
(68) Because the contraction of the heart chambers (ventricles and atria) necessarily results in motion of the heart chamber walls and flow of blood, any catheter that is positioned in a heart chamber will move. The movement of the catheter with every heartbeat is a major complication for the EP. The motion is, however, highly repetitive since most heartbeats are very similar to immediately recent heartbeats. (This cardiac motion is the dominant confounding motion, but in addition there is a smaller, slower, and repetitive confounding motion from respiration. There may also be random motion from the patient.)
(69) R-wave gating, the timing of imaging with respect to heartbeat, may be helpful in three ways: (1) to present a sequence of fluoroscopic images to the EP in which all of the motion of the heart and catheters during a single heartbeat is substantially removed so that from one heartbeat to the next, the EP sees essentially a stable image; (2) to select a time or range of times during which heart motion is minimal so that fluoroscopic images may be captured with the least amount of blurring during the short exposure time of a single X-ray image; and (3) to select a fluoroscopic image at a specific time of the cardiac cycle, typically diastole, which may match the same phase of cardiac cycle when, for example, a computed tomography (CT) image of the heart had been made and which is being used as the substrate for an evolving model of ablation-related information.
(70) To present a stable image from heartbeat-to-heartbeat, a constant phase of the heartbeat is detected. The easiest and most reliable phase of the heartbeat to detect is systole, just at the instant of the R-wave. The R-wave of normal beats and ectopic (abnormal) beats occurs at the moment the ventricles depolarize and contract; thus, images of both normal and ectopic beats may be used for this purpose.
(71) With respect to minimal cardiac motion, many images may be retained for computer analysis or presentation to the EP because during much of the normal cardiac cycle, the heart chamber walls are moving more slowly. R-wave gating identifies these time periods indirectly as timing offsets from each recognized R-wave. In selecting a particularly beneficial instant in the cardiac cycle at which to obtain a fluoroscopic image, this moment is predicted as an offset interval from the detected R-wave rather than recognizing this moment directly in the ECG. Thus, detection of R-waves in an ECG signal is an important function for such cardiac gating.
(72) It is desirable for this R-wave gating function to be simple, reliable, accurate, and automatic, to involve a low computational burden, to be able to function on a single ECG channel, and to operate as close to real-time as possible (i.e., with minimal delay).
(73)
(74) As depicted in
(75) Filter 53 and all other remaining elements of R-wave detection system 50 may be realized in software programmed to compute the required quantities in a digital computer such as a PC. Filter 53 includes a boxcar filter s(t.sub.i) which is a moving-window sum of k samples of x(t.sub.i) and a second-differencing filter producing an intermediate ECG signal f(t.sub.i). In the flowchart of
(76) The center frequency of a digital bandpass filter depends on the product of k and sampling period t.sub.s (t.sub.s=1/f.sub.s seconds). In the embodiment of
(77) In this embodiment, filter 53 is a symmetrical, finite-impulse-response filter which has a 60-millisecond-wide impulse response. Intermediate ECG signal f(t.sub.i) peaks approximately 30 msec (30 milliseconds) after the peak of input ECG signal x(t.sub.i), introducing approximately a 30 msec delay.
(78) Note that f(t.sub.i) in
(79) Intermediate ECG signal f(t.sub.i) is rectified by computing its absolute value at element 55 to produce filtered ECG signal g(t.sub.i). A representative filtered ECG signal g(t.sub.i), generated from f(t.sub.i), is shown in
(80) During the period of time after a reset from counter reset 61, when filtered ECG signal g(t.sub.i) is below ECG tracking threshold TT, counter 59 is not reset and continues to count. When counter 59 reaches a predetermined refractory count RC, as determined by a comparator element 63, an R-wave trigger is outputted, and this trigger is provided to other portions of the C3DLS process or used by other systems requiring a cardiac gating signal. In this embodiment, refractory count RC has a value of 45 which corresponds to a refractory period of 90 msec (452 msec sampling period). With this set of parameters, when an R-wave trigger is generated, R-wave detection system 50 is indicating that an R-wave has occurred approximately 120 msec ago (approximately a 30 msec filter delay plus 90 msec refractory period). If the count from counter 59 is not equal to RC in comparator 63, the process simply waits for the next sample to occur as shown in functional element 68.
(81) A portion of each cycle of a heartbeat is called the refractory period, a period during which the heart muscle is repolarizing. During such period, the next heartbeat cannot occur; i.e., until repolarization is complete. The purpose of refractory count RC is to prevent double triggers from being generated within a single heartbeat.
(82)
(83) R-wave detection system 50 includes the dynamic setting of ECG tracking threshold TT, and ECG tracking threshold TT is independent of all previous levels of the ECG signal at which R-wave triggers have occurred. Prior art R-wave detector systems which include dynamic setting of a tracking threshold typically set the tracking threshold level based on an average of previous ECG signal levels at which triggers had occurred or at a level determined by some other function of previous R-wave-triggered processed ECG signal levels. Such previous-trigger-level-dependent R-wave detectors may operate well as long as the cardiac performance does not vary too much or as long as the ECG signal does not contain too much noise. In particular, arrhythmias or other cardiac electrical abnormalities cause such prior art R-wave gates to perform poorly.
(84) In R-wave detection system 50, filtered ECG signal g(t.sub.i) is monitored by element 65 to find its maximum value within a predetermined time period t.sub.m. Time periods t.sub.m are not moving-window periods but a series of sequential periods t.sub.m seconds long. Finding the maximum value of filtered ECG signal g(t.sub.i) in such a fashion allows R-wave detection system 50 to adapt to changing signal levels within ECG signal x(t). Based on the most recent maximum value of g(t.sub.i), a suggested ECG tracking threshold ST is computed in element 67 as a constant c.sub.1 times the maximum value of g(t.sub.i). In this embodiment, c.sub.1=0.5. Then, in element 69, ECG tracking threshold TT is computed, as follows:
TT=TT.sub.p+c.sub.2(STTT.sub.p)
where TT.sub.p is the previously-set value of TT and c.sub.2 is a constant. The computed value for ECG tracking threshold TT is used in comparator 57 unless for a predetermined dropout period t.sub.D after the last trigger was generated, a new trigger has not been generated, at which point ECG tracking threshold TT is set to ST. In this embodiment, predetermined dropout period t.sub.D is set to 5 seconds.
(85) An initial value for tracking threshold TT may be set at an experimentally-determined numerical value. However, the dynamic setting of tracking threshold TT quickly converges to its proper value in a few time periods t.sub.m.
(86) ECG tracking threshold TT is repeatedly adjusted to adapt to a level equal to a fraction of suggested ECG tracking threshold ST. (In the embodiment of
(87) The adaptation process of element 69 operates to adjust ECG tracking threshold TT by a fraction c.sub.2 of the difference between its immediately previous value TT.sub.p and each new suggested threshold ST. This process smooths the response of ECG tracking threshold TT to changes in suggested threshold ST (changes in the maximum value of filtered ECG signal g(t.sub.i) in sequential fixed t.sub.m-second periods). The amount of smoothing of ECG tracking threshold TT depends on the value of the c.sub.2, and a greater amount of smoothing also adds more time lag in the response of ECG tracking threshold TT to changes in suggested threshold ST. Values of c.sub.2 closer to 0 provide a greater amount of smoothing and more lag in the response. Values of c.sub.2 closer to 1 produce less smoothing and quicker response.
(88) ECG tracking threshold TT is also adjusted if no R-wave trigger has occurred for a period of t.sub.D seconds. This occurs in the rare case when, because of more rapid changes in filtered ECG signal g(t.sub.i), ECG tracking threshold TT has not responded quickly enough and the R-waves are not being detected. In the embodiment of
(89) As described above, the embodiment of the inventive R-wave detection system 50 of
(90) A sampling rate of 500 sps and a boxcar window sum of 10 samples sets filter 53 as a 25 Hz bandpass filter. By incorporating a bandpass filter with a higher center frequency (25 Hz) than is typical (15 Hz), inventive R-wave detection system 50 is able to more strongly reject T-waves and P-waves while allowing sufficient R-wave signal content to be available for detection purposes. Within the scope of this invention, bandpass filter 53 may have a center frequency other than 25 Hz. If the center frequency of bandpass filter 53 is set too high, however, ectopic or bundle branch R-waves may be undesirably rejected.
(91) Predetermined time period t.sub.m, over which maximum values of g(t.sub.i) are determined in element 65, needs to be long enough to be sure to contain at least one R-wave for the full range of expected heart rates. Thus, a minimum of about 1.5 seconds is desirable. A value of t.sub.m of 2 seconds corresponds to ensuring that a heart rate of 30 bpm will be properly processed. Longer periods of time cause the adaptation of ECG tracking threshold TT to changes in the ECG signal to be undesirably delayed.
(92) The setting of ECG tracking threshold TT at about one-half (c.sub.1=0.5) of filtered ECG signal g(t.sub.i) maxima is appropriate since lower settings risk generating triggers on P-waves and T-waves and much higher levels risk missing R-waves that are of lower amplitude during part of the respiration cycle or from lower-amplitude ectopic heartbeats. A good range for values of c.sub.1 is within about 0.4 to 0.7.
(93) The constant c.sub.2 affects the rate at which adaptation to ECG signal changes occurs. It has been found that c.sub.2=0.25 provides excellent adaptation rates; smaller correction steps slow adaptation and larger correction steps overreact to isolated artifacts in the ECG signal. Values of c.sub.2 within a wide range of about 0.15 to 0.8 allow the adaptation rate to be selected as desired.
(94) The length of time for the refractory period is set by setting the refractory period parameter RC which, as explained above, is a count value. The refractory period (time) is RC times the sampling period of the digital signals. In the embodiment of
(95) Referring now to
(96) As the process proceeds, element 65 monitors the values of g(t.sub.i) to find the maximum value of g(t.sub.i) during the 2-sec time period t.sub.m ending at the time corresponding to dotted line 85. That maximum occurs at peak 71a, and in this example has a value of 945. As time progresses past line 85, a new value of ECG tracking threshold TT (now 81b) is established by the calculation in element 69, as follows: TT (81b)=490+0.25*(945/2490)=485.63. (The time axes of
(97) In comparing the operation of R-wave detection system 50 around peak 71b, note that peak 73b is above ECG tracking threshold TT (81b) and so for any sampled points of g(t.sub.i) within peak 73b which are above TT (81b), counter reset 61 will reset counter 59 to 0. However, the point 77b along g(t.sub.i) (and all of the points between 77b and 79b) also cause counter 59 to be reset to 0 prior to counter 59 reaching the value RC (45 counts). Thus, point 79b is the final point along g(t.sub.i) to restart the count in counter 59, and an R-wave trigger is then generated at the time indicated by reference number 83b.
(98) One advantage of the inventive R-wave detection system is that it produces a very low rate of false positive detections, i.e., the rate at which a trigger occurs when no R-wave has occurred is extremely low. Because of this, using multiple R-wave detection systems in parallel can improve the overall performance of R-wave detection. For example, when an ectopic or short R-wave is missed in one ECG channel, it is very often detectable in a different ECG channel. One aspect of the present invention is to combine multiple R-wave detection systems into a composite R-wave detection system for increased accuracy.
(99) ECG signals are typically available as multiple-channels from electrodes placed on different locations on a living body. The individual channel signals are similar in character but also somewhat different both in detailed shape and phase.
(100) Referring first to
(101)
(102) Pulses 93, 95, and 97 are such fixed-duration pulses in individual channel trigger signals. (Such signal conditioning is well known by those skilled in the art of signal processing and is not shown herein.) Composite R-wave trigger signal 89 is the output of OR-gate 91. Output tc(t) is HIGH when any of the individual channel R-wave trigger signals is HIGH, as shown in
(103) The time width of pulses 93-97 may be set to a period of time which when added to the time period corresponding to refractory count RC for the individual RC values of the channel R-wave detectors of composite R-wave detector 50c.sub.1, sums to the period of time corresponding to refractory count RC for an R-wave detector 50 operating alone. Thus, if the time period corresponding to refractory period RC for the channel R-wave detectors is set to about 50 msec, then the length of pulses 93-97 may be about 40 msec. A range of suitable values for such sum may be from 50 to 200 msec.
(104)
(105)
(106) Trigger-window filter 100 may be configured to trigger on other than the first-to-be-received channel R-wave trigger signal. For example, trigger-window filter 100 may be set to trigger on the second or third or other received channel R-wave trigger signal.
(107) The time width of lockout period t.sub.LO is set to ensure that all of the channel R-wave triggers for a single heartbeat have occurred prior to the end of lockout period t.sub.LO. The range of suitable values for t.sub.LO may be about from 150 to 300 msec, and t.sub.LO may preferably be set to about 200 msec.
(108) In composite R-wave detections systems 50c.sub.1 and 50c.sub.2, each of the channel R-wave detection systems 50(1)-50(n) may be set to utilize the same parameter values or may be set to utilize parameter values which vary among the channel R-wave detection systems.
(109) It should be noted that the inventive composite R-wave detection system need not utilize multiple inventive R-wave detection systems of the type embodied as R-wave detection system 50 as channel R-wave detection systems. Other R-wave detectors may be utilized to process the channel ECG signals and generate channel R-wave trigger signals. However, the fact that channel R-wave detections systems 50 output extremely few false positive triggers is what enables the inventive composite R-wave detection system to be beneficial.
(110) Referring again to
(111) Respiration sensor 45 as used herein includes any type of signal source which derives information regarding respiration from a living body. These include but are not limited to direct-measurement devices, images (X-ray, optical, etc.) of objects and structures which are moving in phase with respiration, and ECG signals which contain some respiration-correlated information. Any of these respiration sensors 45 may be used to generate a signal indicative of respiration movement and as an input to respiratory gate 47.
(112) Respiration sensors 45 which directly measure body movement caused by respiration are well known by those skilled in the art of medical instrumentation. For example, transducers mounted in belt-like structures are used to measure abdominal or thoracic motion from which a useful sensor signal is derived. Respiratory gate 47 simply triggers image selector 38 at points during periods of little or no movement (or at some other desired point) in order to select the preferred images.
(113) Alternatively, an estimate of catheter-tip motion may be made by evaluating the position of the catheter tip in a series of fluoroscopic images. This is done by comparing the (x, y) position of the catheter tip from image-to-image, and computing the distance moved in the plane of the detector from image-to-image. Minimum motion is indicated by sequential images in which the movement between images is the smallest.
(114) Further, some channels of ECG signals may contain variations which correlate with respiration. By applying filtering and other signal processing techniques well known to those skilled in the art of signal processing, it is possible extract such respiration-correlated information and use it as an input to respiratory gate 47.
(115) Referring again to
(116) The circled letters B and G represent the starting and ending points of this subset of steps in the method embodied in C3DLS 20. At the starting point (B) at the top of
(117)
(118) Each of these steps will be described in detail in the sections which follow, particularly with reference to
(119) Referring again to
(120) Threshold TH of threshold filter 133 is determined iteratively based on how well clusters are delineated in a cluster formation process 135 and a cluster evaluation step 137. An initial value of threshold TH is set to assign a 0 value to 0.5% of the pixels in the image. Clusters are formed (135) and evaluated (step 137) and if it is determined that more pixels are required to form candidate clusters, threshold TH is incrementally increased in functional block 139 and steps 135 and 137 are repeated until a proper cluster satisfies the evaluation of step 137.
(121)
(122) Clusters are formed (step 135 in
(123) As clusters are formed in functional block 135, a record is kept of the number of pixels in a cluster and the leftmost, rightmost, topmost and bottommost pixels in the cluster. The cluster coordinates within the image are also known. This cluster information is used to evaluate a candidate cluster against the criteria established during initialization in functional block 41A and 41B (
(124) When a cluster passes such criteria tests in cluster evaluation 137 (
(125) One approach to finding the center of the candidate cluster is illustrated in
(126) If there are n thresholded pixels (pixels which are dark) in the image, then the x-component of the average vector (center) is simply X.sub.av=1/n*x.sub.i and the y-component is Y.sub.av=1/n*y.sub.i where the summations are carried out over all n pixels. In
(127) After computing the center of candidate cluster 203, a computation of a longitudinal midline of cluster 203 is performed in functional block 143. A vector representing the longitudinal axis is generally parallel to the long axis of cluster 203 and bisects cluster 203. Vectors for each thresholded pixel (from the center) are used for this calculation. As shown in
(128) The longitudinal axis vector V.sub.midline is a composite of quadrant vectors V1, V2, V3 and V4 from the four quadrants. The composition of V.sub.midline depends on whether the main axis is predominantly along the X axis or Y axis as illustrated in
(129) The vectors from diagonal quadrants (Q1 and Q3; Q2 and Q4) are added to calculate their total contribution along either the positive x-axis (Q1 and Q4) or along the positive y-axis (Q1 and Q2). From
(130) Referring again to
(131) Referring again to
(132) A primary characteristic of pixel-level geometric calculations is that such calculations permit statistics to be applied during analysis since the pixel intensities are not transformed by filters. In the inventive C3DLS method, in the steps of determining sub-pixel catheter-tip image dimensions, statistics are used to achieve the desired sub-pixel accuracy at very high speeds. Many image-processing techniques include the use of filters which perform complex operations on the pixel intensities but which also transform the intensity data into forms which do not preserve the original data values, thus preventing statistical operations on the original data values.
(133) Another characteristic of pixel-level geometric calculations as described herein is that these calculations can be completed very rapidly. An important object of the present invention is to provide a system which can compute 3D information from 2D X-ray images in real time or near real time such that C3DLS can be used contemporaneously with an interventional medical procedure such as cardiac ablation. Although C3DLS 20 is computationally intensive, pixel-level geometric calculations as described in the various steps in the inventive method have a speed advantage over many other image-processing techniques and contribute to achieving such high-speed performance.
(134) Referring again to
(135) The next step, illustrated as functional block 151, is to form a number of image profiles perpendicular to the longitudinal image midline computed in step 143 and to up-sample the image along such profiles.
(136) Note that the distance between profiles 213 shown in
(137)
(138) Referring again to
(139) In
(140) As an example of determining N.sub.1, assume that a cluster is an image of a catheter tip which is physically 8 mm long and that the conical projection geometry of X-ray machine 10 is such that geometric magnification is about 1.4. Thus, the cluster, which is an image of such catheter tip, will be about 1.48 mm=11.2 mm long on detector 13. Typical X-ray detectors may have a detector element pitch of 5/mm (detector elements 0.2 mm0.2 mm), in which case the cluster will be about 56 pixels long. Assuming that there are about 10 profiles off each end of the cluster and ignoring the angle of the cluster midline for simplicity, if we choose N.sub.1 such that each pixel has two intersections, N.sub.1 would be about 130. In general, typical catheter tips may be quite a bit smaller than 8 mm so values of N.sub.1 may be smaller than this example.
(141) In the embodiment C3DLS 20, in functional block 151 (
(142) Note that functional block 157 of
(143) Referring now to functional block 153 in
(144) Another important aspect of sub-pixel statistical edge detection 153 is consistency, from profile-to-profile and image-to-image, in the way in which edge points are determined along profiles 213. In embodiment C3DLS 20 of
(145) Note that for simplicity, example profile 213 as shown in
(146) Referring now to sub-pixel statistical edge detection 153 in
(147) As mentioned above, an example illustrating the general shape of a profile is as shown in
(148) For an ideally steep edge, the percentage of profile intensity at which to place edge points is 50%, but many radio-opaque medical objects being imaged do not have such ideally steep edges. For example, catheter tips having circular cross-sections which lessen X-ray absorption at the edges just due to material thickness, and some catheters have outer layers which are not as radio-opaque as metals. Thus, many catheters have transition regions 214 which deviate quite a bit from vertical. This variation in edge transition regions is shown schematically in
(149) In connection with this invention, as a result of detailed modeling of the X-ray transmission of such objects and with experimentation, it has been found that a pivot point (pivot level) 221 occurs in transition regions 214 at a level other than 50%, but that the pivot behavior of transition regions is robust over a significant range of transition region 214 widths. For example, in modeling a 7 French catheter tip imaged under typical clinical conditions, pivot point 221 was found to occur at a level of about 55%, and this level was robust over a wide range of transition region 214 widths. The existence of pivot point 221 indicates that edge point determination has a degree of insensitivity to medical object edge radio-opacity.
(150)
(151) For each profile 213, a profile width pw is determined as described in functional block 171 of
(152) The final steps (functional blocks 177 and 178) of sub-pixel statistical edge detection 153 use the two sets of edge points ep.sub.1 and ep.sub.2 of remaining profiles 213 as representations of the two edges E.sub.1 and E.sub.2 of cluster 203 and compute the least-squares-fit representations of E.sub.1 and E.sub.2. The analysis involved in performing a least-squares-fit calculation is well known by those skilled in the art of mathematical and graphical analysis.
(153) Referring again to
(154) In
(155)
(156) Since the catheter tip being tracked in C3DLS has a rounded distal end (as seen in the upper left corner of
(157) Alternatively,
(158) Embodiment C3DLS 20 continues in
(159) C3DLS 20 continues in functional block 159 with the step of final determination of whether or nor cluster 203 represents a catheter tip by applying the criteria established during initialization steps 41A and 41B (
(160) Referring again to
(161) The dimensions of the image of an object projected onto detector 13 depend on the dimensions of the object itself, its rotational orientation relative to detector 13, and the geometric magnification. The rotational orientation of the object can give rise to foreshortening effects. If, for example, a cylindrical object were being imaged, the length of the cylinder in its projected image would depend on the angle between the axis of the cylinder and the plane of detector 13. If the axis were parallel to the plane of detector 13, the length in the image would be given by the actual length of the cylinder times the geometric magnification. However, if the axis of the cylinder were parallel to the X-rays passing through it, the image would be the elliptical or circular cross-section of the cylinder, and all information about its length would be lost.
(162) The only object completely devoid of foreshortening effects is a sphere, since it is rotationally symmetric about any axis through its center. A cylinder is insensitive to foreshortening of its diameter, since a cylinder is rotationally symmetric about its central axis. And, as illustrated in
(163)
(164) The following is a list of term definitions for the diagrams of
(165) Using these definitions and performing algebraic and trigonometric manipulations well known to those skilled in the art of mathematics yields a relationship for applying radial elongation correction 31 as follows:
d=D*/[W.sub.P.Math.{[ Sin()].sup.2+[ Cos()].sup.2.Math.[ Cos()].sup.2}.sup.1/2]
This equation enables calculation of the z-coordinate of a medical object from its image on detector 13, accounting for radial elongation effects and for any orientation of the object within the image on detector 13.
(166) Further, from analysis of the tangential side view in
d/W.sub.TP=d.sup.2/(D.Math.)
For typical values for the variables involved, sensitivity d W.sub.TP (e.g., mm z per mm diameter) is very large, requiring measurement of effective dimensions on the order of 0.02 mm to achieve the desired operational accuracy of C3DLS 20. Such behavior is due to the fact that the size of a catheter tip is very small compared to the distance between detector 13 and X-ray source 11, which means that the divergence of the beams passing on each side of the catheter tip is small.
(167) In similar fashion, from radial side view analysis, the sensitivity of the z-coordinate to changes in W.sub.RP is found to be:
d/W.sub.RP=d.sup.2/{D*.Math.[1+(R/D).sup.2].Math.}
(168) Referring again to
(169) When 3D coordinates are calculated, such information may be used in a variety of ways such as displaying it as part of other medical display modalities such that it may be used in an interventional procedure such as cardiac ablation. As a medical object such as a catheter is moved inside an anatomical structure such as a chamber of the heart, data may be generated to create 3D maps of such anatomical structures by indicating that a point at which the medical object is positioned is within such structure and marking the 3D coordinates of the catheter tip in memory as a map data point. Map data may then be used by the physician to help in directing the catheter tip to desired points in the anatomical structure. Such images may be integrated with other imaging modalities for enhanced visualization during a variety of medical procedures.
(170) The inventive method processes a selected 2D image as described, making precise measurements of effective medical-object dimensions in order to determine the 3D coordinates and orientation of the medical object. After completion of the processing of a selected image, the inventive system processes a next selected 2D image. Operation may involve processing sequences of images of three to five seconds in length at frames rates of 7.5 to 30 images per second. Such operation enables using multiple images to make measurements of the medical object and performing averaging to reduce variability and increase accuracy.
(171) The method for displaying the mapping and ablation catheter tip in 3D using 2D fluoroscopy alone represent a substantial advantage over other currently available mapping and imaging systems. In particular, the methods provides the physician to use existing equipment in the laboratory without significant infrastructure modification to see the catheter in 3D anatomical structure. While embodiments of the invention are described with reference to the exemplary embodiments using a cardiac catheter, it will be understood by those skilled in the art that small variations may be made to use the inventive method with other radio-opaque medical objects such as leads, stents and other instruments used for interventions and therapy. In addition, many modifications may be made to the teachings of the invention to adapt to a particular situation without departing from the scope thereof. Therefore, it is intended that the invention not be limited to the embodiment disclosed for carrying out this invention, but that the invention includes all embodiments falling with the scope of the intended claims.