Login  Register

storing overlays macro (ImageJ 1.49i2)

Posted by PEARSON Matthew on Sep 28, 2014; 1:39pm
URL: http://imagej.273.s1.nabble.com/storing-overlays-macro-ImageJ-1-49i2-tp5009802.html

Hi all,

I'm interested to know if there's a way to accumulate overlays created at different points in a macro, i'd then like to recall all these overlays later.  I'd like to avoid using the roi manager to store them because i have a number of ROI's in it i want to process and if i store the overlays there too i have to filter out the ROI's amongst the overlays.  I assume there is no way to query whether a line in the roi manager is an roi or an overlay?

An alternative i've tried is to create a blank image and then use Overlay.copy and paste to transfer an overlay to the blank image "overlays" for storage.  However, when i copy a second overlay to the overlays image the first overlay is removed so there is never more than one present on the "overlay" image.  So firstly i'm wondering why can't multiple overlays appear on the same image when using Overlay.copy/paste?  And if this occurs for a reason is there an alternative method for storing overlays?

Thanks for the help,

Matt



--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html