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.5.0a1.tar.gz
.
File metadata
- Download URL: imcflibs-1.5.0a1.tar.gz
- Upload date:
- Size: 52.0 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 | fa1f3aea042d037dff3566657762736a9e03d30800aee9ae4b8b19cd1a71368d |
|
MD5 | a3f528b3826d6f5f136400dba2232975 |
|
BLAKE2b-256 | 0f7ed00de8ab60ec9f6ce36df24926fc61a983b9242952fed37a643647443ad9 |
File details
Details for the file imcflibs-1.5.0a1-py2.py3-none-any.whl
.
File metadata
- Download URL: imcflibs-1.5.0a1-py2.py3-none-any.whl
- Upload date:
- Size: 59.0 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 | f5f79bd1e42baa6b688f477e2a22941b4d9a2c9983ca8c0b927ced45fe98858b |
|
MD5 | e21ac744d81a7b578d0c9a0423f8ec62 |
|
BLAKE2b-256 | 5c5fd81b089e2fff53667d01963d5ddfe781e899a1c42fe5555c466e5b9defa7 |