From: Tom Runia<
[hidden email]>
> I am writing a plugin and I would like to mark different objects in my
> images (cells) with various colors. Is it possible to have two overlays
> with each a different color for the markers?
> With markers I mean the blue/green dots in this image:
>
http://tweakers.net/ext/f/nU0CKruye50BAXmcPYnkmBj9/full.pngYou could have a look at how the Cell Counter and Stack Counter plugins do it:
http://rsbweb.nih.gov/ij/plugins/cell-counter.htmlhttp://user.interface.org.nz/~gringer/hacking/stack-counter.htmlBecause they generate separate overlays for each slice, it doesn't (or didn't) fit well with
ImageJ's standard overlay process, which shows all ROIs for all slices, rather than just the current
slice.
The plugins are suffering from a bit of bit rot (i.e. using deprecated functions), and I should
really have a go at updating my derivative code for the most recent ImageJ APIs.
- David Eccles