Login  Register

How to implement the scrollbar for threshold

Posted by Qiushi Li on Nov 30, 2013; 5:38am
URL: http://imagej.273.s1.nabble.com/How-to-implement-the-scrollbar-for-threshold-tp5005744.html

Hi,

I am trying to implement exactly the same function as in the "Image --> Adjust --> Threshold" of imagej into my own plugin. What I want is, there are two sliders on a dialog, one for the lower bound limit of threshold, the other for the upper bound limit of it. When scrolling the sliders, there will be effects on the image immediately. In a word, just the same function in the imagej. I tried to search for the source code of it, but did not succeed. Any suggestion would be much appreciated!

thanks
Qiushi