Login  Register

Re: Live lens cursor?

Posted by Volker Baecker on Dec 08, 2005; 9:26am
URL: http://imagej.273.s1.nabble.com/Live-lens-cursor-tp3704274p3704285.html

I implemented something that I call "pixel spy". It opens a second image
that is a copy of the region under the mouse pointer and that is updated
as you move the mouse. You can zoom in and out as for any other image in
imagej.
It is not an imagej plugin. But you could make one out of it easily.

It is quite clumpsy. To keep the zoom set by the user it maximizes the
pixel spy window and zooms in or out again. On slow computers you might
see this. It works fine enough for the application it was created for
but there is certainly a better way to do this. Besides I added
something to the method ImageWindow>>windowActivated to get informed
when the active window changes. If you know or find out how to this
without changing the imagej base code please tell me.

If you want to have a look at it, I can send you the source code.

Volker Baecker

Bill Christens-Barry wrote:

> Does anyone know how to approach building a "live lens cursor" tool  
> for ImageJ that would give a magnified view of the region of an image  
> directly beneath the cursor as it moved? I've seen this in various  
> (unremembered) places in the past, and would like to try to implement  
> it for use in an ImageJ plugin. A search of the list archive didn't  
> bring up anything on this, and I haven't found anything via a quick  
> web search.
>
> I'm not sure whether this would be based on some sort of dynamic  
> "layering", or whether it would entail creating an actual cursor. A  
> fall back would be to create a dual image that shows dynamic  
> magnified content.
>
>
> Thanks for any thoughts, java code, or pointers.
>
> Bill Christens-Barry
>
> ---------------------------------
> Bill Christens-Barry, PhD
> Equipoise Imaging, LLC
> [hidden email]
> ---------------------------------
>

--
passerelle antivirus du campus CNRS de Montpellier
--