Commit Graph
4621 Commits
Author SHA1 Message Date
Olivia 9bfbcfcef3 Removed extraneous print statement 2015-08-30 23:15:04 +01:00
Olivia 9ea085fd6f Added new functionality to remove small holes from images.
This is currently working with **kwargs except for inplace
which I cannot get working. It works with arrays of type int
but returns an array of type bool. Possibly in future add
labelling for arrays of type int. A UserWarning is produced
when using arrays of type int which seems to work normally
but the test created for this does not pick up the warning.

Any assistance on these issues would be helpful. I started
this at EuroScipy 2015 and this fixes issue #1642
2015-08-30 23:05:15 +01:00
Emmanuelle Gouillart 01f5fc4e72 Merge pull request #1663 from juliusbierk/hough-circle-example
Example for hough_circle
2015-08-30 11:29:27 +02:00
Emmanuelle Gouillart fa9e000ae4 Merge pull request #1631 from stefanv/rename_denoise_nl_means
Rename denoise nl means
2015-08-29 17:33:05 +02:00
Emmanuelle Gouillart 05729acb7d Merge pull request #1660 from jwiggins/issue-1586
Raise an error for negative sigma values in guassian_filter.
2015-08-29 15:59:12 +02: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
John Wiggins 6e6d243dbd Use assert_raises instead of @raises. 2015-08-28 21:19:20 +02:00
John Wiggins a0fc75c7cb Don't use two lines to raise an exception with a short message. 2015-08-28 21:10:39 +02:00
Julius Bier Kirekgaard 5f5af64551 Example for hough_circle 2015-08-28 20:08:11 +01:00
John Wiggins c05108da36 Replace a doc test with some regular unit tests. 2015-08-28 21:03:01 +02:00
Arnaud De Bruecker 50804d1e9b Correct documentation to denoise_bilateral for sigma_range
Closes #1630
2015-08-28 19:43:14 +01:00
John Wiggins ff4e3bd0bd Raise an error for negative sigma values in guassian_filter. 2015-08-28 20:37:26 +02:00
Arnaud De Bruecker 955b1761f1 Add documantation to denoise_bilateral for sigma_range
closes #1630
2015-08-28 19:10:09 +01:00
Stefan van der Walt e084c5fd50 Rename nl_means_denoising to denoise_nl_means 2015-08-27 13:19:02 -07:00
Stefan van der Walt 9fa408a0f6 Add utility to rename functions 2015-08-27 13:19:01 -07:00
Stefan van der Walt 8cb409bcb0 Add alpha layer support to gray2rgb 2015-08-21 15:36:23 -07: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
Johannes Schönberger d4641a436a Improve documentation of moments functions 2015-08-19 14:11:39 -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 8e3b6bc9da MAINT: convert additional numpy.pad mode names to their dask.array equivalents 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
Gregory R. Lee c5a735420f DOC: add visual example of edge modes 2015-08-13 23:39:53 -04:00
Gregory R. Lee a36ab880fc TST: add tests for coord_map function 2015-08-13 23:39:53 -04:00
Gregory R. Lee 7cfbd70204 BUG: fix bugs in coord_map for modes wrap and reflect 2015-08-13 23:39:53 -04:00
Josh Warner cbc851bba6 FIX/STY: Remove magic and enforce PEP8 in plugins. 2015-08-13 19:47:00 -05:00
Josh Warner (Mac) b35215ec6b TSTFIX: Missing assert statement and PEP8 2015-08-01 00:28:35 -05:00
Jonathan Helmus 70d1afe153 DOC: Simplified the message when a broken skimage build detected 2015-07-30 14:53:49 -05:00
Jonathan Helmus 00a841f1c2 MAINT: Refactored imports 2015-07-28 14:11:51 -05:00
Jonathan Helmus f10ae88139 MAINT: remove unchecked import from util.dtype 2015-07-28 14:06:03 -05:00
Jonathan Helmus d2519d610f ENH: Build check in skimage/__init__.py module 2015-07-28 14:00:32 -05:00
Jonathan Helmus 9727711405 Removed __check_build directory 2015-07-28 13:43:48 -05:00
Jonathan Helmus 93366d1b57 MAINT: Fixed __check_build setup.py file 2015-07-28 13:16:09 -05:00
Jonathan Helmus 64c4252eab BLD: __SKIMAGE_SETUP__ global variable for detecting build
The __SKIMAGE_SETUP__ global variable is set to True if skimage is being build
from the main setup.py file, False if not.  This behavior is modeled after a
similar setup in scikit-learn
2015-07-28 13:16:09 -05:00
michaelpacerandJonathan Helmus edc16c6b75 Added build location checker, does not fully work yet. Complicated error. 2015-07-28 13:14:41 -05:00
Juan Nunez-Iglesias c2f8c4ab12 Merge pull request #1599 from blink1073/viridis
Add the viridis colormap and use it for non-standard images
2015-07-22 12:54:07 +10:00
Steven Silvester 5632c9c1a9 Only add colorbar if the cmap is not the default 2015-07-16 21:39:05 -05:00
Steven Silvester 9fb7676c92 Fix relative import 2015-07-16 21:28:37 -05:00
Steven Silvester eaaea690f2 Allow viridis to be used by name 2015-07-16 07:58:14 -05:00
Steven Silvester 3d963649fc Use a less-invasive approach 2015-07-16 07:56:14 -05:00
Steven Silvester 3d044af4da Be more explicit about configparser import 2015-07-15 21:22:41 -05:00
Josh Warner 24b3a81dd9 Merge pull request #1604 from blink1073/pil-close
FIX: Do not let PIL manage the file handle.
2015-07-14 21:47:32 -05:00