16 Commits

Author SHA1 Message Date
Juan Nunez-Iglesias 0d134987f9 Harmonize all ndimage usage across the library
Only two forms remain in use:

- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
Juan Nunez-Iglesias d8555142da Update binary morphology tests, which no longer warn 2015-01-22 11:38:36 +11:00
Steven Silvester c0a0490eed Fix handling of multiple warnings and update tests
Fix handling of multiple warnings

Update all test __init__ files

Update segmentation pkg

Update the color pkg

Update the exposure pkg

Update the filters pkg

Update the io pkg

Update the measure pkg

Update morphology package

Restructure test setup function

Add expected_warnings to __all__

Update restoration pkg.

Remove explicit filter check since it is done elsewhere

Fix the image test helpers

Update the transform pkg

Fix util pkg

Update viewer pkg
2014-12-23 16:51:06 -06:00
Steven Silvester 0debedd82c Handle more warnings and reset io plugins as needed
Reset plugins prior to running collections test

Handle warnings in morphology pkg

Add __init__ for morpohology tests

Handle warnings for novice pkg

Handle warnings for restoration pkg

Handle warnings for segmentation pkg

Handle warnings for _shared pkg

Handle warnings for transform pkg

Handle warnings for util pkg

Handle warnings in viewer module
2014-12-23 16:48:16 -06:00
Rebecca 1b217f971e replacing lena in examples and most tests 2014-11-07 16:01:23 +02: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 ea3e65f25a Add 3d-fallback tests for binary functions 2014-07-12 16:54:35 -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
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