Login  Register

how to perform color thresholding via a java plugin

Posted by George H on Apr 02, 2015; 2:59pm
URL: http://imagej.273.s1.nabble.com/how-to-perform-color-thresholding-via-a-java-plugin-tp5012328.html

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