It is exactly what I needed.
> Hi Alessandra,
>
> Here is a suggestion:
>
> 1: Change the type of the gray image to a color image, that should
> make the input to your plugin a ColorProcessor.
> 2: ColorProcessor has a method: setColor(java.awt.Color color), use
> that to set the color.
> 3: ImageProcessor / ColorProcessor has a drawOval(int x, int y, int
> width, int height), use that to draw the circle, by setting width =
> height.
> 4: Save the image.
>
> -Sami Badawi
>
http://www.shapelogic.org>
> On Mon, Jun 2, 2008 at 4:43 AM, alessandra griffa
> <
[hidden email]> wrote:
> > Hi!
> >
> > I am new with ImageJ plugins and I have a little problem.
> > Inside a plugin, I would like to draw colored circles on a grey levels
> > image such that the gray level image could be saved, for example as tif,
> > with the circles too.
> > Does anyone know the good class or the way I could do that?
> >
> > Thank you!
> >
> > Alessandra
> >
>