QIM tools and user interfaces for volumetric imaging
Project description
Quantitative Imaging in 3D
The qim3d
(kɪm θriː diː) library is designed to make it easier to work with 3D imaging data in Python. It offers a range of features, including data loading and manipulation, image processing and filtering, visualization of 3D data, and analysis of imaging results.
You can easily load and process 3D image data from various file formats, apply filters and transformations to the data, visualize the results using interactive plots and 3D rendering, and perform quantitative analysis on the images.
Documentation available at https://platform.qim.dk/qim3d/
For more information on the QIM center visit https://qim.dk/
Installation
We recommned using a conda environment:
conda create -n qim3d python=3.11
After the environment is created, activate it by running:
conda activate qim3d
And then installation is easy using pip:
pip install qim3d
Remember that the environment needs to be activated each time you use qim3d
!
For more detailed instructions and troubleshooting, please refer to the documentation.
Examples
Interactive volume slicer
import qim3d
vol = qim3d.examples.bone_128x128x128
qim3d.viz.slicer(vol)
Line profile
import qim3d
vol = qim3d.examples.bone_128x128x128
qim3d.viz.line_profile(vol)
Threshold exploration
import qim3d
# Load a sample volume
vol = qim3d.examples.bone_128x128x128
# Visualize interactive thresholding
qim3d.viz.threshold(vol)
Synthetic data generation
import qim3d
# Generate synthetic collection of volumes
num_volumes = 15
volume_collection, labels = qim3d.generate.volume_collection(num_volumes = num_volumes)
# Visualize the collection
qim3d.viz.volumetric(volume_collection)
Structure tensor analysis
import qim3d
vol = qim3d.examples.NT_128x128x128
val, vec = qim3d.processing.structure_tensor(vol, visualize = True, axis = 2)
Support
The development of the qim3d
is supported by the Infrastructure for Quantitative AI-based Tomography QUAITOM which is supported by a Novo Nordisk Foundation Data Science Programme grant (Grant number NNF21OC0069766).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file qim3d-1.2.0.tar.gz
.
File metadata
- Download URL: qim3d-1.2.0.tar.gz
- Upload date:
- Size: 9.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69828e0af35ea22471f331289e79981a1e5ed9c8a722749ddd5010ba2c88f8c5 |
|
MD5 | dbd33328666b79cb1220d3ac16633aea |
|
BLAKE2b-256 | 8b4485ec72ea03f65657dcb75b8178b2afd8b0c957c34cdc0aedf27a1f7751a4 |
File details
Details for the file qim3d-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: qim3d-1.2.0-py3-none-any.whl
- Upload date:
- Size: 9.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca8c042d87aa1918278698dd78900db0d470b8c65a51db4e5537f44abf4ddcf1 |
|
MD5 | 6fd8e574d08ed6541b362dd6862245f4 |
|
BLAKE2b-256 | 76d49005903780d629e5f4648b77853db4809b1bb372cda8caf24e2fb7b2577d |