Modifier key conflict

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

Modifier key conflict

Davíð Þór Bragason
Hello,

I am working with images with overlays that cover the entire image. I need
to draw circular ROIs with a given center point on the images for numerical
analysis. However, the Ctrl+Shift modifier keys needed to do this with the
Oval Selection tool make the overlay come off and move around instead of
drawing the circular ROI that I need, i.e. the overlay gets selected.

Is there a way to solve this by 1) reassigning the modifier keys, or 2)
make the Oval Selection tool give a circle with a given center point
without using Ctrl+Shift, or 3) make the overlay stick in place? I can't
see any options in the ImageROI or Overlay code that allow for an
"immobile" overlay (the images are produced by a plugin written by me.) And
flattening the image is not an option, since I need the pixel values
underneath.

Greetings,
David

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

Re: Modifier key conflict

Rasband, Wayne (NIH/NIMH) [E]
On Oct 17, 2013, at 6:50 AM, Davíð Þór Bragason wrote:

> Hello,
>
> I am working with images with overlays that cover the entire image. I need
> to draw circular ROIs with a given center point on the images for numerical
> analysis. However, the Ctrl+Shift modifier keys needed to do this with the
> Oval Selection tool make the overlay come off and move around instead of
> drawing the circular ROI that I need, i.e. the overlay gets selected.
>
> Is there a way to solve this by 1) reassigning the modifier keys, or 2)
> make the Oval Selection tool give a circle with a given center point
> without using Ctrl+Shift, or 3) make the overlay stick in place? I can't
> see any options in the ImageROI or Overlay code that allow for an
> "immobile" overlay (the images are produced by a plugin written by me.) And
> flattening the image is not an option, since I need the pixel values
> underneath.

This bug is fixed in the latest daily build (1.48e18). You still have to use ctrl+shift (or command+shift on Macs) to create a centered circular ROI but any underlying overlay will not move. You can upgrade to the daily build by using the Help>Update ImageJ command and selecting "daily build" from the drop down menu.

-wayne

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

Re: Modifier key conflict

Davíð Þór Bragason
Thank you very much Wayne, it works now. However, I didn't mention this,
but mostly I'd working with annular ROIs (retinal oximetry, annulus around
the optic nerve head), and subtracting a smaller concentric ROI requires
the Alt key, which also makes the overlay come off...


On Thu, Oct 17, 2013 at 5:25 PM, Rasband, Wayne (NIH/NIMH) [E] <
[hidden email]> wrote:

> On Oct 17, 2013, at 6:50 AM, Davíð Þór Bragason wrote:
>
> > Hello,
> >
> > I am working with images with overlays that cover the entire image. I
> need
> > to draw circular ROIs with a given center point on the images for
> numerical
> > analysis. However, the Ctrl+Shift modifier keys needed to do this with
> the
> > Oval Selection tool make the overlay come off and move around instead of
> > drawing the circular ROI that I need, i.e. the overlay gets selected.
> >
> > Is there a way to solve this by 1) reassigning the modifier keys, or 2)
> > make the Oval Selection tool give a circle with a given center point
> > without using Ctrl+Shift, or 3) make the overlay stick in place? I can't
> > see any options in the ImageROI or Overlay code that allow for an
> > "immobile" overlay (the images are produced by a plugin written by me.)
> And
> > flattening the image is not an option, since I need the pixel values
> > underneath.
>
> This bug is fixed in the latest daily build (1.48e18). You still have to
> use ctrl+shift (or command+shift on Macs) to create a centered circular ROI
> but any underlying overlay will not move. You can upgrade to the daily
> build by using the Help>Update ImageJ command and selecting "daily build"
> from the drop down menu.
>
> -wayne
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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