F3Seg
收藏资源简介:
F3Seg项目使用了多个医学图像分割数据集来验证其零样本泛化模型。这些数据集包括:1) CXR(胸部X光)数据集,用于肺部区域分割;2) ISIC数据集,专注于黑色素瘤和皮肤病变分割;3) PH2数据集,用于皮肤镜图像分析;4) WBC(白细胞)数据集,用于血细胞分割;5) BUSI(乳腺超声图像)数据集,用于乳腺肿瘤分割。这些数据集涵盖了不同的医学成像模态(X光、皮肤镜、显微镜、超声)和多种解剖结构/病变类型,为医学图像分割任务提供了多样化的测试基准。
The F3Seg project utilizes multiple medical image segmentation datasets to validate its zero-shot generalization model. These datasets include: 1) The CXR (Chest X-ray) dataset for lung region segmentation; 2) The ISIC dataset focusing on melanoma and skin lesion segmentation; 3) The PH2 dataset for dermoscopic image analysis; 4) The WBC (White Blood Cell) dataset for blood cell segmentation; 5) The BUSI (Breast Ultrasound Image) dataset for breast tumor segmentation. These datasets cover diverse medical imaging modalities (X-ray, dermoscopy, microscopy, ultrasound) and multiple anatomical structures/lesion types, providing a diversified test benchmark for medical image segmentation tasks.
F3Seg数据集概述
数据集基本信息
- 数据集名称:F3Seg
- 许可证:Apache 2.0
- 核心用途:用于医学图像分割的零样本泛化模型
数据集支持的具体医学图像分割任务
- CXR (Chest X-Ray):胸部X光片的肺部分割
- ISIC:黑色素瘤和皮肤病变分割
- PH2:皮肤镜图像分析
- WBC:白细胞分割
- BUSI:乳腺超声成像
数据集关联的外部数据源链接
- CXR数据集:https://www.kaggle.com/datasets/score42/chest-x-ray-dataset
- ISIC数据集:https://challenge.isic-archive.com/data/#2018
- PH2数据集:https://www.kaggle.com/datasets/athina123/ph2dataset?select=trainy
- WBC数据集:https://github.com/zxaoyou/segmentation_WBC/tree/master
- BUSI数据集:https://www.kaggle.com/datasets/aryashah2k/breast-ultrasound-images-dataset
模型方法概述
- 基础模型:结合SAM(Segment Anything Model)和CLIP(Contrastive Language-Image Pre-training)
- 关键技术:自适应过滤,基于统计测量进行动态阈值处理
- 处理流程:
- 自动掩码生成
- 裁剪提取
- CLIP排序
- 自适应阈值处理
- SAM细化
使用配置
- 主要脚本:main.py
- 关键参数:
--config:数据集配置文件路径(必需)--data:使用的数据集:cxr, isic, ph2, wbc, busi, clinicdb(必需)--mode:推理模式 - "sam_clip" 或 "sam_prompted"--prompt_mode:视觉提示模式 - crops, crop_expand, bbox, contour, reverse_box_mask--seed:随机种子
依赖资源
- SAM检查点需从 https://github.com/facebookresearch/segment-anything?tab=readme-ov-file#model-checkpoints 下载
- CLIP模型(ViT-L/14)在首次使用时自动下载
致谢
- SAM项目:https://github.com/facebookresearch/segment-anything
- SaLIP项目:https://github.com/aleemsidra/SaLIP
- CLIP项目:https://github.com/openai/CLIP




