[Paper Review] Real-time image-based instrument classification for laparoscopic surgery
This paper presents a real-time, image-based method for detecting and classifying laparoscopic surgical instruments using a two-stage pipeline: first, a GPU-accelerated random forest performs pixel-wise segmentation to generate instrument candidate bounding boxes; second, a cascade of random forests classifies each box using multi-modal features (hue, saturation, gradients, SURF). The system achieves 80% instrument detection and 49% classification accuracy on automatically detected boxes in real-time laparoscopic videos.
During laparoscopic surgery, context-aware assistance systems aim to alleviate some of the difficulties the surgeon faces. To ensure that the right information is provided at the right time, the current phase of the intervention has to be known. Real-time locating and classification the surgical tools currently in use are key components of both an activity-based phase recognition and assistance generation. In this paper, we present an image-based approach that detects and classifies tools during laparoscopic interventions in real-time. First, potential instrument bounding boxes are detected using a pixel-wise random forest segmentation. Each of these bounding boxes is then classified using a cascade of random forest. For this, multiple features, such as histograms over hue and saturation, gradients and SURF feature, are extracted from each detected bounding box. We evaluated our approach on five different videos from two different types of procedures. We distinguished between the four most common classes of instruments (LigaSure, atraumatic grasper, aspirator, clip applier) and background. Our method succesfully located up to 86% of all instruments respectively. On manually provided bounding boxes, we achieve a instrument type recognition rate of up to 58% and on automatically detected bounding boxes up to 49%. To our knowledge, this is the first approach that allows an image-based classification of surgical tools in a laparoscopic setting in real-time.
Motivation & Objective
- To enable real-time, context-aware assistance in laparoscopic surgery by identifying the current surgical instrument in use.
- To address the challenge of instrument type recognition without relying on markers or pre-defined models, using only endoscopic images.
- To develop a robust, real-time system that detects and classifies instruments despite occlusions, motion blur, and lighting variations.
- To evaluate the method on diverse laparoscopic video data from two surgical procedures, ensuring clinical relevance.
Proposed method
- Preprocess laparoscopic images by detecting and masking the circular field-of-view border using corner-to-center diagonal traversal on a thresholded grayscale image.
- Apply a GPU-optimized, pixel-wise random forest segmentation using multi-spectral features (RGB, HSV, LAB, opponent, gradient) to identify instrument candidate regions.
- Refine segmentations with morphological closing and merge contours with similar principal directions to form connected components.
- Extract axis-aligned bounding boxes from the largest five contours and pass them to the classification stage.
- Use a cascade of two random forest classifiers to identify instrument types, with input features including 10-bin histograms of hue and saturation, gradient magnitude, and PCA-reduced SURF features.
- Train the system on annotated laparoscopic videos with labeled instrument bounding boxes and instrument types.
Experimental results
Research questions
- RQ1Can a real-time, image-based system detect and classify laparoscopic instruments without external markers or pre-trained 3D models?
- RQ2How effective is a multi-feature random forest approach in distinguishing between similar-looking instruments (e.g., LigaSure, atraumatic grasper, aspirator) under real surgical conditions?
- RQ3What is the performance of the system when classifying instruments on automatically detected bounding boxes versus manually drawn ones?
- RQ4How do occlusions, motion blur, and lighting variations affect instrument detection and classification accuracy in real laparoscopic videos?
Key findings
- The system successfully detected 80% of all instruments across two datasets, with detection rates of 94% and 85% in Set 1 and Set 2 respectively.
- On manually drawn bounding boxes, the instrument type classification accuracy reached 58% in Set 1 and 52% in Set 2, demonstrating high recognition potential when detection is accurate.
- When classifying instruments on automatically detected bounding boxes, the system achieved 49% accuracy in Set 1 and 48% in Set 2, confirming robustness in real-time deployment.
- The most frequent misclassifications occurred between instruments with similar shafts (e.g., LigaSure, atraumatic grasper, aspirator), especially under poor lighting or partial occlusion.
- Motion blur, overlapping instruments, and incomplete visibility of instrument tips were major error sources, often leading to merged detections or false positives.
- The system runs at 22.2 frames per second for detection (45ms per frame) and 32.5 fps for classification (30ms per frame), meeting real-time requirements for clinical use.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.