Skip to content

Instantly share code, notes, and snippets.

@arcaduf
Last active January 26, 2018 09:55
Show Gist options
  • Save arcaduf/873d7b824f3c9efa0d0956e540cb6b8d to your computer and use it in GitHub Desktop.
Save arcaduf/873d7b824f3c9efa0d0956e540cb6b8d to your computer and use it in GitHub Desktop.
Create and save annotations with ImageJ
Load image.
Duplicate it as many times as many types of ROI you want to draw.
GO --> Edit --> Selection --> Add to Manager.
Draw the ROI and add it to the manager.
Click on each ROI / each group of ROIs and then click "More" --> "Fill" inside the manager.
Save the resulting image as separate .png.
In case you want to work with the .roi format of ImageJ, use this python code to read the .zip and the .roi:
https://gist.githubusercontent.com/luispedro/3437255/raw/d3f0be5efbe37efe27946c5fa21f5ef523cdac43/readroi.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment