213 Commits

Author SHA1 Message Date
François Boulogne f47a176846 Rename invert.py to _invert.py 2016-08-02 11:56:29 +02:00
François Boulogne 200f398094 Fix tests 2016-08-02 08:08:29 +02:00
François Boulogne 2f0b9ace09 Implement invert function 2016-08-02 08:08:29 +02:00
Juan Nunez-Iglesias b02b2b16cd Clarify that pepper noise can be signed 2016-07-28 09:29:24 +10:00
Juan Nunez-Iglesias 2bb0def975 Remove obsolete comment 2016-07-27 09:14:53 +10:00
Juan Nunez-Iglesias 18f661902c Update test tolerance to reflect changed probabilities 2016-07-27 01:01:24 +10:00
Juan Nunez-Iglesias 2bac24fdf4 Ensure probability of flipping pixels is correct 2016-07-27 00:34:54 +10:00
Juan Nunez-Iglesias cc843d6f14 Add regression tests for S&P noise 2016-07-26 19:36:18 +10:00
Juan Nunez-Iglesias db7e9c2b4a Bug fix: correct pixel selection for s&p noise 2016-07-26 19:35:28 +10:00
François Boulogne 323e9ff500 DOC: optional tag to optional args 2016-06-12 21:05:06 +02:00
Vighnesh Birodkar a406e270b1 Improved drawing in plot_rag_draw.py example (#1872)
Improved drawing in draw_rag example; changed draw_rag to show_rag, made it return ScalarMappable to draw colorbars; added magma colormap
2016-04-24 09:28:24 +03:00
Stefan van der Walt 2df22d2fc5 Turn dask into an optional dependency
Dask is not yet packaged on all platforms, so make it optional for now.
2016-03-16 16:50:57 -07:00
Stefan van der Walt 31b6adb778 Bump numpy requirement to 1.7.2 2016-01-28 11:24:29 -08:00
Steven Silvester 4e00d45f68 Improve warning message 2015-12-12 17:07:36 -06:00
Steven Silvester f3965885e8 Fix failing test 2015-12-12 16:42:54 -06:00
Steven Silvester be7161d350 Add debug print 2015-12-12 16:20:26 -06:00
Steven Silvester a6f4419da4 Update failing tests 2015-12-12 14:20:38 -06:00
Steven Silvester f8d19ae7f0 Allow 64bit integer conversions and direct downcast 2015-12-12 13:40:32 -06:00
sumitbinnani bfba746a91 Adapting Edited Files to comply with PEP8 Standards
Changing Indentation as per PEP8 Guidelines
2015-10-07 14:21:36 +05:30
sumitbinnani 811b6895cf Refactoring ``skimage.filters.gabor_filter` to `skimage.filters.gabor``
Refactoring ```skimage.filters.gaussian_filter``` to ```skimage.filters.gaussian```
2015-10-04 00:15:53 +05:30
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 8e3b6bc9da MAINT: convert additional numpy.pad mode names to their dask.array equivalents 2015-08-13 23:39:55 -04: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 756b9289c9 Add the viridis colormap and make it the default 2015-07-14 07:47:59 -05:00
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
Steven Silvester 3aafbb78dd Rename optimal_step and add comments 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 0ffe44a4f0 Ensure consistent handling of division 2015-06-14 20:19:13 -05:00
Steven Silvester 49967b412b Create an optimal step parameter for view_as_windows 2015-06-14 17:39:25 -05:00
Steven Silvester 38c7c26460 Style and doc updates 2015-06-07 06:30:12 -05:00
Steven Silvester eb8c2d2853 Fix typo 2015-06-07 06:15:24 -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 a8d49950aa Defer import errors of dask array until runtime. 2015-05-19 17:14:28 -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
arve0 7ac7e1078b cpu_count may raise NotImplementedError 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 08dcf4a4e6 Move the function's args and kws to the end of the signature
renamed them to extra_arguments and extra_keywords

suggested by @jni
2015-05-19 17:05:49 -05:00
Blake Griffith 6be2b1bfa2 Smarter chunk selection. 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
Blake Griffith 43bd8242ff load process chunks into namespace 2015-05-19 17:05:48 -05:00
Blake Griffith 42e62e7a0b Add process_chunks function 2015-05-19 17:05:48 -05:00
Steven Silvester 0e61374a89 Add a helper function to check for low contrast
Add a helper function to check for low contrast

Add a check for low contrast when using imsave

Use the low contrast helper in imshow and make sure warnings are always shown

Clean up parameter names and add doctests

Remove unnecessary warning context

Remove unnecessary warning context

Add dtype ranges for 64bit types

Update tests with new warnings

Fix doctest logic

Fix doctest logic

Add a low contrast test with multiple dtypes

Fix check for color images

Fix color check again

Add support for int32 types

Relax assertion for 32bit builds

Add a low contrast test with multiple dtypes

Add a low contrast test with multiple dtypes

Fix check for color images

Fix color check again

Add support for int32 types
2015-03-09 21:34:58 -05:00
Steven Silvester 09876408fc Fix some sphinx warnings and add to build
Fix some sphinx warnings

Add documentation build to test

Add documentation build to test

Remove change in numpydoc

Remove change in apigen

Add makefile target for html and add to travis script

Add a makefile target for html and add to travis script

Fix more sphinx warnings
2015-02-07 16:40:26 -06:00
Juan Nunez-Iglesias 7935e51596 Clarify and fix docstrings 2015-01-22 11:38:37 +11:00
Juan Nunez-Iglesias d538abdb97 Fix order kwarg for some versions of numpy.copy
It seems it isn't always a valid kwarg. This bypasses that problem
by calling `np.array` directly (which is just what `np.copy` does
under the hood anyway).
2015-01-22 11:38:36 +11:00
Juan Nunez-Iglesias 92433b2961 Fix and test 0-end bug in crop 2015-01-22 11:38:35 +11:00