Simple reading and writing classes for tiled tiffs using Bio-Formats.
Project description
BioFormats Input/Output utility (bfio 2.4.5)
This tool is a simplified but powerful interface to Bio-Formats using jpype for direct access to the library. This tool is designed with scalable image analysis in mind, with a simple interface to treat any image like a memory mapped array.
Docker containers with all necessary components are available (see Docker Containers section).
Summary
Installation
Setting up Java
Note: bfio
can be used without Java, but only the python
and zarr
backends will be usable. This means only files in tiled OME Tiff or OME Zarr format can be
read/written.
In order to use the bioformats
backend, it is necessary to first install the JDK and Maven.
The bfio
package is generally tested with
JDK 8,
but JDK 11 and later also appear to work.
Here are some info on installing Maven on various OS (Windows | Linux | Mac)
Installing bfio
The bfio
package and the core dependencies (numpy, tifffile, imagecodecs, scyjava) can
be installed using pip:
pip install bfio
Docker
polusai/bfio:2.4.5
Ubuntu based container with bfio and all dependencies (including Java).
polusai/bfio:2.4.5-imagej
Same as above, except comes with ImageJ and PyImageJ.
polusai/bfio:2.4.5-tensorflow
Tensorflow container with bfio installed.
Documentation
Documentation and examples are available on Read the Docs.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
Nick Schaub (nick.schaub@nih.gov, nick.schaub@axleinfo.com) Sameeul B Samee (sameeul.samee@axleinfo.com)
License
This project is licensed under the MIT License Creative Commons License - see the LICENSE file for details.
Acknowledgments
- Parts of this code were written/modified from existing code found in
tifffile
.
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 bfio-2.4.5.tar.gz
.
File metadata
- Download URL: bfio-2.4.5.tar.gz
- Upload date:
- Size: 53.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ccae6bb2836876c69f81410d243e7f29532249147fe59543f2ae93ca39971ef |
|
MD5 | 284c4da837c9bb4ac616a5e7d707595a |
|
BLAKE2b-256 | 5e465a0ccc77512dd26666392da2d2ebd75bd16de716d0268efcbd10da69e20d |
File details
Details for the file bfio-2.4.5-py3-none-any.whl
.
File metadata
- Download URL: bfio-2.4.5-py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bebc6f01780e116ab49188d856aff957be6c81ea38f35baadcb5c5b6e1487944 |
|
MD5 | 385c8402f582591fc74c84d496a61e70 |
|
BLAKE2b-256 | 78aae4a52dd0fb88f7f5170177b473cc179c0af3dc9dff2100d87aff339cf3e9 |