FunnyNodules
FunnyNodules是一个参数化合成肺结节医学影像数据集,用于评估可解释AI模型的属性推理正确性。

基本信息
资源简介
FunnyNodules
【数据集背景】
本数据集源站标题为《XRad-Ulm/FunnyNodules》。源站首次发布:2025-11-12。
【数据内容】
源站原始描述:FunnyNodules is a synthetic vision dataset inspired by medical image interpretation and designed for systematic evaluation of AI models as explainability methods. The framework offers high customizability, scalability, and targeted adjustments, providing strong flexibility for model-agnostic evaluations. # FunnyNodules ### FunnyNodules: A Customizable Medical Dataset Tailored for Evaluating Explainable AI. L. Gallée, Y. Xiong, M. Beer, M. Götz (2025) FunnyNodules is a synthetic, vision-based dat…
【适用方向】
影像类数据可用于医学图像分析模型(检测、分割、分类)的训练与评测,也可用于标注质量与成像参数相关性的研究。
【获取与许可】
源站页面:https://github.com/XRad-Ulm/FunnyNodules
使用许可:MIT。
【使用注意】
· 源站最后修改于 2026-01-19,引用时请注意版本时效。
下载信息
注册下载
需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。
暂未开放公开下载
无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。
免登录有偿下载
公开数据集受托下载与技术交付服务。
提供高速下载与技术交付服务(收技术服务费,非数据销售)
暂未开放当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。
使用方式
数据集获取
git clone https://github.com/XRad-Ulm/FunnyNodules.git
curl -L -o repo.zip https://github.com/XRad-Ulm/FunnyNodules/archive/refs/heads/main.zip
unzip repo.zip
源站 README 摘录(使用方式)
FunnyNodules
FunnyNodules: A Customizable Medical Dataset Tailored for Evaluating Explainable AI. L. Gallée, Y. Xiong, M. Beer, M. Götz (2025)
FunnyNodules is a synthetic, vision-based dataset inspired by medical image interpretation. It is designed to support systematic, controlled, and model-agnostic evaluation of explainability methods. The dataset generation framework enables high customizability, scalability, and fine-grained manipulation of factors of variation, making it well suited for benchmarking how different models reason about image features.
The FunnyNodules dataset, employed in the experiments of this study, comprises abstract nodules described by six visual attributes:
- roundness 1-round, 5-oval
- spiculation 1-none, 5-marked
- edge sharpness 1-sharp, 5-soft
- size 1-small, 5-big
- intensity 1-dark, 5-bright
- internal structure 0-absent, 1-present
The target class is defined based on combinations of these attributes. However, a major advantage of the synthetic FunnyNodules framework is the ability to implement different scales and rules as desired (def calculate_targetin dataset_generator.py).
<em>Figure 1:</em> Full control of image generation allows indepth analysis of attribute-target reasoning.
Key features of FunnyNodules
- 🔬 Explainability-Focused: Developed for analyzing AI reasoning methods, especially attribute-based models.
- 🎛️ Controllable: Easily adjust attributes.
- 🎯 Flexible Rules: Implement your own rules for class label.
- 🏷️ Fully Labeled: Each sample comes with complete, structured annotations for all attributes, also attribute ROIs:
</p>
<em>Figure 2:</em> Ground-truth masks are being created during image generation and enable evaluation of attention in attribute prediction.
<p align=“center”>
<img width=“310” height=“203” alt=“Attribute_oneAttributeEffectonTarget3” src=“https://github.com/user-attachments/assets/cb60f558-f7e6-4993-bb94-30eedc0f0f3f” />
<img width=“356” height=“120” alt=“Attribute_RoundnessCSEffectonTarget3(1)” src=“https://github.com/user-attachments/assets/88d1078f-e9e5-45bd-8b6f-13e68ecbc990” />
</p>
<em>Figure 3:</em> Analysis of models’’ reasoning, see test_reasoning.py. <strong>Left
数据加载示例(图像类)
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) # 要求 子目录=类别
目录组织与标注格式以源站说明和下载后实际文件为准。
数据缺失?
依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。
⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。




