Skip to main content

Given a 128×128 grayscale image representing a CT cross-sectional slice, identify bone tissue from it and generate a binary mask.

Project description

ct_leg_bone_split_patch

Given a 128×128 grayscale image representing a CT cross-sectional slice, identify bone tissue from it and generate a binary mask.

Installation

pip install ct_leg_bone_split_patch

Usage

from PIL import Image
from ct_leg_bone_split_patch import map_image

img_in  = Image.open("path/to/file")
img_out = map_image(img_in)

img_out.save("path/to_file")

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

ct_leg_bone_split_patch-0.1.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

ct_leg_bone_split_patch-0.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file ct_leg_bone_split_patch-0.1.2.tar.gz.

File metadata

  • Download URL: ct_leg_bone_split_patch-0.1.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.18 Linux/6.16.10-aosc-main

File hashes

Hashes for ct_leg_bone_split_patch-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a4f51820af6765bd8103a7d1293fd2b47f104d77af1084fd605e0ff9e74cfa22
MD5 efeae774761a872031da69f7441ecaa2
BLAKE2b-256 b00456efa8af96613ed01fb5707866dd377276c6fb97fdcc54853da332ca020e

See more details on using hashes here.

File details

Details for the file ct_leg_bone_split_patch-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ct_leg_bone_split_patch-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6bc8d5a3269a740d2fce047f965df21433c082f60d080fd7150b5c39654f42
MD5 8cfcf7c459b168af6c61068deb2ed7c8
BLAKE2b-256 593ef0119f1269a1f9197db04a1d00e7b07af94c6dedc670da069ecf9cceff7d

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