Skip to main content

QIM tools and user interfaces for volumetric imaging

Project description

Quantitative Imaging in 3D

qim3d logo

PyPI version Downloads

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.

Whether you are working with medical imaging data, materials science data, or any other type of 3D imaging data, qim3d provides a convenient and powerful set of tools to help you analyze and understand your data.

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 enviroment:

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

viz slicer

Line profile

import qim3d

vol = qim3d.examples.bone_128x128x128
qim3d.viz.line_profile(vol)

line profile

Threshold exploration

import qim3d

# Load a sample volume
vol = qim3d.examples.bone_128x128x128

# Visualize interactive thresholding
qim3d.viz.threshold(vol)

threshold exploration

Synthetic data generation

import qim3d

# Generate synthetic collection of blobs
num_objects = 15
synthetic_collection, labels = qim3d.generate.collection(num_objects = num_objects)

# Visualize synthetic collection
qim3d.viz.vol(synthetic_collection)

synthetic collection

Structure tensor analysis

import qim3d

vol = qim3d.examples.NT_128x128x128
val, vec = qim3d.processing.structure_tensor(vol, visualize = True, axis = 2)

structure tensor

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

NNF

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

qim3d-1.1.0.tar.gz (9.3 MB view details)

Uploaded Source

Built Distribution

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

qim3d-1.1.0-py3-none-any.whl (9.4 MB view details)

Uploaded Python 3

File details

Details for the file qim3d-1.1.0.tar.gz.

File metadata

  • Download URL: qim3d-1.1.0.tar.gz
  • Upload date:
  • Size: 9.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for qim3d-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ba39af9e29c8f71bed504f3e3f8b1fff75d186f98d834ff62b1179483719913b
MD5 e51239888fb8a1a7a2da2f4da123f6c1
BLAKE2b-256 d598f518bfe07b4f6d8f6af1e42fcb3d38dc9a8ebf5f8223ee4b51e5e07fe1e0

See more details on using hashes here.

File details

Details for the file qim3d-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: qim3d-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for qim3d-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f52f597bef045dca958ebe2c5588a4b5578488f015143fd0e18c4b6df165360
MD5 509b79c3f9368f3744f5904b2ba1bd98
BLAKE2b-256 989a23d2c59f50bb38abf04e4d5ed3f1f96b219f69a4d8c60d2f93465db4f0c1

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