[ImageJ](https://imagej.nih.gov/ij/) has its own binary format for storing image segmentation annotations called ROI (region of interest) files. * [Decoder](https://imagej.nih.gov/ij/developer/source/ij/io/RoiDecoder.java.html) (description of file format) * [Encoder](https://imagej.nih.gov/ij/developer/source/ij/io/RoiEncoder.java.html) Python libary for reading: [read-roi](https://pypi.org/project/read-roi/)
ImageJ has its own binary format for storing image segmentation annotations called ROI (region of interest) files.
Python libary for reading: read-roi