Skip to main content

Reads ImageJ ROIs.

Project description

ijroi Build Status Coverage Status PyPI page MIT license

Reads ImageJ ROIs into numpy arrays. Use it like:

>>> import ijroi
>>> with open("my_roi.roi", "rb") as f:
...     roi = ijroi.read_roi(f)
...
>>> isinstance(roi, np.ndarray)
True

read_roi returns a Nx2 array, where each row is a (row, column) or (y, x) pair.

Based on Luis Pedro Coelho’s readroi.py gist.

License

ijroi is offered under the MIT license.

Contributors

ijroi is maintained by Tim D. Smith. The core functionality was implemented by Luis Pedro Coelho.

Project details


Release history Release notifications

This version
History Node

0.4.0

History Node

0.3

History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

History Node

0.1.0.dev0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ijroi-0.4.0-py2.py3-none-any.whl (10.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Aug 29, 2017
ijroi-0.4.0.tar.gz (6.3 kB) Copy SHA256 hash SHA256 Source None Aug 29, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page