Auto contrast stacks with SHIFT key - want it back

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Auto contrast stacks with SHIFT key - want it back

Peter Antal
Dear all,

This is mainly a question for developers of imageJ:

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?

---
Another technical thing:
Is this mailing list also for contact with developers, so for e.g. bug reports?
Is it completely separated from the contact methods available on http://imagej.net, such as bug reports page (http://imagej.net/Bug_reporting_best_practices) or image.sc forum (https://forum.image.sc/)

Thank you!

Regards,
Peter

________________________________

This e-mail may contain confidential and/or copyrighted information and is intended solely for the person or organization to whom it is addressed. If you receive this e-mail in a damaged form, or erroneously or if you are not the intended recipient, please inform the sender immediately and delete this e-mail from your system. Unauthorised copying, distribution, modification, or disclosure of this e-mail is strictly forbidden.

E-mails are primarily sent for information purposes. The Mediso Medical Imaging Systems Ltd. neither undertakes nor acknowledges any official obligations via e-mails, unless the parties have agreed otherwise.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

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

Gabriel Landini
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
Reply | Threaded
Open this post in threaded view
|

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

Peter Antal
Hi Gabriel,

Thanks! This partially resolves my problem, since in most cases I use the auto contrast setting. However, in some cases I have to quickly change between the two modes, so the hotkey method would be beneficial.

Thus, the question for developers remains: Could the change be reverted in a next version of imageJ?

Thanks!

Peter

-----Original Message-----
From: Gabriel Landini <[hidden email]>
Sent: 2018. augusztus 28. 14:55
To: [hidden email]
Subject: Re: Auto contrast stacks with SHIFT key - want it back

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

________________________________

This e-mail may contain confidential and/or copyrighted information and is intended solely for the person or organization to whom it is addressed. If you receive this e-mail in a damaged form, or erroneously or if you are not the intended recipient, please inform the sender immediately and delete this e-mail from your system. Unauthorised copying, distribution, modification, or disclosure of this e-mail is strictly forbidden.

E-mails are primarily sent for information purposes. The Mediso Medical Imaging Systems Ltd. neither undertakes nor acknowledges any official obligations via e-mails, unless the parties have agreed otherwise.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

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

Gabriel Landini
On Tuesday, 28 August 2018 14:47:13 BST you wrote:
> Thanks! This partially resolves my problem, since in most cases I use the
> auto contrast setting. However, in some cases I have to quickly change
> between the two modes, so the hotkey method would be beneficial.

OK, some other ideas:
What about assigning macros to some hot keys to which switch the autocontrast
on and off?
I wonder it if is also possible to create just a one button macro in the
toolbar that toggles the status of the autocontrast setting.

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

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

Cammer, Michael-2
Similar to the method to get around this problem.  With the <Ctrl> I not implemented in FiJi to load macros from the macro editor and nobody else sending a good method, setting up a function key to load the macros from disk is the workaround.

Michael Cammer, Sr Research Scientist, DART Microscopy Laboratory
NYU Langone Health, 540 First Avenue, SK2 Microscopy Suite, New York, NY  10016
[hidden email]  http://nyulmc.org/micros  http://microscopynotes.com/ 
Voice direct only, no text or messages:  1-914-309-3270 and 1-646-501-0567



-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Gabriel Landini
Sent: Tuesday, August 28, 2018 10:25 AM
To: [hidden email]
Subject: Re: Auto contrast stacks with SHIFT key - want it back

On Tuesday, 28 August 2018 14:47:13 BST you wrote:
> Thanks! This partially resolves my problem, since in most cases I use the
> auto contrast setting. However, in some cases I have to quickly change
> between the two modes, so the hotkey method would be beneficial.

OK, some other ideas:
What about assigning macros to some hot keys to which switch the autocontrast
on and off?
I wonder it if is also possible to create just a one button macro in the
toolbar that toggles the status of the autocontrast setting.

Cheers

Gabriel

--
ImageJ mailing list: https://urldefense.proofpoint.com/v2/url?u=http-3A__imagej.nih.gov_ij_list.html&d=DwICAg&c=j5oPpO0eBH1iio48DtsedbOBGmuw5jHLjgvtN2r4ehE&r=vfUn-WSoz3z11I1Wutm3wYYMExfQInQ6nJuvEPYzlnE&m=Q7WToUohO4uhxM-zDbs4ww4xCZNkXCV4nSRJaLv6X4k&s=eFaUUgdaIsHVPyHBskk4mzH9YbnczvRySEQI1spYLrc&e=

------------------------------------------------------------
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email.
=================================

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