Skip to main content

read-roi

Build Status PyPI version

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

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 files should work.
  • Feel free to hack it and send me modifications.

Requirements

  • Python 3.6 and above.

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.

Authors

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.5.2.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file read-roi-1.5.2.tar.gz.

File metadata

  • Download URL: read-roi-1.5.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for read-roi-1.5.2.tar.gz
Algorithm Hash digest
SHA256 d3ee7eef699428534a1eebd0fce3896ceaf408630ab72bfcc796ae9c88042cbd
MD5 783789495481cc6f772b60c6300edc3f
BLAKE2b-256 81746c1f56e6e6fbdb209607596619c584baf745b0c9aaf39a416f7a687bcd09

See more details on using hashes here.

Release history Release notifications | RSS feed

1.6.0

1 file

This release

1.5.2 This release

1 file

1.5.1

1 file

1.5.0

1 file

1.4.6

1 file

1.4.5

1 file

1.4.4

1 file

1.4.3

1 file

1.4.2

2 files

1.4.0

2 files

1.3.2

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.1

1 file

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page