Login  Register

Re: non-static ROIColor?

Posted by Gabriel Landini on May 07, 2007; 12:39pm
URL: http://imagej.273.s1.nabble.com/non-static-ROIColor-tp3699554p3699559.html

On Monday 07 May 2007, Johannes Schindelin wrote:
> While this is not possible at the moment, you can (globally) change the
> colour of the selection with Edit>Options>Colors... or by executing a
> macro like
> run("Colors...", "selection=green");

Also, if you just want to "see" ROIs in different colours, you can always
create and label a new empty image where the ROIs are drawn in different
colours (using the macro setColor() and draw functions.
This is quite useful because:
1. the labelling remains in the new image but ROIs (at the moment) do not.
2. one can retrieve back the label by looking at the colour of the (XStart,
YStart) pixel (you only need a results table open, or those coordinates
stored in an array).

Cheers,

G.