医学影像数据集|息肉检测数据集

Polyp-Gen息肉检测数据集包含息肉与非息肉的高质量内窥镜图像帧,场景多样且类别较均衡,属于图像数据,主要用于息肉目标检测、病灶识别、数据增强和结肠镜辅助诊断评估。

香港中文大学电子工程系香港中文大学电子工程系
GitHub
2025-12-22 更新
浏览 27
图像目标检测diffusion-modelsimage-generationmedical-gen-ai
Medical Imaging Dataset | Polyp Detection Dataset

基本信息

模态
图像
大小
4.05 GB
数据量
55883
任务类型
目标检测
创建/更新时间
2025-12-22
版本
main

资源简介

医学影像数据集 息肉检测数据集

【数据集背景】

本数据集源站标题为《CUHK-AIM-Group/Polyp-Gen》。源站首次发布:2024-09-12。

【数据内容】

源站原始描述:[ICRA 2025] Polyp-Gen: Realistic and Diverse Polyp Image Generation for Endoscopic Dataset Expansion # Polyp-Gen: Realistic and Diverse Polyp Image Generation for Endoscopic Dataset Expansion **📖 Paper** |**🤗 Model**|**🤗 Dataset** ## Setup ## Data Preparation This model was trained by LDPolypVideo dataset. We filtered out some low-quality images with blurry, reflective, and ghosting effects, and finally select 55,883 samples including 29,640 polyp frames and 26,243 non-polyp frames. [02/26] We u…

【主题与分类】

主题标签:diffusion-models、image-generation、medical-gen-ai。

【适用方向】

影像类数据可用于医学图像分析模型(检测、分割、分类)的训练与评测,也可用于标注质量与成像参数相关性的研究。

【获取与许可】

源站页面:https://github.com/CUHK-AIM-Group/Polyp-Gen

【使用注意】

· 源站最后修改于 2026-02-05,引用时请注意版本时效。

官方服务

专家保障全链路合规授权与标注交付

陕川双基地 × 超十家三甲医院直连

从合规授权、采集治理、专业标注到数据集交付,我们提供全链路闭环服务,让高质量临床数据即拿即用。

⚡️ 需要原始数据或标注支持?联系我们获取定制方案。

帮我联系

下载信息

注册下载

需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。

暂未开放

公开下载

无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。

免登录

有偿下载

公开数据集受托下载与技术交付服务。

提供高速下载与技术交付服务(收技术服务费,非数据销售)

暂未开放

当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。

使用方式

数据集获取

git clone https://github.com/CUHK-AIM-Group/Polyp-Gen.git

curl -L -o repo.zip https://github.com/CUHK-AIM-Group/Polyp-Gen/archive/refs/heads/main.zip
unzip repo.zip

数据集大小约 4.05 GB。

源站 README 摘录(使用方式)

Polyp-Gen: Realistic and Diverse Polyp Image Generation for Endoscopic Dataset Expansion

📖 Paper |🤗 Model|🤗 Dataset

Setup

git clone https://github.com/Saint-lsy/Polyp-Gen.git
cd Polyp-Gen
conda create -n PolypGen python=3.10
conda activate PolypGen
pip install -r requirements.txt

Data Preparation

This model was trained by LDPolypVideo dataset.
We filtered out some low-quality images with blurry, reflective, and ghosting effects, and finally select 55,883 samples including 29,640 polyp frames and 26,243 non-polyp frames.
[02/26] We update the download link of the training and test dataset at HuggingFace link

Training

The pre-trained model is Stable Diffusion Inpainting-2, availble on Huggingface
You can train your own model using the script:

bash scripts/train.sh

Sampling

Checkpoint

You can download the chekpoints of our Polyp_Gen from here.

Sampling with Specified Mask

python sample_one_image.py

Sampling with Mask Proposer

The weight of pretrained DINOv2 can be found here.
The first step is building database and Global Retrieval.

python GlobalRetrieval.py data_path /path/of/non-polyp/images database_path /path/to/build/database image_path /path/of/query/image/

The second step is Local Matching for query image.

python LocalMatching.py ref_image /path/ref/image ref_mask /path/ref/mask query_image /path/query/image mask_proposal /path/to/save/mask

One Demo of LocalMatching

python LocalMatching.py ref_image demos/img_1513_neg.jpg ref_mask  demos/mask_1513.jpg query_image  demos/img_1592_neg.jpg mask_proposal gen_mask.jpg

<img src=“assets/matching.jpg” alt=“local_matching” width=“450”>

The third step is using the generated Mask to sample.

Acknowledgements

The code is based on the following projects. Greatly thanks to these authors!

数据加载示例(图像类)

from PIL import Image
import glob, os

files = (glob.glob(os.path.join(path, "**", "*.png"), recursive=True)
       + glob.glob(os.path.join(path, "**", "*.jpg"), recursive=True)
       + glob.glob(os.path.join(path, "**", "*.tif"), recursive=True))
print("图像文件数:", len(files))
img = Image.open(files[0]); print("尺寸/模式:", img.size, img.mode)

# torchvision Dataset 方式:
# from torchvision import datasets
# ds = datasets.ImageFolder(path)  # 要求 子目录=类别

目录组织与标注格式以源站说明和下载后实际文件为准。

完整仓库:github.com/CUHK-AIM-Group/Polyp-Gen

数据缺失?

依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。

⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。

获取专属数据定制方案