Autonomous endoscopic robot
The visually navigated bronchoscopy system employing a 3cGAN addresses CT-to-body divergence by generating depth maps for sensorless navigation, enhancing the accuracy and effectiveness of lung cancer biopsies by reducing tracking errors and improving diagnostic yield.
Patent Information
- Application Number
- PCT/US2024/025546
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-20
- Filing Date
- 2024-04-19
- Publication Date
- 2024-10-24
AI Technical Summary
Current navigated bronchoscopy techniques face challenges in accurately reaching peripheral lung lesions due to CT-to-body divergence caused by lung motion, leading to inaccurate navigation and reduced diagnostic yield in lung cancer biopsies.
The implementation of a visually navigated bronchoscopy system using a Three-level Cyclic Generative Adversarial Network (3cGAN) for sensorless navigation, which generates depth maps from endoscopic images to directly register the bronchoscope to a CT-derived virtual view, allowing for autonomous advancement towards predefined targets without external sensors.
This approach significantly improves tracking accuracy and diagnostic yield by reducing tracking errors and orientation discrepancies, enabling more precise and minimally invasive biopsies of peripheral lung lesions.
Smart Images

Figure US2024025546_24102024_PF_FP_ABST
Abstract
Description
AUTONOMOUS ENDOSCOPIC ROBOTCROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of and priority to U.S. Provisional Patent Application No. 63 / 497,358, filed on April 20, 2023, entitled "‘Autonomous Endoscopic Robot,” the entire contents of which are herein incorporated by reference for all purposes.TECHNICAL FIELD
[0002] This disclosure relates to the field of endoscopy, and more particularly to systems and methods for autonomous robot advancement into internal cavities.BACKGROUND
[0003] Low-dose Computed Tomography (CT) is recommended for lung cancer screening among all US adults aged 55 to 80 and a 30-pack-year smoking history: twenty percent of screened patients are notified of suspicion of lung cancer and subsequently suggested for lung biopsy for definitive diagnosis and treatment plans. There are several comparative methods for lung biopsy, including the transbronchial approach, ultrasound- or CT-guided percutaneous lung biopsy, and surgical biopsy. The transbronchial approach has recently been widely used in clinics due to minimal invasiveness to patients. In particular, navigated bronchoscopy that uses electromagnetic sensors for navigation and CT-derived airway map for guidance has incrementally helped physicians avoid getting “lost” in the lung airways. In other comparative examples, robotic approaches have been commercially proposed to enhance navigational bronchoscopy's maneuverability in airways to pass through torturous airways.
[0004] Comparative examples of navigated bronchoscopes, whether robotic or non- robotic, are limited to collecting biopsy samples from peripherally located nodules, particularly those less than 2cm in size. It has been found that CT-to-body divergence (discrepancy between the actual location of the bronchoscope and where navigation tells where the bronchoscope is in CT) caused by lung motion is a primary cause of inaccurate navigation to reach the peripheral lesion. Therefore, this CT-to-body divergency as an unmet need in transbronchial biopsy. Considering that the 5-year survival of early-stage IA lung cancer groups is approximately 90% and late-stage IV is 10%. early and accurate diagnosis of lung cancer using bronchoscopic biopsy would provide several benefits; the ongoing presence of CT-to-body divergency issuesis causing some lung cancer patient to die earlier due to lack of successful biopsies. There exists a need to address this issue using visual navigation technology.
[0005] An autonomous medical robot has been an area of significant interest. It is unknown if the autonomous robot control is even available or useful in medical robotics. It is believed that the physician’s ability to maneuver the continuum robot relates significantly to their ability to use a gamepad. Specifically, in a feasibility study enrolling different backgrounds and experiences of the physicians, it was found that the junior surgeons with more knowledge of using video games using the gamepad presented better skills in commanding the robot. There exists a need for systems and methods to address such user-variability of controlling a continuum robot.SUMMARY
[0006] The present disclosure addresses these and other needs by providing systems and methods for autonomous robotic advancement into internal passageways, such as the lung airway. The present disclosure implements a pilot data collection for automated bronchoscopic biopsy. The modified visually navigated bronchoscopy (VNB) was implemented as a visual perception of a robotic bronchoscope. It was embedded into the robot’s control software as visual servoing and provides automatic advancement of the robot towards the predefined clinical target. The integration was validated on phantom and ex-vivo datasets. In some examples, the approach described herein uses a Three-level Cyclic Generative Adversarial Network (or “Three Cycle-Consistent Generative Adversarial Network’’) (3cGAN) that uses inverse mapping, cycle consistency loss, and merging loss to address highly under-constrained mapping. Disclosed herein is a fully sensorless navigation to reach peripheral lesions for navigated bronchoscopy. The fully integrated navigation system was validated in clinical validation studies. Among other things, the systems and methods described herein can be used to treat small peripheral lung cancer by delivering anticancer agents or combing ablation systems in a minimally invasive fashion without lung resection.
[0007] According to one aspect of the present disclosure, An endoscopy system is provided. The system comprises an imaging device configured to capture at least one image at a first position within a lumen; and at least one electronic processor configured to receive the at least one captured image, generate a depth map from the at least one captured image using a trained generative adversarial network (GAN), generate a guidance vector based on at least one of the estimated depth map, a model of the lumen, and a position of a target within the lumen,and control at least one of a navigation or a viewing perspective of imaging device based on the guidance vector to move the imaging device to a second position.
[0008] According to another aspect of the present disclosure, an endoscopy method is provided. The method comprises capturing at least one image by an imaging device at a first position within a lumen; receiving, by at least one electronic processor, the at least one captured image; generating, by the at least one electronic processor and using a trained generative adversarial network (GAN), a depth map from the at least one captured image; generating, by the at least one electronic processor, a guidance vector based on at least one of the estimated depth map, a model of the lumen, and a position of a target within the lumen; and controlling, by the at least one electronic processor, at least one of a navigation or a viewing perspective of the imaging device based on the guidance vector to move the imaging device to a second position.
[0009] According to another aspect of the present disclosure, a non-transitory computer-readable medium is provided. The non-transitory computer-readable medium stores instructions that, when executed by at least one processor of an endoscopy system, cause the endoscopy system to perform operations comprising capturing at least one image by an imaging device at a first position within a lumen; receiving the at least one captured image; generating, using a trained generative adversarial network (GAN), a depth map from the at least one captured image; generating a guidance vector based on at least one of the estimated depth map, a model of the lumen, and a position of a target within the lumen and controlling at least one of a navigation or a viewing perspective of the imaging device based on the guidance vector to move the imaging device to a second position.BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Some embodiments of the disclosure are described herein with reference to the accompanying figures. The description, together with the figures, makes apparent to a person having ordinary skill in the art how some embodiments of the disclosure may be practiced. The figures are for the purpose of illustrative discussion and no attempt is made to show structural details of an example in more detail than is necessary for a fundamental understanding of the teachings of the disclosures. In the drawings:
[0011] FIG. 1 illustrates a block diagram of an example of a 3cGAN in accordance with the present disclosure.
[0012] FIG. 2 illustrates a block diagram of an example pipeline in accordance with the present disclosure.
[0013] FIG. 3 illustrates outputs of example generators of the 3cGAN of FIG. 1.
[0014] FIG. 4 illustrates an example ex-vivo setup in accordance with the present disclosure.
[0015] FIG. 5 illustrates a comparison of the present disclosure and comparative examples.
[0016] FIG. 6 illustrates a comparison of the present disclosure and comparative examples.
[0017] FIG. 7 illustrates a comparison of tracking error between the present disclosure and comparative examples.
[0018] FIG. 8 illustrates example trajectories in accordance with the present disclosure.
[0019] FIG. 9 illustrates a comparison of tracking error between the present disclosure and comparative examples.
[0020] FIG. 10 illustrates a visualization of an example navigation software in accordance with the present disclosure.
[0021] FIG. 1 1 illustrates a visualization of an example navigation software in accordance with the present disclosure.
[0022] FIG. 12 illustrates an affect of orientation error in accordance with the present disclosure.
[0023] FIG. 13 illustrates an example of an automated bronchoscopy platform in accordance with the present disclosure.
[0024] FIG. 14 illustrates an example of a control interface in accordance w ith the present disclosure.
[0025] FIG. 15A illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0026] FIG. 15B illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0027] FIG. 15C illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0028] FIG. 15D illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0029] FIG. 15E illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0030] FIG. 15F illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0031] FIG. 15G illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0032] FIG. 15H illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0033] FIG. 151 illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0034] FIG. 16 illustrates a visualization of an example advancement procedure in accordance with the present disclosure.
[0035] FIG. 17 illustrates a process flow' of an example endoscopy method in accordance with the present disclosure.DETAILED DESCRIPTION
[0036] In the following detailed description, reference is made to the accompanying drawings in which specific examples are shown by way of illustration. These examples are described in sufficient detail to enable those of ordinary' skill in the art to practice the disclosure. It should be understood, however, that the detailed description and the specific examples, while indicating examples of embodiments of the disclosure, are given by way of illustration only and not by way of limitation. From this disclosure, various substitutions, modifications, additions rearrangements, or combinations thereof w'ithin the scope of the disclosure may be made and w ill become apparent to those of ordinary skill in the art.
[0037] Unless otherwise indicated, the various features illustrated in the drawings may not be drawn to scale. The illustrations presented herein are not necessarily intended to be actual views of any particular method, device, or system, but are merely idealized representations that are employed to describe various embodiments of the disclosure. Accordingly, the dimensions of the various features as illustrated may be arbitrarily expanded or reduced for clarity. In addition, some of the drawings may be simplified for clarity. Thus,the drawings may not depict all of the components of a given apparatus (e. g. , device) or method. In addition, like reference numerals may be used to denote like features throughout the specification and figures.
[0038] It should be understood that any reference to an element herein using a designation such as "first." "second." and so forth does not limit the quantity or order of those elements, unless such limitation is explicitly stated. Rather, these designations may be used herein as a convenient method of distinguishing between two or more elements or instances of an element. Thus, a reference to first and second elements does not mean that only two elements may be employed there or that the first element must precede the second element in some manner. Also, unless stated otherwise a set of elements may comprise one or more elements.
[0039] Unless otherwise specified or indicated by context, the terms “a,” “an,” and “the” mean “one or more.” As used herein, unless otherwise limited or defined, “or” indicates a non-exclusive list of components or operations that can be present in any variety of combinations, rather than an exclusive list of components that can be present only as alternatives to each other. For example, a list of “A, B, or C” indicates options of: A; B; C; A and B; A and C; B and C; and A, B, and C. Correspondingly, the term “or” as used herein is intended to indicate exclusive alternatives only when preceded by terms of exclusivity, such as “only one of,” or “exactly one of.” For example, a list of “only one of A, B, or C” indicates options of: A, but not B and C; B, but not A and C; and C, but not A and B. In contrast, a list preceded by “one or more” (and variations thereon) and including “or” to separate listed elements indicates options of one or more of any or all of the listed elements. For example, the phrases “one or more of A, B. or C” and “at least one of A, B. or C” indicate options of: one or more A; one or more B; one or more C; one or more A and one or more B; one or more B and one or more C; one or more A and one or more C; and one or more A, one or more B, and one or more C. Similarly, a list preceded by “a plurality of’ (and variations thereon) and including “or” to separate listed elements indicates options of one or more of each of multiple of the listed elements. For example, the phrases “a plurality of A, B, or C” and “two or more of A, B, or C” indicate options of: one or more A and one or more B; one or more B and one or more C; one or more A and one or more C; and one or more A, one or more B, and one or more C.
[0040] As used herein, “about,” “approximately,” “substantially,” and “significantly” will be understood by persons of ordinary skill in the art and will vary to some extent on the context in which they are used. If there are uses of these terms which are not clear to personsof ordinary' skill in the art given the context in which they are used, “about’' and “approximately" will mean plus or minus <10% of the particular term and “substantially" and “significantly” will mean plus or minus >10% of the particular term.
[0041] As used herein, the terms “include" and “including" have the same meaning as the terms “comprise" and “comprising" in that these latter terms are “open" transitional terms that do not limit claims only to the recited elements succeeding these transitional terms. The term “consisting of,” while encompassed by the term “comprising,” should be interpreted as a “closed” transitional term that limits claims only to the recited elements succeeding this transitional term. The term “consisting essentially of,” while encompassed by the term “comprising.” should be interpreted as a “partially closed” transitional term which permits additional elements succeeding this transitional term, but only if those additional elements do not materially affect the basic and novel characteristics of the claim.
[0042] As used herein, the term “subject” may be used interchangeably with the term “patient” or “individual” and may include an “animal” and in particular a “mammal.” Mammalian subjects may include humans and other primates, domestic animals, farm animals, and companion animals such as dogs, cats, guinea pigs, rabbits, rats, mice, horses, cattle, cows, and the like.
[0043] As used herein, the terms “treat” or “treatment” encompass both “preventative” and “curative” treatment. “Preventative” treatment is meant to indicate a postponement of development of a disease, a symptom of a disease, or medical condition, suppressing symptoms that may appear, or reducing the risk of developing or recurrence of a disease or symptom. “Curative” treatment includes reducing the severity of or suppressing the worsening of an existing disease, symptom, or condition. Thus, treatment includes ameliorating or preventing the worsening of existing disease symptoms, preventing additional symptoms from occurring, ameliorating or preventing the underlying systemic causes of symptoms, inhibiting the disorder or disease, e.g., arresting the development of the disorder or disease, relieving the disorder or disease, causing regression of the disorder or disease, relieving a condition caused by the disease or disorder, or stopping the symptoms of the disease or disorder.
[0044] The present disclosure provides example implementations in the field of bronchoscopy; however, the systems and methods described herein may be implemented to autonomously guide any endoscopic application, including but not limited to neuroendoscopy and ureteroscopy. Thus, the discussion of bronchoscopy, bronchial passageways, etc. below is provided by way of example and not limitation.
[0045] Lung cancer is the most common cause of cancer-related deaths in the United States. It is also a commonly diagnosed malignancy, second only to breast cancer in women and prostate cancer in men. Lung cancer detection benefits from meticulous staging because the treatment and prognosis vary widely depending on the diagnosed stage. Early diagnosis of lung cancer is shown to improve patient outcomes, particularly in peripheral pulmonary- nodules (PPNs). Therefore, lung cancer biopsy at the onset of treatment or in the pre-treatment stage to decide the course of treatment (including surgery, radiotherapy, and chemotherapy) is important for oncological care of lung cancer.
[0046] In comparative examples for both pre-treatment and post-treatment biopsies, a lung biopsy is performed by either surgical, CT-guided, or bronchoscopic biopsy. In one particular comparative example, Electromagnetically Navigated Bronchoscopy (ENB) is applied in the transbronchial biopsy of PPNs or lesions due to its safety profile, with fewer pneumothoraxes, chest tubes, significant hemorrhage episodes, and respiratory- failure episodes than a CT-guided biopsy strategy. A multicenter study conducted to investigate the efficacy of ENB reported that the 12-month diagnostic yield of ENB is 73% for the median lesion size of 2 cm. The reported diagnostic yield of transbronchial biopsy can be as low as 46%, w arranting further improvement to provide accurate and timely diagnosis to patients with suspected lung cancer.
[0047] It is estimated that there are two technical factors causing lower diagnostic yield in ENB: dynamic deformation of the tracheobronchial tree by bronchoscope maneuvers and nodule motion due to the breathing motion of the lung. Both issues cause CT-to-body divergence in which static preprocedural CTs no longer represent the physical shape of the airway, confusing physicians using the CT as a guidance map for the ENB. In fact, the diagnostic yield is higher when the CT-to-body divergence is less than 4 mm, indicating to the field that CT-to-body divergence needs to be addressed before ENB can reach its full potential in diagnostic biopsy.
[0048] In another comparative example, Robotic Navigational Bronchoscopy (RNB) has been used to help physicians to perform lung biopsies minimally invasively. RNB may be implemented using a continuum robot to maneuver an ultrathin bronchoscope to facilitate the complex maneuvering of the navigated endoscope. Some RNB modalities use electromagnetic sensors to inform the robot guidance, whereas others use an optical-shaped sensor for “tracking” the robot and bronchoscope.
[0049] However, as noted above, regardless of the choice of bronchoscopy platform (robotic or non-robotic). the diagnostic yield of ENB is associated with the average fiducial target registration error (AFTRE). Mean AFTRE is lower in diagnostic (successful) biopsies than in non-diagnostic (unsuccessful) biopsies. CT-to-body divergence is believed to be a major cause of higher AFTRE. In short, CT-to-body divergence is a false indication of the tip of the bronchoscope (and its tools) in pr — procedural CT, causing disorientation among the physicians performing transbronchial biopsies. A similar issue has been reported in neuronavigation due to the deformation of the brain where CT or MRI are taken before the opening of the dura, and CT or MRI becomes obsolete as a guidance map.
[0050] The CT-to-body divergency continues to hamper navigation accuracy in ENB and RNB as long as rigid transformation is computed using fiducial markers to relate the patient to the image geometrically. The mathematical approach to relate patient-to-image registration using the fiducial markers appearing in CT and by external tracking sensor was initially developed in neuronavigation in the late 1980s; this 40-y ear-old technology is still used in comparative examples of commercial navigation software for ENB and RNB using sensors and fiducial markers, assuming lung is rigid, hard, and doesn’t deform, which is not a reality. There exists a need in endoscopic navigation to depart from this unrealistic assumption that the lung is rigid, stop using the fiducial-based registration, and directly and continuously map the endoscopic sight to CT.
[0051] The present disclosure directly addresses this need by, for example, visual navigation that registers the endoscopic camera sight to a CT-derived virtual view of the camera view, directly registering the endoscope to the CT. Because the visual registration continuously updates patient-to-image registration throughout ENB and RNB, VNB is robust to changes in the lungs’ shape. Vision-based tracking in VNB does not require an electromagnetic tracking sensor to localize the bronchoscope in CT; rather, it directly localizes the bronchoscope using the cameras view, conceptually removing the chance of CT-to-body divergence. Thus, VNB permits tracker-less navigation using native bronchoscopy images only. VNB was originally proposed to use intensity-based image registration between bronchoscopic images and virtual bronchoscopic images rendered from a three-dimensional (3D) reconstruction of the CT. These works have been extended into full navigation systems, validated through human subject studies, which have proven the clinical feasibility of VNB in bronchoscopy and have reported feature-poor images, occlusions, image artifacts, and patient’s coughing as the most difficult challenges.
[0052] Depth estimation derived directly from bronchoscopic images has been proposed as an alternative to registering 3D CT views. The rationale is that depth estimation, instead of bronchoscopic images, may avoid tracking error due to varying illumination robustness, surface texture invariance, and, when applied in a trained fashion, it can also increase robustness to visual artifacts and occlusions. In general, the research on using depth estimation in VNB has been limited to evaluate the quality of depth map, and has not been studied in an implementation to VNB to measure clinically relevant racking accuracy. Moreover, comparative examples of visual navigation directly register grayscale images from both virtual bronchoscopy and bronchoscopy videos using image-similarity metrics, and thus are not robust to image noise and motion blurs.
[0053] One objective of the present disclosure, therefore, is to develop and clinically validate VNB as an alternative approach to tracking bronchoscopes without external sensors, by performing direct registration of the bronchoscopic image on the CT airway model using depth estimates. The present disclosure provides a 3cGAN. an unsupervised learning method, designed and trained in an unsupervised fashion, on virtual depth maps and real and virtual bronchoscopic images. The performance of VNB was evaluated using 3cGAN by collecting Absolute Tracking Error (ATE) along the trajectories and Target Registration Error (TRE) at the targets. ATE and TRE are known to relate to the diagnostic yield. Clinically derived phantoms were used from cases involving peripheral pulmonary nodules, which are generally more challenging for physicians to target, necessitating the navigation, and two ex-vivo pig lung specimens.
[0054] As will be described herein, the present disclosure provides systems and methods for systems and methods addressing user-variability in controlling a continuum robot by using depth maps from endoscopic vision for the Navigation, Guidance, and Control (as the terms are defined herein) of a continuum robot to investigate if autonomous control is feasible in a trans bronchi al robot. “Navigation” refers to a sensing system for tracking location and orientation, interchangeably used as tracking in image-guided therapy research. “Guidance” refers to directing devices along a pre-determined trajectory' using navigation sensors. “Control” refers to manipulating the devices.
[0055] Disclosed herein are systems and methods for the use of unsupervised GAN to create depth maps in endoscopic images and the application of the depth map for navigation (tracking) and guidance in a clinical or near-clinical system. Unlike supervised approaches, the unsupervised training set forth herein results in an approach practical for clinical translation.Including virtual images would provide a base from which to develop a depth estimation method that would be capable of identifying and addressing the image artifacts in the depth estimation process.
[0056] One principle of autonomous advancement is to let the physician take primary control of the robot and obtain assistance from the robot to advance in the center of the airway. The robot automatically detects the center of the airway from the endoscopic camera attached at the tip of the robot. The robot also has a way to distinguish multiple choices of centerlines at the branching point of the airway and allows physicians to pick alternative airway. In some examples, the systems and methods described herein depend on a visual depth generated from the 3cGAN. The systems and methods may be accomplished by performing the three steps, termed Navigation, Guidance, and Control.
[0057] Navigation
[0058] Methods and Materials
[0059] Initially, the hypothesis that VNB can accurately register a bronchoscope to a preprocedural CT was tested, measured by ATE and TRE. The working hypothesis was tested by developing a 3cGAN specifically designed and trained in an unsupervised fashion on bronchoscopic images, virtual bronchoscopic images, and ground truth depth maps, and byregistering the estimated depth map using Iterative Closest Point (ICP) matching.
[0060] The 3cGAN was developed to enable embedding of virtual images into the training pipeline and the estimation of depth maps directly from bronchoscopic images. The architectures of the adversarial networks from cGAN were adopted and used as direct comparison models. To enable unsupervised training, a lack of correspondence between the bronchoscopic images, the virtual bronchoscopic images, and the ground truth depth maps was assumed in the collected patient datasets. Those correspondences are used for the validation of depth map estimation only. Adversarial losses were applied to all the network levels. For instance, the adversarial loss of level 1 is referred to as Laan,
[0061] In Navigation, a 3cGAN has been designed to directly estimate the bronchoscopy depth maps from bronchoscopy image. FIG. 1 shows an example block diagram of such a 3cGAN. The generator (G) and discriminator (D) are the main components of a GAN. The symbols used are shown in Table 1, below, in which the subscript number represents the level of the network. In the training process, G tries to generate an image that is so similar to the ground truth that D is not able to distinguish betw een them. Each D has access to the ground truth images of its input for the real / fake comparison. The superscripts under G and D representthe input with the level number and the output of G with the level number, respectively. For example. GA1B1represents a generator that estimates depthfrom bronchoscopic image A . DB1is a discriminator trying to decide if the estimated depthis estimated (“fake”) or the ground truth (“real”). Models in the other levels can be interpreted analogically. In this example, the training is unsupervised so there is no correspondence needed between the inputs at any of the network’s levels. The black dashed lines represent the process of calculating the cycle-consistency loss functions for all three cycle-consistency level pairs. The gray lines illustrate the network backbone related to the merging loss function. The grey circles highlight the beginning and the end of the flow in the merging loss function. The generator GAIBIis used in the testing phase, which has been highlighted in FIG. 1.TABLE 1
[0062] The modified 3cGAN was developed for training on RGB virtual images together with RGB bronchoscopic images and grayscale ground truth depth maps. The modified network was trained in an unsupervised fashion with minimal interaction with users. As shown in FIG. 1, the architecture contains six levels of (Level #1, #2, #3, #4, #5, #6) of GANs specific Generator-Discriminator pairs, and three pairs form cycle-consistent GANs. For each level, the cross- entropy loss function is used to distinguish the Generators' estimation from the input data (i.e., if it is real or fake). The total cycle consistency and merging loss w ere also introduced. To fully define the change from grayscale to RGB, the flow is presented at each of the modified network’s levels.
[0063] At Level # 1 , a generator learns a mapping from real RGB bronchoscopy images to a grayscale estimated depth map and uses Level #l’s discriminator to distinguish betweenthe ground truth and the estimated depth map. At Level #2, a generator leams a mapping from grayscale ground truth depth map to RGB estimated bronchoscopy image using Level #2?s discriminator to distinguish between the real and synthetic bronchoscopy images. At Level #3, a generator leams a mapping from RGB virtual bronchoscopy images to grayscale estimated depth map using Level #3's discriminator to distinguish between the real and estimated depth map. At Level #4, a generator leams a mapping from the grayscale ground truth depth map to RGB estimated virtual bronchoscopy images using Level #3’s discriminator to distinguish between the real and estimated virtual bronchoscopy images. At Level #5, a generator leams a mapping from the RGB real bronchoscopy image to RGB estimated virtual bronchoscopy image using Level #4’s discriminator to distinguish between the real and estimated virtual bronchoscopy images. At Level #6, a generator leams a mapping from the RGB virtual bronchoscopy image to RGB estimated bronchoscopy image using Level #5’s discriminator to distinguish between the real and estimated bronchoscopy images.
[0064] All three levels can be conceptually divided into three level pairs (1-2. 3-4, 5- 6), where the output of one of the two generators (of the same pair) is treated as input to the second generator. Then the output of the second generator is directly compared to the input of the first generator, building the first block of the cycle consistency loss. The second block of the cycle consistency loss is built analogically in reverse order. Each levels-pair has its cycle consistency loss, and all three cycle consistency losses are summed up to provide the total cycle-consistency loss. Merging loss merges all three levels of the network and allows for the influence of all generators on each other. The merging loss is created by taking a grayscale ground truth depth map and feeding it through Level #2’s generator, which produces an RGB- estimated bronchoscopy image. That output is then analogically fed into generators in the following order: 5, 3, 4, 6, 1 . The output of the Level #1 generator (grayscale estimated depth map) is then directly compared to the grayscale ground truth depth map, initially taken as input in Level #2, and builds the merging loss.
[0065] FIG. 2 shows the outline of an example VNB pipeline. In FIG. 2, the network estimates a depth map from a bronchoscopic image. That depth map is re-projected into a point cloud using bronchoscopic camera intrinsics. The camera location is determined using ICP registration of a point cloud of the preoperative CT 3D lung model. The ICP algorithm may be customized specifically for bronchoscopic navigation, for example by imposing geometrical constraints on the shape of the registered point cloud to increase the probability of reaching the global minimum and to improve tracking accuracy. While FIG. 2 illustrates an example inwhich the depth map is generated by a 3cGAN fed to an ICP algorithm to localize the pose of the tip of the robotics bronchoscope, the present disclosure is not limited to only this manner of generating the depth maps. In some implementations, the depth map may be generated by one or more other data-driven methods to localize the pose of the tip of the robotics bronchoscope.
[0066] Both models were trained in PyTorch for 50 epochs with a batch size of one, and using an Adam optimizer with a learning rate of 2>< 104. Training took about 8 hours for cGAN and 30 hours for 3cGAN, and less than 0.02 s for the inference of one depth map on a GTX 1080 Ti GPU for both models. Each of the training datasets contained approximately 2500 images. It took approximately 2 s to estimate one camera pose using ICP in 3D Slicer on an Intel Core i7-8650U CPU.
[0067] For cGAN, the adversarial losses, the Cycle Consistency Loss, and the total loss function are formulated according to the following Equations ( 1 )-(3). gan2~Gganievl+Gganiev2(1)G2Ggan2+Gcyc2(3)
[0068] For 3cGAN, the adversarial loss is a sum of adversarial losses from all six levels, formulated according to the following Equation (4). gan6= Ggan2+ ^ganiev3+Gganiev4+Gganiev5+Gganiev6(4)
[0069] The Cycle Consistency Loss of the 3cGAN combines Equation (2) and cycle consistency losses, pairing level 3 with 4 and level 5 with 6, as described by the following Equation (5).
[0070] For the 3cGAN, a merging loss function is also introduced, which combines all levels of the network and therefore allows for all of them to be used in the final process of depth estimation in level 1. The merging loss function is formulated according to the following Equation (6).
[0071] Thus, the total loss function of the 3cGAN is formulated according to the following Equation (7). fyGgan6"bGcyc6+Gm6(7)
[0072] An alternative approach to the proposed 3cGAN, which would include virtual bronchoscopic images C in training, is to add only one level (half) of cGAN including a generator to estimate depth maps B from virtual bronchoscopic images C. However, such three level network (cGAN + mapping C to B) would not have a reference C (as an output of the generator) for the unsupervised learning to compare with the input C. Specifically, the inclusion of C in the training process would not affect the depth estimation from real bronchoscopic images (A to B mapping). Therefore, to enable and increase the benefit of involving virtual bronchoscopic images in training, a cycle-GAN pair is included for each of the pairs of data types (AB, AC, BC) and connected with one “merging loss” to bring the benefit from learning on all the levels to the first level of A to B mapping.
[0073] Both models (cGAN and 3cGAN) were trained in an unsupervised fashion on bronchoscopic images obtained from phantom and ex -vivo sequences imitating transbronchi al biopsies, as well as on ground truth depth maps and virtual bronchoscopic images. The phase of depth map estimation from a bronchoscopic image is illustrated in level 1 (FIG. 1). To verify the genericity of the models in the testing phase, the network received only bronchoscopic images from cases it had not been trained on. In the ex- vivo study the 3 cGAN has been trained on lung specimen #1 and tested on lung specimen #2.
[0074] The cGAN-estimated depth map (B ) was re-projected into a point cloud using bronchoscopic camera intrinsics and registered to the preoperative CT using ICP matching. The estimated ithcamera pose T is calculated according to the following Equation (8).
[0075] In Equation 8, proj(£ , Tfy- represents the re-projection of the 1thestimated depth mapfrom the previous camera pose T^. The initial ground truth camera pose To was used for the initialization. The ICP() process using ICP matching finishes tracking and gives the location and orientation of the bronchoscopic camera in the CT coordinate system.
[0076] The depth map is then post-processed to identify the airway away from the tip of the robot, to find airway wall and center of the airway at a depth The center of the bronchoscopic camera is also estimated from the video image. Control is the main loop of process, encompassing both Navigation and Guidance, but ultimately issuing motion command to robot’s control unit. When the center of the airway at depth and center of the camera is within known distance on the camera view by Navigation and Guidance loop, the command to advance the robot is issued.
[0077] Validation Studies
[0078] The present disclosure explores VNB as a perception system of a robotic bronchoscope and provides means of advancing the robot autonomously along the preplanned trajectory in the airway. To attain the objective, the working hypothesis was tested that VNB can serve as the only perception system of a robotic bronchoscope and can navigate it from the trachea to a predefined target in a phantom and ex-vivo lungs. The developed VNB was incorporated into the control system of the robotic bronchoscope and an automated bronchoscopy platform (ABP) w as developed. ABP may allow?the robotic bronchoscope to advance toward the target based purely on the image from the bronchoscopic camera.
[0079] A first preliminary study was performed to address and mitigate issues in which the GAN is difficult to train. As the complexify of the network increases, the issue of difficult GAN training is exacerbated. This is illustrated in FIG. 3, which show s example outputs of the generators at each level of the network in the 3cGAN approach. The first and second rows of FIG. 3 represent the inputs and outputs of the generators, respectively. The same notation as in FIG. 1 and all equations has been used for clarify. The depth maps are scaled in mm. The 3cGAN, as opposed to comparative examples of approaches using a cGAN, accurately produces the depth maps. The preliminary7study reported that 3cGAN had statistically better Depth Similarity metrics than cGAN, with a Mean Absolute Error (MAE) of 7.8, Root Mean Squared Error (RMSE) of 10.6, and Normalized Cross-Correlation (NCC) of 0.90. Another preliminary study applied the 3cGAN in quantifying airway stenosis, which shows that the 3cGAN can produce accurate depth maps of the trachea. Therefore, the 3cGAN-based approach described herein produces accurate replications of depth maps close to actual bronchoscopic images, which may permit the 3cGAN approach to be used in VNB.
[0080] It was then investigated whether a depth map can provide a detailed depth map of sufficient qualify for navigating the bronchoscope. Using the combination of 3cGAN and Integrative Close Point matching, a version of the VNB described here was produced. It wasfound that the VNB can accurately track the location of the bronchoscope with a tracking error of 5 mm or lower in 48 percent of the baroscopic examination. This demonstrates that 1) generating a depth map was feasible in phantom and ex -vivo specimens, and 2) registering the depth map using the ICP method is feasible, mitigating the risk of failure using a modified 3cGAN method.
[0081] In addition to the preliminary studies, validation studies were performed. In one validation study, five patients were retrospectively enrolled from the ENB cases performed under IRB-approved &2020P001835. Attempts were made to enroll at least two successful cases of lesion in the right upper lobe (RUL), one successful case of left upper lobe (LUL), and two unsuccessful cases of either RUL or LUL. Only upper lobe nodules were selected, as they are the most difficult to reach; thus, bronchoscopic navigation is most useful for them. A case was labeled as successful if the surgeon was able to reach the nodule in ENB. If there were multiple candidates from the cases, attempts were made to choose cases from throughout the time period to maximize randomization. The selected cases, with CT parameters, nodule location, diameter, reachability, and distance from the last navigation frame to the nodule, are presented in Table 2, which shows characteristics of patient-specific video sequences and target nodules. In Table 2, “diameter"’ refers to the diameter of the nodule and “d” refers to the distance from the last frame to the nodule.TABLE 2
[0082] The lung airways from CT scans were segmented in 3D Slicer. The segmented airway and the artificial 3D airway model were used to produce 3D clinical phantoms. They were produced first by 3D printing the segmentations in ABS plastic. The 3D printed segmentation models were mounted inside a container that was then filled using a tin-curedsilicone rubber compound (Mold Max, Smooth-On, Inc., Macungie, PA). After curing was completed, the 3D printed plastic models were cut out of the silicone, leaving a void that simulated an airway. Bronchoscopic operations were performed using a Scope 4 bronchoscope (Ambu Inc, Columbia, MD), virtual bronchoscopic images, and ground truth depth maps that were generated in Unity (Unity Technologies, San Francisco, CA). The validation design replicates real surgical scenarios, including the equipment commonly used in operating theaters.
[0083] Two bronchoscopic operations per case were recorded. The first was the training sequence, where the bronchoscope was inserted into every possible airway in order to collect video for the cGAN training. In the second, the navigation sequence imitated a typical transbronchi al biopsy from carina toward the nodule identified by the clinician. All navigation sequences were recorded using an electromagnetic tracker (Aurora, NDI, Waterloo, Canada). In this disclosure, the position and orientation tracked by the electromagnetic sensor are treated as ground truth. The coordinate frame of the ENB tracking device was registered to the CT coordinate frame using fiducial registration. Eight random fiducial points around the trachea and carina were marked on the phantom using an electromagnet! cally tracked pointer and were registered to their corresponding points in the CT image. The achieved average fiducial registration error was 1.46 mm. If the target could not be reached, the navigation sequence was stopped at the point where the bronchoscope was immersed. Due to scope limitations, it was not possible to reach the target directly in any of the cases except case #4, but the upper lobe was reached in each of the cases except case #2. The distance from the last camera frame to the center of the nodule for each phantom navigation sequence is presented in Table 2. Only one of the navigation sequences (case #4) reached close proximity to the target, which directly influenced reported TRE. Moreover, the limiting scope size also caused movement of the electromagnetic sensor attached to the bronchoscopic camera in some parts of the navigation sequences. This led to spatial divergence between the bronchoscopic image and ground truth depth maps, which can be observed in the second and last column in FIG. 5 (which will be discussed in more detail below). This phenomenon could have influenced the depth similarity metrics, but it did not influence the localization performance.
[0084] The lung segmentation procedure and the registration process of the ENB tracking device to the CT coordinate frame were identical to those performed in the phantom study. The achieved average fiducial registration error was 0.72 mm. Bronchoscopic operations were performed using a custom-developed snake robot with the OVM6946 bronchoscopiccamera (OmniVision, CA, USA). The training sequence was recorded by inserting the bronchoscope into Right Upper Lobe. Right Middle Lobe, Left Upper Lobe and Left Middle Lobe of pig lung specimen #1. The navigation sequence imitated a typical transbronchi al biopsy from the carina towards the imaginary target in the LML in ex-vivo specimen #2. The navigation sequence was recorded using ENB tracking (Aurora, NDI, Waterloo, Canada) to obtain the ground truth poses with respect to the CT frame. The experimental setup of the ex- vivo data collection is illustrated in FIG. 4 using a pig lung as a specimen.
[0085] A CT imaging sequence was performed at the specimen inhale, exhale, and medium position to determine the specimen's maximum possible natural deformation. A 6DOF EM-sensor (Aurora, NDI. ON, Canada) was attached to the bronchoscopy camera to enable navigated bronchoscope or ENB. Bronchoscopy images the specimen airways and the EM tracking data, following the airway centerline from the entry' point to the specified target. Using that EM tracking data were collected from, the virtual bronchoscopic images were rendered, and ground truth depth maps were generated corresponding to the bronchoscopy images from the specimen in a neutral position. The 3cGAN was trained on bronchoscopic images from ex- vivo specimens together with virtual bronchoscopy images and ground truth depth maps. The TRE of all approach paths to the lesion w ere measured (from Carina to the lesion in the 5th generation airway) by the VNB using EM tracking. The local deformation of the specimen was also collected by collecting the intra-procedural CT with the bronchoscopes in it and measuring the local deformation in 3D Slicer.
[0086] Two sets of metrics were collected in the first validation study. The first set of the data collection relates to the depth map estimated by two methods: cGAN and 3cGAN. MAE, RMSE, and NCC between the estimated and ground truth depth maps for all image frames are collected as depth similarity metrics.
[0087] The second set of the data collection relates to localization performance of the proposed approach. The metric collected was the ATE of the cGAN and 3cGAN from the trachea to the lobar bronchus. Successful depth estimation with the herein-described model is considered attained when the depth map generated by the model has a correlation value of 0.95 or higher against the ground truth. The 3cGAN model set forth herein was validated by measuring the MAE between the estimated and gold standard poses. The number of successful localizations was also counted by defining “success” as an ATE under 5.0 mm. The threshold of 5 mm is in line with the bronchoscopic standard of accuracy required for navigation. Here, ATE is defined as the distance between the ground truth and the estimated camera location.
[0088] In addition, TRE was calculated for all frames at the lobar bronchus for each case. In particular, TRE was calculated according to the following Equation (9). where d represents the distance from the position of the bronchoscope to the center of the nodule and where ATE and RE represent the position and orientation error, respectively.TRE = d sin(RE) + ATE (9)
[0089] In the statistical analysis, first, the average and standard deviation of the depth similarity metrics computed by cGAN and 3cGAN were tabulated at three locations of the airway: the trachea, the main bronchus, and the lobar bronchus, and with all locations combined. The Anderson-Darling Normality Test was performed to test if the depth similarity metrics of cGAN and 3cGAN were distnbuted normally. If they were normally distributed, a paired t-test was performed to compare the two models at each location. Otherwise, a Wilcoxon signed-rank test was performed to compare the two models at each location.
[0090] Second, average and standard deviation of ATE and its box plots representation were reported. For all ATE data collected, an Anderson-Darling Normality Test was performed to test if ATE computed by cGAN and 3 cGAN was distributed normally. If the ATE was normally distributed, a paired t-test was performed to compare the ATE of each method. Otherwise, a Wilcoxon signed-rank test was performed to compare the ATEs of the two models as paired data.
[0091] Third, ATE computed by cGAN and 3 cGAN was decomposed into three locations of the airway: the trachea, the main bronchus, and the lobar bronchus. Then, contingency tables were created, showing the number of frames yielding ATE with two thresholds. The threshold of 5 mm is in line with the standard. The threshold of 10 mm was selected to provide more information about the frames registered above the 5 mm error. A chi- square test was performed at each location to assess if the difference between the number of successful frames computed by cGAN and 3cGAN was statistically significant.
[0092] Lastly, box plots of TRE computed by cGAN and 3 cGAN at the lobar bronchus were presented for each case. For all TRE data collected, an Anderson-Darling Normality’ Test was performed to test if TRE computed by cGAN and 3 cGAN was distributed normally. If TRE was normally distributed, a paired t-test was performed to compare the TRE of each method for each case. Otherwise, a Wilcoxon signed-rank test was performed to compare the TRE of the two models as paired data.
[0093] All statistical analyses were performed using Python version 3.7. In all tests, p values of 0.05 or less were considered to be statistically significant.
[0094] Results
[0095] Both cGAN and 3cGAN were successfully completed to create depth maps with depth similarity metrics of 454 frames in five cases, and to compute ATE of all 454 frames. TRE was computed at the lobar bronchus in all cases except case #2 because the lobar bronchus was not reached in that case.
[0096] The average and standard deviation of MAE, RMSE, and NCC between the depth maps of ground truth and the depth maps estimated by cGAN and 3cGAN were 11.6 ± 4.7 mm and 7.8 ± 2.5 mm, 15.0 ± 5.5 mm and 10.6 ± 3.0 mm, and 0.77 ± 0.15 and 0.90 ± 0.07, respectively (see Table 3). The Anderson-Darling normality test showed that the distributions of MAE, RMSE, and NCC were not distributed normally. Therefore, the Wilcoxon signed- rank test was performed to compare the depth similarity metrics computed by the two models and showed that 3cGAN produces statistically significantly smaller values in MAE (p < 0.001) and RMSE (p < 0.001) at the main bronchus and lobar bronchus, and statistically significantly higher values in NCC (p < 0.001) at each location. FIG. 5 illustrates the estimated depths for both cGAN and 3 cGAN models on images along the trajectory from case # 4. The example outputs of the generators at each level of the network are illustrated in FIG. 3 as noted above.TABLE 3
[0097] In FIG. 5, the effect of cGAN and 3cGAN on depth estimation in VNB are shown. Five example bronchoscopic images are distinguished, with case #4 trajectory representing different camera poses. Rows represent, respectively: bronchoscopic images, ground truth depth maps (GT), corresponding depth maps estimated by cGAN, correspondingdepth maps estimated by 3cGAN, and the illustration of the estimated camera pose overlayed onto the airway representation of case #4. Depth maps are scaled in mm. FIG. 5 supports the claim of VNB’s clinical feasibility in navigating toward peripheral lesions and addresses the advantage of 3cGAN over cGAN in depth estimation.
[0098] ATE was defined as the absolute distance between the estimated and camera positions measured by the electromagnetic tracking. This camera position is recognized as the ground truth in our study. The average and standard deviation of the ATE from cGAN and 3cGAN was 7.5 ± 3.8 mm and 6.2 ± 2.9 mm, respectively. ATEs in cGAN and 3cGAN were not represented by normal distribution. Therefore, a Wilcoxon signed-rank test was applied to compare ATE values in cGAN and 3cGAN, which found that the ATE of 3cGAN was statistically significantly lower than that of cGAN (see FIG. 6). In FIG. 6, the box extends from the 25% to the 75% quartile values of the data with a line at the median (6.7 mm for cGAN, 5.9 mm for 3cGAN). A Wilcoxon signed-rank test showed statistical difference between ATEs computed from the models (p < 0.05). The plots of example trajectories have been presented in FIG. 8, discussed below.
[0099] The contingency tables (see Table 4) show the number of frames with an ATE of 5 mm or lower, or 10 mm or lower, at three locations in the airway: the trachea, the main bronchus, and the lobar bronchus. A chi-square test was performed on each contingency table, presenting the statistically significant difference between cGAN and 3cGAN at the trachea and the lobar bronchus for ATEs below 5 mm and at the trachea and main bronchus for ATEs below 10 mm.TABLE 4
[0100] FIG. 7 supports the statistical finding that 3cGAN performs better, particularly in the trachea and lobar bronchus. In FIG. 7. the effect of the depth estimation method (cGAN vs 3cGAN) on Absolute Tracking Error (ATE) of the trachea, main bronchus, and lobar bronchus in VNB are shown. The plot in the left upper comer represents ATE for both depth estimation methods. Three points are distinguished to illustrate examples of statistically significant differences in the performance between cGAN and 3cGAN over the whole trajectory, as well as in the trachea and the lobar bronchus. The presented trajectory comes from case #5. Three representative time frames in the navigational trajectory are selected and the pose estimation error of these three frames within each of the bronchi are illustrated. The first, the trachea illustration, shows that 3 cGAN localizes the bronchoscopic camera with a significantly smaller pose error than cGAN. In the trachea, the diameter of the visible airway is the largest of all; however, the visible airway depth is not. The visible airw ay depth is the largest in the main bronchus, which leads to the lower and upper lobes.
[0101] The pose estimation errors in the main bronchus are presented in the second illustration, indicating that cGAN and 3cGAN perform equally in this part of the lung. The last, the lobar bronchus illustration, shows that 3cGAN estimates the pose better than cGAN in terms of both position and orientation. The lobar bronchus is characterized by narrower airways and lower visible airway depths.
[0102] In FIG. 8, the ground truth (red) and estimated with 3cGAN (green) trajectories of the navigation sequences for all datasets are illustrated. The tracking error in phantom #1 increased in the second part of the trajectory’ but at the end of it the registration stayed within the acceptable 5 mm. For phantom #2 the pose estimation error was higher than expected at the carina and main bronchus but converged when getting closer to the target. The tracking error for the ex- vivo sequence was high in the first part of the trajectory' but stayed close to the ground truth from the main bronchus all the way to the target.
[0103] The average and standard deviation of TRE in the four cases (case #1, #3, #4, and #5) of 3cGAN in the lobar bronchus was 40.5±3.2 mm, 32.0±3.0 mm, 11.7±3.2[mm, and 12.9±9.5 mm. Box plots of the TRE of the four cases for cGAN and 3cGAN are presented in FIG. 9. The box extends from the 25% to 75% quartile values of the data with a line at the median. The Anderson-Darling normality test showed that the distribution of the TRE was not distributed normally. The Wilcoxon signed-rank test showed that the TRE computed by 3cGAN for cases #3 and #4 was statistically significantly smaller than those computed by cGAN.
[0104] The average and standard deviation of the ATE from 3cGAN was 6.98±4.66 mm with TRE = 4.1 mm. The number of frames with ATE of 5 mm or lower was 82 (48%), and with ATE of 10 mm or lower was 134 (79%).
[0105] VNB in 3D Slicer at three bifurcation points from case # 4 are presented in FIG. 10. The rows of FIG. 10 represent entries to the 2nd. 3rd and 4th airway generations with bronchoscopic camera views, virtual bronchoscopic views from the pose estimated by our VNB, and virtual bronchoscopic views from the pose determined by ENB. The columns of FIG. 10 represent the bronchoscopic camera view, the virtual bronchoscopic view from the pose estimated by VNB, and the virtual bronchoscopic view from the pose determined by ENB. All of the virtual views have been generated by custom software referred to as “Fly Through” navigation software in 3D Slicer and contain center line representation of the airway leading toward the nodule. In the last frame, both virtual views show augmented nodule visualization for the surgeon to better understand the optimal position from which to deploy the biopsy needle. Note that at this particular frame, when close proximity to the nodule has been reached, the VNB view is better aligned in the bronchoscopic view and not ENB view. This shows the potential of VNB to outperform ENB.
[0106] FIG. 11 presents “Fly Through” mode in the VNB software within 3D Slicer from case #1. The software presents a bronchoscopic camera view, a virtual bronchoscopic view produced using the proposed 3cGAN, and a ground truth virtual bronchoscopic view produced using ENB. At the top of the navigation window, the software provides a 3D view of the lung phantom with the poses of both the Visual Navigation view (red camera model) and the Electromagnetic Navigation view (blue camera model), as well as the green nodule representation. The software user can see the center line of the airway leading to the nodule and can use the 3D view of the airway model with the camera’s pose displayed to perceive the bigger picture of the bronchoscope’s location at every moment of the procedure. FIG. 11 presents what the clinician would see when trying the proposed VNB in the operating theater.
[0107] Discussion
[0108] The results indicate that the presented VNB, using depth estimation and registration in the pre-procedural CT, is an advantageous alternative to external tracking in bronchoscopy. The analyses conducted and described above found that embedding virtual bronchoscopic images in training and deploying the proposed loss functions allowed for significantly better depth estimation. The disclosed 3cGAN provided a statistically significant localization improvement in the trachea and lobar bronchi in comparison to cGAN. It can beinferred that 3cGAN is best suited for smaller visible depth ranges, such as those in the trachea and lobar bronchi, although the 3cGAN is applicable in other implementations. The visible depth in the main bronchus has the widest range, as it is the bronchi leading to the lower lobe. Increasing the number of training frames recorded in the area of the main bronchus is expected improve the 3cGAN performance in that part of the lung.
[0109] Depth map based methods are shown to be more robust to illumination artifacts and low surface textures in bronchoscopy than comparative methods based on gradient features. Deep learning results in improved depth estimation from monocular endoscopic cameras like bronchoscopes and move heavy computational image processing to a learning, pre-experimental phase, significantly improving the tracking results. The present disclosure to further expands and improves deep learning based bronchoscopic depth estimation and show its feasibility in a clinical setting.
[0110] The systems and methods disclosed herein add value to the learning-based methods used for VNB. For example, comparative implementations using a supervised model require manually labeled data, which constrains them significantly from further clinical advancement. Supervised depth estimation methods require ground-truth depth data matching to endoscopic images, requiring a tedious, time-consuming, and inefficient process to collect and curate data. Thus, supervised approaches are not practical for the clinical translation of VNB. Compared to cGAN unsupervised methods, the 3cGAN unsupervised methods described herein provide a practical approach for clinical translation. In some implementations, virtual images can be included to a good base from which to develop a depth estimation method that would be capable of identifying and addressing the image artifacts in the depth estimation process.
[0111] Unsupervised training provides advantages in clinical applications due to the less complicated data collection process. However, some implementations may utilize a partially supervised training, for example to address image artifacts. An advantage of learning artifact prediction implicitly is that, due to the presence of the virtual bronchoscopic images, the network could leam how real bronchoscopic images look without the artifact and that way see “through’7the artifact. This would provide more genericity than manual labeling.
[0112] The performance of the proposed 3cGAN (see FIG. 5) is validated on the images from the navigation (testing) dataset, which the network has not seen before. The discriminator learns to distinguish the estimated depth maps and ground truth depth maps in the training process. Because the navigation images come from a different sequence and from a differentphantom / lung than the training images, the relationship between the estimated depth and visual conditions is also different. That difference explains why ground truth and estimated depth maps have unequal distributions (FIG. 5). Consequently, the validation study described above showed that the generator still produces depth maps sufficient for visual navigation providing satisfactory tracking accuracy.
[0113] Examples of estimations on all the network’s levels are presented in FIG. 4 and discussed above. Compared to the depth estimation in the first network’s level, other mappings may provide less accurate estimations due to the fact that the merging loss function of Equation (6) was designed to accumulate the benefits from cyclic training of all three level pairs, for the best uality of the depth estimation in the first network’s level. In some implementations, the depth model may be modified by adding equivalent merging loss function with the focus on other levels to bring estimation improvement to these levels, and improve the depth mapping as well.
[0114] The presented 3cGAN is able to estimate depth maps up-to-scale, which results in the re-projected point cloud not being in the metric space. The proposed navigation method is generalizable due to the fact that the scale of the point cloud is modified during ICP matching. This expectation is supported by the results obtained in the studies described above and by the fact that ICP is deployable in multiple clinical settings as a reliable 3D registration method in bronchoscopy, laparoscopic nephrectomy, and sinus surgery.
[0115] The present disclosure addresses the CT-to-body divergence hindering ENB from reaching its highest potential. The technical metrics that directly influenced the diagnostic yield of ENB biopsies were the reachability of the target and the TRE that described the difference between the expected and the actual location of the catheter at the completion of navigation. The required orientation accuracy depends on the distance between the nodule and the camera, and ATE. The distance between the nodule and the camera is determined by the actual location of the nodule within the lung anatomy. Assuming that the nodule has a spherical shape, the position of the camera is as close to the center of the nodule as the airway allows, and that the nodule is located d = 10mm away from the camera position, certain aspects, advantages, and benefits of the present disclosure can be seen.
[0116] If it is assumed that ATE = 0mm, ATE = 0mm, the needle placement will look like as it is in view (a) of FIG. 12, and the maximum allowed orientation error would be defined as a = tan-1. If r is taken to be 5 mm (nodule diameter > 10 mm) and d is taken to be 10 mm from the assumption above, then the maximum allowed orientation error is a = 27°. Theconstraint on the orientation error becomes more complex when ATE J 0. In this case, a then depends on the direction of the ATE with respect to the center of the nodule. The worst-case scenario is when ATE > 5mm. This situation is illustrated in view (b) of FIG. 12, and a = 0 mm because every deviation away from the nodule would result in missing the biopsy target. In summary, under the aforementioned assumptions, the maximum allowed orientation error is a e (0, 27)° depending on the direction and amplitude of ATE.
[0117] The systems and methods herein provide benefits over comparative examples, including but not limited to the benefit of simplicity. There is no notion of the 3D space the robotic endoscope occupies, only the 2D image taken from the camera. No tracking or prior CT segmentation is used. The systems and methods of the present disclosure rely only on a reasonable assumption of accuracy from the predicted depth map and the mapping of first- person control from the robotic endoscope’s camerato view the robotic endoscope’s operation. This allows for navigation to be accomplished even in situations where the airway deforms and during breathing motion.
[0118] The use of 3cGANs as set forth herein provides several advantages over comparative examples, such as those that estimate depth from images. Such comparative examples are limited in application. For example, they have been studied "‘an airway phantom” with an unknown data source and unknown geometry, limiting the study's rigor in investigating the clinical feasi bi 1 i ty of depth-based bronchoscopic Tracking. Second, it is not clear where in the airway system the comparative validation study of the comparative tracking was performed; if the testing was completed near the trachea, the resulting form is not relevant to a transbronchial biopsy where most of the tracking is performed in 3rd generation of airway or deeper. Moreover, the comparative examples performed poorly on real endoscopic images, and the only useful virtual bronchoscopic images were synthesized by a computer. In contrast, the present disclosure demonstrates in a comprehensive, scientifically rigorous, and clinically advanced way the feasibility of VNB.
[0119] The registration process concludes the Navigation operation and provides the location and orientation of the bronchoscopic camera in the CT coordinate system. Position and orientation may be compared by registering the estimated depth map to the preprocedural CT and tracking data collected by the electromagnetic sensor.
[0120] Guidance
[0121] The VNB is used as a perception system of a robotic bronchoscope to advance the robot autonomously along the trajectory in the airway. More particularly, the VNB servesas the only perception system, and may navigate the bronchoscope from the trachea to a target. The incorporation of the VNB described above into the control system of the robotic bronchoscope is referred to as an automated bronchoscopy platform (ABP). The ABP provides guidance on how the robotic bronchoscope is to advance toward the target based purely on the image from the bronchoscopic camera.
[0122] FIG. 13 illustrates an example of an ABP. The ABP includes a continuum robot including a controller and a wire actuation unit. The controller may include at least one electronic processor 1310 and a memory 1320, in which the electronic processor 1310 is configured to execute software (e.g., residing in the memory 1320) to perform navigation, guidance, and / or control operations. The continuum robot operates a bronchoscope 1330 (or other imaging device) which has a plurality of independent bending sections that are actuated by the wire actuation unit pulling and pushing a plurality of (as illustrated, nine) rods to maneuver the bending sections. The bronchoscope 1330 or other imaging device includes an image sensor (e.g., a complementary metal-oxide-semiconductor (CMOS) image sensor, a charge coupled device (CCD) image sensor, a stereoscopic image sensor, atime-of-flight (ToF) sensor, and the like) configured to capture images within a lumen. The lumen may be an organ such as a lunch, an intestine, a kidney, and the like. In the particular example illustrated in FIG. 13, the imaging device is a bronchoscope and thus the lumen may be a lung.
[0123] In the illustrated example, the bronchoscope 1330 includes a robotic catheter, an actuator unit, a robotic arm, and software. The robotic catheter incorporates the drive wires traversing the steerable catheter, enclosed within an outer skin made of poly ether block amide (PEBA) with a thickness of 0. 13 mm). The catheter includes a central channel for inserting the bronchoscopic camera (OVM6946, OmniVision, CA, USA) with outer and inner diameters of 3 and 1.8 mm, respectively. The steering structure of the catheter comprises two distal bending sections (tip and middle) and one proximal bending section without an intermediate passive segment, each with its degree of freedom (DOF). The use of bending sections permits the ABP to perform '‘follow-the-leader’’ motion to pass the torturous airway paths exceeding the ability of a manual bronchoscope. Moreover, the ABP can position an end effector (e.g., biopsy forceps) and perform a procedure on the target (e.g., collect tissue samples) efficiently by aligning the access to the lesion to fit its shape and location. The ABP of FIG. 13 is also referred to as a Snake Robot.
[0124] Actuation of the catheter is accomplished through the actuator unit, which is connected to the robotic arm and houses nine motors controlling the catheter wires. Each motorbends a specific wire by applying either pushing or pulling force. Both the robotic catheter and actuator are affixed to a robotic arm, which includes a rail enabling linear catheter translation. The catheter’s movement along the rail is facilitated by a linear stage actuator, manipulating both the actuator and attached catheter. The catheter, actuator unit, and robotic arm are integrated into a system controller, facilitating communication with the software. The robot’s motion can be controlled using a handheld gamepad or through autonomous advancement software.
[0125] FIG. 13 illustrates the ABP in a testing setup, in which the continuum robot is disposed on a linear stage and in which the bronchoscope 1330 is advanced into a phantom disposed on a force sensor. The ABP may be controlled using a gamepad interface as illustrated in FIG. 14, for testing purposes and / or to provide user assist or override to the ABP. The gamepad interface includes a gamepad 1340 (left) used to control the bronchoscope and a display interface (right). However, as noted above the VNB may be used as the sole control system of the ABP, thus eliminating the need for the gamepad interface in actual implementations.
[0126] This guidance system may use the depth map (e.g., the VNB-estimated bronchoscopic tip pose), a model of a lumen (e.g., a 3D CT model), and / or a position of a target within the lumen (e.g., the real-time position of the target) as inputs to the robotic control system to calculate the desired path and inform the next robotic advancement step along the desired path.
[0127] The next robotic advancement step may be performed by following a control vector. In one example, the control vector is calculated from the identified and chosen point of advancement to the center of the depth map image. This control vector exists on the 2D plane of the original RGB image and depth map image.
[0128] For forward navigation of the robotic system’s catheter in implementations that operate under control of a user, the user can determine the lateral and vertical movements of the third (most distal tip) section of the catheter, along with its general advancement or retraction. The user control may be performed using a drag and drop operation via a computer mouse, a tap operation via a touchscreen, a voice control, and the like. The input commands may control the robotic bronchoscope along the four cardinal directions as well as start / stop commands.
[0129] Control
[0130] In order to control the Snake Robot, a joystick / gamepad was emulated in software to act as the joystick / gamepad that would normally be used with the Snake Robot interface (e.g., to replace the interface 1340 of FIG. 14). The magnitude of the control vector is then calculated. If the magnitude of the control vector is below a set level, then the joystick / gamepad is used to advance. If the magnitude of the control vector is above a set level, then the joystick / gamepad is tilted to bend. The Navigation and Guidance process is then repeated with a new image obtained from the Snake Robot interface.
[0131] If multiple points of advancement and therefore multiple airway paths are detected, the algorithm picks to advance towards the point closest to a point on the 2D image plane set by the user (e.g., via the user control). This allows for the user to give general guidance for directions the robot travels in. A direction vector is computed from the center of the depth map to the center of the target airway path. The computed vector is responsible for the bending of the bronchoscopic tip. The robot’s navigated path may be a straight line if the magnitude of the direction vector is less than a predetermined threshold (e.g., 30%) of the width of the camera view, called linear stage engagement (LSE). This process may repeat for each image frame received from the bronchoscopic camera without influence from previous frames. The bronchoscopic robot may maintain a linear speed (e.g., 2 mm / s) and a bending speed (e.g., 15 7s).
[0132] Simultaneously, the movements of the initial two sections (first and second sections) are managed by a Follow the Leader (FTL) motion algorithm, for example based on the movement history of the third section. During retraction, the reverse FTL motion algorithm may control all three sections, leveraging the combined movement history of all sections recorded during the advancement phase, allowing users to retract the robot bronchoscope whenever necessary.
[0133] Example
[0134] In one example, a system for controlling a robotic device during endoscopic procedures is disclosed. The system may include a robotic controller that provides endoscopic video, which is transmitted to 3D Slicer software via an OpenIGTLink interface. The video images may be in grayscale format. The system utilizes the method described herein to create a depth map from the endoscopic video images. The depth map is a three-dimensional representation of the airway wall distance from the projection plane of the endoscope optics. The contours of the airways at a specific depth from the camera are approximated as a circle using, for example, the open source application Simple Blob Detector available from OpenCVand Peak detection (Peak detection. Data Analysis and Signal Processing in Chromatography, Volume 21, 1998, Pages 183-190), each of which is incorporated herein by reference in their entirety.
[0135] Once the blobs are identified, the center of the block is determined and utilized as the direction of advancement for the robotic device. If no blobs are detected, the peaks of the depth map are identified as an alternative to the center of the blob. If multiple peak points are detected, the peak closest to the user’s identified general direction of advancement is used as an alternative. One example session might include the following steps, with reference to FIGS. 15A-15I and 16: threshold by depth (percentage); identify blobs in thresholder mask and identify centroids of blobs; if no blobs then default to the deepest point (blobs can be Hough circles or both); and if more than one point is identified, pick the point closest to a side identified by a user.
[0136] In one example, a 400x400 RGB pixel image was obtained from the Snake Robot interface via an OpenIGTLink connection to the 3D slicer application. Within the 3D Slicer application, the RGB image was converted into a 200x200 grayscale pixel image in order to serve as input for the deep learning model. 3D Slicer fed the formatted image into the depth map model (i.e., the 3cGAN) and obtained a 200x200 predicted depth map.
[0137] To identify the airway, a combination of blob detection on a threshold predicted depth map augmented with peak detection was used in order to detect any airways missed in threshold and blob detection. These points represent the direction the tool should advance in, and one goal of this operation is to identify a singular point on the image to advance towards within the endoscopic view of multiple views at a branching point.
[0138] For blob detection, the obtained depth map was thresh olded in order to identify the 20% of the deepest area of the predicted depth map. The thresholded area may be run through a blob detection algorithm to identify the number of potential paths that can be advanced tow ards. The centroid of each blob is used as the point of advancement.
[0139] Peak detection is performed on the unmodified predicted depth map. Any peaks detected within an existing thresholded blob are ignored. If the detection algorithms fail to find any area within the constraints of detection (e.g., minimum / maximum size, shape), then the method defaults to identifying as the point of advancement the deepest point in the full non- thresholded depth map.
[0140] FIG. 17 illustrates an example of amethod 1500 in accordance with the present disclosure. The method 1700 may be performed by an endoscopic system (e.g., the ABP ofFIG. 13) traversing an interior of a lumen (e.g., an organ such as a lung). In one example, the method 1700 may be embodied in the form of instructions in a non-transitory computer- readable medium that, when executed by a processor of the endoscopic system, cause the system to perform the operations set forth therein.
[0141] The method 1700 includes an operation 1710 of receiving at least one image captured by an imaging device. The at least one image may be captured while the imaging device is at a first position within the lumen (e.g., a first location and / or at a first pose). Operation 1710 may include a sub-operation of capturing the at least one image itself. At operation 1720, a depth map is generated from the at least one captured trained GAN, such as a 3cGAN as described above. The trained GAN may have been trained using an unsupervised learning method, for example using bronchoscopic images, virtual bronchoscopic images, and ground truth depth maps. In other words, the 3cGAN may be the 3cGAN described above.
[0142] At operation 1730. a guidance vector is generated based on at least one of the estimated depth map, a model of the lumen, and a position of a target (e g., a suspected tumor or lesion) within the lumen. The guidance vector may indicate a path to a deepest area of the depth map. If the estimated depth map indicates that there are a plurality of potential points of advancement (e.g.. at a branching point), operation 1730 may include receiving a selection of an advancement point from a user. The selection may be a selection (e.g., a tap, a mouse click, a voice command, etc.) indicating a position on the 2D image plane.
[0143] At operation 1740, at least one of a navigation or a viewing perspective of the imaging device is controlled based on the guidance vector, to move the imaging device to a second position (e.g., to a second location and / or to a second pose). In some, but not all, implementations, operation 1740 may be preceded by an operation of registering the depth map to a preoperative scan (e.g., a preoperative CT scan) using a technique such as ICP matching. The guidance vector may be used to advance the imaging device. Operation 1740 may further includes controlling an end effector of the imaging system (e.g., a biopsy needle of an endoscopic system) to perform a procedure (e.g., a biopsy) on the target from the second position. After operation 1740, an adjustment may be performed on the at least one captured image based on the estimated depth map.
[0144] Operations 1710-1740 may be repeated in an iterative manner any number of times. For example, a first iteration of operations 1710-1740 may be performed to move the imaging device from a first position to a second position, followed by a second iteration ofoperations 1710-1740 to move the imaging device from the second position to a third position, and so on for any number of iterations.
[0145] As described above, CT-to-body divergence caused by a patient’s breathing motion and local displacement of the lung tissue caused by bronchoscopes was addressed, and a method was developed to register the bronchoscopy images directory with CT. omitting the need for external sensors as an intermediary to register a bronchoscopy to a CT. This approach is referred to as VNB, and its feasibility was shown in an ex-vivo specimen. Building on preliminary' studies, it was determined that VNB can correct CT-to-body divergence caused by local deformation.
[0146] The working hypothesis for this aim w as that VNB using the depth map created by a 3cGAN could correct CT- to-body divergence caused by local deformation. A domainspecific Al computing platform (NVIDIA Clara Holoscan, NVIDIA, Santa Clara, CA) was used to generate a real-time inference of streaming data to enable real-time VBN. It was also established that VNB can address CT-to-body divergence caused by breathing motion. Again using the 3cGAN and the robotic bronchoscope, it was validated that the CT-to-body divergence is caused by global deformation by breathing motion. An ex-vivo breathing model of the porcine lung was used.
[0147] Other examples and uses of the disclosed technology7will be apparent to those having ordinary skill in the art upon consideration of the specification and practice of the invention disclosed herein. The specification and examples given should be considered exemplary only, and it is contemplated that the appended claims will cover any other such embodiments or modifications as fall within the true scope of the invention.
[0148] The Abstract accompanying this specification is provided to enable the United States Patent and Trademark Office and the public generally to determine quickly from a cursory' inspection the nature and gist of the technical disclosure and in no way intended for defining, determining, or limiting the present invention or any of its embodiments.
Claims
CLAIMSWhat is claimed is:
1. An endoscopic system, comprising: an imaging device configured to capture at least one image at a first position within a lumen; and at least one electronic processor configured to: receive the at least one captured image, generate an estimated depth map from the at least one captured image using a trained generative adversarial network (GAN), generate a guidance vector based on at least one of the estimated depth map, a model of the lumen, and a position of a target within the lumen, and control at least one of a navigation or a viewing perspective of imaging device based on the guidance vector to move the imaging device to a second position.
2. The system of claim 1, wherein the imaging device includes an endoscope and a continuum robot operatively connected to the endoscope.
3. The system of claim 1 or 2, wherein the trained GAN is a trained three-level cyclic generative adversarial network (3cGAN).
4. The system of claim 3, wherein the trained 3cGAN has been trained using at least one of bronchoscopic images, virtual bronchoscopic images, or ground truth depth maps.
5. The system of any one of claims 1 to 4, wherein the at least one electronic processor is further configured to register the depth map to a preoperative scan of the lumen.
6. The system of any one of claims 1 to 5. wherein the guidance vector indicates a path to a deepest area of the depth map.
7. The system of cany one of claims 1 to 6, wherein the at least one electronic processor is configured to control an end effector of the imaging system perform a procedure on the target from the second position.
8. The system of any one of claims 1 to 7, wherein the at least one electronic processor is configured to repeat the operations of receiving the at least one captured image, generating the estimated depth map, generating the guidance vector, and controlling at least one of the navigation or the viewing perspective with the imaging device at the second position.
9. An endoscopy method, comprising: capturing at least one image by an imaging device at a first position within a lumen; receiving, by at least one electronic processor, the at least one captured image; generating, by the at least one electronic processor and using a trained generative adversarial network (GAN), an estimated depth map from the at least one captured image; generating, by the at least one electronic processor, a guidance vector based on at least one of the estimated depth map, a model of the lumen, and a position of a target within the lumen; and controlling, by the at least one electronic processor, at least one of a navigation or a viewing perspective of the imaging device based on the guidance vector to move the imaging device to a second position.
10. The method of claim 9, wherein the trained GAN is a three-level cyclic generative adversarial network (3cGAN) that has been trained using an unsupervised learning method.
11. The method of claim 9 or 10, further comprising registering, by the at least one electronic processor, the depth map to a preoperative scan of the lumen.
12. The method of any one of claims 9 to 11 , wherein the guidance vector indicates a path to a deepest area of the depth map.
13. The method of any one of claims 9 to 12, further comprising controlling an end effector of the imaging system to perform a procedure on the target from the second position.
14. The method of any one of claims 9 to 13, further comprising repeating the operations of capturing the at least one image, receiving the at least one captured image,generating the estimated depth map, generating the guidance vector, and controlling at least one of the navigation or the viewing perspective with the imaging device at the second position.
15. A non-transitory computer-readable medium storing instructions that, when executed by at least one processor of an endoscopy system, cause the endoscopy system to perform operations comprising: capturing at least one image by an imaging device at a first position within a lumen; receiving the at least one captured image; generating, using a trained generative adversarial network (GAN), an estimated depth map from the at least one captured image; generating a guidance vector based on at least one of the estimated depth map, a model of the lumen, and a position of a target within the lumen; and controlling at least one of a navigation or a viewing perspective of the imaging device based on the guidance vector to move the imaging device to a second position.
16. The non-transitory computer-readable medium of claim 15, wherein the trained GAN is a trained three-level cyclic generative adversarial network (3cGAN).
17. The non-transitory computer-readable medium of claim 15 or 16, the operations further comprising registering, by the at least one electronic processor, the depth map to a preoperative scan of the lumen.
18. The non-transitory computer-readable medium of any one of claims 15 to 17, the operations further comprising determining that the estimated depth map includes a plurality of points of advancement, and wherein generating the guidance vector includes selecting an advancement point based on a selection on a 2D image plane of the at least one image by a user.
19. The non-transitory computer-readable medium of claim 18, the operations further comprising performing, by the at least one electronic processor, an adjustment on the at least one captured image based on the estimated depth map.
20. The non-transitory computer-readable medium of any one of claims 15 to 19, the operations further comprising repeating the operations of capturing the at least one image,receiving the at least one captured image, generating the estimated depth map, generating the guidance vector, and controlling at least one of the navigation or the viewing perspective with the imaging device at the second position.
Citation Information
Patent Citations
Devices, systems, and methods for identifying unexamined regions during a medical procedure
US20220071711A1
Systems and methods for robotic bronchoscopy
US20220313375A1
Vision-based 6dof camera pose estimation in bronchoscopy
US20220319031A1
Systems and methods for hybrid imaging and navigation
US20230072879A1
Cited By
Bronchoscope automatic navigation method and device, electronic equipment and storage medium
CN119942033A
