Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liu, Haofeng, Zhang, Erli, Wu, Junde, Hong, Mingxuan, Jin, Yueming
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917950568529920
author Liu, Haofeng
Zhang, Erli
Wu, Junde
Hong, Mingxuan
Jin, Yueming
author_facet Liu, Haofeng
Zhang, Erli
Wu, Junde
Hong, Mingxuan
Jin, Yueming
contents Surgical video segmentation is a critical task in computer-assisted surgery and is vital for enhancing surgical quality and patient outcomes. Recently, the Segment Anything Model 2 (SAM2) framework has shown superior advancements in image and video segmentation. However, SAM2 struggles with efficiency due to the high computational demands of processing high-resolution images and complex and long-range temporal dynamics in surgical videos. To address these challenges, we introduce Surgical SAM 2 (SurgSAM2), an advanced model to utilize SAM2 with an Efficient Frame Pruning (EFP) mechanism, to facilitate real-time surgical video segmentation. The EFP mechanism dynamically manages the memory bank by selectively retaining only the most informative frames, reducing memory usage and computational cost while maintaining high segmentation accuracy. Our extensive experiments demonstrate that SurgSAM2 significantly improves both efficiency and segmentation accuracy compared to the vanilla SAM2. Remarkably, SurgSAM2 achieves a 3$\times$ FPS compared with SAM2, while also delivering state-of-the-art performance after fine-tuning with lower-resolution data. These advancements establish SurgSAM2 as a leading model for surgical video analysis, making real-time surgical video segmentation in resource-constrained environments a reality. Our source code is available at https://github.com/jinlab-imvr/Surgical-SAM-2.
format Preprint
id arxiv_https___arxiv_org_abs_2408_07931
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
Liu, Haofeng
Zhang, Erli
Wu, Junde
Hong, Mingxuan
Jin, Yueming
Computer Vision and Pattern Recognition
Artificial Intelligence
Robotics
Image and Video Processing
Surgical video segmentation is a critical task in computer-assisted surgery and is vital for enhancing surgical quality and patient outcomes. Recently, the Segment Anything Model 2 (SAM2) framework has shown superior advancements in image and video segmentation. However, SAM2 struggles with efficiency due to the high computational demands of processing high-resolution images and complex and long-range temporal dynamics in surgical videos. To address these challenges, we introduce Surgical SAM 2 (SurgSAM2), an advanced model to utilize SAM2 with an Efficient Frame Pruning (EFP) mechanism, to facilitate real-time surgical video segmentation. The EFP mechanism dynamically manages the memory bank by selectively retaining only the most informative frames, reducing memory usage and computational cost while maintaining high segmentation accuracy. Our extensive experiments demonstrate that SurgSAM2 significantly improves both efficiency and segmentation accuracy compared to the vanilla SAM2. Remarkably, SurgSAM2 achieves a 3$\times$ FPS compared with SAM2, while also delivering state-of-the-art performance after fine-tuning with lower-resolution data. These advancements establish SurgSAM2 as a leading model for surgical video analysis, making real-time surgical video segmentation in resource-constrained environments a reality. Our source code is available at https://github.com/jinlab-imvr/Surgical-SAM-2.
title Surgical SAM 2: Real-time Segment Anything in Surgical Video by Efficient Frame Pruning
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Robotics
Image and Video Processing
url https://arxiv.org/abs/2408.07931