Skip to main content

ct_leg_bone_split_patch

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

Installation

pip install ct_leg_bone_split_patch

Usage

processing CT image.

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

processing MRI image.

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, mri=True)

img_out.save("path/to_file")

Metadata

Release files for ct-leg-bone-split-patch 0.1.6

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

Source distribution (sdist)

Source distribution for ct-leg-bone-split-patch 0.1.6
File Size Uploaded
ct_leg_bone_split_patch-0.1.6.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ct-leg-bone-split-patch 0.1.6
File Interpreter ABI Platform
ct_leg_bone_split_patch-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / ct_leg_bone_split_patch-0.1.6.tar.gz

Download URL ct_leg_bone_split_patch-0.1.6.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
489327fe309f96abf87072975d1e2504c736ae23ce1f9d39f5231b33b8e539d1
BLAKE2b-256 checksum
How to use checksums
5f5a49e77687c951c26298a610c098e18120fa5bb53323e953f9ecb6b709246d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.18 Linux/6.16.10-aosc-main

Release files / ct_leg_bone_split_patch-0.1.6-py3-none-any.whl

Download URL ct_leg_bone_split_patch-0.1.6-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c1568225f69bdca53daf4c7b12a487409cd6fda9cdf1ab9172d38a3cef0e9d5
BLAKE2b-256 checksum
How to use checksums
9caeeb2e8c9f602e56f6ae9500923f9ea06812704405c05db301312be1ee2614
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.10.18 Linux/6.16.10-aosc-main

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.2

2 release files

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