Skip to main content

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))

Metadata

Release files for aiccm 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiccm 1.1.0
File Size Uploaded Provenance Actions
aiccm-1.1.0.tar.gz 4.4 MB Without provenance Details for aiccm-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiccm 1.1.0
File Interpreter ABI Platform Actions
aiccm-1.1.0-py3-none-any.whl Python 3 none any Details for aiccm-1.1.0-py3-none-any.whl

Total release size: 8.7 MB

Release files / aiccm-1.1.0.tar.gz

Download URL aiccm-1.1.0.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
849804dd782ba39cd1ebfca82f28a2997c80bc2a5e1fccaa63075afd5059b7a9
BLAKE2b-256 checksum
How to use checksums
b2057b9d14ad16ffc74b554afa7c9b32c1bf756cf43a906439424a5a31990301
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.17

Release files / aiccm-1.1.0-py3-none-any.whl

Download URL aiccm-1.1.0-py3-none-any.whl
Size 4.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1d57fc0532d25e623191f00d30f8e7c6d8556436eaf47a56f5d49ae77287faa2
BLAKE2b-256 checksum
How to use checksums
ef73b5d0f80cc8aa369bf7f3095b4f485030ce5373517373fce40a6774bbccbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.17

Security for aiccm 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page