Skip to main content
QUICK REVIEW

[논문 리뷰] SAMM (Segment Any Medical Model): A 3D Slicer Integration to SAM

Yihao Liu, Jiaming Zhang|arXiv (Cornell University)|2023. 04. 12.
Radiomics and Machine Learning in Medical ImagingMedicine인용 수 23
한 줄 요약

SAMM은 Segment Anything Model (SAM)을 3D Slicer와 통합하여 실시간, 프롬프트 기반 의료 이미지 분할을 가능하게 하며, 분할 사이클당 엔드 투 엔드 대기 시간은 약 0.6초이다.

ABSTRACT

The Segment Anything Model (SAM) is a new image segmentation tool trained with the largest available segmentation dataset. The model has demonstrated that, with prompts, it can create high-quality masks for general images. However, the performance of the model on medical images requires further validation. To assist with the development, assessment, and application of SAM on medical images, we introduce Segment Any Medical Model (SAMM), an extension of SAM on 3D Slicer - an image processing and visualization software extensively used by the medical imaging community. This open-source extension to 3D Slicer and its demonstrations are posted on GitHub (https://github.com/bingogome/samm). SAMM achieves 0.6-second latency of a complete cycle and can infer image masks in nearly real-time.

연구 동기 및 목표

  • 의료 영상 영역에 일반 목적 분할 모델(SAM)을 적용하려는 동기를 제시한다.
  • 미세 조정 없이 의료 영상 분할을 촉진하기 위해 3D Slicer 내에서 오픈 소스 통합(SAMM)을 개발한다.
  • 프롬프트 기반 워크플로를 통해 실시간 또는 거의 실시간의 대화형 분할을 가능하게 한다.

제안 방법

  • SAM Server와 3D Slicer 대화형 프롬프트 플러그인(Slicer-IPP)을 포함하는 SAMM 아키텍처를 설계한다.
  • 프롬프트 전반에 걸쳐 빠른 실시간 마스크 추론을 가능하게 하기 위해 이미지 슬라이스 임베딩을 미리 계산하고 저장한다.
  • Slicer-IPP와 SAM Server 간의 고성능 비동기 통신을 위해 ZeroMQ와 NumPy 메모리 매핑을 사용한다.
  • Slicer-IPP 내에서 3D-to-2D 좌표 변환(RAS/IJK)을 처리하여 올바른 마스크 배치 및 시각화를 보장한다.
  • 실시간 반응성을 유지하기 위해 60 ms 루프로 다섯 개의 병렬 작업(SND_INF, RCV_INF, CPL_INF, RCV_MSK, APL_MSK)을 실행한다.
  • 의료 부피에 대한 교차 모달성(CT, MRI, US)과 프롬프트 기반 분할의 적용 가능성을 시연한다.
Figure 1: Overall architecture of the integration of 3D Slicer and SAM. Images from different modalities, such as computed tomography (CT), magnetic resonance imaging (MRI), or ultrasound (US), are contained in a scalar volume node. The node (vtkMRMLScalarVolumeNode) is a class in the Visualization
Figure 1: Overall architecture of the integration of 3D Slicer and SAM. Images from different modalities, such as computed tomography (CT), magnetic resonance imaging (MRI), or ultrasound (US), are contained in a scalar volume node. The node (vtkMRMLScalarVolumeNode) is a class in the Visualization

실험 결과

연구 질문

  • RQ13D Slicer 워크플로에서 의료 영상에 대해 SAMM이 실시간 또는 거의 실시간 분할을 달성할 수 있는가?
  • RQ2임베딩 사전 계산이 의료 영상 분할 작업의 엔드-투- 엔드 대기 시간에 어떤 영향을 미치는가?
  • RQ3SAMM 프레임워크 내에서 일반적인 의료 영상 모달리티(CT, MRI, US) 간의 제로샷 분할이 SAM으로 가능한가?
  • RQ4분할 주기 중 초기화 단계와 안정화 단계의 대기 시간 구성과 안정성은 어떠한가?

주요 결과

  • 임베딩 초기화 후 테스트된 MRI 데이터셋에서 분할 사이클당 엔드-투-엔드 대기 시간은 0.612초이다.
  • 테스트 환경에서 352×352×240 MRI 이미지의 임베딩 계산은 162.9초가 소요되었다.
  • SAMM은 CT, MRI, US 형식 전반에 걸친 제로샷 작업에 대해 분할 마스크를 생성할 수 있다.
  • SAMM은 다섯 개의 병렬 작업과 ZMQ 및 NumPy 메모리 매핑을 통한 실시간 통신으로 작동한다.
  • 통합은 오픈 소스이며 의료 영상 분할 연구를 촉진하기 위해 3D Slicer 내에서 시연되었다.
  • 초기화 단계는 보통 약 5초 후에 안정화되는 불안정을 보인다.
Figure 2: The affiliation of five tasks, namely are “send inference request” (SND_ INF), “receive inference request” (RCV_ INF), “complete SAM inference” (CPL_ INF), “receive mask transmission” (RCV_ MSK), and “apply mask” (APL_ MSK). Slicer-IPP and SAM Server use ZMQ/Numpy memory mapping package to
Figure 2: The affiliation of five tasks, namely are “send inference request” (SND_ INF), “receive inference request” (RCV_ INF), “complete SAM inference” (CPL_ INF), “receive mask transmission” (RCV_ MSK), and “apply mask” (APL_ MSK). Slicer-IPP and SAM Server use ZMQ/Numpy memory mapping package to

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.