Skip to content
/ bfio Public
forked from PolusAI/bfio

Interface to the Bioformats Java library

License

Notifications You must be signed in to change notification settings

sameeul/bfio

 
 

Repository files navigation

BioFormats Input/Output utility (bfio 2.4.4)

Documentation Status PyPI PyPI - Downloads Conda Conda Downloads Bower

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

Ubuntu based container with bfio and all dependencies (including Java).

polusai/bfio:2.4.4-imagej

Same as above, except comes with ImageJ and PyImageJ.

polusai/bfio:2.4.4-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.

About

Interface to the Bioformats Java library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.4%
  • Dockerfile 2.5%
  • Shell 0.1%