Login  Register

Re: Using themagnifying glass without Toolbar

Posted by Gluender-3 on Mar 05, 2010; 5:13pm
URL: http://imagej.273.s1.nabble.com/Using-themagnifying-glass-without-Toolbar-tp3689096p3689101.html

>I have tried the routines already. The purpose of the question was to know
>whether the button "magnifying glass" in ImageJ could be applied through a
>macro call to an image in my code , or its functionality be applied through
>some other means.

Let your macro make a point selection at the zoom center and then let
the macro call "zoom to selection".

>"Zoom in" for instance would be adequate if you could then pan the image
>around within the window but no macro call seems to be able to do that.

Panning is a new aspect, that you didn't mention before...

>The question still stands though.

As others have stated and AFAIK a mouse click for defining the center
of zoom is not implemented. Of course you may try to implement it. I
propose to consider "zoom to selection" and perhaps the corresponding
Java code may help implementing the desired functionality.

Best
--

                   Herbie

          ------------------------
          <http://www.gluender.de>