Login  Register

Update on ThresholdAdjuster.java

Posted by CARL Philippe (LBP) on Sep 27, 2017; 12:05pm
URL: http://imagej.273.s1.nabble.com/Update-on-ThresholdAdjuster-java-tp5019444.html

Dear all (probably mostly Wayne)

Under the following link:

http://punias.free.fr/ImageJ/ThresholdAdjuster.java

I have put a modified version of the ThresholdAdjuster.java file where I
added MouseWheelListener features to the minSlider and maxSlider.

The reason why I did this, is that it is sometimes quite difficult to
concentrate (at least for a starting to be old man like I very unfortunately
do) on the picture threshold actions while simultaneously playing with the
sliders via mouse button actions.

With this new code, you just click once on a given slider (minSlider or
maxSlider) and then just forget it by only using the mouse wheel to increase
or decrease its value and thus just concentrate on the given threshold
changes within the given picture.

I’m also thinking to add as well the left/right arrow keys for making the
same actions but would first like to get your opinion on this.

Besides that, I have another question (but maybe it is very stupid) about
the thresholder window (while I’m working on it).

Indeed why is there a “Set” window for setting the Lower and Upper Threshold
Level?

Wouldn’t it be better or easier to simply transform the indicator values
next to the minSlider or maxSlider to TextFields where the user could then
just simply write the new wished values? (and if there is no objections on
this I will write the needed code…)

Looking forward for your comments and/or critics on all this I wish you a
nice day (I hope as well sunny for you).

My best regards,

Philippe

 

Philippe CARL

Laboratoire de Biophotonique et Pharmacologie

UMR 7213 CNRS - Université de Strasbourg

Faculté de Pharmacie

74 route du Rhin

67401 ILLKIRCH

Tel : +33(0)3 68 85 41 84


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