GSGary Sarwin

Gary Sarwin

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Gary Sarwin has a total of 29 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    AENEAS Project: First real-time intraoperative application of machine vision-based anatomical guidance in neurosurgery

    by Gary Sarwin, Vittorio Ricciuti, Victor Egon Staartjes, Alessandro Carretta, Nadim Daher, Zhijin Li, Luca Regli, Diego Mazzatenta, Matteo Zoli, Ryu Seungjun, et al.

    Background and Objectives: We report the first intraoperative deployment of a real-time machine vision system in neurosurgery, derived from our previous anatomical detection work, automatically identifying structures during endoscopic endonasal surgery. Existing systems demonstrate promising performance in offline anatomical recognition, yet so far none have been implemented during live operations. Methods: A real-time anatomy detection model was trained using the YOLOv8 architecture (Ultralytics). Following training completion in the PyTorch environment, the model was exported to ONNX format and further optimized using the NVIDIA TensorRT engine. Deployment was carried out using the NVIDIA Holoscan SDK, the system ran on an NVIDIA Clara AGX developer kit. We used the model for real-time recognition of intraoperative anatomical structures and compared it with the same video labelled manually as reference. Model performance was reported using the average precision at an intersection-over-union threshold of 0.5 (AP50). Furthermore, end-to-end delay from frame acquisition to the display of the annotated output was measured. Results: A mean AP50 of 0.56 was achieved. The model demonstrated reliable detection of the most relevant landmarks in the transsphenoidal corridor. The mean end-to-end latency of the model was 47.81 ms (median 46.57 ms). Conclusion: For the first time, we demonstrate that clinical-grade, real-time machine-vision assistance during neurosurgery is feasible and can provide continuous, automated anatomical guidance from the surgical field. This approach may enhance intraoperative orientation, reduce cognitive load, and offer a powerful tool for surgical training. These findings represent an initial step toward integrating real-time AI support into routine neurosurgical workflows.


  • Open Access

    The AENEAS Project: Intraoperative Anatomical Guidance Through Real-Time Landmark Detection Using Machine Vision

    by Simone Olei, Gary Sarwin, Victor E. Staartjes, Luca Zanuttini, Seungjun Ryu, Luca Regli, Ender Konukoglu, Carlo Serra


  • Open Access

    AENEAS Project: Machine Vision-Based Real-Time Anatomy Detection. Application to the Pterional Trans-Sylvian Approach

    by S Olei, G Sarwin, Ve Staartjes, L Zanuttini, S Ryu, L Regli, E Konukoglu, C Serra

    Introduction: Surgical success hinges on two core factors: technical execution and cognitive planning. While the former can be trained and potentially augmented through robotics, the latter — developing an accurate “mental roadmap” of a certain operation — remains complex, deeply individualized and resistant to standardization. In neurosurgery, where minute anatomical distinctions can dictate outcomes, enhancing intraoperative guidance could reduce variability among surgeons and improve global standards. Recent developments in machine vision offer a promising avenue. Previous studies demonstrated that deep learning models could successfully identify anatomical landmarks in highly standardized procedures such as trans-sphenoidal surgery (TSS). However, the applicability of such techniques in more variable and multidimensional intracranial procedures remains unproven. This study investigates whether a deep learning model can recognize key anatomical structures during the more complex pterional trans-sylvian (PTS) approach. Materials and Methods: We developed a deep learning object detection model (YOLOv7x) trained on 5.307 labeled frames from 78 surgical videos of 76 patients undergoing PTS. Surgical steps were standardized, and key anatomical targets—frontal/temporal dura, inferior frontal/superior temporal gyri, optic and olfactory nerves and internal carotid artery (ICA) — were annotated by specifically trained neurosurgical residents and verified by the operating surgeon. Bounding boxes derived from segmentation masks served as training inputs. Performance was evaluated using five-fold cross-validation. Results: The model achieved promising detection performance for deep structures, particularly the optic nerve (AP 50 : 0.73) and ICA (AP 50 : 0.67). Superficial structures, like the dura and the cortical gyri, had lower precision (AP 50 range: 0.25–0.45), likely due to morphological similarity and optical variability. Performance variability across classes reflects the complexity of the anatomical setting along with data limitations. Conclusion: This study shows the feasibility of applying machine vision techniques for anatomical detection in a complex and variable neurosurgical setting. While challenges remain in detecting less distinctive structures, the high accuracy achieved for deep anatomical landmarks validates this approach. These findings mark an essential step towards a machine vision surgical guidance system. Future applications could include real-time anatomical recognition, integration with neuronavigation and the development of AI-supported “surgical roadmaps” to improve intraoperative orientation and global neurosurgical practice.

  • Vision-Based Neurosurgical Guidance: Unsupervised Localization and Camera-Pose Prediction

    by Gary Sarwin, Alessandro Carretta, Victor Staartjes, Matteo Zoli, Diego Mazzatenta, Luca Regli, Carlo Serra, Ender Konukoglu


  • Open Access

    Patient-specific placental vessel segmentation with limited data

    by Gary Sarwin, Jonas Lussi, Simone Gervasoni, Ueli Moehrlen, Nicole Ochsenbein, Bradley J. Nelson

    A major obstacle in applying machine learning for medical fields is the disparity between the data distribution of the training images and the data encountered in clinics. This phenomenon can be explained by inconsistent acquisition techniques and large variations across the patient spectrum. The result is poor translation of the trained models to the clinic, which limits their implementation in medical practice. Patient-specific trained networks could provide a potential solution. Although patient-specific approaches are usually infeasible because of the expenses associated with on-the-fly labeling, the use of generative adversarial networks enables this approach. This study proposes a patient-specific approach based on generative adversarial networks. In the presented training pipeline, the user trains a patient-specific segmentation network with extremely limited data which is supplemented with artificial samples generated by generative adversarial models. This approach is demonstrated in endoscopic video data captured during fetoscopic laser coagulation, a procedure used for treating twin-to-twin transfusion syndrome by ablating the placental blood vessels. Compared to a standard deep learning segmentation approach, the pipeline was able to achieve an intersection over union score of 0.60 using only 20 annotated images compared to 100 images using a standard approach. Furthermore, training with 20 annotated images without the use of the pipeline achieves an intersection over union score of 0.30, which, therefore, corresponds to a 100% increase in performance when incorporating the pipeline. A pipeline using GANs was used to generate artificial data which supplements the real data, this allows patient-specific training of a segmentation network. We show that artificial images generated using GANs significantly improve performance in vessel segmentation and that training patient-specific models can be a viable solution to bring automated vessel segmentation to the clinic.