Commit Graph

52 Commits

Author SHA1 Message Date
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
Steven Silvester 69c0fd5e46 Give an alternate canny location 2015-02-03 21:34:25 -06:00
Steven Silvester 85a68cff28 Cannot use bare deprecated decorator 2015-02-03 21:10:30 -06:00
Johannes Schönberger ee5c6fbeb2 Use relative imports in skimage files 2015-01-22 07:36:48 -05:00
Juan Nunez-Iglesias 1847b18fbb Test symmetric selems for rank/morpho comparison
The handling of eccentric selems is different between these two
modules, so the results are not expected to agree. (Why they agreed
before this change is beyond me.)
2015-01-22 18:30:10 +11:00
Juan Nunez-Iglesias ea989e2456 Fix a few typos 2015-01-22 11:38:37 +11:00
Juan Nunez-Iglesias 1439341461 Remove unused cmorph extension
The C morphology module has been superseded by wrapping scipy.ndimage.
2015-01-22 11:38:37 +11:00
Steven Silvester f898bd0209 Style fixes 2014-12-26 11:26:30 -06:00
Steven Silvester d37ccca598 Fix Py2.7 build errors 2014-12-24 06:54:56 -06:00
Steven Silvester c0a0490eed Fix handling of multiple warnings and update tests
Fix handling of multiple warnings

Update all test __init__ files

Update segmentation pkg

Update the color pkg

Update the exposure pkg

Update the filters pkg

Update the io pkg

Update the measure pkg

Update morphology package

Restructure test setup function

Add expected_warnings to __all__

Update restoration pkg.

Remove explicit filter check since it is done elsewhere

Fix the image test helpers

Update the transform pkg

Fix util pkg

Update viewer pkg
2014-12-23 16:51:06 -06:00
Steven Silvester 1b905d4cef More cleanup and updating of tests
Clean up setup_test and add a teardown_test method

Implement new setup/teardown in novice tests

Fix warning handling in pil_plugin

Update rank tests
2014-12-23 16:50:50 -06:00
Steven Silvester 782ba46a4c Handle more warnings
Punt on the issue of warnings with the minimum build

Handle warnings in measure pkg

Fix the rank filter test by forcing a random seed in the function

Compare as boolean in imread test

Import loadmat in test_setup to avoid warning

Use a setup method for imread plugin test

Revoke unintended changes

Fix indentation to appease jni

More indentation fixes

Fix unintentional comment out
2014-12-23 16:49:59 -06: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 f72882fbd2 Import scipy before turning on warnings 2014-12-23 16:49:19 -06:00
Steven Silvester 542cd4fabe Fix some doctest warnings
Fix doctest errors

Suppress warnings when importing scipy.ndimage for the first time
2014-12-23 16:49:01 -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
Johannes Schönberger 3a1079a180 Misc PEP8 fixes 2014-12-14 02:56:14 +01:00
Johannes Schönberger cf499bf844 Add tests for all rank filters and reformat code 2014-12-13 11:25:59 +01:00
Johannes Schönberger bbd9828234 Wrap code at 80 2014-12-06 10:19:23 -05:00
Johannes Schönberger 37560287a9 Fix rank filter kernels 2014-12-05 21:56:01 -05:00
Stefan van der Walt b9a71663af Merge pull request #1247 from emmanuelle/gallery_edges
Add a second example to the edge filtering gallery example
2014-12-03 19:28:04 +02:00
emmanuelle d78c9aab08 Completed docstrings for the different edge filters. 2014-12-01 22:22:07 +01:00
Juan Nunez-Iglesias 6c444490e3 Merge pull request #1243 from emmanuelle/filters_rank
Added an import of `median` from the `filters` module
2014-12-01 12:15:22 +11:00
Ivana Kajić 98f41fb12b More detailed docu. Modified examples.
Added doctest skipping of matplotlib's commands.
2014-11-30 18:15:27 +00:00
emmanuelle b730777a74 Modified test for median filter import 2014-11-30 14:58:10 +01:00
emmanuelle bea0c1b7d1 Added an import of median from the filters module
(it's `filters.rank.median`, but it is convenient to have the very common
median filter in `filters` as well)
2014-11-29 14:34:09 +01:00
Ivana Kajić 2c830a34e2 Updated Return section. 2014-11-28 16:09:48 +00:00
Ivana Kajić e5cd943bc3 Added examples for Gabor filters. 2014-11-28 16:09:48 +00:00
Ivana Kajić 414e9ec19c Added docu for gabor_filter. n_stds added to the parameter list. 2014-11-28 16:09:48 +00:00
Johannes Schönberger b0876ea4ea Remove deprecated absolute edge map description 2014-11-27 22:59:39 -05:00
Johannes Schönberger 7256f88332 Add missing comma 2014-11-27 12:02:30 -05:00
Johannes Schönberger c45473bdb9 Use new edge operator functions in test cases 2014-11-27 11:11:07 -05:00
Johannes Schönberger 1b0c40e27b Add signed edge operators and deprecate unsigned versions 2014-11-27 11:04:02 -05:00
Stefan van der Walt e8ee365382 Simplify warning test 2014-11-11 00:32:02 +02:00
Stefan van der Walt 046fe99e4e Make sure warning is raised upon import 2014-11-10 16:56:46 +02:00
Stefan van der Walt 3260594268 Add debug print to failing assert 2014-11-10 16:01:11 +02:00
Stefan van der Walt e03638a9d2 Filter won't be imported twice--check for its deprecation correctly 2014-11-10 13:41:26 +02:00
Stefan van der Walt 1bfb10cb88 Ensure import of old filter namespace raises warning 2014-11-10 13:16:32 +02:00