restoring a selection

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

restoring a selection

Michael Elbaum
Hi all,     if I draw a selection (square, circle, whatever) on an image, I can paste it onto another image using Ctrl-Shift-E (restore selection). If I create the selection using the menu tool, the paste trick isn't available. Before requesting to fix this "bug" I just thought to ask if anyone sees a reason to leave as is, perhaps for behavior in macros?
regards,
Michael



Prof Michael Elbaum
Dept of Chemical and Biological Physics
Weizmann Institute of Science
Rehovot 76100, ISRAEL
tel +972 (0)8-9343537
fax +972 (0)8-9344138

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

Re: restoring a selection

Michael Schmid
Hi Michael,

you can transfer a selection either using the ROI Manager or you press
(ctrl)shift-A (ctrl)shift-E before selecting the other image.
(ctrl)Shift-A (Select None) deletes the current selection and moves it
into the "restore buffer", (ctrl)shift-E takes it back from there.

[By the way, I don't understand why it sometimes does not work without
the (ctrl)shift-A step, but I have also seen this happen. When selecting
a new image while another one is active, the
WindowManager.setCurrentWindow method should always put the Roi of the
active one into the restore buffer.]


Michael
________________________________________________________________________

On 03/07/2019 5:56 PM, Michael Elbaum wrote:
> Hi all,     if I draw a selection (square, circle, whatever) on an image, I can paste it onto another image using Ctrl-Shift-E (restore selection). If I create the selection using the menu tool, the paste trick isn't available. Before requesting to fix this "bug" I just thought to ask if anyone sees a reason to leave as is, perhaps for behavior in macros?
> regards,
> Michael
>
>
>
> Prof Michael Elbaum
> Dept of Chemical and Biological Physics
> Weizmann Institute of Science

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

Re: restoring a selection

Michael Elbaum
Thanks Michael,     the problem I had was in defining a region with the menu item Edit > Specify... I wanted to crop the same area in two stacks. The box appeared on the first one, but in order to get it on the second I had to do the Edit > Specify... again. I could not use CtrlShift-E. If I drew the box with the drawing tools then I could use the CtrlShift-E trick. That said, I tried it again after reading your message (and several program restarts), and now it works as expected. one of those computer ghosts, it seems.
regards,
Michael

________________________________________
From: ImageJ Interest Group [[hidden email]] on behalf of Michael Schmid [[hidden email]]
Sent: Thursday, July 04, 2019 20:51
To: [hidden email]
Subject: Re: restoring a selection

Hi Michael,

you can transfer a selection either using the ROI Manager or you press
(ctrl)shift-A (ctrl)shift-E before selecting the other image.
(ctrl)Shift-A (Select None) deletes the current selection and moves it
into the "restore buffer", (ctrl)shift-E takes it back from there.

[By the way, I don't understand why it sometimes does not work without
the (ctrl)shift-A step, but I have also seen this happen. When selecting
a new image while another one is active, the
WindowManager.setCurrentWindow method should always put the Roi of the
active one into the restore buffer.]


Michael
________________________________________________________________________

On 03/07/2019 5:56 PM, Michael Elbaum wrote:
> Hi all,     if I draw a selection (square, circle, whatever) on an image, I can paste it onto another image using Ctrl-Shift-E (restore selection). If I create the selection using the menu tool, the paste trick isn't available. Before requesting to fix this "bug" I just thought to ask if anyone sees a reason to leave as is, perhaps for behavior in macros?
> regards,
> Michael
>
>
>
> Prof Michael Elbaum
> Dept of Chemical and Biological Physics
> Weizmann Institute of Science

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

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

Re: restoring a selection

Stein Rørvik
In reply to this post by Michael Elbaum
If you press Ctrl-C for copy when a selection is active, that selection will be restored when you select Ctrl-Shift-E (restore selection) in another image. I think that is the simplest way to do this.



On 03/07/2019 5:56 PM, Michael Elbaum wrote:

> Hi all,     if I draw a selection (square, circle, whatever) on an image, I can paste it onto another image using Ctrl-Shift-E (restore selection). If I create the selection using the menu tool, the paste trick isn't available. Before requesting to fix this "bug" I just thought to ask if anyone sees a reason to leave as is, perhaps for behavior in macros?

> regards,

> Michael

>

>

>

> Prof Michael Elbaum

> Dept of Chemical and Biological Physics Weizmann Institute of Science


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