Juan Nunez-Iglesias
85a5cea533
Merge pull request #1054 from blink1073/add_test_seeds
...
Add random seeds to tests per #1044
Additionally, change all `np.random.random` to `np.random.rand` calls, as the former are not affected by `np.random.seed`.
2014-07-20 07:48:49 -05:00
blink1073
5677dafe41
Move away from random.random in favor of random.rand
2014-07-19 18:18:23 -05:00
Nelson Brown
6e8ae37f07
Change ndimage test image to fit uint8 range
2014-07-16 20:03:37 -07:00
Nelson Brown
eb4725826d
Change test of ndimage equivalence to use uint8 test image
2014-07-16 19:57:25 -07:00
Nelson Brown
4449c77884
Fix calls to ndimage to use footprint argument
2014-07-15 08:39:34 -07:00
Nelson Brown
7976520e7a
Add test that the 2D results correspond to scipy's
...
Remove trailing whitespace
2014-07-15 08:25:17 -07:00
Nelson Brown
8c2b9b1784
Updated docstrings
2014-07-15 08:07:30 -07:00
Nelson Brown
001a63bd21
Remove repeated comments
2014-07-15 08:03:31 -07:00
Nelson Brown
a1519a015e
Change binary morphology functions to output numpy.bool dtype
2014-07-13 19:59:43 -07:00
Nelson Brown
b677c400df
Add whitespace following comma
2014-07-13 16:55:06 -07:00
Nelson Brown
042d85ad43
Adjust hanging indentation whitespace in dict comprehension
2014-07-13 16:31:58 -07:00
Nelson Brown
d9909c4db9
Add tests for ndimage fallback for 3D white_tophat & black_tophat
2014-07-13 12:36:05 -07:00
Nelson Brown
f1a8132fbf
Add doctrings and comments in response to reviewers
2014-07-13 11:28:27 -07:00
Nelson Brown
ea3e65f25a
Add 3d-fallback tests for binary functions
2014-07-12 16:54:35 -07:00
Nelson Brown
2b91c259d6
Add fallback decorator for 3D images
...
We don't support images greater than 2D, so fall back on ndimage
2014-07-12 15:22:48 -07:00
Nelson Brown
3518e65ab4
Add newline at EOF of selem.py
2014-07-11 23:39:07 -07:00
Nelson Brown
c2bbca6113
Add a newline at EOF
2014-07-11 23:32:36 -07:00
Nelson Brown
9cd9a1372a
Address reviewer comments
...
Add newline at EOF of selem.py
Add "optional" to grey.py and binary.py
2014-07-11 15:19:33 -07:00
Nelson Brown
1ef556b710
Remove unnecessary whitespace
2014-07-11 14:51:57 -07:00
Nelson Brown
54aff88bd0
Add docstring for default structuring element
2014-07-11 14:10:18 -07:00
Nelson Brown
bb732c9225
Add default structuring element to morphology
2014-07-11 13:50:55 -07:00
blink1073
5ef3f95d71
Add random seeds to tests per #1044
2014-07-05 12:49:42 -05:00
Stefan van der Walt
dead8612c7
Correctly compare mask to None
2014-06-15 15:04:40 +02:00
Juan Nunez-Iglesias
34cf1f9243
Update parameter list in docstring for consistency
2014-06-12 01:20:53 +10:00
Juan Nunez-Iglesias
8cba840a05
Clarify mask argument in medial_axis docstring
2014-06-11 20:29:06 +10:00
Johannes L. Schönberger
6546b9dba4
Merge pull request #1007 from stefanv/label_refactor
...
Move `morphology.label` to `measure.label` and prepare for 0-label transition
2014-05-25 21:56:42 -04:00
Stefan van der Walt
c0be2ec505
Correctly apply catch_warnings()
2014-05-26 01:21:58 +02:00
Stefan van der Walt
135965fbe4
Avoid circular imports
2014-05-25 20:05:17 +02:00
Stefan van der Walt
5b07567973
Merge pull request #1005 from JDWarner/int_idx_patch
...
Fix NumPy non-integer indexing deprecation warnings
2014-05-13 17:48:11 +02:00
Johannes Schönberger
7b86728498
Add full test coverage for corner_subpix and fix bug
2014-05-10 10:12:41 -04:00
Johannes Schönberger
e4a60e4bf2
Test invalid input for selem
2014-05-10 09:44:59 -04:00
Johannes Schönberger
69a0255a28
Test invalid input for seed
2014-05-10 09:07:01 -04:00
Stefan van der Walt
4da4ec5b89
Mention which parameters to label are optional. Simplify label deprecation.
2014-05-09 03:00:39 +02:00
Josh Warner (Mac)
77b036eb89
Merge branch 'master' of git://github.com/scikit-image/scikit-image into int_idx_patch
2014-05-08 19:57:06 -05:00
Stefan van der Walt
1de102a885
Fix broken and circular imports
2014-05-09 02:53:57 +02:00
Stefan van der Walt
5ba3ea421c
Fix imports and suppress deprecation warnings
2014-05-08 19:14:38 +02:00
Stefan van der Walt
46829c6a33
Move implementation of label to measure submodule
2014-05-08 18:04:03 +02:00
Stefan van der Walt
7152d5c314
Move label to measure module (with deprecation). Warn that background parameter will default to 0 in v0.12.
2014-05-08 17:49:47 +02:00
Josh Warner (Mac)
1ca0eef825
FIX: Non-integer indexing deprecation warnings
2014-05-08 00:39:54 -05:00
Josh Warner (Mac)
b8334e85c8
failUnless -> assertTrue
2014-05-07 23:16:42 -05:00
Johannes Schönberger
cedcff8f2b
Remove deprecated skimage.morphology.greyscale_*
2014-04-11 10:05:51 -04:00
Jeremy Metz
ef779d1588
Fixed PEP8 spaces
2014-02-02 12:40:37 +00:00
Jeremy Metz
0136fd5915
Removed trailing whitespaces
2014-02-01 20:30:39 +00:00
Jeremy Metz
920c3efb83
Added new convex_hull_image qhull test
2014-02-01 16:17:53 +00:00
Jeremy Metz
add4b51db7
QH6228 Bug fix - remove offset from coords
2014-01-31 13:46:28 +00:00
Johannes Schönberger
a2cde5ebb0
Test invalid inplace operation
2013-11-22 00:17:59 +01:00
Johannes Schönberger
fb1c1d39f0
Fix misspelled sections
2013-11-09 23:01:58 +01:00
Johannes Schönberger
dd572a696f
Fix medial_axis and skeletonize doctests
2013-11-03 23:50:53 +01:00
Johannes Schönberger
facc8f5c71
Fix watershed doctest
2013-11-03 09:31:54 +01:00
Johannes Schönberger
c7fbd3282b
Fix doctest of remove_small_objects
2013-11-03 09:28:46 +01:00