Pratap Vardhan
073f28e90e
TST: Test for selem.cube
2014-12-14 10:52:53 +05:30
Pratap Vardhan
9d6516903d
DOC: Add test functions docstrings
2014-12-14 01:28:09 +05:30
Pratap Vardhan
2058fe23cb
CLN: Minor cleanup - unused imports, pep8
2014-12-14 01:17:27 +05:30
Stefan van der Walt
36aa4cdb6f
Merge pull request #1254 from matejak/label3d
...
Refactor labeling and extend to 3D
2014-12-04 12:31:29 +02:00
Matěj Týč
e41bff898a
Added fix for the strange input array shapes + tests
2014-11-28 16:45:52 +01:00
Matěj Týč
abf3dbc593
Added and tested proper exception handling concerning array shape
2014-11-16 15:33:13 +01:00
Matěj Týč
7c7ecc4bdc
Mainly typo fixes
2014-11-11 21:49:57 +01:00
Matěj Týč
438a9355d6
Fixed bugs so test pass now
2014-11-11 00:39:49 +01:00
Matěj Týč
53f93a7f8e
Added tests for 3D labelling (that fail)
2014-11-08 12:09:19 +01:00
Rebecca and Stefan van der Walt
1b217f971e
replacing lena in examples and most tests
2014-11-07 16:01:23 +02:00
Steven Silvester
2374b6a1ff
Merge pull request #1219 from jni/reconstruct-error
...
Raise meaningful error when wrong "method" passed to `reconstruct`
2014-11-05 20:42:35 -06:00
Steven Silvester
66aaf71943
Merge pull request #1217 from jni/morpho-out
...
Allow discontiguous out arrays in `skimage.morphology.grey`
2014-11-05 20:35:56 -06:00
Juan Nunez-Iglesias
39d042e4ba
Test correct error for wrong method in reconstruct
2014-11-06 10:29:43 +11:00
Juan Nunez-Iglesias
1a3ec0299c
Add tests for discontiguous out arrays in grey morpho
2014-11-04 15:20:21 +11:00
Juan Nunez-Iglesias
8711c74533
Test type warning from remove_small_objects
2014-09-30 15:04:28 +10:00
Stefan van der Walt
5ba4b7ccd3
Expose point_in_poly and move to measure module
2014-09-22 17:56:18 +02:00
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
a1519a015e
Change binary morphology functions to output numpy.bool dtype
2014-07-13 19:59:43 -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
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
1ef556b710
Remove unnecessary whitespace
2014-07-11 14:51:57 -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
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
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
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
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)
b8334e85c8
failUnless -> assertTrue
2014-05-07 23:16:42 -05: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
Johannes Schönberger
a2cde5ebb0
Test invalid inplace operation
2013-11-22 00:17:59 +01:00
Johannes Schönberger
5e2b04c486
Remove deprecated is_local_maximum function
2013-10-14 19:52:32 +02:00
Stefan van der Walt
4f74a007d9
Test that output argument is correct.
2013-10-12 19:57:35 +02:00
Stefan van der Walt
ceb2e4c5d4
Test that output argument is utilized.
2013-10-12 19:51:00 +02:00
Stefan van der Walt
9329d0ad56
Restore @ahojnnes's overflow test. Correctly assign out argument.
2013-10-12 19:44:14 +02:00
Stefan van der Walt
b022dd6dfb
Simplify output handling for binary morphology.
2013-10-12 19:10:23 +02:00
Johannes Schönberger
95a5a98c93
Fix overflow error
2013-10-11 19:04:42 +02:00
Johannes Schönberger
895b025a3a
Split grey and binary erosion tests in two files
2013-10-11 19:04:41 +02:00
Juan Nunez-Iglesias
2af5c41571
Fix type hierarchy check in remove_small_objects
2013-09-09 13:53:33 +10:00