Commit Graph

89 Commits

Author SHA1 Message Date
Johannes Schönberger 9d9a4b3e0b Fix some remaining TODO items 2016-02-09 11:11:28 +01:00
Steven Silvester b710bd21d2 Use a stacklevel of 2 by default for all warnings 2016-01-30 08:57:46 -06:00
Juan Nunez-Iglesias aae7f2b615 Merge pull request #1907 from OrkoHunter/threshold_adaptive_block_size
Modify threshold_adaptive
2016-01-26 10:26:56 +11:00
Himanshu Mishra 41afd05d0a Modify threshold_adaptive
1. Improve docstring
2. Raise error for even block_size
3. Test for the ValueError
2016-01-25 19:46:21 +05:30
Himanshu Mishra 1740767a3a Add test for threshold_otsu on single color image 2016-01-25 13:56:45 +05:30
Himanshu Mishra 28f19d3076 Raise error when single colored image is passed in threshold_otsu method 2016-01-24 20:57:40 +05:30
Himanshu Mishra c41376c60e Remove test_otsu_lena_image 2016-01-21 23:36:30 +05:30
Himanshu Mishra a2d75de834 Add expected_warnings to the tests using threshold_otsu 2016-01-15 10:34:26 +05:30
Himanshu Mishra 296438d08e Raise a warning if the image is not grayscale 2016-01-15 10:06:43 +05:30
Himanshu Mishra f034081650 Document the input image type 2016-01-14 13:49:17 +05:30
Guillaume Lemaitre 0c1fc76f4b Update the reference 2015-12-04 19:27:44 +01:00
Guillaume Lemaitre 54043de4b4 Change the import of round function to be compatible with visual studio compiler 2015-12-04 19:26:38 +01:00
Guillaume Lemaitre 3a2acb2adf Update the documentation with spelling error 2015-12-04 19:26:37 +01:00
Guillaume Lemaitre 4bc1c587ed Add local geometric mean filter
Add the filter in cython with a specific kernnel.
The implementatio is based on the log-average method.
The test were added the npz.
2015-12-04 19:26:37 +01:00
Johannes Schönberger 3437eb89b0 Fix deprecated filter module import 2015-11-17 10:09:42 -05:00
Guillaume Lemaitre ed55226dfb Correct bug inside the test 2015-10-27 16:35:15 +01:00
Guillaume Lemaitre 41875cf59a Generalize Laplce operator + testing
Reuse the function skimage.restoration.uft.laplacian() to create the kernel
Improve the testing for a specific case
2015-10-27 15:17:07 +01:00
Guillaume Lemaitre 5d209a68a9 Added the Laplacian operator 2015-10-27 01:23:29 +01: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 0bae5f9137 Adding Alias and Deprecation Warning
* Added alias and deprecation warning for
```skimage.filters.gabor_filter```.
* Added alias and deprecation warning for
```skimage.filters.gaussian_filter```.
* Updated ```TODO.txt```
2015-10-06 00:18:38 +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
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
John Wiggins c05108da36 Replace a doc test with some regular unit tests. 2015-08-28 21:03:01 +02:00
John Wiggins ff4e3bd0bd Raise an error for negative sigma values in guassian_filter. 2015-08-28 20:37:26 +02: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 9e9c65b97c ENH: add mode 'mirror' to interpolation.pxd and dependent functions 2015-08-13 23:39:54 -04:00
Josh Warner (Mac) b35215ec6b TSTFIX: Missing assert statement and PEP8 2015-08-01 00:28:35 -05:00
Steven Silvester 09c8a84a54 Merge pull request #1518 from stefanv/relative_imports
Consistently use relative imports
2015-07-12 14:41:06 -05:00
Jonathan Helmus ba65c3562b TST: smaller arrays for bit comparison in test_rank for speed 2015-07-11 17:46:17 -05:00
Jonathan Helmus 2353113e49 TST: Smaller data array in 12-bit entropy test for speed 2015-07-11 17:34:28 -05:00
Stefan van der Walt 83d5ff9001 Consistently use relative imports 2015-07-11 15:41:37 -05:00
François Boulogne 6f1e84de95 attempt to fix #1567
add asseert_ND=2 to all threshold functions

Simpler writing, less cases

Fix variable name
2015-06-25 05:11:21 -04:00
Juan Nunez-Iglesias 0d134987f9 Harmonize all ndimage usage across the library
Only two forms remain in use:

- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
Johannes Schönberger aa38f2485b Do not acquire GIL for rank filters 2015-05-20 07:26:24 -07:00
Johannes Schönberger a7c0b11eda Do not acquire GIL for median_filter 2015-05-20 07:10:51 -07:00
arve0 0eb7d132d3 pop_bilateral docstring: the->pixels 2015-05-12 15:30:14 +02:00
Jeremy Metz 28d0691d9e Minor modification to docstring 2015-02-24 12:39:09 +00:00
Jeremy Metz 09bb2c319c Moved contribution statement to CONTRIBUTORS.txt
* Amended docstring
2015-02-24 10:23:47 +00:00
Jeremy Metz 2bc9e82465 Minor stylistic changes, removed lena test 2015-02-23 16:40:38 +00:00
Jeremy Metz 3cbae84360 PEP8 fixes, License file added, tests added
* Added 7 tests (3 in TestSimpleImage, 4 as separate functions)
* Added ImageJ license file
* Updated Li code
  * threshold set from image instead of fixed at 0.5
  * subtract min to handle -ve images (as log is integral part of alg.)
2015-02-23 11:22:12 +00:00
Jeremy Metz 5eef38bba5 Removed nbins input (from use with histogram input) 2015-02-17 14:55:27 +00:00
Jeremy Metz 979d7515f0 Cleaned up comments, removed unnecessary vars 2015-02-17 14:45:31 +00:00
Jeremy Metz 2970de33ee Initial draft of Li thresholding (comments left in) 2015-02-17 14:36:58 +00:00
Steven Silvester 73aa5a22ba Remove citations in first line of docstring 2015-02-07 19:29:50 -06:00
Steven Silvester 5ccdd36bc3 Remove imshow from PIL plugin
Do not provide imshow, show in PIL plugin to prevent conflicts

Make the sphinx install quiet

Fix local linka

Fix literal blocks

Fix another local link

Fix richardson-lucy link

Assert world dominance
2015-02-07 16:40:44 -06:00
Steven Silvester be7154f23d Skip build on 3.2
Skip doc build on 3.2

Skip doc build on 3.2

Use block literal

Fix html make target

Revert change to threshold_isodata

Fix skimage.novice and thresholding warnings

Fix feature.__init__ __all__

Fix generic.py link

Doc reference fixes

Fix missing class member warnings

Add parallelization to the user guide toc

Remove unused automodule directives

Fix sub_dirs in gallery_index

Remove unused file and fix reference to api/api

Add missing links to user guide

Use pre-output links to images

Recover from Juan's doc 'upgrades'
2015-02-07 16:40:37 -06: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
Steven Silvester f4970f9707 Fix canny import test 2015-02-03 21:47:56 -06:00
Steven Silvester d070b2df4d Add an explicit test for canny deprecation 2015-02-03 21:39:23 -06:00