177 Commits

Author SHA1 Message Date
Johannes Schönberger ad85dfabd5 Disable catch of all warnings, return nan params instead 2015-01-22 06:49:16 -05:00
Steven Silvester f898bd0209 Style fixes 2014-12-26 11:26:30 -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 4680f30466 Add a test setup helper function
Add a function to set up a skimage test

Switch to new test helper function

Import local packages that raise warnings in test setup function

More fixes to doctests

Fix regionprops doc test

Try and fix the test_rank failure.

Remove no longer needed RectangleSelector shim

Skip more doctests in _regionprops

Try importing another scipy subpackage
2014-12-23 16:49:20 -06:00
Steven Silvester f72882fbd2 Import scipy before turning on warnings 2014-12-23 16:49:19 -06:00
Steven Silvester 2756358f3c Clean up PIL plugin and handle more warnings
Use the pil plugin to load data files

Fix install_requires string formatting

Dead end commit

Make all tools executable

Remove debug print

Suppress PIL resourcewarnings

Handle a few more warnings
2014-12-23 16:48:38 -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
Johannes Schönberger 515ec9fe98 Rename keep_range to preserve_range, fix test cases 2014-12-22 20:28:00 +01:00
Johannes Schönberger e35f9c303e Remove test for invalid shape 2014-12-22 20:28:00 +01:00
Johannes Schönberger dedcee6543 Fix keep_range and add test cases 2014-12-22 20:28:00 +01:00
Johannes Schönberger 0ae8c4a74b Clip to min and max range of input image, add missing clip parameter to other functions 2014-12-22 20:28:00 +01:00
Johannes Schönberger 00c3a978aa Remove broken test case 2014-12-13 14:51:19 +01:00
Johannes Schönberger 84871a6d6f Fix bug in get_pixel3d 2014-12-13 13:32:16 +01:00
Johannes Schönberger 5e3d805cf0 Fix broken test case, which used black image 2014-12-13 13:32:16 +01:00
Johannes Schönberger c63c5e3239 Fix bug in bicubic interpolation and extend test cases to higher orders 2014-12-13 13:31:06 +01:00
Rebecca 1b217f971e replacing lena in examples and most tests 2014-11-07 16:01:23 +02:00
Stefan van der Walt 97e4599e1c Merge pull request #1168 from ahojnnes/rot-center
Add option to rotate around specific center. Closes gh-1166.
2014-09-22 16:03:37 +02:00
Johannes Schönberger 8432b90eb8 Add option to rotate around specific center 2014-09-22 08:56:14 -04:00
Johannes Schönberger f846320d78 Add option to combine tform with inverse tform 2014-09-22 08:45:51 -04:00
Johannes Schönberger d367ff479b Use for mgrid for Py26 compatibility 2014-09-19 13:34:00 -04:00
Johannes Schönberger 877a7ba109 Add test for N-D warping 2014-09-18 21:03:56 -04:00
Johannes Schönberger fdf0908ab7 Add option to skip clipping of output, and detect if input float image has negative values 2014-09-18 20:49:25 -04:00
blink1073 5677dafe41 Move away from random.random in favor of random.rand 2014-07-19 18:18:23 -05:00
blink1073 35dcdd5315 Move random seed prior to first random() call 2014-07-06 07:49:36 -05:00
blink1073 5ef3f95d71 Add random seeds to tests per #1044 2014-07-05 12:49:42 -05:00
Johannes Schönberger 02e6ad6b71 Test 90deg rotation for similarity transform 2014-05-10 10:22:55 -04:00
Johannes Schönberger c3e13a9754 Test union of differing geometric transforms 2014-05-10 10:16:38 -04:00
Stefan van der Walt a9dcdc3713 Use safe_as_int to check provided output shape 2014-05-08 19:28:29 +02:00
Stefan van der Walt 4c7cd9bd65 Add unit test to catch non-integer output shape bug 2014-05-06 01:35:23 +02:00
Johannes Schönberger 21a99a39c3 Document params attribute for each class 2014-01-22 18:46:27 -05:00
Johannes Schönberger 9905ff218f Get rid of trailing underscore for params attribute 2014-01-22 18:39:35 -05:00
Johannes Schönberger c96088170b Use consistent params_ attribute across all estimators 2014-01-19 09:40:55 -05:00
Johannes Schönberger 0f2076fa61 Add tests for deprecated attributes 2014-01-19 09:40:54 -05:00
Johannes Schönberger b3d62afa28 Use public attribute for parameter values 2014-01-19 09:40:54 -05:00
Johannes Schönberger c53e98a3c6 Fix bug in inverse warping and add test case 2013-11-22 12:07:36 +01:00
Johannes Schönberger 396b686bab Add test case for invalid image dimensions 2013-11-22 11:59:07 +01:00
Johannes Schönberger da42c46ab4 Add matrix_transform function to namespace 2013-11-22 11:51:15 +01:00
Johannes Schönberger e159fa0e9d Add test case for estimate_transform 2013-11-22 11:48:32 +01:00
Johannes Schönberger 62f51e35a1 Add missing test coverage of polynomial tform 2013-11-22 11:45:51 +01:00
Johannes Schönberger bd240d9f92 Test scale determination for 0 rotation 2013-11-22 11:43:08 +01:00
Johannes Schönberger 4ba9eaa98b Test invalid input 2013-11-22 11:42:41 +01:00
Johannes Schönberger 0fb48a6153 Add test cases for abstract geometric base class 2013-11-22 11:38:25 +01:00
Johannes Schönberger 06a9c5da8a Add test case for union of heterogenous tform types 2013-11-22 11:34:32 +01:00
Johannes Schönberger f8a0fcbc2a Reduce runtime of radon test cases 2013-11-09 23:31:15 +01:00
Johannes Schönberger 6c67738808 Miscellaneous fixes and improvements 2013-10-12 14:13:10 +02:00
François Boulogne df2ee4d636 remove heapq 2013-10-12 14:09:52 +02:00
François Boulogne e27b798ffa FIX: handle correctly main axis def 2013-10-12 14:09:51 +02:00
François Boulogne 1a9d5bb4ca TEST: revert precision 2013-10-12 14:09:51 +02:00
François Boulogne 594a228a06 TEST: fix bad subs 2013-10-12 14:09:51 +02:00
François Boulogne 742699c570 TEST: fix precision 2013-10-12 14:09:51 +02:00