Andreas Mueller
e2d60f0135
ENH using union find from morphology module
2012-08-03 11:37:10 +01:00
Andreas Mueller
967eb5b50d
ENH first draft of felzenszwalbs graph based image segmentation in Python
2012-08-03 11:36:42 +01:00
Andreas Mueller
b8c0663332
Add segmentation setup.py for felsenzwalb algorithm
2012-08-03 11:36:42 +01:00
Tony S Yu
8a340cc47d
BUG: more module renaming to prevent duplicates.
2012-08-02 23:08:19 -04:00
Tony S Yu
13caa41fa7
BUG: Rename modules with duplicate function names.
...
Modules with functions of the same name can cause confusion (in general) and causes issues when running `nosetests --with-doctest`.
2012-08-02 22:49:53 -04:00
Johannes Schönberger
f614afaa08
fix orientation of regionprops with correct quadrant determination
2012-08-02 07:46:34 +02:00
tonysyu
8b544f2f69
Merge pull request #230 from dharhas/dharhas-lab-color-space
...
xyz <--> lab color space conversions
2012-08-01 07:02:38 -07:00
Tony S Yu
ce017cc035
ENH: Add Slider value_type to allow int values.
2012-08-01 00:11:48 -04:00
Andreas Mueller
f74ca8685b
MISC minor cleanup in doctests / examples
2012-07-31 22:00:32 +01:00
Dharhas Pothina
b54817c5b3
minor cleanup of comments & move ref_white to global lab_ref_white
2012-07-30 10:07:33 -05:00
Tony S Yu
3340d0612d
BUG: Fix scaling when setting default slider value.
2012-07-28 14:38:46 -04:00
Tony S Yu
7d533e19a4
DOC: Add explanation of add operator.
2012-07-28 11:43:20 -04:00
Tony S Yu
1000c73ceb
DOC: Explain use of callback parameter.
2012-07-28 11:40:04 -04:00
Tony S Yu
b6045a8d5f
BUG: Fix behavior when initial overlay limits are bad.
...
Intensity limits are calculated by the initial input image. If this image has, for example, all black pixels, then subsequent overlays will remain all black because of the initialized limits. Set limits based on data type to fix this issue.
2012-07-28 00:13:33 -04:00
Tony S Yu
449f3e4cbf
STY: Refactor BaseWidget from Slider and ComboBox
2012-07-27 22:58:20 -04:00
Tony S Yu
129070596d
Remove unused import
2012-07-27 22:36:33 -04:00
Tony S Yu
7615a856c5
Remove lineprofile temporarily (saved in a branch)
2012-07-27 22:32:42 -04:00
Tony S Yu
117d13a800
Revert modifications of IntelligentSlider.
...
Slider added in last commit removes the need for these modifications.
2012-07-27 22:27:24 -04:00
Tony S Yu
4620ee734e
ENH: Create new Slider with editbox.
...
Also, make the behavior more consistent between updating plugin and widget parameters.
2012-07-27 22:21:26 -04:00
Tony S Yu
539b12dc2c
STY: Refactor MatplotlibCanvas from ImageCanvas and PlotCanvas.
2012-07-27 21:57:46 -04:00
Andreas Mueller
3448e419b3
ENH slight cleanup, fixed *1000 bug, added test and rgb2lab convenience.
2012-07-26 22:44:02 +01:00
Jonathan Helmus
03d037d044
ImageCollection now slices like other iterables
2012-07-25 11:11:25 -04:00
Tony S Yu
9285898d39
DOC: Add class docstring
2012-07-25 00:41:54 -04:00
Tony S Yu
f261e76ef0
DOC: cleanup docstring and reuse parameter defined by parent class
2012-07-25 00:40:36 -04:00
Tony S Yu
49bdc3ae6f
DOC: clean up docstring for PlotPlugin
2012-07-25 00:36:51 -04:00
Tony S Yu
d72baa484f
STY: reorder methods for clarity.
2012-07-25 00:32:26 -04:00
Tony S Yu
260a336eb9
ENH: allow color to be set by name
2012-07-25 00:31:08 -04:00
Tony S Yu
51e61b3e46
DOC: Improve docstrings for Plugin class.
2012-07-25 00:21:56 -04:00
wilsaj
2b66f0c303
role duplicate logic for Image._repr_png_() and Image._repr_jpeg_() into a common method
2012-07-24 23:21:42 -05:00
wilsaj
b9d468b668
use standard conventions for Image.__new__() cls attribute and docstring
2012-07-24 23:20:22 -05:00
wilsaj
7368332df9
remove unused import
2012-07-24 23:07:44 -05:00
wilsaj
a31e0d9eeb
remove superfluous conditional logic
2012-07-24 23:01:51 -05:00
Tony S Yu
86526064f2
DOC: Improve docstrings for ImageViewer.
...
Oops: also changed added leading underscore to `update_status_bar`.
2012-07-24 23:22:55 -04:00
Tony S Yu
ff98b059e7
STY: Remove unused add_artist method.
2012-07-24 23:06:53 -04: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
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