Tony S Yu
ff98b059e7
STY: Remove unused add_artist method.
2012-07-24 23:06:53 -04:00
tonysyu
ab44219f0b
Merge pull request #234 from bdholt1/fix-hog
...
[MRG] Fix broadcasting error (revised PR)
2012-07-24 18:26:56 -07:00
Emmanuelle Gouillart
aa92d5f0bd
Better handling of labeled pixels in random walker segmentation when we
...
return the whole probability.
2012-07-24 23:01:15 +02:00
Brian Holt
f3024fc4cd
simplified hog code + extra unit test
2012-07-24 10:52:55 +01:00
Tony S Yu
c2d2919bae
BUG: Don't override image_filter method if defined by subclass
2012-07-24 01:31:47 -04:00
Tony S Yu
c1a859acae
ENH: Change inplace-add to normal add to support alternate syntax
...
Widgets can be added to Plugins inline, and Plugins can be added inline to Viewers.
2012-07-24 00:58:35 -04:00
Tony S Yu
6182cc9f1b
ENH: Add example of adding widgets to plugin
2012-07-24 00:55:48 -04:00
Tony S Yu
4b3f6d6c30
BUG: in-place add should return object
...
Actually, I didn't mean to add `__iadd__` a couple of commits ago, so this was supposed to be an enhancement that allows you to access `add_widget` using in place adding.
2012-07-24 00:51:31 -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
daae405945
DOC: Add todo note
2012-07-23 21:55:30 -04:00
Tony S Yu
36b0fbd84e
Rename (dis)connect_event to (dis)connect_image_events.
...
This clarifies action since these events are on the image viewer, not the plugin.
2012-07-23 01:22:05 -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
977d17134d
Change image_viewer to Plugin property.
...
Raise an error when using Plugin.image_viewer before it is set. This error prevents other, more obscure, errors from getting raised.
2012-07-23 00:45:11 -04:00
tonysyu
71a518c8cf
Merge pull request #226 from jni/jni-alphanumeric-sort
...
Sort files from a global pattern alphanumerically
2012-07-22 21:28:38 -07:00
Tony S Yu
df18d40290
Minor cleanup.
2012-07-23 00:18:32 -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
9d1df0c3ce
Make alpha value to ClearColormap adjustable.
2012-07-22 22:11:33 -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
Johannes Schönberger
d9a88c95b5
add doc for and restructure polynomial coefficients
2012-07-22 16:52:54 +02:00
Johannes Schönberger
2ae4dd4551
fix scale initialization in implicit composition of similarity
2012-07-22 16:41:58 +02:00
Johannes Schönberger
be6bb0c809
combination of two transformations of the same type result in this type again
2012-07-22 16:38:25 +02:00
Johannes Schönberger
87c57770ba
reimplement implicit parameter functionality of transformations
2012-07-22 16:24:58 +02:00
Johannes Schönberger
0f5d6153d2
fix bug in estimation of similarity transformation
2012-07-22 08:58:37 +02:00
Tony S Yu
06449581bd
ENH: Generalize add_widget function.
2012-07-22 02:26:03 -04:00
Johannes Schönberger
f971c25a0b
remove some blank lines
2012-07-22 08:21:31 +02: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
31c2810dee
ENH: Align image and plugin windows
2012-07-21 23:27:05 -04:00
Tony S Yu
4d747720de
Change ImageViewer to automatically call plugins.
2012-07-21 22:03:46 -05: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
c21fe1c2f9
Show coordinate and intensity info in status bar.
2012-07-21 18:55:38 -05:00
Tony S Yu
9f0449e663
Add docstring for overlay and reorder methods.
2012-07-21 18:11:32 -05:00
Johannes Schönberger
c07a76bda7
Merge pull request #1 from stefanv/projection
...
Refactor geometric transforms.
2012-07-21 15:20:17 -07:00
Tony S Yu
bd3ee78306
Delete overlay when deleting plugin.
2012-07-21 17:09:29 -05:00
Tony S Yu
fb3f201a2a
Clean up old code and add docstrings.
2012-07-21 17:08:19 -05:00
wilsaj
dcb7dacc6c
open buffer on on byte_array
2012-07-21 10:23:20 -05:00
Dharhas Pothina
8cd912a894
tests added for xyz2lab and lab2xyz
2012-07-21 09:10:05 -05:00
Stefan van der Walt
149ad7e7a6
Merge pull request #219 from wilsaj/remove-nose-message
...
BUG: Remove message about not being able to load nose; fixes #218 .
2012-07-20 23:32:21 -07:00
Juan Nunez-Iglesias
9cbf2ef369
Simplify alphanumeric_key logic
...
Thanks to Tony Yu for the suggestion.
2012-07-21 00:51:55 -05:00
wilsaj
fbb2ec3afa
close temp StringIO buffers when we're done with them
2012-07-20 20:34:12 -05:00
wilsaj
74cde286b4
allow qt_plugin imsave() function to write to file-like objects
2012-07-20 20:33:25 -05:00
Dharhas Pothina
fedad0d826
fixed array being modified in place. lab2xyz working
2012-07-20 18:45:56 -05:00
tonysyu
d615235f07
Merge pull request #227 from thewtex/thresholding_failures_2
...
BUG: Fix OTSU thresholding tests with matplotlib IO plugin.
2012-07-20 16:37:57 -07:00