用于分析和处理角膜共聚焦显微镜角膜神经图像的Python软件包
Project description
aiccm
用于分析和处理角膜共聚焦显微镜角膜神经图像的Python软件包
About
官方网站: www.aiccm.fun
如果对你的研究有帮助,请引用我们的论文:
Qiao Q, Cao J, Xue W, et al. Deep learning-based automated tool for diagnosing diabetic peripheral neuropathy. Digit Health. 2024;10:20552076241307573. Published 2024 Dec 25. doi:10.1177/20552076241307573
Setup
pip install aiccm
or
conda create -n aiccm python=3.10
conda activate aiccm
pip install -r requirements.txt
Use
1. 获取二值化/骨架化图像
import aiccm
# 读取你的CCM图像
# 支持的图像分辨率为应该为384*384或384*484,读取后统一转换为384*384
image = aiccm.load_ccm_image('test.jpg')
binary = aiccm.get_binary(image) # 二值化图像
skeleton = aiccm.get_skeleton(binary) # 骨架化图像
aiccm.show_image(binary)
aiccm.show_image(skeleton)
2. AiCCMetrics功能
import aiccm
import os
image = aiccm.load_ccm_image('test.jpg')
metrics_result = aiccm.get_metrics(image)
print(metrics_result)
aiccm.show_image(aiccm.get_bone_image(image))
aiccm.show_image(aiccm.get_body_image(image))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiccm-1.1.0.tar.gz
(4.4 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
aiccm-1.1.0-py3-none-any.whl
(4.4 MB
view details)
File details
Details for the file aiccm-1.1.0.tar.gz.
File metadata
- Download URL: aiccm-1.1.0.tar.gz
- Upload date:
- Size: 4.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
849804dd782ba39cd1ebfca82f28a2997c80bc2a5e1fccaa63075afd5059b7a9
|
|
| MD5 |
5985414cdb2707e150eabec50dcc0f28
|
|
| BLAKE2b-256 |
b2057b9d14ad16ffc74b554afa7c9b32c1bf756cf43a906439424a5a31990301
|
File details
Details for the file aiccm-1.1.0-py3-none-any.whl.
File metadata
- Download URL: aiccm-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d57fc0532d25e623191f00d30f8e7c6d8556436eaf47a56f5d49ae77287faa2
|
|
| MD5 |
6bf63853f1f2b0586ed786c7ee0574c0
|
|
| BLAKE2b-256 |
ef73b5d0f80cc8aa369bf7f3095b4f485030ce5373517373fce40a6774bbccbb
|