arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.22649cs.CV
收藏

交互式医学-SAM2 GUI:基于Napari的半自动标注工具用于医学图像

Interactive Medical-SAM2 GUI: A Napari-based semi-automatic annotation tool for medical images

Department of Biomechatronic Engineering, Sungkyunkwan University(生物机电工程系,全州大学);Department of Neurosurgery, Seoul National University Hospital, Seoul National University College of Medicine(神经外科,首尔国立大学医院,首尔国立大学医学院)

Woojae Hong, Jong Ha Hwang, Jiyong Chung, Joongyeon Choi, Hyunggun Kim, Yong Hwy Kim

AI总结:

交互式医学-SAM2 GUI 提供基于Napari的本地工作流,实现高效的3D医学图像半自动标注与导出功能。

摘要:

交互式医学-SAM2 GUI 是一个开源的桌面应用程序,用于2D和3D医学图像的半自动标注。该工具基于Napari多维查看器,集成了框/点提示功能,并通过将3D体积视为切片序列的方式,与SAM2风格的传播相结合,使Medical-SAM2能够在SAM2的基础上实现掩码传播。体素级标注对于开发和验证医学影像算法仍然至关重要,但手动标注在3D扫描中效率低且成本高,而现有整合通常强调单切片交互,未提供统一的、以队列为导向的工作流,以在单一本地流程中实现导航、传播、交互式修正和定量导出。为解决这一实际限制,提供了一个本地优先的Napari工作流,以在多个研究中高效地进行3D标注,使用标准的DICOM系列和/或NIfTI体积。用户可以在单一根文件夹下按顺序标注案例,通过明确的继续/跳过操作进行初始化,通过框优先提示(包括单对象传播的首/末切片初始化)来初始化对象,通过点提示进行预测细化,并在保存前通过提示优先修正完成标签。在导出过程中,支持每个对象的体积分量和3D体积渲染,并通过SimpleITK保持图像几何结构。该GUI使用Python的Napari和PyTorch实现,可选N4偏场校正,并专门用于研究标注流程。代码发布在项目页面:https://github.com/SKKU-IBE/Medical-SAM2GUI/。

英文摘要:

Interactive Medical-SAM2 GUI is an open-source desktop application for semi-automatic annotation of 2D and 3D medical images. Built on the Napari multi-dimensional viewer, box/point prompting is integrated with SAM2-style propagation by treating a 3D volume as a slice sequence, enabling mask propagation from sparse prompts using Medical-SAM2 on top of SAM2. Voxel-level annotation remains essential for developing and validating medical imaging algorithms, yet manual labeling is slow and expensive for 3D scans, and existing integrations frequently emphasize per-slice interaction without providing a unified, cohort-oriented workflow for navigation, propagation, interactive correction, and quantitative export in a single local pipeline. To address this practical limitation, a local-first Napari workflow is provided for efficient 3D annotation across multiple studies using standard DICOM series and/or NIfTI volumes. Users can annotate cases sequentially under a single root folder with explicit proceed/skip actions, initialize objects via box-first prompting (including first/last-slice initialization for single-object propagation), refine predictions with point prompts, and finalize labels through prompt-first correction prior to saving. During export, per-object volumetry and 3D volume rendering are supported, and image geometry is preserved via SimpleITK. The GUI is implemented in Python using Napari and PyTorch, with optional N4 bias-field correction, and is intended exclusively for research annotation workflows. The code is released on the project page: https://github.com/SKKU-IBE/Medical-SAM2GUI/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑