Skip to main content

ct_image_to_pic_list

convert a 3d CT/MRI image (numpy) into pillow image list.

Installation

pip install ct_image_to_pic_list

Usage

reading 3d CT image.

import numpy as np
from ct_image_to_pic_list import convert_ct_3darray_to_grey_image_list

# construct you 3d CT image (HU value)
arr3d = np.array([ ... ])

# get a list of PIL.Image.Image
img_list = convert_ct_3darray_to_grey_image_list(arr3d)

# save it if you want
for index, img in enumerate(img_list):
    img.save(f"{index:05d}.png")

reading 3d MRI image.

import numpy as np
from ct_image_to_pic_list import convert_mri_3darray_to_grey_image_list

# construct you 3d MRI image (HU value)
arr3d = np.array([ ... ])

# get a list of PIL.Image.Image
img_list = convert_mri_3darray_to_grey_image_list(arr3d)

# save it if you want
for index, img in enumerate(img_list):
    img.save(f"{index:05d}.png")

Metadata

Release files for ct_image_to_pic_list 0.0.5

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_image_to_pic_list 0.0.5
File Size Uploaded Provenance Actions
ct_image_to_pic_list-0.0.5.tar.gz 2.6 kB Without provenance Details for ct_image_to_pic_list-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 6.1 kB

Release files / ct_image_to_pic_list-0.0.5.tar.gz

Download URL ct_image_to_pic_list-0.0.5.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b11f0969cec56237517a9c865e03441fb4a13f1a53b8f15f6893bae6295462e1
BLAKE2b-256 checksum
How to use checksums
28fac915509b3ec6a6a1e403fb749930fa2a2a5397fa285f4840c8b1974033e3
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_image_to_pic_list-0.0.5-py3-none-any.whl

Download URL ct_image_to_pic_list-0.0.5-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f47ad7ecafc994b2a3ee2d07ec564398221f1a42e1e965e1a4622d73ab358aa
BLAKE2b-256 checksum
How to use checksums
d7dcb9feecd2062d03223fdb4010bb919657baf898d71b4c1e4a20aff3a623cf
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

Security for ct_image_to_pic_list 0.0.5

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.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files No provenance

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