how to perform color thresholding via a java plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to perform color thresholding via a java plugin

George H
Hi,

In Fiji you can adjust the threshold color of an image by doing

Image -> Adjust -> Color Threshold ...

I'm trying to find a way to do this from a java plugin either by passing
the parameters programatically or by re-using the GUI interface that FIJI
uses because it shows some nice sliders and histograms.

I tried looking through the API and I found the ColorThresholder class (
http://imagej.nih.gov/ij/developer/api/ij/plugin/frame/ColorThresholder.html)
 but I can't really tell if this is what I want as there is very little
documentation on it on how to use it. The methods do not seem to match the
GUI interface from when using fiji.

So any tips on color thresholding image via Java ?

Thanks.
--
George H
[hidden email]

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