Skip to content

Instantly share code, notes, and snippets.

View martinitus's full-sized avatar
🤖

Martin Rueckl martinitus

🤖
  • Codecentric AG
  • Berlin, Germany
View GitHub Profile
@martinitus
martinitus / readroi.py
Last active August 29, 2015 14:28 — forked from luispedro/readroi.py
Read ImageJ's ROI files
# Copyright: Luis Pedro Coelho <luis@luispedro.org>, 2012
# License: MIT
import numpy as np
def read_roi(fileobj):
'''
points = read_roi(fileobj)
Read ImageJ's ROI format
'''