<h1 align="center">● Medical SAM 2: 通过Segment Anything Model 2将医学图像作为视频进行分割</h1>
<p align="center">
<a href="https://discord.gg/DN4rvk95CC">
<img alt="Discord" src="https://img.shields.io/discord/1146610656779440188?logo=discord&style=flat&logoColor=white"/></a>
<img src="https://img.shields.io/static/v1?label=license&message=GPL&color=white&style=flat" alt="License"/>
</p>
Medical SAM 2,也称为MedSAM-2,是一种先进的分割模型,它利用SAM 2框架来解决2D和3D医学图像分割任务。这种方法在论文Medical SAM 2: 通过Segment Anything Model 2将医学图像作为视频进行分割中进行了详细阐述。
🔥 快速概览
<div align="center"><img width="880" height="350" src="https://yellow-cdn.veclightyear.com/835a84d5/850c4b2b-843e-45e3-9b80-d580d2a29b7b.png"></div>
🩻 3D腹部分割可视化
<div align="center"><img width="420" height="420" src="https://yellow-cdn.veclightyear.com/835a84d5/0fab3edd-0110-4554-b0f9-be7bb27e9eaf.gif"></div>
🧐 要求
安装环境:
conda env create -f environment.yml
conda activate medsam2
您可以从checkpoints文件夹下载SAM2检查点:
bash download_ckpts.sh
进一步说明:我们在以下系统环境中进行了测试,由于系统差异,您可能需要处理一些问题。
操作系统:Ubuntu 22.04
Conda版本:23.7.4
Python版本:3.12.4
我们在