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
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)
RoiDecoder.java
for details.pip install read-roi
Or you can use Anaconda and conda-forge
:
conda config --add channels conda-forge
conda install read-roi
Under BSD license. See LICENSE.
pytest -v read_roi/
.conda install -y rever
.rever check
.rever VERSION_NUMBER
.