Commit Graph

22 Commits

Author SHA1 Message Date
Julien Coste 8a337dbe46 Move canny from filter to feature 2014-08-31 10:55:12 +01:00
Tony S Yu 9c88dd8644 ENH: Let CannyPlugin adapt to input image
Add `dtype_limits` helper function.
2012-12-16 22:15:11 -05:00
Tony S Yu 9285898d39 DOC: Add class docstring 2012-07-25 00:41:54 -04:00
Tony S Yu 1ae662f712 ENH: filter image when Plugin is attached to ImageViewer 2012-07-24 00:35:26 -04:00
Tony S Yu 0e8f444fbb ENH: Display overlay by default 2012-07-24 00:28:37 -04:00
Tony S Yu 92ca837471 ENH: Let Qt handle most of the window sizing. 2012-07-23 01:13:03 -04:00
Tony S Yu f47312a3d1 API Change: Attach ImageViewer to Plugin after init.
Plugin is now added to the viewer using an inplace add on the viewer instead of on initialization of the plugin. This change means that operations requiring the viewer must be delayed until attach operation.
2012-07-23 00:12:21 -04:00
Tony S Yu 86b428952d ENH: Allow Plugin.add_widget to hook into Plugin attributes.
The `ptype` parameter of widget can now be set to 'plugin'. When this is the case, the plugin will set a plugin attribute whenever the widget is updated.

As an example, this commit adds a ComboBox widget which is hooked into the overlay color of the OverlayPlugin.
2012-07-22 13:24:41 -04:00
Tony S Yu 06449581bd ENH: Generalize add_widget function. 2012-07-22 02:26:03 -04:00
Tony S Yu 3271e210be ENH: Move closeEvent definition to base class. 2012-07-22 02:15:16 -04:00
Tony S Yu 385382f64a ENH: Simplify widget addition. 2012-07-22 02:11:56 -04:00
Tony S Yu 9b4c6222b5 ENH: Rename callback functions for clarity. 2012-07-22 02:08:16 -04:00
Tony S Yu 887a9119b2 ENH: Simplify creation of Slider widget. 2012-07-22 02:02:29 -04:00
Tony S Yu bc6c81606f Fix add_argument.
`arguments` is a list, but I was treating it like a dict.
2012-07-22 01:25:58 -04:00
Tony S Yu 51711213f7 Move OverlayPlugin and PlotPlugin to their own modules. 2012-07-21 20:46:56 -05:00
Tony S Yu 48ac757ab8 Refactor image overlays to special plugin base class. 2012-07-21 20:29:43 -05:00
Tony S Yu 4739165b8c Add update_on parameter to slider and allow update on release. 2012-07-21 20:08:47 -05:00
Tony S Yu 221cf733d1 Add plugin names 2012-07-21 19:48:26 -05:00
Tony S Yu bd3ee78306 Delete overlay when deleting plugin. 2012-07-21 17:09:29 -05:00
Tony S Yu 6b591e27a0 Add PlotPlugin and cleanup code. 2012-07-20 17:49:28 -05:00
Tony S Yu 1903ed892d API change: switch order of image viewer and callback arguments. 2012-07-20 14:45:32 -05:00
Tony S Yu c27119b0cd ENH: Add image viewer based on Qt and Matplotlib 2012-07-20 14:03:47 -05:00