fijitools

Python interface to FIJI/ImageJ ROI data


License
Other
Install
pip install fijitools==0.2

Documentation

fijitools

Author: Vladimir Shteyn

GitHub: GitHub

LinkedIn: LinkedIn

Introduction

fijitools is a Python API for working with Fiji/ImageJ ROI data.

Installation

pip install fijitools

Features

ROI I/O: Reading ImageJ/FIJI region of interest (ROI) data saved in .zip format. ROI bytestream data from the entire .zip file is parsed all together as a single numpy array, and dispatched to classes particular to each ROI type. Currently all ROI may be read, but only ROI objects for rectangles and ellipses have been written. Python ROI instances may be converted back to ImageJ/FIJI bytestreams, saved as .zip files, and read by ImageJ/FIJI. This is a work in progress.

CSV Parsing: Uses regular expressions to filter ImageJ/FIJI data generated with the RoiManager->Multi-Measure tool and saved as CSV files.

Convenience Functions: various data structures and functions to make life easier. Specialized data structures for managing parsed ImageJ/FIJI data.

TODO

ROI I/O: Writing text ROI to ImageJ/FIJI bytestreams and saving them as .zip files. With this feature, rectangle or ellipse ROI originally generated by the Python API, can be visualized with text labels in ImageJ/FIJI. This is especially useful if we want to inspect ROI data while, say, troubleshooting a segmentation algorithm.