http://imagej.273.s1.nabble.com/Using-Brush-Tool-in-Java-tp5002648p5002717.html
I have 10 different color shades, the colors come from a scan of transparent film where people draw lines.
If i only look at the direction of the vector (which represents the color) and not the length it should be possible to split the image.
But since this seems to be a pretty common task to me i tried to find an plugin which already does this.
>
>Hi Michael,
>
>(1) on the Brush tool:
>Your description sounds like you have the Selection Brush tool
>(available manually via the Toolbar by right-clicking on the
>second field, which is usually the ellipse). The interior of the
>brush becomes a selection; the outline of the selection is usually
>orange or yellow, depending on Edit>Options>Color.
>
>The true brush tool is usually loaded with the StartupMacros.txt
>to one of the free slots.
>
>
>(2) Finding 10 colors in an image? Does this mean, you have 10
>different color shades, each of them with different hue,
>saturation or brightness, but not exactly that value, in an image
>with 3 primary colors (RGB)? To get started, you may have a look
>at the color space using the Color Inspection plugin
>
http://rsbweb.nih.gov/ij/plugins/color-inspector.html>I don't know any good way to proceed.
>Or does it mean, you have an image with 10 or more channels for
>specific wavelengths?
>
>Michael
>________________________________________________________________
>On Apr 15, 2013, at 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>
>
>
>
>_______________________________________________
>If you reply to this email, your message will be added to the
>discussion below:
>
http://imagej.1557.x6.nabble.com/Using-Brush-Tool-in-Java->tp5002648p5002653.html
>
>To unsubscribe from Using Brush Tool in Java, visit
>
http://imagej.1557.x6.nabble.com/template/NamlServlet.jtp?macro=uns>ubscribe_by_code&node=5002648&code=bWVuemVsQGh1c2guY29tfDUwMDI2NDh8
>MzU4NDEwMDM0