Commit Graph

25 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 04536cc7df Update morphology dtypes tests
Previously, we were testing that any dtype would get converted to uint8
and then correctly processed. Now, since we are using ndimage, we are
directly processing all dtypes. I've updated the tests accordingly.
2015-01-22 11:29:08 +11:00
Steven Silvester 2e0deb9595 Fix syntax error and missing | operator 2014-12-24 07:47:05 -06:00
Steven Silvester d37ccca598 Fix Py2.7 build errors 2014-12-24 06:54:56 -06: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
Juan Nunez-Iglesias 1a3ec0299c Add tests for discontiguous out arrays in grey morpho 2014-11-04 15:20:21 +11: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 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
Johannes Schönberger a2cde5ebb0 Test invalid inplace operation 2013-11-22 00:17:59 +01:00
Johannes Schönberger 895b025a3a Split grey and binary erosion tests in two files 2013-10-11 19:04:41 +02:00
Johannes Schönberger 56b1476789 Add test case for non-square images 2012-09-11 20:27:18 +02:00
Johannes Schönberger f478b6a397 Fix bug in binary dilation and test case 2012-09-11 20:11:55 +02:00
Johannes Schönberger b1d99be735 Fix bug in grey erosion and dilation 2012-09-11 09:09:10 +02:00
Johannes Schönberger 373b3293ee Use numpy testing functions 2012-09-02 13:28:07 +02:00
Johannes Schönberger de47332bd2 Add fast morphological operations for binary images 2012-09-02 13:25:52 +02:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Tony S Yu dc6c3d0222 Rename test module to match module. 2012-05-03 17:45:36 -04:00