Linking events in skimage.viewer

Nadav Horesh nadavh.horesh at gmail.com
Wed Dec 18 06:36:53 EST 2013


Thank you Juan. IIt looks like the event caught by the CanvasToolBase
are not whtn I am looking for (mouse click and keyboard events)

Thank you again,

  Nadav

2013/12/18 Juan Nunez-Iglesias <jni.soma at gmail.com>:
> Hi Nadav,
>
> I don't have much experience with interactive tools, but I think this is the
> right place to start for examples:
> https://github.com/scikit-image/scikit-image/blob/master/skimage/viewer/canvastools/linetool.py
>
> You'll see that the LineProfile plugin uses the LineTool canvas tool:
> https://github.com/scikit-image/scikit-image/blob/master/skimage/viewer/plugins/lineprofile.py
>
> Hopefully this helps, otherwise @tonysyu might be able to step in and offer
> a bit more guidance.
>
> Juan.
>
>
>
>
> On Wed, Dec 18, 2013 at 7:13 PM, Nadav Horesh <nadavh.horesh at gmail.com>
> wrote:
>>
>> I
>> I started to build an interactive image exploration utility based on
>> matplotlib.  Recently, following a link on this list, I encountered
>> skimage.viewer, and found that the plugins architecture matches my needs.
>> I could not find how to link keyboard and mouse events (and maybe buttons)
>> to plugins. Any suggestions?
>>
>> I am using version 0.93 on linux (I can install the pre 0.10, if needed)
>>
>>  Thanks,
>>
>>     Nadav
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "scikit-image" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to scikit-image+unsubscribe at googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "scikit-image" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scikit-image+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



More information about the scikit-image mailing list