Mostly ImageJ/Fiji-related Python helper functions.
Project description
IMCFlibs 🐍 ☕ 🔩 🔧 🪛
This package contains a diverse collection of Python functions dealing with paths, I/O (file handles, ...), strings etc. and tons of Fiji / ImageJ2 convenience wrappers to simplify scripting and reduce cross-script redundanciees.
Initially this has been a multi-purpose package where a substantial part had
been useful in CPython as well. However, since the latest Jython
release is still based on Python 2.7 (see the Jython 3 roadmap for
more info), imcflibs is now basically limited to the Fiji / ImageJ2
ecosystem (which is also the reason why no pip install
able package is
provided).
Releases are made through Maven and published to the SciJava Maven
repository. The easiest way to use the lib is by adding the IMCF Uni Basel
update site to your ImageJ installation.
Developed and provided by the Imaging Core Facility (IMCF) of the Biozentrum, University of Basel, Switzerland.
Example usage
Shading correction / projection
Apply a shading correction model and create a maximum-intensity projection:
from imcflibs.imagej.shading import correct_and_project
model = "/path/to/shading_model.tif"
raw_image = "/path/to/raw_data/image.ome.tif"
out_path = "/path/to/processed_data/"
correct_and_project(raw_image, out_path, model, "Maximum", ".ics")
Split TIFFs by channels and slices
- See the Split_TIFFs_By_Channels_And_Slices.py script.
Use status and progress bar updates
- See the FluoView_OIF_OIB_OIR_Simple_Stitcher.py script.
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 imcflibs-1.4.0.tar.gz
.
File metadata
- Download URL: imcflibs-1.4.0.tar.gz
- Upload date:
- Size: 35.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.0-125-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 054e58c9c4c8c70194a268452127dca1c5a7b82041c6dde1f7eab6c2875f4e8e |
|
MD5 | 571bca97dca174dc5377ba61c5534e91 |
|
BLAKE2b-256 | 3302ed6bdd2c0aa1ff935ff1cb819af5fbfa7d27e3001c4a168ae8f64ece49a8 |
File details
Details for the file imcflibs-1.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: imcflibs-1.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 41.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.0-125-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d17754197363b0663e8e4c30000ab44d9e9b449f6080294bba4e0dab3a5c5a55 |
|
MD5 | 48175f079543041d14bc7a452e16ec3d |
|
BLAKE2b-256 | e25d93392d40ce4438a4fe8fd97e71d27a9507cb72693b46812f733f0c11902d |