2026-05-18-17-40-02 构建导丝分割Web系统

This commit is contained in:
2026-05-18 17:49:30 +08:00
commit debd0bfd50
22 changed files with 1349 additions and 0 deletions

38
README.md Normal file
View File

@@ -0,0 +1,38 @@
# ISISeg
介入导丝视频分割 Web 系统第一版。系统支持上传 X 射线透视图片或视频,并使用多种无需训练数据的细线分割方法生成导丝掩膜、叠加图和结果视频。
## 功能
- Web 上传图片或视频。
- 支持 `hessian_ridge``edge_morphology``temporal_difference``fusion``compare` 五种模式。
- 显示原图、导丝叠加结果、掩膜、覆盖率、骨架长度和连通域数量。
- 提供合成导丝视频生成脚本,便于快速验证。
## 启动
```bash
python3 -m pip install -r requirements.txt
bash scripts/generate_sample.sh
bash scripts/run_dev.sh
```
访问:
```text
http://127.0.0.1:8000
```
## 测试
```bash
pytest -q
```
## 目录
- `backend/`FastAPI 服务与分割算法。
- `frontend/`Web 操作台。
- `scripts/`:启动与样例生成脚本。
- `tests/`:自动化测试。
- `工程分析/`:需求、实现、测试与经验记录。