Commit Graph

3708 Commits

Author SHA1 Message Date
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
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
Tony S Yu 47d5f028e5 Fix: Move on_draw method to base Plugin 2012-07-20 18:19:37 -05:00
Matt McCormick 67eb914ef6 TST: Add buffer for threshold tests.
In case conversion from float to integer is imprecise.
2012-07-20 19:09:05 -04:00
Stefan van der Walt 1b89ae8dbf Merge pull request #228 from thewtex/color_numpy_warnings
BUG: Ignore division by zero where appropriate in colorconv.
2012-07-20 16:06:38 -07:00
Stefan van der Walt 37e0ce0fc8 Merge pull request #223 from jni/jni-concatenate-image-collection
ENH: Concatenate image collection.
2012-07-20 16:02:04 -07:00
Tony S Yu afd33afc5e Add LineProfile plugin. 2012-07-20 17:52:01 -05:00
Juan Nunez-Iglesias 699b5d9269 Add test coverage for alphabetic sort
alphanumeric_key should sort filenames correctly when they differ in
text, not just numbers.
2012-07-20 17:50:04 -05:00
Matt McCormick 4b53c92c14 BUG: Fix OTSU thresholding tests with matplotlib IO plugin.
The matplotlib IO returns float arrays from [0, 1], which gives difference
results than a ubyte array.  Explicitly convert to a ubyte array in the tests.
2012-07-20 18:49:44 -04:00
Tony S Yu 6b591e27a0 Add PlotPlugin and cleanup code. 2012-07-20 17:49:28 -05:00
Juan Nunez-Iglesias 9006c1dab3 Sort files from a global pattern alphanumerically
Users usually expect an alphanumeric sort, not lexicographic sort, on
their filenames. This is now the behaviour of ImageCollection.
2012-07-20 17:38:06 -05:00
Matt McCormick bb1add8abd BUG: Ignore colorconv RuntimeWarning:invalid value encountered in true_divide.
Sometimes zero divided by zero can occur in this code.  Saturation was already
explicitly set to zero when 'delta' is zero.  According to Wikipedia, hue is
undefined when 'delta' here is zero, so explicitly set to zero.
2012-07-20 18:33:41 -04:00
Dharhas Pothina 46f6733fc9 added xyz2lab, lab2xyz not quite working 2012-07-20 17:00:36 -05:00
Stefan van der Walt a130b8d2d9 Refactor geometric transforms. 2012-07-20 17:57:15 -04:00
Juan Nunez-Iglesias a61ac37ff2 Add concatenate() support for MultiImage
Previously we added the ImageCollection.concatenate function. This
updates MultiImage to have the same functionality, and moves the grunt
work to an outside function to avoid repetition.
2012-07-20 16:46:33 -05:00
wilsaj 32d3e1b161 use repr_png and repr_jpeg hooks rather than repr_html
these will work in the ipython qtconsole as well!
2012-07-20 16:44:05 -05:00
wilsaj 70cf6cfba0 fix test so it looks for new Image class 2012-07-20 15:39:50 -05:00
Juan Nunez-Iglesias 62ce6f3ab5 Add test for ImageCollection.concatenate 2012-07-20 15:35:03 -05:00
wilsaj 605a4e2cd7 add support for serializing to file-like objects (e.g. StringIO) to PIL plugin 2012-07-20 15:22:53 -05:00
wilsaj d2e0484845 add html repr method for Image class 2012-07-20 15:19:22 -05:00
wilsaj f676152448 add stefan's image class 2012-07-20 15:18:09 -05:00
Juan Nunez-Iglesias 11c7fd2f59 Add function 'concatenate' to ImageCollection
Many algorithms work on 3D stacks rather than images. It is convenient
to provide automatic conversion from an ImageCollection to an nD-stack.
2012-07-20 15:16:48 -05:00