Re: Using Brush Tool in Java

Posted by Herbie-2 on
URL: http://imagej.273.s1.nabble.com/Using-Brush-Tool-in-Java-tp5002648p5002650.html

Good day Michael,

regarding colors, I assume that you deal with RGB images that are
composed of (only) three 8bit images: a red, a green, and a blue.

Another story are stacks composed of more than these three
color-specific images...

HTH

Herbie
____________________________
On 15.04.13 16:40, jck wrote:

> Hi,
>
> i want to use the Brush tool of ImageJ in my own Java programm.
> It is no problem to set the tool, but i cannot use it.
> When a image is open i can draw on it, but all i get is an yellow frame,
> where the color should be.
>
> I already tried to set up the color with:
> Toolbar.setBackgroundColor() und Toolbar.setForegroundColor()
>
> Maybe someone can help, or show me a tutorial how to do it, i could not find
> one.
>
> This is how i call the Toolbar/Tool:
>
>
> Another question:
> Is there a plugin that splits an Image by Colors? (About 10 Colors, i only
> found the Color_Deconvolution, but it only can split 3 different colors).
>
>
> Thanks in advance.
> Michael.
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/Using-Brush-Tool-in-Java-tp5002648.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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