Skip to main content

用于分析和处理角膜共聚焦显微镜角膜神经图像的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.0.1.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiccm-1.0.1-py3-none-any.whl (4.4 MB view details)

Uploaded Python 3

File details

Details for the file aiccm-1.0.1.tar.gz.

File metadata

  • Download URL: aiccm-1.0.1.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

Hashes for aiccm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 af7f39a501fc48ce490e79efbcf8135099e9acf2e837c168b28daeab64a8f4c7
MD5 d62be3004daece651f33cafa882ee77f
BLAKE2b-256 aa25b44af42378ae73c373996061cec9b9619f1ec3791dec2d898eedc2eb8f48

See more details on using hashes here.

File details

Details for the file aiccm-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: aiccm-1.0.1-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

Hashes for aiccm-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d53765d7ae580c72636e7f4c7c6e562a2f3bbc55fba727ae9fe60026d07e75e6
MD5 7ede5309a76ee5954613fdc7f5f7105e
BLAKE2b-256 310a5ea7821b569926febe622e055b2651e4a081fce4245c62844af70798c8d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page