ijroi

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.
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ijroi-0.4.0-py2.py3-none-any.whl
(10.1 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82c4dd9c6e7a13dae2f2cd8bb17020ef8dbbf60ad080a76d3a100d9989929e86
|
|
| MD5 |
3c45659e01c0cc0e04bf3149e439c21a
|
|
| BLAKE2b-256 |
40d53a8f5ff40a5df44c51f2df2aeb69644539442eb98932573c3242225a56da
|
File details
Details for the file ijroi-0.4.0-py2.py3-none-any.whl.
File metadata
- Download URL: ijroi-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78b84d7b7ab88f76934464ef13d7c8242ce5b18110516c52d1779c6d633a33a2
|
|
| MD5 |
52dad16009e03856a1e80ba3b2a43060
|
|
| BLAKE2b-256 |
2e8a38e256904e00a48769901ffaa2b7f52735e8307ad1a82818c2972cfa1cf3
|