60 Commits

Author SHA1 Message Date
Johannes Schönberger 3edce08eb5 Fix rotation with resizing and custom center 2016-01-20 21:52:06 +01:00
Gregory R. Lee cef22e4234 MAINT: PEP8 fixes and _interpolation_test.pyx -> interpolation.pyx rename 2015-08-13 23:39:55 -04:00
Gregory R. Lee 48622ca179 TST: add test for resizing 2D image with a 3D output shape 2015-08-13 23:39:54 -04:00
Johannes Schönberger 07f2e4b93f Test parallel execution of warp_fast 2015-05-19 18:25:01 -07:00
Johannes Schönberger 574159f724 Add decorator to test parallel execution of unit test 2015-05-19 17:57:47 -07: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 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
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
Johannes Schönberger 8432b90eb8 Add option to rotate around specific center 2014-09-22 08:56:14 -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 5ef3f95d71 Add random seeds to tests per #1044 2014-07-05 12:49:42 -05: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 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 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 40f5e78353 Add support for matrix as inverse_map 2013-10-02 17:33:17 +02:00
Johannes Schönberger c0a019eb12 Update test cases for block functions 2013-07-05 17:34:38 +02:00
Johannes Schönberger 04b14b42c9 Refactor local block functions and add additional functionality. 2013-07-05 17:34:38 +02:00
Ankit Agrawal 6f9d7c5d1a Cleaning up downsampling for integer factors 2013-07-04 17:34:55 +08:00
Ankit Agrawal 7282f561d4 Added docs, tests for downsample() in skimage.transform._warps 2013-07-04 17:31:27 +08:00
Johannes Schönberger 374a967ffc Remove deprecated tests for homography 2013-02-27 08:45:45 +01:00
Christos Psaltis 298abe1ac0 Add test for resize option in rotate 2012-12-03 15:54:26 +02:00
Johannes Schönberger 0856dad988 Split 3d resize test function 2012-10-09 11:32:54 +02:00
Johannes Schönberger 3b67c82042 Add support for 3-dimensional image resizing 2012-10-09 11:32:46 +02:00
Johannes Schönberger 17c7d10918 Rename scale function to rescale and scale variables 2012-10-05 10:05:06 +02:00
Johannes Schönberger 8ca068ed19 Add test case for separate scale factors 2012-10-05 06:21:28 +02:00
Johannes Schönberger c2d308c21a Add function to scale images 2012-10-05 06:18:58 +02:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
Stefan van der Walt 0dbb77a359 BUG: Fix homography. 2012-09-20 17:52:17 -07:00
Johannes Schönberger b2036aee5c Add image resize function 2012-08-30 18:41:00 +02:00
Johannes Schönberger 4cd1f8798b Add nearest mode for positions outside image 2012-08-30 12:08:21 +02:00
Johannes Schönberger abe5dc3cec Add (bi-)cubic interpolation 2012-08-30 09:28:03 +02:00
Johannes Schönberger 6f4c2ad268 Add function for image rotation 2012-08-27 13:31:33 +02:00
Johannes Schönberger a6532a8dae Refactor image warps
* Fix cval bug in interpolation which was ignored
* Remove fast_homography as standalone function and automatically include
  functionality in warp
* Fix bug in warp_coords for graylevel images
* move warp functions to warp file
2012-08-27 13:31:33 +02:00
Stefan van der Walt ce423e169e Merge pull request #257 from ahojnnes/shared
ENH: Add shared package.
2012-08-25 10:35:29 -07:00
Johannes Schönberger f750e633c8 Fix test cases of warps 2012-08-24 00:18:08 +02:00
James Bergstra 3e6a6e37b1 ENH: stricter check on test_const_cval_out_of_range 2012-08-24 00:17:43 +02:00