S3D, S2D+T
收藏资源简介:
SynapFlow是一个模块化框架,旨在进行大规模的树突棘分析。该数据集由使用慢性活体双光子显微镜从GFP-M转基因小鼠的听觉皮层获得的3D图像堆叠组成。数据集包括S3D和S2D+T两个子集,分别用于检测和深度跟踪以及时间跟踪。S3D数据集包含2D边界框和3D树突棘身份,S2D+T数据集包含在四个时间点跟踪的树突棘。这些数据集用于验证和训练SynapFlow框架,以实现树突棘的自动检测、时间跟踪和特征提取。
SynapFlow is a modular framework developed for large-scale dendritic spine analysis. This dataset consists of 3D image stacks obtained from the auditory cortex of GFP-M transgenic mice using chronic in vivo two-photon microscopy. The dataset includes two subsets: S3D and S2D+T. S3D is dedicated to detection and depth tracking, while S2D+T is designed for temporal tracking. The S3D subset contains 2D bounding boxes and 3D dendritic spine identities, whereas the S2D+T subset holds dendritic spines tracked across four time points. These datasets are employed to validate and train the SynapFlow framework for automated dendritic spine detection, temporal tracking, and feature extraction.
SynapFlow 数据集概述
数据集基本信息
- 数据集名称: SynapFlow
- 主要用途: 用于时间序列显微镜图像中树突棘的分析
- 核心功能: 提供模块化流程,包括树突棘检测、深度追踪、时间追踪、树突棘尺寸计算以及树突棘头到树突距离估计
数据集组成与结构
- 图像文件命名规范: 文件名必须以 _layerXXX.png 结尾,并进行零填充(例如 _layer01.png、_layer02.png)
- 图像格式要求: 必须为 8 位图像
- 检测输出组织方式: 每个文件夹包含一个堆栈的所有检测结果(即所有具有相同前缀 _layerXX 的图层)
数据处理流程
堆栈内配准
- 目的: 在堆栈内配准图像并计算最大/平均强度投影(MIP)
- 命令示例: bash python SynapFlow/register_within_volume.py --input "data/img/aidv001_tp1_stack0_layer*.png" --out_dir "data/img_registered" --downsample_factor 4
树突棘检测
- 目的: 预测每个图像中树突棘的边界框
- 命令示例: bash cd Spine-Detection-with-CNNs PYTHONPATH=src/ python src/spine_detection/predict_mmdet.py --input "data/img_registered/*.png" --model DefDETR --model_type Def_DETR --param_config lr_0.001_warmup_None_momentum_0.6_L2_3e-06_aug_SGD_S1A2_run1 --model_epoch epoch_54 --theta 0.5 --delta 0.5 --output output/dets --save_images --device cpu
深度追踪
- 目的: 在堆栈内跨图层整合二维检测结果
- 命令示例: bash PYTHONPATH=. python SynapFlow/depth_track.py --input_dir "output/dets/t1/csvs_mmdet/" --out_dir "output/depth_tracked_spatial/t1" --img_dir "data/img_registered/" --det_thresh 0.5 --track_thresh 0.0 --sp_cost 1.0 --app_cost 0.0 --draw
跨时间点对应关系计算
- 目的: 在两个最大强度投影之间生成密集对应场
- 命令示例: bash PYTHONPATH="$PYTHONPATH:$(pwd):$(pwd)/pump" python SynapFlow/compute_corres.py --source "data/img_registered/mips/aidv001_tp1_stack0.png" --target "data/img_registered/mips/aidv001_tp1_stack0.png" --out_dir "output/corres" --resize 256
时间追踪
- 目的: 使用第一个时间点的树突棘 ID 作为参考,跨一对时间点匹配树突棘
- 命令示例: bash PYTHONPATH=. python SynapFlow/time_track.py --input_t1 "output/depth_tracked_spatial/t1/aidv001_tp1_stack0.csv" --input_t2 "output/depth_tracked_spatial/t2/aidv001_tp2_stack0.csv" --mip_t1 "data/img_registered/mips/aidv001_tp1_stack0.png" --mip_t2 "data/img_registered/mips/aidv001_tp2_stack0.png" --corres_dir "output/corres" --img_dir "data/img_registered" --out_dir "output/time_tracked_spatial"
尺寸计算
- 目的: 计算给定时间点所有树突棘的尺寸
- 命令示例: bash PYTHONPATH=. python SynapFlow/compute_size.py --input_dir "output/depth_tracked_spatial/t1" --img_dir "data/img_registered" --out_dir "output/sizes" --operator_3d median
树突棘头到树突距离估计
- 目的: 估计树突棘头到树突连接点的欧几里得距离
- 命令示例: bash PYTHONPATH=. python SynapFlow/estimate_head2dend.py --input_dir "output/depth_tracked_spatial/t1" --img_dir "data/img_registered" --out_dir "output/distance_head2dend"
数据集状态
- 数据集: 即将推出
- 图形用户界面(GUI): 正在开发中

- 1SynapFlow: A Modular Framework Towards Large-Scale Analysis of Dendritic Spines法兰克福高等研究院,法兰克福,德国;计算机科学研究所,歌德大学法兰克福,法兰克福,德国;生理学研究所,转化神经科学重点计划,大学医学中心,约翰内斯·古腾堡大学-美因茨,美因茨,德国;机械工程系,锡根大学 · 2025年



