Login  Register

Re: Auto contrast stacks with SHIFT key - want it back

Posted by Gabriel Landini on Aug 28, 2018; 12:55pm
URL: http://imagej.273.s1.nabble.com/Auto-contrast-stacks-with-SHIFT-key-want-it-back-tp5021127p5021128.html

On Tuesday, 28 August 2018 12:51:03 BST [hidden email] wrote:

> Prior to version 1.52d, there was a possibility to auto contrast the slices
> of a stack by holding down the SHIFT key while stepping forward/backward in
> a stack.
>
> In newer versions, it is not possible anymore. You have to switch on the
> "Auto contrast stacks" checkbox in the appearance options. I used the SHIFT
> key method a lot but not always, and always changing a checkbox in the
> options dialog is much more cumbersome.
>
> In the imageJ changelog (https://imagej.nih.gov/ij/notes.html) there is a
> note for version 1.52d: "Thanks to Mark Histed, when the shift key is down,
> the display range is no longer changed when stepping forward/back in a
> stack."
>
> So this change in behavior was intentional, not a bug. Why did you decide to
> change this? Is it possible to bring the SHIFT key (or other hotkey) method
> back?


Hi Peter,
I do not know the reason for the change, or wheter it will be reverted.
However if the problem is that you need to change the checkbox, here is a
possible solution: you can record setting the checkbox and add the recorded
macro line to the StartupMacros.txt file. That way it will be set when you
start IJ.

In my setup case the line recorded for the Appearance submenu is:

run("Appearance...", "auto cancel menu=14 16-bit=Automatic");


The "auto" switch tells IJ that it should be checked.
Hope it helps.
Cheers

Gabriel

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