Files
cDNA-image-processing/docs/依赖库清单.md
T
Serendipity 3ca079a980 refactor: 项目目录结构重组
- 中文目录名改为英文:cDNA图像处理实例→examples,参考资料→references
- web→app(Flask应用标准命名)
- 输出目录平移到 data/output/simple/ 和 data/output/full/
- 输入图像统一到 data/input/
- 构建脚本移到 scripts/
- 源码文件改用 snake_case 命名
- 更新所有文件路径引用和文档
2026-07-16 20:59:58 +08:00

37 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 依赖库清单
## 核心运行时依赖
| 库名 | 版本 | 用途 | 哪些文件用到 |
|------|------|------|-------------|
| **numpy** | 1.26.4 | 数组运算、投影求和、统计 | 全部 .py |
| **scipy** | 1.15.3 | 连通域标记 `ndimage.label` | 全部 .py |
| **scikit-image** | 0.25.2 | `rgb2gray` 灰度转换、Otsu 阈值 | 全部 .py |
| **matplotlib** | 3.10.8 | 可视化绘图(投影曲线、直方图、结果图) | 全部 .py |
| **Pillow** | 12.1.1 | 读取图像文件(png/tif/jpg | 全部 .py |
| **Flask** | 3.1.2 | Web 后端 | app/main.py |
## 仅打包时需要的额外依赖
| 库名 | 用途 |
|------|------|
| **PyInstaller** | 将 Python 项目打包成独立 exe |
## 安装命令
```bash
uv pip install numpy scipy scikit-image matplotlib Pillow flask --python .venv/Scripts/python.exe
```
如需打包:
```bash
uv pip install pyinstaller --python .venv/Scripts/python.exe
python scripts/build.py
```
## 版本兼容性
以上版本为当前开发环境(Python 3.13,uv 虚拟环境 `.venv/`)实测版本。
其他相近版本通常兼容,无特殊版本锁定需求。