cognis-digital/dicomsweep
GitHub: cognis-digital/dicomsweep
按 DICOM PS3.15 附录 E 规范对医学影像进行去标识化处理,清除 PHI 标签与烧录像素文本的命令行工具。
Stars: 0 | Forks: 0
analyze + score] P --> OUT[report] ``` ## 从任何 AI 技术栈中使用 `dicomsweep` 可与所有流行的 AI 使用方式互操作: - **MCP server** — `dicomsweep mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **兼容 OpenAI / JSON** — 通过管道将 `dicomsweep scan . --format json` 传入任何 agent 或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 一行代码即可将 CLI/JSON 封装为工具 - **CI / 脚本** — 为非 AI pipeline 提供 exit code + SARIF ## 功能对比 | | **Cognis dicomsweep** | pydicom | |---|:---:|:---:| | 支持自托管,无需账号 | ✅ | 视情况而定 | | 单条命令,零配置 | ✅ | ⚠️ | | 用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | 原生支持 MCP(AI agent) | ✅ | ❌ | | 多语言移植(JS/Go/Rust) | ✅ | ❌ | | 开源许可证 | ✅ COCL | 视情况而定 | *秉承 **pydicom / DICOM Cleaner (RSNA)** 的精神构建,并以 Cognis 的方式重新呈现。遗漏了致谢?欢迎提交 PR。* ## 集成 可接入您的技术栈:用于代码扫描的 **SARIF**,用于任何场景的 **JSON**,用于 AI agent 的 **MCP server** (`dicomsweep mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。详见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。 ## 安装 — 全方式、全平台 ``` pip install "git+https://github.com/cognis-digital/dicomsweep.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/dicomsweep.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/dicomsweep.git" # uv pip install cognis-dicomsweep # PyPI (when published) docker run --rm ghcr.io/cognis-digital/dicomsweep:latest --help # Docker brew install cognis-digital/tap/dicomsweep # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/dicomsweep/main/install.sh | sh ``` | Linux | macOS | Windows | Docker | 云平台 | |---|---|---|---|---| | `scripts/setup-linux.sh` | `scripts/setup-macos.sh` | `scripts/setup-windows.ps1` | `docker run ghcr.io/cognis-digital/dicomsweep` | [DEPLOY.md](docs/DEPLOY.md) (AWS/Azure/GCP/k8s) | ## 相关 Cognis 工具 - [`phiscrub`](https://github.com/cognis-digital/phiscrub) — 流式扫描日志、CSV 和自由文本笔记中的 PHI(姓名、MRN、SSN、日期、地址),并进行就地脱敏或 token 化处理。 - [`fhirlint`](https://github.com/cognis-digital/fhirlint) — 根据配置文件(US Core 等)验证 FHIR R4/R5 资源和捆绑包,并提供精确到行级别的错误报告。 - [`hl7tap`](https://github.com/cognis-digital/hl7tap) — 从终端解析、美化打印、比对差异并通过 MLLP 重放 HL7 v2 消息。 - [`consentledger`](https://github.com/cognis-digital/consentledger) — 维护一份防篡改的、哈希链式的患者数据访问和同意事件审计日志。 - [`synthcohort`](https://github.com/cognis-digital/synthcohort) — 根据 schema 规范生成具有统计学真实性的合成患者队列(FHIR/CSV),用于开发和测试。 - [`trialwatch`](https://github.com/cognis-digital/trialwatch) — 查询、比对差异并监控 ClinicalTrials.gov 记录,在状态、入组情况或结果发生变化时发出警报。 **探索完整套件 →** [🗂️ 全部 170+ 工具](https://github.com/cognis-digital/cognis-neural-suite) · [⭐ awesome-cognis](https://github.com/cognis-digital/awesome-cognis) · [🔗 cognis-sources](https://github.com/cognis-digital/cognis-sources) · [🤖 uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet) · [🧠 engram](https://github.com/cognis-digital/engram) ## 互操作性 `{}` 与包含 300+ 工具的 Cognis 套件组合使用 — JSON 输入/输出以及共享的 兼容 OpenAI 的 `/v1` 主干。请参阅 **[INTEROP.md](INTEROP.md)** 获取 套件图谱、组合模式和参考技术栈。 ## 许可证 在 **Cognis Open Collaboration License (COCL) v1.0** 下开源可见 — 个人、内部评估、研究和教育用途免费;**商业/生产用途需要许可证** (licensing@cognis.digital)。详见 [LICENSE](LICENSE)。
Cognis Digital · Cognis Neural Suite 中的 170+ 工具之一 · Making Tomorrow Better Today
标签:DICOM, Python, 医学影像, 医疗健康, 可视化界面, 数据可视化, 数据脱敏, 无后门, 日志审计, 网络安全, 请求拦截, 逆向工具, 隐私保护