Commit Graph

207 Commits

Author SHA1 Message Date
emmanuelle a5a771a8e4 Modified label function so that background pixels are labeled with 0, and
background=0 by default.

Modified label function so that background pixels are labeled with 0, and
background=0 by default. All tests of _ccomp.pyx pass

Modified a couple of files to be consistent with the new behavior of
measure.label

Modified doctring of label to pass doctest

Modified TODO.txt as well as release notes to mention the new behavior of
label.

Typo in docstring

Typo in docstring

Changed default value of kw argument background in measure.label

Removed unnecessary and outdated comment
2016-02-22 21:19:23 +01:00
Johannes Schönberger 116ef0d649 Remove unit tests for deprecated features 2016-02-09 12:25:55 +01:00
Johannes Schönberger 3edce08eb5 Fix rotation with resizing and custom center 2016-01-20 21:52:06 +01:00
Stefan van der Walt 74a015d1d4 radon transform: when circle=True, ignore values outside circle without throwing an error (closes #1808) 2015-12-14 17:13:29 -08:00
Juan Nunez-Iglesias 5eaf2010df Merge pull request #953 from syedTabish/Issue949
Update integral image to support nD images
2015-12-13 10:53:09 +11:00
Josh Warner (Mac) a3356194c8 TSTFIX: Fix imports in hough_ellipse doctest 2015-10-25 14:34:53 -05:00
Josh Warner (Mac) 159c9f4e9e TST/STY: Hough tf regression test & Cython wrappers 2015-10-24 23:50:53 -05:00
Julius Bier Kirekgaard e79a0a2dc1 Added pep8 spaces 2015-08-30 15:35:50 +01:00
Julius Bier Kirekgaard 8c5ce8504a assert equal scalar, seqeunce output of hough circle 2015-08-30 15:13:45 +01:00
Julius Bier Kirekgaard 9a4a3c674e test and docstring update for hough_circle 2015-08-30 13:16:33 +01:00
Johannes Schönberger 236aa208fe Merge pull request #1583 from grlee77/fix_interp_modes
FIX:  bug in 'reflect' and 'wrap' coordinate mapping
2015-08-20 18:53:11 -04: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
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
Josh Warner 7a2b0a70f5 Merge pull request #1459 from vighneshbirodkar/seam_carving
FEAT: Seam Carving
2015-06-18 12:32:19 -05:00
Vighnesh Birodkar 557354668e removed debug print in test 2015-06-11 01:04:46 +05:30
Vighnesh Birodkar 3f9c800514 Modfied test to use new API and added code to remove remaining seams if any 2015-06-11 00:47:13 +05:30
Vighnesh Birodkar 66caaa5b9f Corrected testing code 2015-06-07 00:40:05 +05:30
Johannes Schönberger 7337a3e14b Do not acquire GIL for hough_line 2015-05-19 18:57:20 -07:00
Johannes Schönberger 83fe07097f Do not acquire GIL for hough_circle 2015-05-19 18:42:53 -07:00
Johannes Schönberger 7a8afbddf3 Do not acquire GIL for iradon_sart 2015-05-19 18:37:36 -07: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
Vighnesh Birodkar 12fb4cbb86 Removed debug print and corrected formatting 2015-03-30 13:22:22 +05:30
Vighnesh Birodkar 1f570a145f Formatting changes 2015-03-30 13:22:22 +05:30
Vighnesh Birodkar 29ec5ee3ec Added example and test 2015-03-30 13:22:22 +05:30
Tabish 49213973f3 Changed input format,updated docstring, PEP8 2015-03-26 01:00:31 +05:30
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