Commit Graph

613 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 9d9a4b3e0b Fix some remaining TODO items 2016-02-09 11:11:28 +01:00
Johannes Schönberger 3bf2250b64 Fix unknown Note section warning 2016-02-01 08:47:36 +01:00
Steven Silvester b710bd21d2 Use a stacklevel of 2 by default for all warnings 2016-01-30 08:57:46 -06:00
Johannes Schönberger 3edce08eb5 Fix rotation with resizing and custom center 2016-01-20 21:52:06 +01:00
Emmanuelle Gouillart d6105a0fe4 Merge pull request #1782 from pratapvardhan/clncython
BUG: Buffer dtype mismatch, expected 'Py_ssize_t' but got 'long'
2015-12-23 15:35:05 +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 0bc3ad8f79 Restore vectorised integrate deprecated behaviour 2015-12-13 16:25:29 +11:00
Juan Nunez-Iglesias 3899c571b7 Test individual coordinates for integrate in doctest 2015-12-13 14:55:44 +11:00
Juan Nunez-Iglesias c7243e7383 Allow passing individual coordinate tuples to integrate 2015-12-13 14:55:23 +11:00
Juan Nunez-Iglesias 5df9e0cf70 Update incorrect version number in docstring 2015-12-13 14:54:57 +11:00
Juan Nunez-Iglesias 458dc15225 Add deprecation warning for old syntax for integrate() 2015-12-13 14:45:45 +11:00
Juan Nunez-Iglesias 38b1880ef7 Update docstring comments for integrate function 2015-12-13 14:35:59 +11: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
Pratap Vardhan d8213fe814 BUG: Buffer dtype mismatch in _seam_carving.pyx 2015-11-11 20:18:00 +05:30
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
Josh Warner a2d74e5260 Merge pull request #1421 from hohlraum/hough_fix
FIX: Fix missing peaks in hough_line_peaks.
2015-10-08 18:48:48 -07: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
Julius Bier Kirekgaard 29fd2864cd hough_circle radius accepts scalars and lists 2015-08-30 12:52:38 +01:00
Julius Bier Kirekgaard b5fd7bc885 Fixed forgotten output for docstring example 2015-08-28 21:09:42 +01:00
Julius Bier Kirekgaard 002fc70759 Shorter hough_circle example 2015-08-28 21:04:52 +01:00
Julius Bier Kirekgaard 3c41e75b22 Added whitespace to comply with pep8 2015-08-28 20:46:14 +01:00
Julius Bier Kirekgaard 5f5af64551 Example for hough_circle 2015-08-28 20:08:11 +01:00
Johannes Schönberger ec64872fd5 Some doc string fixes for recently merged code 2015-08-20 19:08:54 -04: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 49b4f69ac0 MAINT: remove unused import 2015-08-18 12:22:10 -04:00
Gregory R. Lee 1303317512 BUG: fix one additional location where ndimage mode conversion was needed 2015-08-14 09:38:02 -04:00
Gregory R. Lee c7a82f8ceb MAINT: minor spacing issues and typos fixed 2015-08-13 23:39:56 -04:00
Gregory R. Lee 81ea7a6e34 MAINT: All modes in _shared.interpolation.pxd were changed to be consistent with numpy.pad naming conventions. Specifically 'nearest' was changed to 'edge' and 'mirror' was changed to 'reflect'. All functions with a mode argument that rely on these functions had their inputs changed accordingly. For now there is a deprecation warning if the user supplies mode 'nearest'. Mode 'mirror' never appeared in an official release of skimage and so has no corresponding deprecation warning. 2015-08-13 23:39:55 -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
Gregory R. Lee 9e9c65b97c ENH: add mode 'mirror' to interpolation.pxd and dependent functions 2015-08-13 23:39:54 -04:00
Gregory R. Lee 3ae1e3138a BUG: bugfix for resize: upgrade image to 3d if necessary 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 85946c8eed Changed return type to bint and improved code comments 2015-06-16 19:48:14 +05:30
Vighnesh Birodkar fee667b35c preallocated seam_buffer and added noil 2015-06-15 20:49:26 +05:30
Vighnesh Birodkar e247e3bacc Precomputation optimizations and docstring changes 2015-06-15 20:19:52 +05:30
Dhruv Jawali 55fc07edb9 removed reduntant continue, added Cython flags and fixed negative indexing 2015-06-13 23:25:36 +05:30
Juan Nunez-Iglesias 56d62b39be Split scipy.ndimage & spatial into different lines
This improves the readability of the import code and is in line with
PEP8 recommendations.
2015-06-11 11:36:48 +10:00
Vighnesh Birodkar 557354668e removed debug print in test 2015-06-11 01:04:46 +05:30
Vighnesh Birodkar 5a869dc70e Added code comments 2015-06-11 00:51:52 +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 06220903a1 Formatting changes 2015-06-11 00:20:09 +05:30
Vighnesh Birodkar ae35dcceb4 docstring updates 2015-06-10 22:28:09 +05:30
Vighnesh Birodkar eac5663251 Changed signatures to use energy map 2015-06-10 21:39:09 +05:30