Skip to main content

Read ROI files .zip or .roi generated with ImageJ.

Project description

# read_roi

[![PyPI version](https://img.shields.io/pypi/v/read_roi.svg?maxAge=2591000)](https://pypi-hypernode.com/project/read_roi/)

Read ROI files .zip or .roi generated with ImageJ. Code is largely inspired from : http://rsb.info.nih.gov/ij/developer/source/ij/io/RoiDecoder.java.html

## Functions

```python
from read_roi import read_roi_file
from read_roi import read_roi_zip

roi = read_roi_file(roi_file_path)

# or

rois = read_roi_zip(roi_zip_path)
```

## Note

- Some format specifications are not implemented. See RoiDecoder.java for details.
- Most of "normal" ROI file should work.
- Feel free to hack it and send me modifications.

## Requirements

- Python > 2.7 and > 3.4

## Install

`pip install read_roi`

Or you can use Anaconda and `conda-forge` :

```
conda config --add channels conda-forge
conda install read_roi
```

## License

Under BSD license. See [LICENSE](LICENSE).

## Authors

- Hadrien Mary <hadrien.mary@gmail.com>

## How to release a new version

- Modify version number in `read_roi/__init__.py`
- Commit and push changes
- Make Github release
- Create and upload packages : `python setup.py sdist bdist_wheel upload`


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

read_roi-1.0.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

read_roi-1.0.0-py2.py3-none-any.whl (6.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file read_roi-1.0.0.tar.gz.

File metadata

  • Download URL: read_roi-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for read_roi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8105ec52a20a2c0f49f15026ad1e38538071e7b81e6777af8d71a5ab78e53f7d
MD5 c53bc4e27bdc8c648c57bfc8de5e9a6c
BLAKE2b-256 7f8b38e6d2316b9c11c4669c385926695a175f3c873cf18f7d6ec31742f000c7

See more details on using hashes here.

File details

Details for the file read_roi-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for read_roi-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 772cd7836adc6c0887eb33463bcf7741755e0ffc12b44b6d9f61644de474dbbb
MD5 e3ca0de2fb3d3ef2bcb66d58db4c4273
BLAKE2b-256 e32ebea649e6fe2c3a8a3ec6b0c881ba4b77aae3ab087510c9dc9e9f257dff29

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