Commit Graph
45 Commits
Author SHA1 Message Date
Egor PanfilovandGitHub 418de7e4f0 Merge pull request #2180 from sciunto/fix_mosaic
remove local threshold in try_all_threshold
2016-07-16 10:02:56 +03:00
François Boulogne 25c1c07749 DOC: add DOI to references 2016-07-14 23:17:24 +02:00
Rachel Finck c9d4fa6875 Fix threshold_triangle to work with non-integer images. 2016-07-05 11:00:03 -07:00
François Boulogne 7a4b74f057 remove local threshold in try_all_threshold 2016-07-05 15:53:02 +02:00
François Boulogne 9fef985df8 Various fixes 2016-06-19 19:43:43 +02:00
François Boulogne d870bcc5df Minor fixes 2016-06-18 23:39:09 +02:00
François Boulogne ee42b2bc39 Import matplotlib inside _try_all 2016-06-18 20:20:34 +02:00
François Boulogne 6442bf5f0c Use gray cmap 2016-06-18 20:20:33 +02:00
François Boulogne c8f0611a54 ADD mean and triangle thres 2016-06-18 20:20:33 +02:00
François Boulogne b66c010eab DOC: add minimum to the list 2016-06-18 20:20:33 +02:00
François Boulogne 690db877fd Add threshold_minimum to try_all 2016-06-18 20:20:33 +02:00
François Boulogne 12fabff65f Some corrections 2016-06-18 20:20:33 +02:00
François Boulogne ecb84e7362 DOC: illustrate mosaic in gallery 2016-06-18 20:20:33 +02:00
François BoulogneandFrançois Boulogne b74ea8222d ENH: add mosaic 2016-06-18 20:20:32 +02:00
François Boulogne fc1192ae15 ENH: implement mean and triangle thresholding 2016-06-10 00:27:15 +02:00
François Boulogne 8c9d8926c8 Minor enhancements 2016-06-02 13:35:36 +02:00
François BoulogneandFrançois Boulogne aea36e89d1 use break instead of exception 2016-06-02 10:32:00 +02:00
François BoulogneandFrançois Boulogne 80e8544067 Review threshold minimum 2016-06-02 10:32:00 +02:00
Jeff HemmelgarnandFrançois Boulogne 31db1c607e Add threshold minimum algorithm 2016-06-02 10:32:00 +02:00
Martin Zackrisson 9174110faa Removed empty line from docstring 2016-05-30 13:36:47 +02:00
Martin Zackrisson f4123a4e36 Added missing documentation about raised error 2016-05-30 11:29:35 +02:00
Martin Zackrisson e167be511d Corrected indentation to follow PEP8 2016-05-30 11:25:55 +02:00
Martin Zackrisson 8b6460b06e Correcting the Error raised for Otsu Threshold
The previous error, `TypeError` did not reflect the test done and would typically be raised while `image` indeed had the correct type.
2016-05-30 11:13:58 +02: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 28f19d3076 Raise error when single colored image is passed in threshold_otsu method 2016-01-24 20:57:40 +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
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
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 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
Johannes Schönberger ee5c6fbeb2 Use relative imports in skimage files 2015-01-22 07:36:48 -05: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 9e8f91930e Handle warnings in several packages
Start handling warnings in data, exposure, and draw

Add a known_warning decorator and suppress warnings in color pkg

Use the existing all_warnings context manager

Raise warnings in data

Raise warnings in draw

Raise warnings in exposure

Suppress warnings in exposure tests

Add comments about warning suppressions

Raise warnings in feature

Fix warnings in filter package

Add warning handling to graph

Handle warnings in io package
2014-12-23 16:47:41 -06:00
Stefan van der Walt 78a7b7307a Rename and deprecate filter module to prevent shadowing of built-in keyword 2014-11-10 12:53:50 +02:00