How to implement the scrollbar for threshold

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

How to implement the scrollbar for threshold

Qiushi Li
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