Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project description

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

Project details


Download files

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

Files for read-roi, version 1.5.2
Filename, size File type Python version Upload date Hashes
Filename, size read-roi-1.5.2.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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