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


Download files

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

Source Distribution

ijroi-0.4.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

ijroi-0.4.0-py2.py3-none-any.whl (10.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ijroi-0.4.0.tar.gz.

File metadata

  • Download URL: ijroi-0.4.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ijroi-0.4.0.tar.gz
Algorithm Hash digest
SHA256 82c4dd9c6e7a13dae2f2cd8bb17020ef8dbbf60ad080a76d3a100d9989929e86
MD5 3c45659e01c0cc0e04bf3149e439c21a
BLAKE2b-256 40d53a8f5ff40a5df44c51f2df2aeb69644539442eb98932573c3242225a56da

See more details on using hashes here.

File details

Details for the file ijroi-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ijroi-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 78b84d7b7ab88f76934464ef13d7c8242ce5b18110516c52d1779c6d633a33a2
MD5 52dad16009e03856a1e80ba3b2a43060
BLAKE2b-256 2e8a38e256904e00a48769901ffaa2b7f52735e8307ad1a82818c2972cfa1cf3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page