Commit Graph

72 Commits

Author SHA1 Message Date
Steven Silvester 1f56de9595 Remove min_overlap kwarg 2015-07-14 07:47:22 -05:00
Steven Silvester c948f9fe97 Fix view as windows test 2015-07-14 07:47:22 -05:00
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
Steven Silvester 49967b412b Create an optimal step parameter for view_as_windows 2015-06-14 17:39:25 -05:00
Steven Silvester 3f8e94ff0c Allow view_as_window to take a tuple step, and update tests 2015-06-07 06:13:36 -05:00
Blake Griffith 0e573f71af Use absolute import 2015-05-19 17:14:27 -05:00
Blake Griffith a258fc7b3b Rename apply and apply_chunks to apply_parallel 2015-05-19 17:05:49 -05:00
Blake Griffith ae73d03f5f process -> apply, more docs 2015-05-19 17:05:49 -05:00
Blake Griffith 4a47127871 pep8 2015-05-19 17:05:48 -05:00
Blake Griffith 72091a8818 Tests for process chunks function. 2015-05-19 17:05:48 -05:00
Juan Nunez-Iglesias 92433b2961 Fix and test 0-end bug in crop 2015-01-22 11:38:35 +11:00
Juan Nunez-Iglesias d7138f1a51 Fix incorrect crop tests 2015-01-22 11:38:35 +11:00
Juan Nunez-Iglesias eaa2aec3cc Add test functions for crop 2015-01-22 11:38:35 +11:00
Josh Warner (Mac) aa2215ccfc ENH: Fully cover pad and backports from NumPy 0.10dev 2015-01-16 21:54:02 -07:00
Steven Silvester f898bd0209 Style fixes 2014-12-26 11:26:30 -06:00
Steven Silvester 2d3ada19e5 Allow for no exceptions to be raised and cleanup
Allow for no exceptions to be raised

Add some helpful comments

Remove doctest skips

Remove TODO note

Cleanup and skip failing doctest
2014-12-23 16:51:18 -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 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
Stefan van der Walt 86beb21e5a Move all_warnings to skimage._shared.utils 2014-04-27 03:23:22 +02:00
Stefan van der Walt 337f3d175f Update shape tests to use all_warnings 2014-04-27 02:10:29 +02:00
Stefan van der Walt 12af2ef7ed Take a softer approach and raise a warning when a non-contiguous input is provided 2014-04-07 18:15:49 +02:00
Stefan van der Walt 5733a02853 Do not allow view_as_* to return copies (closes #866) 2014-04-07 14:41:56 +02:00
François Boulogne cf7a184ba7 TEST: add test on step 2014-03-15 07:40:39 -04:00
François Boulogne 217b0aa697 MAINT: remove blank lines 2014-03-15 07:39:06 -04:00
Johannes Schönberger 33d00e7411 Update arraypad tests 2013-12-09 00:07:00 +01:00
Josh Warner (Mac) 1c5dc10f4d FEAT: Add 'localvar' mode to random_noise 2013-10-13 12:21:29 -05:00
Josh Warner (Mac) f20aa5e661 FIX: Better handling of skimage.data.camera for Python3 compatibility 2013-10-12 09:32:46 -05:00
Josh Warner (Mac) 9f7a2f4fbc ENH: Tighten tests, all noise types now support signed I/O 2013-10-11 16:53:16 -05:00
Josh Warner (Mac) f435afebd5 ENH: Add optional clip kwarg, docs, & handling of signed inputs. 2013-10-11 16:39:22 -05:00
Josh Warner (Mac) de42ba831a FIX: Fix and improve Poisson random noise generator
The Poissson generator now works.

The improved Poisson generator now infers the bit depth of the image
after conversion to a floating point image, by analyzing the unique
values present and finding the next power of two. This value is then
used to scale the floating point image up, after which Poisson
noise is generated, and then image is then scaled back down.
2013-10-11 01:53:15 -05:00
Johannes Schönberger 445dd7e859 Merge pull request #630 from JDWarner/improve_noise
ENH: Improve random_noise with better param names & docfixes
2013-09-14 01:41:08 -07:00
Josh Warner (Mac) 6f5f6a0a7a DOC: Further improvements to naming conventions. 2013-09-07 00:39:04 -05:00
Stefan van der Walt b0d3b92e74 Add skip parameter to view_as_windows. 2013-09-01 23:50:54 +02:00
Juan Nunez-Iglesias 909d4cb5f6 Add test to unique_rows for discontiguous arrays 2013-08-06 22:45:21 +10:00
Juan Nunez-Iglesias 11f9a5bdbd Add test for unique_rows 2013-08-05 09:35:50 +10:00
Josh Warner b5d09bcd1c Merge pull request #603 from TheChymera/master
ENH: User-specified output aspect ratio in skimage.util.montage.montage2d function
2013-07-20 22:33:32 -07:00
Horea Christian 35a65aeef3 Resolved faulty montage2d import. 2013-07-21 05:55:02 +02:00
Horea Christian 2d33bf7622 Added test case for grid_shape parameter. 2013-07-21 03:55:16 +02:00
Johannes Schönberger dc27babee2 Merge pull request #546 from jni/3d-slic
Add support for 3D images in SLIC segmentation
2013-07-14 23:50:38 -07:00
Juan Nunez-Iglesias 858f7411d7 Complete test_regular_grid coverage 2013-07-13 01:34:51 +02:00
Juan Nunez-Iglesias f0ecc4d00d Rename regular_grid.py 2013-07-12 18:28:11 +02:00
Juan Nunez-Iglesias e80dd18d7e Add tests for 'regular_grid()' 2013-07-12 18:26:11 +02:00
Jostein Bø Fløystad 794a4d7dae arraypad: allow padding with zero entries (i.e. no padding). 2013-07-05 14:29:09 +02:00
Josh Warner (Mac) 32f39eecbb ENH: Improve random_noise with better param names & docfixes 2013-07-03 23:54:26 -05:00
Josh Warner (Mac) 5f7fc52830 FEAT: generator to add various types of random noise to images 2013-06-29 18:00:26 -05:00
Tony S Yu 6cef8727a0 Minor fixes
- Use absolute imports so __main__ examples work
- PEP8: 2 blank lines
2013-06-29 10:56:03 -05:00
Adam Wisniewski 81519b7863 adding main to run tests 2013-06-29 10:17:41 -05:00
Josh Warner (Mac) 20ae0a1ca2 FEAT: Generalized n-dimensional array padding
This PR exposes NumPy 1.8+ padding functionality to all
users of scikit-image, regardless of their personal NumPy
version.

The improved (much better scaling with dimensionality)
version introduced in NumPy 1.8 is used.
2013-06-19 09:10:06 -05:00